/* Service detail pages, new layout (templates/service-detail-new.php,
 * template-parts/service-detail-new/*). Builds on pricing.css (.sbp colours, prices,
 * filled box) and the theme .button; everything here is scoped under .ssd.
 * navy #191937 · accent #ff0055 · text #62748a · line #e4e6ef
 */

/* ---------- Banner ---------- */

.ssd-banner .ssd-crumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 13px;
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.75);
}

#site .ssd-banner .ssd-crumb a {
	color: #fff;
}

#site .ssd-banner .ssd-crumb a:hover {
	text-decoration: underline;
}

.ssd-banner .subtitle {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}

.ssd-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

.ssd-buttons .button {
	margin-bottom: 0;
}

/* Outline button on the dark banner: white outline, white text */
#site .ssd-buttons .button.outline {
	border-width: 2px;
	border-color: #fff;
	line-height: 36px;
	color: #fff;
}

/* ---------- Flow diagram (banner with "has-flow") ---------- */

.ssd-flow {
	max-width: 420px;
	margin: 36px auto 0;
	padding: 22px 24px 8px;
	background: rgba(25, 25, 55, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 10px;
	text-align: left;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.ssd-flow figcaption {
	margin-bottom: 16px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.ssd-flow ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssd-flow li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0 0 18px;
	list-style: none;
}

/* Connector down to the next step, and the pulse travelling along it */
.ssd-flow li:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 44px;
	bottom: 0;
	width: 2px;
	background: rgba(255, 255, 255, 0.18);
}

.ssd-flow li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 44px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sbp-accent);
	box-shadow: 0 0 10px var(--sbp-accent);
	opacity: 0;
	animation: ssd-pulse calc(var(--steps) * 1.2s) linear infinite;
	animation-delay: calc(var(--i) * 1.2s);
}

/* Each step glows when the pulse reaches it */
.ssd-flow-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	animation: ssd-glow calc(var(--steps) * 1.2s) linear infinite;
	animation-delay: calc(var(--i) * 1.2s - 0.15s);
}

.ssd-flow-icon .ssd-icon {
	width: 20px;
	height: 20px;
}

.ssd-flow-text {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.ssd-flow-text strong {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.ssd-flow-text small {
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.7);
}

@keyframes ssd-pulse {
	0% { top: 44px; opacity: 0; }
	3% { opacity: 1; }
	17% { top: calc(100% - 8px); opacity: 1; }
	20%, 100% { top: calc(100% - 8px); opacity: 0; }
}

@keyframes ssd-glow {
	0%, 100% { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
	4%, 14% { border-color: var(--sbp-accent); background: var(--sbp-accent); }
	22% { border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
	.ssd-flow li::after,
	.ssd-flow-icon {
		animation: none;
	}
}

/* Wide screens: text on the left, diagram on the right */
@media (min-width: 992px) {
	.ssd-banner.has-flow {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 60px;
		align-items: center;
		max-width: none;
		padding: 40px 0;
		text-align: left;
	}

	.ssd-banner.has-flow .ssd-crumb,
	.ssd-banner.has-flow .ssd-buttons {
		justify-content: flex-start;
	}

	.ssd-banner.has-flow .subtitle {
		margin-left: 0;
	}

	.ssd-banner.has-flow .ssd-flow {
		margin: 0;
		justify-self: end;
		width: 100%;
	}
}

/* ---------- Sections ---------- */

.ssd-section {
	padding: 50px 0;
	border-top: 1px solid var(--sbp-line);
	scroll-margin-top: 100px;
}

/* The theme leaves 80px under the banner; here the first section supplies that space
   itself, so a navy band can sit directly under the banner */
.site-content .content-header.ssd-header {
	margin-bottom: 0;
}

.ssd-section:first-child {
	padding-top: 80px;
	border-top: 0;
}

.ssd-section:last-child {
	padding-bottom: 0;
}

.ssd-eyebrow,
.ssd-tag {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sbp-text);
}

#site .ssd h2.vc_custom_heading {
	margin: 0 0 28px;
}

.ssd-intro-text {
	max-width: 640px;
	margin: -16px 0 28px;
}

/* ---------- Cards ---------- */

.ssd-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.ssd-card {
	min-width: 0;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sbp-line);
	border-radius: 6px;
}

#site .ssd-card h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.35em;
}

