/* =============================================================
   WBA JUNIOR WARRIORS — SHARED STYLES
   Used by hub, metro and country templates.
   Relies on theme brand tokens: --wba-red, --wba-orange,
   --wba-dark, --wba-white, --wba-cream, --wba-border,
   --wba-muted, --gutter-d, --gutter-m.
   ============================================================= */

.jw {
	--jw-accent: var(--wba-red);
	--jw-accent-soft: rgba(193, 39, 45, 0.08);
	color: var(--wba-dark);
}

/* Inline branded icon sizing (SVG from wba_play_icon) */
.jw svg { width: 1em; height: 1em; vertical-align: -0.12em; }

/* -------------------------------------------------------------
   SECTION SHELLS
   ----------------------------------------------------------- */
.jw-section {
	padding: 70px var(--gutter-m);
}
.jw-section__inner {
	max-width: 1180px;
	margin: 0 auto;
}
.jw-section--cream { background: var(--wba-cream); }
.jw-section--dark {
	background: var(--wba-dark);
	color: var(--wba-white);
}
@media (min-width: 880px) {
	.jw-section { padding: 100px var(--gutter-d); }
}

/* -------------------------------------------------------------
   SECTION HEAD (eyebrow + display title)
   ----------------------------------------------------------- */
.jw-shead { margin-bottom: 40px; max-width: 760px; }
.jw-shead--center { margin-left: auto; margin-right: auto; text-align: center; }
.jw-shead__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--jw-accent);
	margin: 0 0 14px;
}
.jw-section--dark .jw-shead__eyebrow { color: var(--wba-orange); }
.jw-shead__title {
	font-size: clamp(1.8rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.01em;
	margin: 0;
}
.jw-shead__title em {
	font-style: italic;
	font-weight: 300;
	color: var(--wba-muted);
}
.jw-section--dark .jw-shead__title em { color: rgba(255,255,255,0.55); }
.jw-shead__lede {
	margin: 18px 0 0;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--wba-muted);
	max-width: 680px;
}
.jw-section--dark .jw-shead__lede { color: rgba(255,255,255,0.72); }

/* -------------------------------------------------------------
   PAGE HERO (58vh — subordinate to homepage)
   ----------------------------------------------------------- */
.jw-hero {
	position: relative;
	min-height: 58vh;
	display: flex;
	align-items: flex-end;
	background: var(--wba-dark);
	color: var(--wba-white);
	overflow: hidden;
	padding: 0 var(--gutter-m) 54px;
}
.jw-hero__bg {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.4;
	z-index: 0;
}
.jw-hero::after {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(120% 90% at 15% 100%, rgba(193,39,45,0.5) 0%, rgba(26,26,26,0) 55%),
	            linear-gradient(180deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0.9) 100%);
	z-index: 1;
}
.jw-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	width: 100%;
	margin: 0 auto;
}
.jw-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wba-orange);
	margin: 0 0 18px;
}
.jw-hero__title {
	font-size: clamp(2.4rem, 8vw, 4.6rem);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.02em;
	margin: 0;
}
.jw-hero__title .jw-hero__accent {
	font-style: italic;
	font-weight: 300;
	color: var(--wba-white);
	position: relative;
}
.jw-hero__lede {
	margin: 22px 0 0;
	max-width: 620px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255,255,255,0.82);
}
.jw-hero__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.jw-pill {
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 8px 14px;
	border: 1px solid rgba(255,255,255,0.28);
	border-radius: 999px;
	color: rgba(255,255,255,0.9);
	white-space: nowrap;
}
.jw-hero__logo {
	position: absolute;
	top: 32px; right: var(--gutter-m);
	z-index: 2;
	height: 54px; width: auto;
	max-width: 140px;
	object-fit: contain;
	background: rgba(255,255,255,0.92);
	padding: 8px 12px;
	border-radius: 10px;
}
@media (min-width: 880px) {
	.jw-hero { padding: 0 var(--gutter-d) 70px; }
	.jw-hero__logo { top: 40px; right: var(--gutter-d); height: 66px; max-width: 180px; }
}

/* -------------------------------------------------------------
   BV PATHWAY LADDER (5 steps)
   ----------------------------------------------------------- */
.jw-pathway {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	counter-reset: jwstep;
}
.jw-pathway__step {
	position: relative;
	background: var(--wba-white);
	border: 1px solid var(--wba-border);
	border-radius: 14px;
	padding: 24px 22px 22px;
}
.jw-section--cream .jw-pathway__step { background: var(--wba-white); }
.jw-pathway__tag {
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--jw-accent);
	display: block;
	margin-bottom: 8px;
}
.jw-pathway__title {
	font-size: 1.15rem;
	font-weight: 800;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}
.jw-pathway__desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--wba-muted);
}
@media (min-width: 760px) {
	.jw-pathway { grid-template-columns: repeat(5, 1fr); gap: 10px; }
	.jw-pathway__step { padding: 22px 16px; }
	.jw-pathway__title { font-size: 1.02rem; }
	.jw-pathway__desc { font-size: 0.82rem; }
}

/* -------------------------------------------------------------
   STAT STRIP (with .wba-countup numbers)
   ----------------------------------------------------------- */
