/**
 * Issues / Where I Stand Page
 *
 * Covers:
 *   .pjcs-issues-header      — Full-width navy page header
 *   .pjcs-issues-subnav      — Sticky horizontal section nav
 *   .pjcs-issues-section      — Shared section shell + color modifiers
 *   .pjcs-stat-card           — Reusable stat callout card (light + dark variants)
 *   .pjcs-pull-quote          — Reusable commitment pull quote (light + dark variants)
 *   .pjcs-issues-trades       — 2-column Trades & Workforce exception layout
 *
 * Section backgrounds:
 *   --offwhite  #F7F4EF  Healthcare, Small Business
 *   --navy      #273965  Tax Reform, Accountability
 *   --cream     #FAF2F0  Trades (via .pjcs-issues-trades), Crime
 *   --white     #ffffff  Pet Care
 */

/* =========================================================
   Page Header
   Full-width navy, 6px red stripe, centered content.
   ========================================================= */

.pjcs-issues-header {
	background-color: #273965; /* navy */
	position: relative;
	text-align: center;
	padding-block: 80px;
}

/* 6px red top stripe */
.pjcs-issues-header__stripe {
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 6px;
	background-color: #CF3223; /* red */
}

.pjcs-issues-header__inner {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: 32px;
}

/* Eyebrow */
.pjcs-issues-header__eyebrow {
	margin: 0 0 20px;
	font-family: 'DM Sans', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #CF3223; /* red */
}

/* Page heading */
.pjcs-issues-header__heading {
	margin: 0 0 20px;
	font-family: 'Fraunces', serif;
	font-size: 56px;
	font-weight: 400;
	line-height: 1.05;
	color: #ffffff;
}

/* Subhead */
.pjcs-issues-header__subhead {
	margin: 0;
	font-family: 'Libre Caslon Text', serif;
	font-size: 18px;
	font-style: italic;
	line-height: 1.6;
	color: rgba( 255, 255, 255, 0.70 );
}

/* =========================================================
   Sticky Section Subnav
   Sticks below main nav (top: 62px). Horizontal scroll on
   narrow screens — no visible scrollbar.
   ========================================================= */

.pjcs-issues-subnav {
	position: sticky;
	top: 62px; /* main nav height */
	z-index: 90; /* below header z-index */
	background-color: #ffffff;
	border-bottom: 1px solid rgba( 39, 57, 101, 0.12 );
	box-shadow: 0 2px 8px rgba( 39, 57, 101, 0.06 );
}

.pjcs-issues-subnav__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 32px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}

.pjcs-issues-subnav__inner::-webkit-scrollbar {
	display: none; /* Chrome / Safari */
}

.pjcs-issues-subnav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
	white-space: nowrap;
}