.ssd-card p {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

.ssd-card .ssd-strong {
	margin: 0;
	font-size: 16px;
	color: var(--sbp-navy);
}

.ssd-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssd-list li {
	position: relative;
	margin: 8px 0;
	padding-left: 16px;
	font-size: 15px;
	line-height: 1.5;
	list-style: none;
}

.ssd-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.6em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--sbp-text);
}

/* Numbered cards with an icon; on hover they lift and a pink edge runs along the top */
.ssd-feature,
.ssd-problem {
	position: relative;
	overflow: hidden;
	transition: box-shadow 0.3s, translate 0.3s;
}

.ssd-feature::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--sbp-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.ssd-feature:hover,
.ssd-problem:hover {
	translate: 0 -4px;
	box-shadow: 0 15px 40px rgba(25, 25, 55, 0.12);
}

.ssd-feature:hover::before {
	transform: scaleX(1);
}

.ssd-card-number {
	position: absolute;
	top: 14px;
	right: 20px;
	font-size: 44px;
	font-weight: 700;
	line-height: 1;
	color: rgba(25, 25, 55, 0.06);
	pointer-events: none;
}

.ssd-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	border-radius: 10px;
	background: #f4f4f9;
	color: var(--sbp-navy);
	transition: background 0.3s, color 0.3s;
}

.ssd-feature:hover .ssd-card-icon {
	background: var(--sbp-navy);
	color: #fff;
}

#site .ssd-feature h3,
#site .ssd-problem h3 {
	padding-right: 48px;
}

/* Problem, then how we fix it */
.ssd-problem {
	display: flex;
	flex-direction: column;
}

.ssd-fix {
	margin-top: auto;
	padding-top: 18px;
}

.ssd-fix::before {
	content: "";
	display: block;
	margin-bottom: 16px;
	border-top: 1px dashed var(--sbp-line);
}

.ssd-fix-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--sbp-navy);
}

.ssd-fix-label::before {
	content: "\2192"; /* arrow */
	font-size: 16px;
	letter-spacing: 0;
	color: var(--sbp-accent);
}

.ssd-card .ssd-fix p {
	margin-top: 6px;
	color: var(--sbp-navy);
}

/* ---------- Navy bands (what we deliver, why choose us) ---------- */

/* Full-width band: the shadow paints the navy out to the window edges, the clip keeps
   it to the section's own height */
.ssd-section.ssd-band {
	padding: 70px 0;
	border-top: 0;
	background: var(--sbp-navy);
	box-shadow: 0 0 0 100vmax var(--sbp-navy);
	clip-path: inset(0 -100vmax);
}

.ssd-band + .ssd-section {
	border-top: 0;
}

#site .ssd-band h2.vc_custom_heading {
	color: #fff;
}

.ssd-band .ssd-eyebrow {
	color: rgba(255, 255, 255, 0.65);
}

.ssd-band .ssd-card {
	border-color: transparent;
}

/* Why choose us: heading and button on the left (they stay in view on wide screens),
   the reasons as an open list on the navy, without cards */
.ssd-why {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
}

.ssd-why-intro .button {
	margin-bottom: 0;
}

.ssd-why-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssd-why-list li {
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 26px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	list-style: none;
}

.ssd-why-list li::before {
	content: none;
}

.ssd-why-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 0, 85, 0.6);
	border-radius: 50%;
	color: var(--sbp-accent);
	transition: background 0.3s, color 0.3s;
}

.ssd-why-list li:hover .ssd-why-icon {
	background: var(--sbp-accent);
	color: #fff;
}

#site .ssd-why-list h3 {
	margin: 0;
	padding-top: 10px;
	font-size: 1.15rem;
	line-height: 1.35em;
	color: #fff;
}

.ssd-why-list p {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
	.ssd-why-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.ssd-why {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 60px;
		align-items: start;
	}

	.ssd-why-intro {
		position: sticky;
		top: 120px;
	}
}

/* ---------- Scroll reveal (assets/js/service-detail-new.js) ---------- */

.ssd-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s, translate 0.3s;
	transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s;
}

.ssd-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- How it works ---------- */

/* Timeline. Narrow screens: numbered circles down the left, joined by a vertical
   connector; wide screens (below): across the page. A step lights up (.is-active) as it
   scrolls into view and the connector to it fills in (.is-done on the step before). */
.ssd-steps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssd-steps li {
	position: relative;
	margin: 0;
	padding: 0 0 32px 72px;
	list-style: none;
}

.ssd-steps li:last-child {
	padding-bottom: 0;
}

/* Connector to the next step: grey track, pink fill */
.ssd-steps li:not(:last-child)::before,
.ssd-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 48px;
	bottom: 0;
	width: 2px;
	background: var(--sbp-line);
}

