/* Hero sample pages — unique top banners */

.entry-content:has(.ftc-hs-nav),
.entry-content:has(.ftc-hs-8) {
	padding-top: 0;
}

.entry-content:has(.ftc-hs-nav) > .ftc-hs-nav,
.entry-content:has(.ftc-hs-nav) > .ftc-hs-nav + *,
.entry-content:has(.ftc-hs-8) > .ftc-hs-8 {
	margin-block-start: 0 !important;
}

.ftc-hs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.65rem;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1rem;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
}

.ftc-hs-nav a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.ftc-hs-nav a:hover,
.ftc-hs-nav a.is-current {
	border-bottom-color: #f57c00;
	color: #f57c00;
}

.ftc-hs-nav span {
	opacity: 0.55;
	margin-right: 0.35rem;
}

/* 1 — Cinematic cover */
.ftc-hs-1.wp-block-cover {
	min-height: 88vh;
}

.ftc-hs-1 .wp-block-cover__inner-container {
	max-width: 720px;
	margin-left: 0;
	padding: 0 0 3rem 4vw;
}

.ftc-hs-1 .ftc-hs-1__rule {
	width: 72px;
	height: 4px;
	background: #f57c00;
	margin: 0 0 1.25rem;
}

/* 2 — Split command (HighTide / FRC shop energy) */
.ftc-hs-2.wp-block-media-text {
	min-height: 86vh;
}

.ftc-hs-2 .wp-block-media-text__content {
	padding: clamp(2.5rem, 7vw, 5.5rem);
}

.ftc-hs-2 .ftc-hs-2__kicker {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* 3 — Scout HUD */
.ftc-hs-3 {
	position: relative;
	min-height: 88vh;
	padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 4rem);
	background:
		radial-gradient(ellipse 80% 50% at 80% 20%, rgba(245, 124, 0, 0.22), transparent 55%),
		linear-gradient(180deg, #07111f 0%, #0b1b33 100%);
	color: #fff;
	overflow: hidden;
}

.ftc-hs-3::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
	pointer-events: none;
}

.ftc-hs-3__inner {
	position: relative;
	z-index: 1;
	max-width: 1100px;
	margin: 0 auto;
}

.ftc-hs-3__num {
	margin: 0;
	font-size: clamp(5rem, 18vw, 11rem);
	font-weight: 900;
	line-height: 0.85;
	letter-spacing: -0.06em;
	color: transparent;
	-webkit-text-stroke: 2px rgba(255, 255, 255, 0.88);
}

.ftc-hs-3__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-top: 2rem;
}

.ftc-hs-3__stat {
	padding: 1rem 1.1rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(7, 17, 31, 0.55);
	backdrop-filter: blur(8px);
}

.ftc-hs-3__stat strong {
	display: block;
	font-size: 1.65rem;
	font-weight: 800;
	color: #f57c00;
}

.ftc-hs-3__stat span {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.7;
}

@media (max-width: 700px) {
	.ftc-hs-3__stats {
		grid-template-columns: 1fr 1fr;
	}
}

/* 4 — Editorial overlap */
.ftc-hs-4 {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	min-height: 88vh;
	background: #f6f1ea;
}

.ftc-hs-4__type {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 6vw, 4rem);
}

.ftc-hs-4__type h1 {
	margin: 0;
	font-size: clamp(3.4rem, 10vw, 7.5rem);
	font-weight: 900;
	line-height: 0.82;
	letter-spacing: -0.05em;
	color: #003974;
}

.ftc-hs-4__photo {
	position: relative;
	min-height: 22rem;
	background-size: cover;
	background-position: center;
}

.ftc-hs-4__photo::after {
	content: "OPEN ALLIANCE";
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	padding: 0.3rem 0.55rem;
	background: #f57c00;
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

@media (max-width: 800px) {
	.ftc-hs-4 {
		grid-template-columns: 1fr;
	}
}

/* 5 — Bento */
.ftc-hs-5 {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #f1f5f9;
}

.ftc-hs-5__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 0.75rem;
	min-height: 82vh;
	max-width: 1280px;
	margin: 0 auto;
}

.ftc-hs-5__cell {
	border-radius: 18px;
	overflow: hidden;
	padding: 1.5rem;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.ftc-hs-5__hero {
	grid-row: 1 / span 2;
	background-size: cover;
	background-position: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 20rem;
}

.ftc-hs-5__hero h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 800;
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ftc-hs-5__navy {
	background: #003974;
	color: #fff;
}

.ftc-hs-5__orange {
	background: #f57c00;
	color: #fff;
}

@media (max-width: 800px) {
	.ftc-hs-5__grid {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}
}

/* 6 — Marquee */
.ftc-hs-6 {
	background: #003974;
	color: #fff;
	padding: clamp(4rem, 10vw, 7rem) 1.25rem 0;
	text-align: center;
	overflow: hidden;
}

.ftc-hs-6 h1 {
	margin: 0 auto 1rem;
	max-width: 18ch;
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	font-weight: 900;
	line-height: 1.05;
}

.ftc-hs-6__track {
	display: flex;
	width: max-content;
	gap: 2.5rem;
	margin-top: 3.5rem;
	padding: 0.85rem 0;
	background: #f57c00;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	animation: ftc-hs-marquee 22s linear infinite;
}

@keyframes ftc-hs-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* 7 — Next event / alliance */
.ftc-hs-7 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 84vh;
}

