/* ============================================================
   11 — OUR STORY PAGE
   ============================================================
   Purpose:  Styles for the /our-story/ narrative page
   Depends:  01-Core Tokens, 00-Shared Components
   Updated:  2026-03-31 — Step 2: Pruned heading/body/quote color
             declarations now handled by 00-shared-components.css
             (.gprs-gradient-heading, .gprs-gradient-subheading,
              .gprs-tinted-text, .gprs-blockquote)

   WHAT WAS REMOVED:
     - .gprs-story__heading { color: ... }
       → Now uses .gprs-gradient-heading (gradient text + underline)
     - .gprs-story__subheading { color: ...; border-bottom: ... }
       → Now uses .gprs-gradient-subheading (gradient text)
     - .gprs-story__body p { color: ... }
       → Now uses .gprs-tinted-text on article wrapper
     - .gprs-story__quote p/cite { color: ... }
       → Now uses .gprs-blockquote
     - All corresponding html.gprs-dark overrides for the above

   WHAT WAS KEPT:
     - Article container width/padding
     - Section spacing
     - Heading font-size, weight, margin, line-height
     - Subheading font-size, weight, margin
     - Body text font-size, line-height, margin
     - Blockquote background, border, radius, shadow, padding
     - Closing quote variant (.gprs-story__quote--closing)
     - Section dividers
     - CTA row
     - Related links nav (including dark mode border/hover)
     - All responsive breakpoints

   TABLE OF CONTENTS:
     1. Article Container
     2. Section Spacing
     3. Headings (H2 + H3) — sizing/spacing only
     4. Body Text — sizing/spacing only
     5. Blockquotes — structure/background only
     6. Section Dividers
     7. CTA Row
     8. Related Links Nav
     9. Dark Mode Overrides (structural only)
    10. Responsive (Tablet + Mobile)
   ============================================================ */


/* ============================================================
   1. ARTICLE CONTAINER
   ============================================================ */

.gprs-story {
	max-width: 820px;
	margin: 0 auto;
	padding: 2rem 2rem 3rem;
}


/* ============================================================
   2. SECTION SPACING
   ============================================================ */

.gprs-story__section {
	margin-bottom: 1rem;
}


/* ============================================================
   3. HEADINGS — sizing & spacing only
   ──────────────────────────────────────────────────────────────
   Color is now handled by .gprs-gradient-heading and
   .gprs-gradient-subheading from 00-shared-components.css.
   ============================================================ */

.gprs-story__heading {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 1.25rem 0;
}

.gprs-story__subheading {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 2rem 0 0.75rem 0;
}


/* ============================================================
   4. BODY TEXT — sizing & spacing only
   ──────────────────────────────────────────────────────────────
   Color is now handled by .gprs-tinted-text on the article
   wrapper from 00-shared-components.css.
   ============================================================ */

.gprs-story__body p {
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0 0 1.1rem 0;
}

.gprs-story__body p:last-child {
	margin-bottom: 0;
}

.gprs-story__body em {
	font-style: italic;
	font-weight: 600;
}


/* ============================================================
   5. BLOCKQUOTES — structure & background only
   ──────────────────────────────────────────────────────────────
   Text color, cite color, and border-left color are now
   handled by .gprs-blockquote from 00-shared-components.css.
   Background, shadow, radius, and padding remain here as
   page-specific enhancements to the shared base.
   ============================================================ */

