/**
 * Negar Theme — home page sections.
 *
 *  1. Hero carousel (full width)
 *  2. Design cards
 *  3. Installment banner
 *  4. Collection banners (Qom / Tabriz)
 *  5. Promo banner (machine-made rugs)
 *
 * Every section sits inside .container, so all edges align — except the hero and the two
 * full-bleed banners (installment, promo), whose band spans the viewport while their copy
 * stays in .container.
 */

/* 0. Page canvas & shared home polish ------------------------------------ */
/* One calm, whisper-grey canvas; white cards with a hairline frame read as objects on it. */
.site-main--home {
	--home-hairline: rgb(198 168 108 / 0.45);
	--home-card-border: rgb(34 44 90 / 0.08);
	--home-card-shadow: 0 1px 2px rgb(34 44 90 / 0.04), 0 6px 18px rgb(34 44 90 / 0.06);
	--home-card-shadow-hover: 0 2px 4px rgb(34 44 90 / 0.05), 0 14px 30px rgb(34 44 90 / 0.1);
	/* Room for the side arrows of rails (≥1024px) — the designs row uses the same inset. */
	--home-rail-inset: 0px;
	padding-block-end: var(--section-space);
	background: var(--color-background);
}

@media (min-width: 1024px) {
	.site-main--home {
		--home-rail-inset: calc(var(--icon-button) + var(--space-4));
	}
}

/* Section headings: larger, firmer, a calmer subtitle. */
.site-main--home .section-header {
	margin-block-end: var(--space-5);
}

.site-main--home .section-title {
	font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
	line-height: 1.45;
}

.site-main--home .section-subtitle {
	max-width: 52ch;
	margin-inline: auto;
	color: #4a5266;
	font-size: var(--font-size-sm);
	line-height: 1.9;
}

@media (min-width: 768px) {
	.site-main--home .section-subtitle {
		font-size: 0.9375rem;
	}
}

/* Rails: arrows centred on the cards at both sides (≥1024px), as in the reference;
 * the header arrows give way. Phones/tablets keep swipe + the arrows below the cards. */
@media (min-width: 1024px) {
	.site-main--home .section-header__arrows {
		display: none;
	}

	.site-main--home .product-rail__stage {
		position: relative;
		padding-inline: var(--home-rail-inset);
	}

	.site-main--home .rail-controls {
		position: absolute;
		inset: 50% 0 auto;
		display: flex;
		justify-content: space-between;
		margin: 0;
		transform: translateY(-50%);
		pointer-events: none;
	}

	.site-main--home .rail-controls .slider-arrow {
		pointer-events: auto;
	}

	.site-main--home .is-static .rail-controls {
		display: none;
	}
}

/* Full-bleed banners (installment, promo): the band runs edge to edge of the viewport;
 * their copy sits in an inner .container so it lines up with every other section. */
.home-section--bleed {
	overflow-x: clip;
}

/* 1. Hero carousel ------------------------------------------------------- */
.hero {
	position: relative;
	background: var(--color-section);
}

/* Without JS: a native swipe scroller. With JS (.is-loop): a clipped track moved by
 * LoopSlider (main.js) — infinite loop, drag and swipe. */