.ftc-hs-7__red,
.ftc-hs-7__blue {
	padding: clamp(2.5rem, 6vw, 4.5rem);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ftc-hs-7__red {
	background: #b91c1c;
}

.ftc-hs-7__blue {
	background: #1d4ed8;
}

.ftc-hs-7 time {
	display: block;
	font-size: clamp(3rem, 8vw, 5.5rem);
	font-weight: 900;
	line-height: 0.9;
	letter-spacing: -0.04em;
}

@media (max-width: 700px) {
	.ftc-hs-7 {
		grid-template-columns: 1fr;
	}
}

/* 8 — Pathing */
.ftc-hs-8 {
	position: relative;
	min-height: 88vh;
	background: #070b14;
	color: #e8eef7;
	padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem);
	overflow: hidden;
}

.ftc-hs-8 svg {
	position: absolute;
	inset: 12% 0 0;
	width: 100%;
	height: 70%;
	opacity: 0.9;
	pointer-events: none;
}

.ftc-hs-8__path {
	fill: none;
	stroke: #f57c00;
	stroke-width: 3;
	stroke-dasharray: 12 10;
	animation: ftc-hs-dash 18s linear infinite;
}

.ftc-hs-8__path-2 {
	stroke: #5b9bd5;
	stroke-width: 2;
	animation-duration: 26s;
	animation-direction: reverse;
}

@keyframes ftc-hs-dash {
	to {
		stroke-dashoffset: -400;
	}
}

.ftc-hs-8__copy {
	position: relative;
	z-index: 1;
	max-width: 34rem;
}

/* 9 — Portrait stack */
.ftc-hs-9 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 86vh;
	background: #fff7ed;
}

.ftc-hs-9__copy {
	padding: clamp(2.5rem, 6vw, 5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ftc-hs-9__stack {
	position: relative;
	min-height: 26rem;
}

.ftc-hs-9__card {
	position: absolute;
	width: 52%;
	aspect-ratio: 4 / 5;
	background-size: cover;
	background-position: center;
	border: 8px solid #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

.ftc-hs-9__card:nth-child(1) {
	top: 14%;
	left: 8%;
	transform: rotate(-8deg);
	z-index: 1;
}

.ftc-hs-9__card:nth-child(2) {
	top: 22%;
	left: 28%;
	transform: rotate(4deg);
	z-index: 2;
}

.ftc-hs-9__card:nth-child(3) {
	top: 18%;
	left: 46%;
	transform: rotate(11deg);
	z-index: 3;
}

@media (max-width: 800px) {
	.ftc-hs-9 {
		grid-template-columns: 1fr;
	}

	.ftc-hs-9__stack {
		min-height: 20rem;
	}
}

/* 10 — Championship */
.ftc-hs-10 {
	min-height: 88vh;
	padding: clamp(3rem, 8vw, 6rem) 1.25rem;
	background:
		radial-gradient(circle at 20% 20%, rgba(245, 124, 0, 0.35), transparent 36%),
		radial-gradient(circle at 85% 10%, rgba(255, 215, 128, 0.28), transparent 32%),
		linear-gradient(160deg, #001433 0%, #003974 55%, #0f172a 100%);
	color: #fff;
	text-align: center;
}

.ftc-hs-10__frame {
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 3.5rem);
	border: 1px solid rgba(255, 215, 128, 0.45);
	box-shadow: 0 0 0 8px rgba(0, 20, 50, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ftc-hs-10__chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
}

.ftc-hs-10__chips span {
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 215, 128, 0.12);
	border: 1px solid rgba(255, 215, 128, 0.4);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ftc-hs-hub {
	padding: clamp(2rem, 5vw, 4rem) 1.25rem 4rem;
}

.ftc-hs-hub__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
	max-width: 1100px;
	margin: 0 auto;
}

.ftc-hs-hub a {
	display: block;
	padding: 1.25rem;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e2e8f0;
}

.ftc-hs-hub a:hover {
	border-color: #f57c00;
}

.ftc-hs-hub a strong {
	display: block;
	margin-bottom: 0.35rem;
	color: #003974;
}

@media (prefers-reduced-motion: reduce) {
	.ftc-hs-6__track,
	.ftc-hs-8__path,
	.ftc-hs-8__path-2 {
		animation: none;
	}
}
