/* ==========================================================================
   Galleria De Rings: Solitaire banner (home page) — FULL WIDTH
   Edge-to-edge navy ring photo; text sits in the photo's empty navy space,
   aligned to the site's 1240px content line.
   - Desktop / tablet: landscape photo, text on the left.
   - Phones: portrait photo, text centred at the top.
   Note: the desktop photo is 1942px wide. For pin-sharp Retina at full width,
   swap in a ~3840px export with the same file name.
   ========================================================================== */

.sol-banner {
	--sb-navy: #0b1530;                         /* matches the photo's darkest navy */
	--sb-ink: #f7f5f1;                          /* cream text on navy */
	--sb-ink-soft: rgba(247, 245, 241, 0.8);
	--sb-ink-faint: rgba(247, 245, 241, 0.66);
	--sb-gutter: clamp(24px, 4vw, 48px);

	padding: 0;
	background: var(--sb-navy);
}

.sol-banner__inner {
	position: relative;
	width: 100%;
	height: clamp(460px, 40vw, 640px);
	overflow: hidden;
	background: var(--sb-navy);
	isolation: isolate;
}

.sol-banner__media,
.sol-banner__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.sol-banner__img {
	object-fit: cover;
	object-position: 70% 55%;   /* keeps the ring in view on very wide or narrow screens */
}

/* Text column lines up with the 1240px content of the other sections. */
.sol-banner__content {
	position: absolute;
	inset: 0;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 var(--sb-gutter);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
	color: var(--sb-ink);
}

.sol-banner__content > * {
	max-width: 520px;
}

.sol-banner__eyebrow {
	margin: 0 0 16px;
	font-family: var(--g-font-body, "Source Sans 3", sans-serif);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--sb-ink-faint);
}

.sol-banner__title {
	margin: 0 0 18px;
	font-family: var(--g-font-heading, "EB Garamond", serif);
	font-size: clamp(36px, 4.2vw, 64px);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.01em;
	color: var(--sb-ink);
}

.sol-banner__title em {
	display: block;
	font-style: italic;
}

.sol-banner__text {
	margin: 0 0 30px;
	max-width: 36ch;
	font-family: var(--g-font-body, "Source Sans 3", sans-serif);
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.6;
	color: var(--sb-ink-soft);
}

.sol-banner__btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--sb-ink);
	color: var(--g-navy, #0b132a);
	font-family: var(--g-font-body, "Source Sans 3", sans-serif);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.sol-banner__btn:hover,
.sol-banner__btn:focus-visible {
	background: #ffffff;
	color: var(--g-navy, #0b132a);
	box-shadow: 0 10px 28px -12px rgba(0, 0, 0, 0.55);
}

.sol-banner__btn:focus-visible {
	outline: 2px solid var(--sb-ink);
	outline-offset: 3px;
}

/* Tablet: photo is cropped narrower, so add a soft navy fade behind the text. */
@media (max-width: 1023px) {
	.sol-banner__inner {
		height: clamp(360px, 52vw, 460px);
	}

	.sol-banner__inner::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(90deg, rgba(11, 21, 48, 0.85) 0%, rgba(11, 21, 48, 0.45) 45%, rgba(11, 21, 48, 0) 70%);
		pointer-events: none;
	}

	/* Keep the text in the left ~half so it never runs over the ring. */
	.sol-banner__content > * {
		max-width: min(46%, 380px);
	}
}

/* Phones: portrait photo, text centred in the navy space at the top. */
@media (max-width: 767px) {
	.sol-banner__inner {
		height: auto;
		aspect-ratio: 1122 / 1402;
	}

	.sol-banner__inner::after {
		display: none;
	}

	.sol-banner__img {
		object-position: 50% 100%;
	}

	.sol-banner__content > * {
		max-width: 100%;
	}

	.sol-banner__content {
		inset: 0 0 auto 0;
		padding: clamp(32px, 10vw, 48px) 24px 0;
		align-items: center;
		text-align: center;
	}

	.sol-banner__eyebrow {
		margin-bottom: 12px;
		font-size: 11px;
	}

	.sol-banner__title {
		font-size: clamp(32px, 9.5vw, 42px);
		margin-bottom: 12px;
	}

	.sol-banner__text {
		font-size: 14.5px;
		margin-bottom: 20px;
	}

	.sol-banner__btn {
		min-height: 46px;
		padding: 0 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sol-banner__btn {
		transition: none;
	}
}