.hero__viewport {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.hero__viewport::-webkit-scrollbar {
	display: none;
}

.hero__track {
	display: grid;
	grid-auto-columns: 100%;
	grid-auto-flow: column;
	align-items: start;
}

.hero__slide {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* The whole banner is one link (or a plain block when no link is set). */
.hero__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

a.hero__link:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: -3px;
}

.hero.is-loop .hero__viewport {
	overflow: hidden;
	scroll-snap-type: none;
	touch-action: pan-y;
}

.hero.is-loop .hero__track {
	transition: transform 0.6s var(--ease-out);
	will-change: transform;
}

/* The banner is a finished design (copy and button are part of the image): it is shown
 * whole, at its own aspect ratio — no crop, no stretch, no overlay. Phones get the
 * dedicated mobile file through <picture>, with its own width/height. */
.hero__media {
	display: block;
}

.hero__image {
	display: block;
	width: 100%;
	height: auto;
	-webkit-user-drag: none;
	user-select: none;
}

.hero__slide .sample-badge {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline-start: var(--space-3);
}

.hero__arrow {
	position: absolute;
	inset-block-start: 50%;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--icon-button);
	height: var(--icon-button);
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: rgb(255 255 255 / 0.92);
	box-shadow: var(--shadow-sm);
	color: var(--color-primary);
	cursor: pointer;
	transform: translateY(-50%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.hero__arrow:hover {
	background: var(--color-primary);
	box-shadow: 0 4px 14px rgb(34 44 90 / 0.2);
	color: var(--color-white);
}

.hero__arrow:active {
	transform: translateY(-50%) scale(0.96);
}

.hero__arrow .negar-icon {
	width: 20px;
	height: 20px;
}

.hero__arrow--prev {
	inset-inline-start: var(--space-3);
}

/* Phones: swipe + dots only; the arrows would cover the copy. */
@media (max-width: 767px) {
	.hero__arrow {
		display: none;
	}
}

.hero__arrow--next {
	inset-inline-end: var(--space-3);
}

@media (min-width: 768px) {
	.hero__arrow {
		width: 2.875rem;
		height: 2.875rem;
	}

	.hero__arrow--prev {
		inset-inline-start: var(--space-5);
	}

	.hero__arrow--next {
		inset-inline-end: var(--space-5);
	}
}

.hero__dots {
	position: absolute;
	inset-inline: 0;
	inset-block-end: var(--space-3);
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: var(--space-1);
}

/* 24px touch target with a small visual dot. */
.hero__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	min-height: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

/* Quiet dots; the active one stretches into a short navy pill. */
.hero__dot::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: var(--radius-pill);
	border: 1.5px solid var(--color-primary);
	background: rgb(255 255 255 / 0.85);
	box-shadow: 0 0 0 2px rgb(255 255 255 / 0.6);
	transition: width 0.3s var(--ease-out), background-color var(--transition);
}

.hero__dot:hover::before {
	background: rgb(34 44 90 / 0.4);
}

/* Active dot: a short filled navy pill. */
.hero__dot[aria-current="true"]::before {
	width: 1.25rem;
	background: var(--color-primary);
}

/* 2. Design cards -------------------------------------------------------- */
/* Phones: horizontal swipe row of small vertical cards (no partial grid rows).
 * ≥768px: five equal columns. */
.design-grid {
	display: grid;
	grid-auto-columns: calc((100% - 2 * var(--space-3)) / 2.4);
	grid-auto-flow: column;
	gap: var(--space-3);
	margin: calc(-1 * var(--space-2)) 0;
	padding: var(--space-2) 0;
	overflow-x: auto;
	list-style: none;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.design-grid::-webkit-scrollbar {
	display: none;
}

/* Loop slider on phones (main.js wraps the list in .slider-viewport). */
.design-rail.is-loop .slider-viewport {
	overflow: hidden;
	margin-block: calc(-1 * var(--space-2));
	padding-block: var(--space-2);
	touch-action: pan-y;
}

.design-rail.is-loop .design-grid {
	margin: 0;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
	transition: transform 0.45s var(--ease-out);
	will-change: transform;
}

.design-rail.is-dragging .design-grid {
	transition: none;
}

.design-grid__item {
	scroll-snap-align: start;
}

@media (min-width: 480px) {
	.design-grid {
		grid-auto-columns: calc((100% - 3 * var(--space-3)) / 3.3);
	}
}

@media (min-width: 768px) {
	.design-grid {
		grid-auto-flow: row;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: var(--space-4);
		overflow: visible;
	}
}

@media (min-width: 1024px) {
	.design-grid {
		gap: var(--space-5);
	}
}

.design-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.15rem;
	height: 100%;
	padding: 0;
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--color-text);
	text-align: center;
	text-decoration: none;
	transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

a.design-card:hover {
	color: var(--color-text);
	transform: translateY(-2px);
}

a.design-card:hover .design-card__media {
	border-color: var(--home-hairline, rgb(198 168 108 / 0.45));
	box-shadow: var(--home-card-shadow-hover, var(--shadow-card-hover));
}

.design-card__media {
	display: grid;
	place-items: center;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1;
	margin-block-end: var(--space-3);
	padding: 0.625rem;
	border: 1px solid var(--home-card-border, rgb(34 44 90 / 0.08));
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--home-card-shadow, var(--shadow-card));
	isolation: isolate;
	transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.design-card__image {
	width: 100%;
	height: 100%;
	border-radius: var(--radius-xs);
	object-fit: cover;
	transition: transform 0.5s ease;
}

a.design-card:hover .design-card__image {
	transform: scale(1.05);
}

.design-card__monogram {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: var(--color-white);
	box-shadow: var(--shadow-card);
	color: var(--color-primary);
	font-size: 1.5rem;
	font-weight: var(--font-weight-bold);
}

.design-card__title {
	color: var(--color-text);
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.6;
}

.design-card__text {
	overflow: hidden;
	max-width: 100%;
	color: var(--color-text-muted);
	font-size: var(--font-size-2xs);
	line-height: 1.7;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* The reference shows the design name only. */
.site-main--home .design-card__text {
	display: none;
}

@media (min-width: 1024px) {
	.site-main--home .design-rail {
		padding-inline: var(--home-rail-inset);
	}
}

@media (min-width: 768px) {
	.design-card__title {
		font-size: 1.125rem;
	}

	.design-card__text {
		font-size: 0.75rem;
	}
}

.design-card .sample-badge {
	position: absolute;
	inset-block-start: var(--space-3);
	inset-inline-start: var(--space-3);
	z-index: 1;
	margin: 0;
}

.design-rail__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-block-start: var(--space-4);
}

.design-rail__footer:not(:has(*)) {
	display: none;
}

/* Arrows only where the cards scroll (phones). */
@media (min-width: 768px) {
	.design-rail__arrows {
		display: none;
	}

	.design-rail__footer {
		justify-content: center;
	}
}

/* 3. Installment banner -------------------------------------------------- */
/* Navy band framed to the container width (reference). Optional photo from the admin
 * («تصویر پس‌زمینه») fills it — subject on the inline-end side; a navy wash keeps the copy on
 * the inline-start side readable. A Persian medallion is quarter-cut in the start corner. */
.installment-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: 9rem;
	border-block: 1px solid rgb(198 168 108 / 0.55);
	background-color: var(--color-primary);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23c6a86c' stroke-opacity='.12'%3E%3Cpath d='M22 2 42 22 22 42 2 22Z'/%3E%3Cpath d='M22 15 29 22 22 29 15 22Z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 44px 44px;
	color: var(--color-white);
}

