/**
 * About Us page structural and responsive styles.
 *
 * Editable colors, type, spacing, borders, image crops, and shadows are stored
 * in block attributes. This file owns only composition, responsive behavior,
 * decorative treatments, and interaction states Core controls cannot express.
 */

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section {
	box-sizing: border-box;
	max-width: none;
	width: 100%;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section *,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section *::before,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section *::after {
	box-sizing: border-box;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-container {
	max-width: 1200px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section-heading {
	margin-inline: auto;
	max-width: 760px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero {
	background-image: linear-gradient(165deg, var(--wp--preset--color--primary), #0d2a42);
	overflow: hidden;
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero::after {
	background: radial-gradient(70% 90% at 80% 20%, rgb(252 220 105 / 9%), transparent 60%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__inner {
	position: relative;
	z-index: 1;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__eyebrow {
	align-items: center;
	display: flex;
	gap: 14px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__eyebrow::before {
	background: rgb(252 220 105 / 55%);
	content: "";
	flex: 0 0 44px;
	height: 1px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero mark {
	background: transparent;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-facts {
	flex-wrap: wrap !important;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-facts > .wp-block-column {
	min-width: 110px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive {
	max-width: 430px;
	position: relative;
	transform: rotate(2deg);
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive::before {
	background: radial-gradient(circle at 35% 35%, #f7e9a8, #b58d17);
	border-radius: 50%;
	box-shadow: 0 3px 6px rgb(0 0 0 / 40%);
	content: "";
	height: 22px;
	left: 50%;
	position: absolute;
	top: -11px;
	transform: translateX(-50%);
	width: 22px;
	z-index: 2;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive__image,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive__image img {
	display: block;
	margin: 0;
	width: 100%;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive__image img {
	filter: sepia(25%) contrast(1.02);
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-story__heading {
	position: sticky;
	top: 112px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-story__prose .has-drop-cap:not(:focus)::first-letter {
	color: var(--wp--preset--color--primary);
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__track {
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__track::before {
	background: linear-gradient(90deg, var(--wp--preset--color--primary-alt), var(--wp--preset--color--border-subtle));
	content: "";
	height: 2px;
	left: 2%;
	position: absolute;
	right: 2%;
	top: 7px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__node {
	padding-top: 30px;
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__node::before {
	background: var(--wp--preset--color--primary-alt);
	border: 3px solid var(--wp--preset--color--base);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--wp--preset--color--primary-alt);
	content: "";
	height: 16px;
	left: 0;
	position: absolute;
	top: 0;
	width: 16px;
	z-index: 1;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiator {
	height: 100%;
	overflow: hidden;
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiator::before {
	background: linear-gradient(90deg, var(--wp--preset--color--primary-alt), transparent 70%);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiator__tag {
	display: inline-block;
	width: auto;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiator__icon {
	display: flex;
	height: 52px;
	width: 52px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiator__icon .wp-block-icon {
	margin: auto;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-license {
	max-width: 680px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credential {
	height: 100%;
	text-align: center;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credential__logo,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credential__logo img {
	margin: 0 auto;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credential__logo img {
	height: 58px;
	object-fit: contain;
	width: auto;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__media {
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__image,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__image img {
	display: block;
	margin: 0;
	width: 100%;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__badge {
	bottom: 18px;
	left: 18px;
	position: absolute;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-checklist {
	list-style: none;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-checklist li {
	padding: 5px 0 5px 28px;
	position: relative;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-checklist li::before {
	color: var(--wp--preset--color--success);
	content: "✓";
	font-weight: 800;
	left: 0;
	position: absolute;
	top: 5px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__image,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__image a,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__image img {
	display: block;
	margin: 0;
	width: 100%;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__body .wp-block-buttons {
	margin-top: auto;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location__meta::first-letter {
	color: var(--wp--preset--color--primary-alt-accent);
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta {
	margin-inline: 24px;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-button .wp-block-button__link {
	transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-button .wp-block-button__link:hover {
	transform: translateY(-2px);
}

:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-button .wp-block-button__link:focus-visible,
:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-location a:focus-visible {
	outline: 3px solid var(--wp--preset--color--primary-alt);
	outline-offset: 3px;
}

@media (max-width: 980px) {

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__inner,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-story__inner,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__inner {
		flex-direction: column;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__inner > .wp-block-column,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-story__inner > .wp-block-column,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__inner > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-archive {
		align-self: flex-start;
		transform: rotate(1deg);
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-story__heading {
		position: static;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-differentiators__grid {
		grid-template-columns: 1fr !important;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credentials__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-locations__grid {
		flex-direction: column;
	}
}

@media (max-width: 640px) {

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-section {
		padding-bottom: 56px !important;
		padding-top: 56px !important;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-container {
		padding-inline: 18px !important;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-hero__inner {
		gap: 44px;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-facts {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__track {
		display: flex !important;
		overflow-x: auto;
		padding-bottom: 12px;
		scroll-snap-type: x mandatory;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__track::before,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__node::before {
		display: none;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-timeline__node {
		background: var(--wp--preset--color--base);
		border: 1px solid var(--wp--preset--color--border-subtle);
		border-radius: 14px;
		flex: 0 0 78% !important;
		padding: 22px 20px;
		scroll-snap-align: start;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-credentials__grid {
		display: flex;
		flex-direction: column;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-license {
		align-items: flex-start;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-values__badge {
		bottom: 12px;
		left: 12px;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta-wrap {
		padding-top: 0 !important;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta {
		margin-inline: 18px;
		padding-inline: 22px !important;
	}

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta .wp-block-buttons,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta .wp-block-button,
	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-cta .wp-block-button__link {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {

	:where(.hsl-page-full-width-shell, .editor-styles-wrapper) .hsl-about-button .wp-block-button__link {
		transition: none;
	}
}