.ssd-steps li:not(:last-child)::after {
	background: var(--sbp-accent);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.6s ease;
}

.ssd-steps li.is-done::after {
	transform: scaleY(1);
}

.ssd-step-dot {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 2px solid var(--sbp-line);
	border-radius: 50%;
	background: #fff;
	font-size: 14px;
	font-weight: 700;
	color: var(--sbp-text);
	transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.ssd-steps li.is-active .ssd-step-dot {
	border-color: var(--sbp-navy);
	background: var(--sbp-navy);
	color: #fff;
}

#site .ssd-steps h3 {
	margin: 0;
	padding-top: 11px;
	font-size: 1.15rem;
	line-height: 1.35em;
}

.ssd-steps p {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Client result ---------- */

.ssd-proof {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.ssd-proof .ssd-eyebrow {
	color: rgba(255, 255, 255, 0.7);
}

.ssd-proof .ssd-proof-result {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
}

/* ---------- Pricing ---------- */

.ssd-price-card .sbp-price {
	margin: 12px 0 0;
}

.ssd-note {
	margin: 18px 0 0;
	font-size: 14px;
}

/* ---------- Estimator ---------- */

.ssd-estimator {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding: 26px;
	background: #fff;
	border: 1px solid var(--sbp-line);
	border-radius: 6px;
}

.ssd-sliders label {
	display: grid;
	gap: 8px;
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sbp-navy);
}

.ssd-sliders label:last-child {
	margin-bottom: 0;
}

.ssd-sliders label span {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.ssd-sliders output {
	font-weight: 600;
	color: var(--sbp-accent);
}

.ssd-sliders input[type="range"] {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	accent-color: var(--sbp-accent);
}

/* Questions (software) */
#site .ssd-sliders .ssd-pick select {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--sbp-line);
	border-radius: 4px;
	background-color: #fff;
	font-size: 15px;
	font-weight: 400;
	color: var(--sbp-navy);
}

#site .ssd-sliders .ssd-pick select:focus {
	border-color: var(--sbp-navy);
}

/* Checklist (WordPress) */
.ssd-sliders .ssd-check {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px dashed var(--sbp-line);
	font-weight: 400;
	cursor: pointer;
}

.ssd-sliders .ssd-check:last-child {
	border-bottom: 0;
}

.ssd-sliders .ssd-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--sbp-accent);
}

.ssd-result {
	display: grid;
	align-content: center;
	gap: 10px;
	padding: 26px;
	background: #f4f4f9;
	border-radius: 6px;
}

.ssd-result p {
	margin: 0;
}

.ssd-result .ssd-tag {
	margin: 0;
}

.ssd-result-big {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--sbp-navy);
}

.ssd-result-small {
	font-size: 16px;
	color: var(--sbp-navy);
}

.ssd-result-note {
	font-size: 13px;
}

/* ---------- Questions ---------- */

.ssd-faq details {
	border-bottom: 1px solid var(--sbp-line);
}

.ssd-faq details:first-child {
	border-top: 1px solid var(--sbp-line);
}

.ssd-faq summary {
	position: relative;
	padding: 18px 40px 18px 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--sbp-navy);
	list-style: none;
	cursor: pointer;
}

.ssd-faq summary::-webkit-details-marker {
	display: none;
}

/* Plus sign that turns into a minus when open */
.ssd-faq summary::before,
.ssd-faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 2px;
	margin-top: -1px;
	background: var(--sbp-navy);
	transition: transform 0.2s;
}

.ssd-faq summary::after {
	transform: rotate(90deg);
}

.ssd-faq details[open] summary::after {
	transform: rotate(0);
}

.ssd-faq summary:focus-visible {
	outline: 2px solid var(--sbp-navy);
	outline-offset: 2px;
}

.ssd-faq details p {
	margin: 0;
	padding: 0 40px 20px 0;
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Questions and enquiry form ---------- */

.ssd-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 50px;
	align-items: start;
}

.ssd-split-note {
	margin: 24px 0 0;
	padding: 18px 20px;
	border-left: 3px solid var(--sbp-accent);
	background: #fff;
	font-size: 15px;
	color: var(--sbp-navy);
}

/* The form: navy panel with a pink top edge, the page's closing call to action */
.ssd-form {
	position: relative;
	scroll-margin-top: 100px;
	padding: 34px 30px 30px;
	border-top: 4px solid var(--sbp-accent);
	border-radius: 6px;
	background: var(--sbp-navy);
	box-shadow: 0 20px 50px rgba(25, 25, 55, 0.25);
	color: rgba(255, 255, 255, 0.8);
}

