/**
 * Senior HR Forum v1.6.3 (Update 14): About page + Events hero.
 * Loaded after brand.css. Open, layered layouts instead of boxes and frames.
 */

/* ===================== ABOUT: hero heading ===================== */
.shf-about-hero { position: relative; overflow: hidden; }
/* Soft layered shapes behind the heading. */
.shf-about-hero::before,
.shf-about-hero::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}
.shf-about-hero::before {
	width: clamp(280px, 38vw, 560px); aspect-ratio: 1;
	right: -12%; top: -38%;
	border: 1.5px solid rgba(34, 184, 207, 0.22);
	box-shadow: 0 0 0 46px rgba(34, 184, 207, 0.05);
}
.shf-about-hero::after {
	width: clamp(200px, 26vw, 380px); aspect-ratio: 1;
	left: -10%; bottom: -55%;
	background: radial-gradient(closest-side, rgba(11, 106, 133, 0.10), rgba(11, 106, 133, 0));
}
.shf-about-hero > * { position: relative; z-index: 1; }
/* True centre: the block spans the full content width, lines are balanced and centred. */
.shf-about-hero .shf-about-hero__title {
	box-sizing: border-box;
	width: 100%;
	max-width: 20ch !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding: 0 !important;
	text-align: center !important;
	text-wrap: balance;
	text-indent: 0;
}
/* Underline highlight that draws in under "most valuable assets" once the heading is in. */
.shf-mark {
	position: relative;
	z-index: 0;
	background: none;
	color: inherit;
	padding: 0;
	white-space: nowrap;
}
.shf-mark::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -0.06em;
	right: -0.06em;
	bottom: 0.04em;
	height: 0.3em;
	border-radius: 0.15em;
	background: rgba(255, 122, 26, 0.55);
	transform-origin: left center;
	/* v1.8.8: drawn by a transition (assets/css/v188.css, assets/js/mark.js). */
}
@media (max-width: 480px) { .shf-mark { white-space: normal; } }
@media (prefers-reduced-motion: reduce) {
	.shf-mark::after { transform: none; }
}
/* In the editor the highlight is shown straight away. */
.editor-styles-wrapper .shf-mark::after { animation: none; transform: none; }

/* ===================== ABOUT: Who we are (open, no box) ===================== */
.shf-about-story { position: relative; overflow: hidden; }
/* Soft layered wash on the right, behind the statement (no frame). */
.shf-about-story::before {
	content: "";
	position: absolute;
	z-index: 0;
	right: -140px;
	top: 0;
	width: 520px;
	height: 420px;
	border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%;
	background: radial-gradient(closest-side, rgba(34, 184, 207, 0.12), rgba(34, 184, 207, 0));
	pointer-events: none;
}
.shf-about-story > * { position: relative; z-index: 1; }
.shf-about-story > .shf-about-intro.shf-about-who {
	position: relative;
	display: block;
	box-sizing: border-box;
	max-width: 920px !important;
	margin: clamp(24px, 4vw, 56px) auto 0 !important;
	padding: 0 0 0 clamp(28px, 5vw, 72px);
	background: none;
	border: 0;
	box-shadow: none;
}
/* A large, faint quote mark sits behind the text; a thin teal rule runs down the left. */
.shf-about-who::before {
	content: "\201C";
	position: absolute;
	z-index: 0;
	left: clamp(-8px, 1vw, 8px);
	top: -0.42em;
	font-size: clamp(9rem, 6rem + 10vw, 15rem);
	font-weight: 800;
	line-height: 1;
	color: rgba(34, 184, 207, 0.14);
	pointer-events: none;
}
.shf-about-who::after {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 2px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--shf-teal) 0%, rgba(34, 184, 207, 0.6) 60%, rgba(34, 184, 207, 0) 100%);
}
.shf-about-who > * { position: relative; z-index: 1; margin: 0 !important; }
.shf-about-who__kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--shf-teal);
}
.shf-about-who__kicker::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--shf-sunset);
	box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.16);
}
.shf-about-who .shf-about-who__text {
	margin-top: 18px !important;
	max-width: 40ch;
	font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -0.015em;
	color: var(--shf-ink);
	text-wrap: pretty;
}