.pjcs-issues-subnav__link {
	display: block;
	padding: 16px 20px;
	font-family: 'DM Sans', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba( 39, 57, 101, 0.60 ); /* navy 60% */
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.pjcs-issues-subnav__link:hover,
.pjcs-issues-subnav__link:focus {
	color: #273965; /* navy 100% */
	border-bottom-color: #CF3223; /* red */
	text-decoration: none;
}

.pjcs-issues-subnav__link.is-active {
	color: #273965;
	border-bottom-color: #CF3223;
}

/* =========================================================
   Shared Section Shell
   All issue sections share these structural rules.
   Background color applied via modifier classes.
   ========================================================= */

.pjcs-issues-section {
	padding-block: 96px;
}

/* Background color modifiers */
.pjcs-issues-section--offwhite { background-color: #F7F4EF; }
.pjcs-issues-section--navy     { background-color: #273965; }
.pjcs-issues-section--cream    { background-color: #FAF2F0; }
.pjcs-issues-section--white    { background-color: #ffffff; }

/* Inner content column — centered, max 780px */
.pjcs-issues-section__inner {
	max-width: 780px;
	margin-inline: auto;
	padding-inline: 32px;
}

/* Eyebrow (shared with .pjcs-issues-trades via class reuse) */
.pjcs-issues-section__eyebrow {
	margin: 0 0 16px;
	font-family: 'DM Sans', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #CF3223; /* red — same on light and dark */
}

/* Section heading — navy on light backgrounds */
.pjcs-issues-section__heading {
	margin: 0 0 40px;
	font-family: 'Fraunces', serif;
	font-size: 48px;
	font-weight: 400;
	line-height: 1.1;
	color: #273965; /* navy */
}

/* Heading — white on navy background */
.pjcs-issues-section--navy .pjcs-issues-section__heading {
	color: #ffffff;
}

/* Body paragraphs — charcoal on light */
.pjcs-issues-section__body {
	margin: 0 0 28px;
	font-family: 'Libre Caslon Text', serif;
	font-size: 18px;
	line-height: 1.75;
	color: #2E2820; /* charcoal */
}

.pjcs-issues-section__body:last-of-type {
	margin-bottom: 0;
}

/* Body — white 80% on navy */
.pjcs-issues-section--navy .pjcs-issues-section__body {
	color: rgba( 255, 255, 255, 0.80 );
}

/* =========================================================
   Stat Card Component
   Spec from content/issues.md and CLAUDE.md.
   .pjcs-stat-card       — light variant (white bg on light sections)
   .pjcs-stat-card--dark — dark variant (translucent on navy sections)
   ========================================================= */

/* Card grid wrapper — 2-up default */
.pjcs-stat-cards {
	display: grid;
	grid-template-columns: repeat( 2, 1fr );
	gap: 24px;
	margin: 0 0 48px;
}

/* Single-card modifier — centers one card at half-width */
.pjcs-stat-cards--single {
	grid-template-columns: 1fr;
	max-width: 480px;
	margin-inline: auto;
	margin-bottom: 48px;
}

/* Card shell — light variant */
.pjcs-stat-card {
	background-color: #ffffff;
	border-top: 3px solid #CF3223; /* red */
	border-radius: 2px;
	padding: 32px 28px;
}

/* Card shell — dark variant */
.pjcs-stat-card--dark {
	background-color: rgba( 255, 255, 255, 0.10 );
	border-top: 3px solid #CF3223;
	border-radius: 2px;
	padding: 32px 28px;
}

/* Stat figure — Fraunces italic, large */
.pjcs-stat-card__figure {
	font-family: 'Fraunces', serif;
	font-size: 52px;
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	color: #273965; /* navy on light */
	margin-bottom: 12px;
}

.pjcs-stat-card--dark .pjcs-stat-card__figure {
	color: #ffffff; /* white on dark */
}

/* Stat label */
.pjcs-stat-card__label {
	font-family: 'DM Sans', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1.4;
	color: rgba( 46, 40, 32, 0.60 ); /* charcoal 60% on light */
	margin-bottom: 8px;
}

.pjcs-stat-card--dark .pjcs-stat-card__label {
	color: rgba( 255, 255, 255, 0.60 ); /* white 60% on dark */
}

/* Source line */
.pjcs-stat-card__source {
	font-family: 'DM Sans', sans-serif;
	font-size: 10px;
	color: rgba( 46, 40, 32, 0.35 ); /* charcoal 35% on light */
}

.pjcs-stat-card--dark .pjcs-stat-card__source {
	color: rgba( 255, 255, 255, 0.35 ); /* white 35% on dark */
}

/* =========================================================
   Pull Quote Component
   Spec from content/issues.md and CLAUDE.md.
   .pjcs-pull-quote       — navy text on light backgrounds
   .pjcs-pull-quote--dark — white text on navy backgrounds
   ========================================================= */

.pjcs-pull-quote {
	margin: 40px 0 0;
	padding: 0 0 0 24px;
	border-left: 3px solid #CF3223; /* red */
	max-width: 640px;
}

.pjcs-pull-quote p {
	margin: 0;
	font-family: 'Libre Caslon Text', serif;
	font-size: 20px;
	font-style: italic;
	line-height: 1.6;
	color: #273965; /* navy on light */
}

/* Dark variant — white text */
.pjcs-pull-quote--dark p {
	color: #ffffff;
}

/* =========================================================
   Trades & Workforce — 2-column Exception Layout
   Cream background, left 55% text, right 45% visual.
   Reuses .pjcs-issues-section__eyebrow / __heading / __body
   classes for typography consistency.
   ========================================================= */

.pjcs-issues-trades {
	background-color: #FAF2F0; /* cream */
	padding-block: 96px;
}

.pjcs-issues-trades__inner {
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 32px;
	display: flex;
	align-items: center;
	gap: 64px;
}

/* Left text column — 55% */
.pjcs-issues-trades__content {
	flex: 0 0 55%;
}

/* Right visual column — 45% */
.pjcs-issues-trades__visual {
	flex: 1;
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Placeholder box — visible until illustration is dropped in */
.pjcs-issues-trades__visual-placeholder {
	width: 100%;
	height: 340px;
	border: 2px dashed rgba( 39, 57, 101, 0.18 );
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'DM Sans', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba( 39, 57, 101, 0.30 );
}

/* =========================================================
   Responsive — Tablet ( ≤ 1024px )
   ========================================================= */

@media ( max-width: 1024px ) {

	/* Page header */
	.pjcs-issues-header__heading {
		font-size: 44px;
	}

	/* Sections */
	.pjcs-issues-section__heading {
		font-size: 38px;
	}

	/* Trades — stack: text above visual */
	.pjcs-issues-trades__inner {
		flex-direction: column;
		gap: 48px;
	}

	.pjcs-issues-trades__content {
		flex: none;
		width: 100%;
	}

	.pjcs-issues-trades__visual {
		width: 100%;
		min-height: 280px;
	}

	.pjcs-issues-trades__visual-placeholder {
		height: 260px;
	}
}

/* =========================================================
   Responsive — Mobile ( ≤ 768px )
   ========================================================= */

@media ( max-width: 768px ) {

	/* Page header */
	.pjcs-issues-header {
		padding-block: 56px;
	}

	.pjcs-issues-header__heading {
		font-size: 36px;
	}

	.pjcs-issues-header__subhead {
		font-size: 16px;
	}

	/* All sections — reduce padding and scale headings */
	.pjcs-issues-section,
	.pjcs-issues-trades {
		padding-block: 64px;
	}

	.pjcs-issues-section__heading {
		font-size: 32px;
		margin-bottom: 32px;
	}

	.pjcs-issues-section__body {
		font-size: 17px;
	}

	/* Stat cards — 2-up → 1 column */
	.pjcs-stat-cards {
		grid-template-columns: 1fr;
	}

	.pjcs-stat-cards--single {
		max-width: 100%;
	}

	.pjcs-stat-card__figure {
		font-size: 42px;
	}

	/* Pull quote */
	.pjcs-pull-quote p {
		font-size: 18px;
	}

	/* Subnav — smaller padding on links */
	.pjcs-issues-subnav__link {
		padding: 14px 14px;
		font-size: 10px;
	}
}

/* =========================================================
   Responsive — Small mobile ( ≤ 480px )
   ========================================================= */

@media ( max-width: 480px ) {

	.pjcs-issues-header__heading {
		font-size: 30px;
	}

	.pjcs-issues-section__heading {
		font-size: 28px;
	}

	.pjcs-issues-subnav__inner {
		padding-inline: 16px;
	}

	.pjcs-issues-subnav__link {
		padding: 12px 12px;
	}
}