.jw-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--wba-border);
	border: 1px solid var(--wba-border);
	border-radius: 16px;
	overflow: hidden;
}
.jw-stats__cell {
	background: var(--wba-white);
	padding: 30px 18px;
	text-align: center;
}
.jw-section--dark .jw-stats { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }
.jw-section--dark .jw-stats__cell { background: #232323; }
.jw-stats__num {
	font-size: clamp(2rem, 6vw, 3.1rem);
	font-weight: 800;
	line-height: 1;
	color: var(--jw-accent);
	letter-spacing: -0.02em;
}
.jw-section--dark .jw-stats__num { color: var(--wba-orange); }
.jw-stats__label {
	margin: 10px 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--wba-muted);
	line-height: 1.4;
}
.jw-section--dark .jw-stats__label { color: rgba(255,255,255,0.65); }
@media (min-width: 760px) {
	.jw-stats { grid-template-columns: repeat(4, 1fr); }
}

/* -------------------------------------------------------------
   DARK VALUES GRID
   ----------------------------------------------------------- */
.jw-values {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
.jw-values__card {
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	padding: 26px 24px;
	background: rgba(255,255,255,0.03);
}
.jw-values__icon {
	display: inline-flex;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border-radius: 11px;
	background: var(--jw-accent);
	color: var(--wba-white);
	font-size: 1.2rem;
	margin-bottom: 16px;
}
.jw-values__title { font-size: 1.1rem; font-weight: 800; margin: 0 0 8px; }
.jw-values__desc { margin: 0; font-size: 0.9rem; line-height: 1.65; color: rgba(255,255,255,0.72); }
.jw-values__desc em { color: var(--wba-orange); font-style: italic; }
@media (min-width: 700px) {
	.jw-values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
	.jw-values { grid-template-columns: repeat(5, 1fr); }
	.jw-values__card { padding: 24px 18px; }
	.jw-values__title { font-size: 0.98rem; }
	.jw-values__desc { font-size: 0.82rem; }
}

/* -------------------------------------------------------------
   CONTACT PANEL
   ----------------------------------------------------------- */
.jw-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}
.jw-contact__card {
	background: var(--wba-white);
	border: 1px solid var(--wba-border);
	border-top: 3px solid var(--jw-accent);
	border-radius: 16px;
	padding: 30px 28px;
}
.jw-contact__name { font-size: 1.3rem; font-weight: 800; margin: 0 0 4px; }
.jw-contact__role { font-size: 0.82rem; color: var(--wba-muted); margin: 0 0 20px; line-height: 1.5; }
.jw-contact__links { display: flex; flex-direction: column; gap: 12px; }
.jw-contact__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--wba-dark);
	text-decoration: none;
}
.jw-contact__link svg { color: var(--jw-accent); }
.jw-contact__link:hover { color: var(--jw-accent); }
@media (min-width: 880px) {
	.jw-contact__grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}

/* -------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------- */
.jw-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: var(--jw-accent);
	color: var(--wba-white);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1px solid var(--jw-accent);
	transition: transform 0.18s ease, background 0.18s ease;
}
.jw-btn:hover { transform: translateY(-2px); background: #a81f24; }
.jw-btn--ghost {
	background: transparent;
	color: var(--wba-dark);
	border-color: var(--wba-border);
}
.jw-btn--ghost:hover { background: var(--wba-dark); color: var(--wba-white); border-color: var(--wba-dark); }
.jw-section--dark .jw-btn--ghost { color: var(--wba-white); border-color: rgba(255,255,255,0.35); }
.jw-section--dark .jw-btn--ghost:hover { background: var(--wba-white); color: var(--wba-dark); }
.jw-btn--light {
	background: var(--wba-white);
	color: var(--wba-dark);
	border-color: var(--wba-white);
}
.jw-btn--light:hover { background: var(--wba-cream); }
.jw-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------
   CROSS-LINK CALLOUT (the "also interested in…" strip)
   ----------------------------------------------------------- */
.jw-crosslink {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	background: var(--jw-accent-soft);
	border: 1px solid var(--wba-border);
	border-left: 3px solid var(--jw-accent);
	border-radius: 14px;
	padding: 24px 26px;
	margin-top: 36px;
}
.jw-crosslink p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
.jw-crosslink strong { font-weight: 800; }
@media (min-width: 700px) {
	.jw-crosslink { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* -------------------------------------------------------------
   ANCHOR NAV (sticky in-page jump bar, red top border)
   ----------------------------------------------------------- */
.jw-anchornav {
	position: sticky;
	top: 0;
	z-index: 30;
	background: var(--wba-white);
	border-top: 2px solid var(--jw-accent);
	border-bottom: 1px solid var(--wba-border);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.jw-anchornav__inner {
	display: flex;
	gap: 6px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--gutter-m);
}
.jw-anchornav a {
	flex-shrink: 0;
	padding: 16px 14px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wba-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color 0.15s, border-color 0.15s;
}
.jw-anchornav a:hover { color: var(--jw-accent); border-bottom-color: var(--jw-accent); }
@media (min-width: 880px) {
	.jw-anchornav__inner { padding: 0 var(--gutter-d); gap: 10px; }
	.jw-anchornav a { padding: 18px 18px; }
}