.installment-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.installment-banner--has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to left, rgb(34 44 90 / 0.97) 0%, rgb(34 44 90 / 0.9) 42%, rgb(34 44 90 / 0.35) 62%, rgb(34 44 90 / 0) 78%);
}

[dir="ltr"] .installment-banner--has-bg::before {
	background: linear-gradient(to right, rgb(34 44 90 / 0.97) 0%, rgb(34 44 90 / 0.9) 42%, rgb(34 44 90 / 0.35) 62%, rgb(34 44 90 / 0) 78%);
}

.installment-banner__decor {
	position: absolute;
	inset-block-start: -2rem;
	z-index: -1;
	display: block;
	width: 4rem;
	height: 4rem;
	line-height: 0;
	opacity: 0.95;
}

.installment-banner__decor--start {
	inset-inline-start: -2rem;
}

/* One medallion only (start corner), as in the reference. */
.installment-banner__decor--end {
	display: none;
}

.installment-banner__decor-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.installment-banner__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-3);
	padding-block: var(--space-6) var(--space-5);
}

.installment-banner__content {
	min-width: 0;
	max-width: 28rem;
}

.installment-banner__title {
	margin: 0;
	color: var(--color-white);
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.installment-banner__text {
	margin: var(--space-1) 0 0;
	color: rgb(255 255 255 / 0.86);
	font-size: var(--font-size-sm);
	line-height: 1.85;
}

/* Gold pill button on navy. */
.installment-banner .installment-banner__button {
	min-height: var(--control-h-sm);
	padding-inline: var(--space-5);
	border-color: transparent;
	border-radius: var(--radius-pill);
	background: var(--color-accent);
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.18);
	color: var(--color-footer);
	font-size: var(--font-size-sm);
}

.installment-banner .installment-banner__button:hover {
	background: #d4b97f;
	color: var(--color-footer);
}

