/* ==========================================================================
   Galleria De Rings: page banner (About Us, Contact Us)
   Full width and short: a photo under a navy wash, the page title and a
   breadcrumb centred. The running strip of promises (home page trust strip)
   follows it. Photos never zoom.
   Markup: template-parts/sections/page-banner.php. PHP: inc/page-banner.php.
   ========================================================================== */

.has-page-banner .site-main {
	padding-block: 0;
}

.page-banner {
	position: relative;
	display: flex;
	align-items: center;
	height: clamp(220px, 24vw, 340px);
	overflow: hidden;
	background: var(--g-navy);
	isolation: isolate;
}

/* Wider than the banner and anchored left, so the ring sits to the right of
   the centred title; the photo's bottom edge (with a small mark) is cropped. */
.page-banner__img {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: -2;
	width: 130%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 50% 42%;
}

/* Navy wash, a little darker in the middle behind the text */
.page-banner::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(ellipse 60% 90% at 50% 50%, rgba(11, 19, 42, 0.82) 0%, rgba(11, 19, 42, 0.55) 100%);
	content: "";
}

.page-banner__inner {
	color: var(--g-white);
	text-align: center;
}

.page-banner__title {
	margin: 0;
	color: var(--g-white);
	font-size: clamp(40px, 5vw, 68px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.01em;
}

.page-banner__crumbs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px 8px;
	margin-top: clamp(10px, 1.2vw, 16px);
	color: rgba(255, 255, 255, 0.75);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.page-banner__crumbs a {
	color: inherit;
	text-decoration: none;
}

.page-banner__crumbs a:hover,
.page-banner__crumbs a:focus-visible {
	color: var(--g-white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-banner__crumbs a:focus-visible {
	outline: 2px solid var(--g-white);
	outline-offset: 2px;
}

.page-banner__crumbs span[aria-hidden] {
	opacity: 0.5;
}

@media (max-width: 760px) {
	.page-banner {
		height: 200px;
	}

	.page-banner__img {
		width: 165%;
	}

	.page-banner::after {
		background: rgba(11, 19, 42, 0.68);
	}
}