.ssd-form .ssd-eyebrow {
	color: var(--sbp-accent);
}

#site .ssd-form h2.vc_custom_heading {
	margin-bottom: 24px;
	color: #fff;
}

/* Contact Form 7 inside the panel: light labels, white fields */
#site .ssd-form label {
	color: rgba(255, 255, 255, 0.85);
}

#site .ssd-form input:not([type="submit"]),
#site .ssd-form textarea {
	border-color: transparent;
	background: #fff;
}

#site .ssd-form input:not([type="submit"]):focus,
#site .ssd-form textarea:focus {
	border-color: var(--sbp-accent);
}

.ssd-form .contact .row {
	margin-bottom: 10px;
}

.ssd-form .form-actions {
	margin-top: 6px;
}

.ssd-form .wpcf7-response-output {
	color: #fff;
}

/* ---------- Wider screens ---------- */

@media (min-width: 768px) {
	.ssd-grid-2,
	.ssd-proof {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ssd-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ssd-estimator {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		padding: 36px;
	}

	.ssd-form {
		padding: 44px 40px 40px;
	}
}

/* Starting price on the left, estimator on the right; within the narrower column the
   estimator's sliders sit above its result */
.ssd-pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 50px;
	align-items: start;
}

@media (min-width: 1100px) {
	.ssd-pair.has-both {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 60px;
	}

	.ssd-pair.has-both .ssd-estimator {
		grid-template-columns: minmax(0, 1fr);
		padding: 30px;
	}

	/* Price cards one above the other, so amounts and units stay on one line */
	.ssd-pair.has-both .ssd-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.ssd-pair.has-both .ssd-price-card {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
		gap: 8px 20px;
	}

	.ssd-pair.has-both .ssd-price-card .sbp-price {
		margin: 0;
	}
}

/* Under the prices: what every project includes, then the next step */
.ssd-includes {
	margin-top: 28px;
	padding: 26px 28px;
	border-left: 3px solid var(--sbp-accent);
	border-radius: 6px;
	background: #fff;
}

#site .ssd-includes h3 {
	margin: 0 0 14px;
	font-size: 1.15rem;
	line-height: 1.35em;
}

.ssd-includes ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ssd-includes li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 0;
	padding: 7px 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--sbp-navy);
	list-style: none;
}

.ssd-includes li::before {
	content: none;
}

.ssd-includes .ssd-icon {
	flex: none;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	color: var(--sbp-accent);
}

.ssd-includes-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--sbp-line);
	font-size: 14px;
}

.ssd-includes-cta .button {
	margin-bottom: 0;
}

#site .ssd-includes-cta span a {
	font-weight: 600;
	color: var(--sbp-navy);
}

#site .ssd-includes-cta span a:hover {
	text-decoration: underline;
}

/* Space between the estimator's intro and its box */
.ssd-head:has(.ssd-intro-text) + .ssd-estimator {
	margin-top: 24px;
}

/* Questions on the left, form on the right */
@media (min-width: 1100px) {
	.ssd-split.has-both {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 60px;
	}
}

@media (min-width: 1100px) {
	.ssd-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Timeline across the page: circle on top, connector to the next column's circle */
	.ssd-steps {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		grid-auto-flow: column;
	}

	.ssd-steps li {
		padding: 72px 0 0;
	}

	.ssd-steps li:not(:last-child)::before,
	.ssd-steps li:not(:last-child)::after {
		left: 48px;
		right: -24px;
		top: 23px;
		bottom: auto;
		width: auto;
		height: 2px;
	}

	.ssd-steps li:not(:last-child)::after {
		transform: scaleX(0);
		transform-origin: left;
	}

	.ssd-steps li.is-done::after {
		transform: scaleX(1);
	}

	#site .ssd-steps h3 {
		padding-top: 0;
	}
}

@media (max-width: 600px) {
	.ssd-section {
		padding: 36px 0;
	}

	.ssd-card,
	.ssd-estimator,
	.ssd-result,
	.ssd-form {
		padding: 20px;
	}

	.ssd-buttons .button {
		width: 100%;
	}
}

/* The theme hides overflow on body and #site, which makes them scroll containers and
   stops position: sticky from working; clip gives the same look without that. */
body:has(.ssd) {
	overflow-x: clip;
}

body:has(.ssd) #site.site {
	overflow: clip;
}