@media (min-width: 768px) {
	.installment-banner {
		min-height: clamp(10rem, 14vw, 12.5rem);
	}

	.installment-banner__decor {
		inset-block-start: -3.5rem;
		width: 9rem;
		height: 9rem;
	}

	.installment-banner__decor--start {
		inset-inline-start: -3.5rem;
	}

	.installment-banner__inner {
		/* Copy on the start side, aligned with the container edge. */
		padding-block: var(--space-6);
	}

	.installment-banner__content {
		max-width: 34rem;
	}

	.installment-banner__title {
		font-size: var(--font-size-2xl);
	}

	.installment-banner__text {
		font-size: var(--font-size-base);
	}

	.installment-banner .installment-banner__button {
		min-height: var(--control-h);
		padding-inline: var(--space-6);
	}
}


/* Installment banner as a finished image (copy and button are inside the picture):
 * shown whole at its own aspect ratio, linked as a whole — no crop, no overlay. */
.installment-image {
	display: block;
	color: inherit;
	text-decoration: none;
}

.installment-image img {
	display: block;
	width: 100%;
	height: auto;
}

a.installment-image:focus-visible {
	outline: 3px solid var(--color-accent);
	outline-offset: -3px;
}


/* 4. Collection banners -------------------------------------------------- */
/* Phones: two vertical cards side by side (image on top, text below).
 * ≥768px: two equal photo banners with the text over the light side of the photo. */
.city-banners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-3);
}

.city-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--shadow-card);
	isolation: isolate;
	transition: box-shadow 0.25s var(--ease-out);
}

.city-banner:hover {
	box-shadow: var(--shadow-card-hover);
}

.city-banner__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--color-background);
}

.city-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 25% center;
	transition: transform 0.6s ease;
}

.city-banner:hover .city-banner__image {
	transform: scale(1.04);
}

.city-banner__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: var(--space-3) var(--space-2) var(--space-3);
	text-align: center;
}

.city-banner__title {
	margin: 0;
	color: var(--color-primary);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-bold);
	line-height: 1.6;
}

.city-banner__text {
	margin: var(--space-1) 0 var(--space-2);
	color: var(--color-text-muted);
	font-size: var(--font-size-2xs);
	line-height: 1.7;
}

/* On phones the button reads as a quiet text link. */
.city-banner__button {
	min-height: 2rem;
	margin-block-start: auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--color-primary);
	font-size: var(--font-size-xs);
}

.city-banner__button:hover {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	color: var(--color-gold-text);
}

.city-banner__button .negar-icon {
	width: 14px;
	height: 14px;
}

/* The whole banner is clickable through the button (one tab stop). */
.city-banner__button::after {
	content: "";
	position: absolute;
	inset: 0;
}

@media (min-width: 768px) {
	.city-banners {
		gap: var(--space-5);
	}

	/* The ratio is a minimum: a flex box with min-height:auto grows when the copy needs more room
	   (narrow tablets, long titles), so text is never clipped. */
	/* Tablets: the copy sets the height (never clipped), with a calm minimum.
	   Both banners share the grid row, so they stay equally tall. */
	.city-banner {
		flex-direction: row;
		align-items: stretch;
		min-height: 11rem;
	}

	.city-banner__media {
		position: absolute;
		inset: 0;
		aspect-ratio: auto;
	}

	.city-banner__image {
		object-position: left center;
	}

	.city-banner::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(to right, rgb(255 255 255 / 0.94) 0%, rgb(255 255 255 / 0.75) 36%, rgb(255 255 255 / 0) 62%);
		pointer-events: none;
	}

	[dir="rtl"] .city-banner::before {
		background: linear-gradient(to left, rgb(255 255 255 / 0.94) 0%, rgb(255 255 255 / 0.75) 36%, rgb(255 255 255 / 0) 62%);
	}

	.city-banner__content {
		position: relative;
		z-index: 2;
		justify-content: center;
		align-items: flex-start;
		flex: 0 0 auto;
		width: 56%;
		padding: var(--space-5);
		text-align: start;
	}

	.city-banner__title {
		font-size: var(--font-size-xl);
	}

	.city-banner__text {
		margin-block-end: var(--space-4);
		font-size: var(--font-size-sm);
	}

	/* From tablets: the standard quiet outline button. */
	.city-banner__button {
		min-height: var(--control-h-sm);
		margin-block-start: 0;
		padding-inline: var(--space-4);
		border: 1px solid rgb(34 44 90 / 0.45);
		border-radius: var(--radius-pill);
		background: rgb(255 255 255 / 0.9);
		box-shadow: var(--shadow-xs);
		font-size: var(--font-size-sm);
	}

	.city-banner__button:hover {
		border-color: var(--color-primary);
		background: var(--color-white);
		box-shadow: 0 4px 14px rgb(34 44 90 / 0.1);
		color: var(--color-primary);
	}

	.city-banner__button .negar-icon {
		width: 16px;
		height: 16px;
	}
}

