/*
 * About Us page (route information/about)
 * Template: extension/so_theme/catalog/view/template/information/about.twig
 * --------------------------------------------------------------------------
 * Layout agnostic: every selector is scoped to .trv-about-page, so the same
 * file serves layout 43, layout 44 and any later SoTheme layout.  The content
 * sections below the banner are the Home 43 Page Builder rows, whose styling
 * already lives in the theme (layout43.css / layout43-theme.css); this file
 * only owns the banner and the page shell.
 *
 * Mobile first, 8dp spacing grid, 16px page padding, 16px body text, 48px
 * minimum touch targets, no horizontal overflow.
 */

.trv-about-page {
	--trv-about-accent: var(--primary-color, var(--s40-accent, #066168));
	--trv-about-highlight: #ffaa0d;
	--trv-about-ink: #0d2d31;
	--trv-about-body: #3f6367;
	--trv-about-line: rgba(6, 97, 104, .14);
	font-family: Figtree, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--trv-about-body);
	background: #ffffff;
	overflow-x: hidden;
}

.trv-about-page *,
.trv-about-page *::before,
.trv-about-page *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- banner */
.trv-about-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	min-height: 296px;
	background-color: #04353a;
	color: #ffffff;
}

.trv-about-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
}

.trv-about-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(180deg, rgba(4, 53, 58, .58) 0%, rgba(4, 53, 58, .84) 100%);
}

.trv-about-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 32px 16px;
}

.trv-about-crumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .82);
}

.trv-about-crumbs__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.trv-about-crumbs__item + .trv-about-crumbs__item::before {
	content: "/";
	color: rgba(255, 255, 255, .55);
}

.trv-about-crumbs__item a {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	color: #ffffff;
	text-decoration: none;
}

.trv-about-crumbs__item a:hover,
.trv-about-crumbs__item a:focus-visible {
	color: var(--trv-about-highlight);
	text-decoration: underline;
}

.trv-about-crumbs__item span {
	color: rgba(255, 255, 255, .92);
	font-weight: 600;
}

.trv-about-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--trv-about-highlight);
}

.trv-about-hero__title {
	margin: 0 0 12px;
	font-family: Afacad, Figtree, Arial, sans-serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: #ffffff;
}

.trv-about-hero__lead {
	max-width: 660px;
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .88);
}

/* -------------------------------------------------------------- sections */
.trv-about-sections {
	position: relative;
}

/* The builder prints its own stylesheet link inside this wrapper; keep it out
   of the visual flow so it cannot add a blank line above the first section. */
.trv-about-sections > link {
	display: none;
}

/* ------------------------------------------------------------- breakpoints */
@media (min-width: 640px) {
	.trv-about-hero {
		min-height: 360px;
	}

	.trv-about-hero__inner {
		padding: 40px 24px;
	}

	.trv-about-hero__title {
		font-size: 46px;
	}
}

@media (min-width: 992px) {
	.trv-about-hero {
		min-height: 420px;
	}

	.trv-about-hero__inner {
		padding: 64px 16px;
	}

	.trv-about-hero__title {
		font-size: 60px;
	}

	.trv-about-hero__lead {
		font-size: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.trv-about-page * {
		transition: none !important;
		animation: none !important;
	}
}

/* --------------------------------------------------------------- overrides
 * The theme styles h1/h2/h3 through `.h1, .h2, h3` (one class of specificity,
 * loaded after this file), which is enough to repaint the banner title in the
 * body colour.  The page prefix below keeps the banner legible on the photo.
 */
body .trv-about-page .trv-about-hero,
body .trv-about-page .trv-about-hero__title,
body .trv-about-page .trv-about-crumbs__item a,
body .trv-about-page .trv-about-crumbs__item span {
	color: #ffffff;
}

body .trv-about-page .trv-about-hero__eyebrow {
	color: #ffaa0d;
}

body .trv-about-page .trv-about-hero__lead {
	color: rgba(255, 255, 255, .88);
}

body .trv-about-page .trv-about-crumbs__list {
	color: rgba(255, 255, 255, .82);
}

body .trv-about-page .trv-about-hero__title {
	margin: 0 0 12px;
	font-size: 34px;
	line-height: 1.15;
}

@media (min-width: 640px) {
	body .trv-about-page .trv-about-hero__title {
		font-size: 46px;
	}
}

@media (min-width: 992px) {
	body .trv-about-page .trv-about-hero__title {
		font-size: 60px;
	}
}