/* ===================== ABOUT: "See the organizations" text link ===================== */
.shf-about-who .shf-about-jump {
	margin-top: 26px !important;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--shf-teal);
	font-weight: 700;
	font-size: 1.05rem;
	text-decoration: none;
	transform: none;
}
.shf-about-jump__text {
	background: linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat;
	padding-bottom: 3px;
	transition: background-size .35s ease;
}
.shf-about-who .shf-about-jump .shf-about-jump__arrow {
	display: inline-grid;
	width: auto;
	height: auto;
	background: none;
	border-radius: 0;
	transition: transform .3s ease;
}
.shf-about-who .shf-about-jump:hover,
.shf-about-who .shf-about-jump:focus-visible { background: none; color: var(--shf-teal-dark); transform: none; }
.shf-about-jump:hover .shf-about-jump__text,
.shf-about-jump:focus-visible .shf-about-jump__text { background-size: 100% 2px; }
.shf-about-jump:hover .shf-about-jump__arrow,
.shf-about-jump:focus-visible .shf-about-jump__arrow { transform: translateY(4px); }
.shf-about-who .shf-about-jump:focus-visible { outline: 3px solid var(--shf-teal); outline-offset: 4px; border-radius: 4px; }
/* Glide down instead of jumping; the logos heading stops clear of the sticky header. */
html:has(.shf-about-page) { scroll-behavior: smooth; }
.shf-about-page #organisations { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: reduce) {
	html:has(.shf-about-page) { scroll-behavior: auto; }
	.shf-about-jump__text, .shf-about-who .shf-about-jump .shf-about-jump__arrow { transition: none; }
}

/* ===================== ABOUT: logos ===================== */
/* Remaining logos: four per row, the whole group (and a short last row) centred. */
.shf-about-page .shf-org-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 40px;
	max-width: 1000px;
	margin: 40px auto 0 !important;
}
.shf-about-page .shf-org-grid > li {
	flex: 0 0 calc((100% - 3 * 40px) / 4);
	height: 96px;
}
.shf-about-page .shf-org img { max-width: 210px; }
.shf-about-page .shf-org--text span { max-width: 210px; }
@media (max-width: 781px) {
	.shf-about-page .shf-org-grid { gap: 12px 20px; }
	.shf-about-page .shf-org-grid > li { flex-basis: calc((100% - 20px) / 2); height: 80px; }
	.shf-about-page .shf-org img { max-width: 100%; height: calc(var(--shf-org-h, 48px) * 0.78); }
}

/* ===================== EVENTS hero: open 60+ stat (no card) ===================== */
.shf-events-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); }
.shf-hero-stat {
	position: relative;
	display: grid;
	justify-items: center;
	text-align: center;
	padding: 40px 0;
	isolation: isolate;
}
.shf-hero-stat > p { margin: 0 !important; }
/* Soft glow plus two fine rings behind the number, with the orange dot from the logo. */
.shf-hero-stat__rings {
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: min(300px, 82vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 1.5px solid rgba(127, 227, 242, 0.28);
	background: radial-gradient(closest-side, rgba(34, 184, 207, 0.30), rgba(34, 184, 207, 0.08) 60%, rgba(34, 184, 207, 0) 100%);
	pointer-events: none;
}
.shf-hero-stat__rings::before {
	content: "";
	position: absolute;
	inset: -26px;
	border-radius: 50%;
	border: 1px solid rgba(127, 227, 242, 0.14);
}
.shf-hero-stat__rings::after {
	content: "";
	position: absolute;
	width: 10px; height: 10px;
	right: 14%; top: 11%;
	border-radius: 50%;
	background: var(--shf-sunset);
	box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.20);
}
.shf-hero-stat__num {
	font-size: clamp(5rem, 3rem + 6vw, 8rem);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.05em;
	color: #fff;
	text-shadow: 0 10px 40px rgba(4, 30, 40, 0.35);
}
.shf-hero-stat__line {
	display: block;
	width: 56px;
	height: 2px;
	margin: 20px 0 14px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--shf-cyan-bright), rgba(127, 227, 242, 0));
}
.shf-hero-stat__label {
	max-width: 16ch;
	color: #E3EEF3;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.35;
	text-wrap: balance;
}
/* Balanced line lengths on the left. */
.shf-events-hero__intro { max-width: 46ch; text-wrap: balance; }
@media (max-width: 860px) {
	.shf-events-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.shf-hero-stat { justify-items: start; text-align: left; padding: 36px 0 12px 8px; }
	.shf-hero-stat__rings { left: 0; width: 220px; transform: translate(-22%, -50%); }
	.shf-hero-stat__num { font-size: 4.5rem; }
}