@media (min-width: 1024px) {
	.city-banner {
		min-height: 0;
		aspect-ratio: 2.6 / 1;
	}

	.city-banner__content {
		padding: var(--space-6);
	}
}

/* 5. Promo banner -------------------------------------------------------- */
/* Full-bleed band (edge to edge); height unchanged; copy aligned with .container. */
.home-section--promo .promo-banner {
	max-width: none;
	border-inline: 0;
	border-radius: 0;
	border-color: var(--home-hairline, rgb(198 168 108 / 0.45));
	box-shadow: none;
}

.home-section--promo .promo-banner__inner {
	padding-inline: var(--container-pad);
}

/* Framed to the container width (reference): the photo fills the card, the copy sits on the
 * inline-start (right in RTL) over a soft wash. Recommended image: 1600×400 (4:1). */
.promo-banner {
	position: relative;
	display: flex;
	align-items: center;
	isolation: isolate;
	overflow: hidden;
	max-width: var(--container-max);
	min-height: 14rem;
	margin-inline: auto;
	border: 1px solid var(--home-card-border, rgb(34 44 90 / 0.08));
	border-radius: var(--radius-md);
	background: var(--color-white);
	box-shadow: var(--home-card-shadow, var(--shadow-card));
}

.promo-banner__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.promo-banner__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

.promo-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to right, rgb(247 248 250 / 0.95) 0%, rgb(247 248 250 / 0.85) 45%, rgb(247 248 250 / 0) 75%);
}

[dir="rtl"] .promo-banner::before {
	background: linear-gradient(to left, rgb(247 248 250 / 0.95) 0%, rgb(247 248 250 / 0.85) 45%, rgb(247 248 250 / 0) 75%);
}

.promo-banner__ornament {
	position: absolute;
	inset-block-start: -1.75rem;
	inset-inline-start: -1.75rem;
	z-index: -1;
	width: 4rem;
	height: 4rem;
	opacity: 0.9;
}

.promo-banner__inner {
	width: 100%;
	padding-inline: var(--space-5);
}

.promo-banner__content {
	width: min(75%, 30rem);
	padding-block: var(--space-6);
}

.promo-banner__title {
	position: relative;
	margin: 0 0 var(--space-2);
	padding-block-end: var(--space-2);
	color: var(--color-primary);
	font-size: var(--font-size-xl);
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

/* Short gold rule under the title. */
.promo-banner__title::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	width: 3rem;
	height: 2px;
	border-radius: 2px;
	background: var(--color-accent);
}

.promo-banner__text {
	max-width: 36ch;
	margin: 0 0 var(--space-4);
	color: #3f4759;
	font-size: var(--font-size-sm);
	line-height: 1.85;
}

.promo-banner .button {
	min-height: var(--control-h-sm);
	padding-inline: var(--space-4);
	font-size: var(--font-size-sm);
}

@media (min-width: 768px) {
	.promo-banner {
		min-height: clamp(15rem, 20vw, 18rem);
	}

	.promo-banner__ornament {
		inset-block-start: -2.5rem;
		inset-inline-start: -2.5rem;
		width: 6.5rem;
		height: 6.5rem;
	}

	.promo-banner__content {
		width: min(50%, 32rem);
		padding-block: var(--space-6);
	}

	.promo-banner__title {
		font-size: var(--font-size-2xl);
	}

	.promo-banner__text {
		font-size: var(--font-size-md);
	}

	.promo-banner .button {
		min-height: var(--control-h);
		padding-inline: var(--space-6);
	}
}

/* A full-bleed banner closing the page meets the footer directly. */
.site-main--home:has(> .home-section--promo:last-child) {
	padding-block-end: 0;
}