.gprs-story__quote {
	position: relative;
	margin: 1.75rem 0 1.5rem 0;
	padding: 1.5rem 1.75rem;

	background: var(--gprs-glass-bg-light, rgba(255,255,255,0.88));
	border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;

	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.gprs-story__quote p {
	font-size: 1.15rem;
	line-height: 1.7;
	margin: 0 0 0.5rem 0;
}

.gprs-story__quote cite {
	font-weight: 600;
}

/* Closing quote — centred, top border variant */
.gprs-story__quote--closing {
	text-align: center;
	border-left: none;
	border-top: 3px solid var(--gprs-quote-border, #0066CC);
	border-radius: var(--radius-sm, 8px);
	padding: 2rem;
}

.gprs-story__quote--closing p {
	font-size: 1.3rem;
}


/* ============================================================
   6. SECTION DIVIDERS
   ============================================================ */

.gprs-story__divider {
	border: none;
	text-align: center;
	margin: 2.5rem auto;
	max-width: 120px;
	height: 2px;
	background: linear-gradient(
		to right,
		transparent,
		var(--gprs-underline-from, #0066CC),
		transparent
	);
	opacity: 0.4;
}


/* ============================================================
   7. CTA ROW
   ============================================================ */

.gprs-story__cta-row {
	display: flex;
	gap: 0.9rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}


/* ============================================================
   8. RELATED LINKS NAV
   ============================================================ */

.gprs-story__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gprs-section-border, rgba(0,102,204,0.15));
}

.gprs-story__links a {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--gprs-text-accent, #0066CC);
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-pill, 999px);
	border: 1px solid var(--gprs-section-border, rgba(0,102,204,0.15));
	transition:
		background var(--anim-fast, 0.18s ease),
		color var(--anim-fast, 0.18s ease);
}

.gprs-story__links a:hover,
.gprs-story__links a:focus-visible {
	background: var(--clr-accent, #0066CC);
	color: #ffffff;
}


/* ============================================================
   9. DARK MODE OVERRIDES — structural only
   ──────────────────────────────────────────────────────────────
   Heading, body text, and blockquote COLOR overrides have been
   removed — now handled globally by the shared component
   classes. Only structural dark-mode rules remain.
   ============================================================ */

/* ── Blockquote background & shadow ── */
html.gprs-dark .gprs-story__quote {
	background: var(--gprs-glass-bg-dark, rgba(255,255,255,0.08));
	box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* ── Closing quote top border ── */
html.gprs-dark .gprs-story__quote--closing {
	border-left: none;
	border-top-color: var(--gprs-quote-border, #4da8ff);
}

/* ── Related links nav ── */
html.gprs-dark .gprs-story__links {
	border-top-color: var(--gprs-section-border, rgba(255,255,255,0.06));
}

html.gprs-dark .gprs-story__links a {
	color: var(--gprs-text-accent, #6db3f2);
	border-color: var(--gprs-section-border, rgba(255,255,255,0.06));
}

html.gprs-dark .gprs-story__links a:hover,
html.gprs-dark .gprs-story__links a:focus-visible {
	background: rgba(109,179,242,0.2);
	color: #ffffff;
}


/* ============================================================
   10. RESPONSIVE — TABLET + MOBILE
   ============================================================ */

@media (max-width: 768px) {

	.gprs-story {
		padding: 1.25rem 1.25rem 2rem;
	}

	.gprs-story__heading {
		font-size: 1.4rem;
	}

	.gprs-story__subheading {
		font-size: 1.1rem;
	}

	.gprs-story__body p {
		font-size: 1rem;
		line-height: 1.7;
	}

	.gprs-story__quote {
		padding: 1.25rem;
		margin: 1.25rem 0;
	}

	.gprs-story__quote p {
		font-size: 1.05rem;
	}

	.gprs-story__quote--closing p {
		font-size: 1.15rem;
	}

	.gprs-story__links {
		flex-direction: column;
		align-items: center;
	}

	.gprs-story__links a {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}
}

@media (max-width: 480px) {

	.gprs-story {
		padding: 1rem 1rem 1.5rem;
	}

	.gprs-story__heading {
		font-size: 1.25rem;
	}

	.gprs-story__quote--closing {
		padding: 1.25rem;
	}

	.gprs-story__cta-row {
		flex-direction: column;
		align-items: center;
	}

	.gprs-story__cta-row .btn-primary,
	.gprs-story__cta-row .btn-outline {
		width: 100%;
		max-width: 280px;
	}
}
