/* ============================================================
   13 — FIRE REBUILD PAGE
   ============================================================
   Purpose:  Styles for the /margaret-edgson-manor-rebuild-efforts/
             page — hero variant, content sections, milestone
             cards, image tiles, progress grid, and CTA cards
   Depends:  01-Core Tokens & Base Layout
   Updated:  2026-03-26
   Slug:     margaret-edgson-manor-rebuild-efforts

   CLASS PREFIX:  gprs-fire-  (page-scoped)

   TABLE OF CONTENTS:
     1.  Hero Variant (70vh desktop)
     2.  Article Container
     3.  Section Spacing
     4.  Headings (H2 + H3)
     5.  Body Text
     6.  Blockquotes
     7.  Section Dividers
     8.  Milestone Cards (progress timeline)
     9.  Feature / Vision Cards
     10. Image Tiles (with hover lift)
     11. CTA Cards (Donate / Volunteer / In-Kind)
     12. Contact Footer Bar
     13. Dark Mode Overrides
     14. Responsive (Tablet + Mobile)
   ============================================================ */


/* ============================================================
   1. HERO VARIANT — 70vh DESKTOP
   ============================================================
   Overrides the default 62vh / 50vh for this page only.
   Mobile breakpoints handled in responsive section below.
============================================================ */

.hero--fire-rebuild {
	min-height: 70vh;
	align-items: center;
}


/* ============================================================
   2. ARTICLE CONTAINER
============================================================ */

.gprs-fire {
	max-width: 1000px;
	margin: 0 auto;
	padding: 2.5rem 2rem 3rem;
}


/* ============================================================
   3. SECTION SPACING
============================================================ */

.gprs-fire__section {
	margin-bottom: 1.5rem;
}


/* ============================================================
   4. HEADINGS
============================================================ */

.gprs-fire__heading {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--clr-text-heading, #000000);
	margin: 0 0 1.25rem 0;
}

.gprs-fire__subheading {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--clr-accent, #0066CC);
	margin: 1.75rem 0 0.75rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid var(--gprs-glass-border-light, rgba(0,102,204,0.35));
}


/* ============================================================
   5. BODY TEXT
============================================================ */

.gprs-fire__body p {
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--clr-text-body, #111827);
	margin: 0 0 1.1rem 0;
}

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

.gprs-fire__body strong {
	font-weight: 700;
}

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


/* ============================================================
   6. BLOCKQUOTES
============================================================ */

.gprs-fire__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-left: 5px solid var(--clr-accent, #0066CC);
	border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;

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

.gprs-fire__quote p {
	font-size: 1.1rem;
	font-style: italic;
	line-height: 1.6;
	color: var(--clr-text-body, #111827);
	margin: 0 0 0.5rem 0;
}

.gprs-fire__quote p:last-of-type {
	margin-bottom: 0.5rem;
}

.gprs-fire__quote cite {
	display: block;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 600;
	color: var(--clr-accent, #0066CC);
}


/* ============================================================
   7. SECTION DIVIDERS
============================================================ */

.gprs-fire__divider {
	border: none;
	height: 1px;
	margin: 2rem 0;
	background: linear-gradient(
		to right,
		transparent,
		var(--gprs-glass-border-light, rgba(0,102,204,0.35)),
		transparent
	);
}


/* ============================================================
   8. MILESTONE CARDS (rebuild progress)
   ============================================================
   Grid of cards showing rebuild milestones with check icons.
   Cards lift on hover with subtle shadow increase.
   Dark mode: frosted glass with blue glow on hover.
============================================================ */

.gprs-fire__milestones {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.gprs-fire__milestone {
	--fire-card-bg:           #ffffff;
	--fire-card-border:       rgba(0, 102, 204, 0.12);
	--fire-card-shadow:       0 2px 12px rgba(0, 0, 0, 0.06);
	--fire-card-shadow-hover:
		0 12px 32px rgba(0, 102, 204, 0.18),
		0 2px 8px rgba(0, 0, 0, 0.08);
	--fire-card-blur:         none;

	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;

	background: var(--fire-card-bg);
	border: 1px solid var(--fire-card-border);
	border-radius: var(--radius-md, 14px);
	padding: 1.25rem 1.25rem;

	box-shadow: var(--fire-card-shadow);
	backdrop-filter: var(--fire-card-blur);
	-webkit-backdrop-filter: var(--fire-card-blur);

	transition:
		transform    var(--anim-medium, 0.3s ease),
		box-shadow   var(--anim-medium, 0.3s ease),
		border-color var(--anim-medium, 0.3s ease);
}

.gprs-fire__milestone:hover {
	transform: translateY(-4px);
	box-shadow: var(--fire-card-shadow-hover);
}

.gprs-fire__milestone-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #0a6bff, #004a9f);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.gprs-fire__milestone-text {
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--clr-text-body, #111827);
}


/* ============================================================
   9. FEATURE / VISION CARDS
   ============================================================
   Used for "Our vision for the renewed MEM" items.
   Each card has an emoji icon, title, and description.
   Full card hover with lift and glow.
============================================================ */

.gprs-fire__features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.gprs-fire__feature {
	--fire-feat-bg:            #ffffff;
	--fire-feat-border:        rgba(0, 102, 204, 0.10);
	--fire-feat-shadow:        0 2px 12px rgba(0, 0, 0, 0.05);
	--fire-feat-shadow-hover:
		0 14px 36px rgba(0, 102, 204, 0.16),
		0 2px 8px rgba(0, 0, 0, 0.06);
	--fire-feat-blur:          none;

	display: flex;
	flex-direction: column;
	background: var(--fire-feat-bg);
	border: 1px solid var(--fire-feat-border);
	border-radius: var(--radius-md, 14px);
	padding: 1.5rem 1.35rem;

	box-shadow: var(--fire-feat-shadow);
	backdrop-filter: var(--fire-feat-blur);
	-webkit-backdrop-filter: var(--fire-feat-blur);

	transition:
		transform    var(--anim-medium, 0.3s ease),
		box-shadow   var(--anim-medium, 0.3s ease),
		border-color var(--anim-medium, 0.3s ease);
}

.gprs-fire__feature:hover {
	transform: translateY(-4px);
	box-shadow: var(--fire-feat-shadow-hover);
}

.gprs-fire__feature-icon {
	font-size: 1.8rem;
	margin-bottom: 0.6rem;
	line-height: 1;
}

.gprs-fire__feature-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #003366;
	margin: 0 0 0.4rem 0;
	line-height: 1.3;
}

.gprs-fire__feature-text {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--clr-text-body, #111827);
	margin: 0;
}


/* ============================================================
   10. IMAGE TILES (with hover lift + shadow)
   ============================================================
   Photo gallery tiles for fire damage and construction
   progress photos. Hover adds lift, enhanced shadow, and
   subtle brightness boost. Dark mode gets a blue glow.
============================================================ */

.gprs-fire__images {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.gprs-fire__image-tile {
	position: relative;
	border-radius: var(--radius-md, 14px);
	overflow: hidden;

	box-shadow: 0 4px 16px rgba(0,0,0,0.12);

	transition:
		transform    var(--anim-medium, 0.3s ease),
		box-shadow   var(--anim-medium, 0.3s ease);
}

.gprs-fire__image-tile:hover {
	transform: translateY(-5px);
	box-shadow:
		0 16px 40px rgba(0,0,0,0.22),
		0 2px 8px rgba(0,0,0,0.08);
}

.gprs-fire__image-tile img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: filter var(--anim-medium, 0.3s ease);
}

.gprs-fire__image-tile:hover img {
	filter: brightness(1.05);
}

.gprs-fire__image-caption {
	padding: 0.75rem 1rem;
	font-size: 0.85rem;
	line-height: 1.45;
	color: var(--clr-text-body, #111827);
	background: #ffffff;
	border-top: 1px solid rgba(0, 102, 204, 0.08);
}


/* ============================================================
   11. CTA CARDS (Donate / Volunteer / In-Kind)
   ============================================================
   Three-column action cards. Each has an icon, title,
   description, and styled link. Hover lifts with glow.
============================================================ */

.gprs-fire__ctas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.25rem;
	margin: 1.5rem 0;
}

.gprs-fire__cta-card {
	--fire-cta-bg:            #ffffff;
	--fire-cta-border:        rgba(0, 102, 204, 0.12);
	--fire-cta-shadow:        0 2px 14px rgba(0, 0, 0, 0.06);
	--fire-cta-shadow-hover:
		0 14px 36px rgba(0, 102, 204, 0.18),
		0 2px 8px rgba(0, 0, 0, 0.08);
	--fire-cta-blur:          none;

	display: flex;
	flex-direction: column;
	background: var(--fire-cta-bg);
	border: 1px solid var(--fire-cta-border);
	border-radius: var(--radius-md, 14px);
	padding: 1.75rem 1.5rem;

	box-shadow: var(--fire-cta-shadow);
	backdrop-filter: var(--fire-cta-blur);
	-webkit-backdrop-filter: var(--fire-cta-blur);

	transition:
		transform    var(--anim-medium, 0.3s ease),
		box-shadow   var(--anim-medium, 0.3s ease),
		border-color var(--anim-medium, 0.3s ease);
}

.gprs-fire__cta-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--fire-cta-shadow-hover);
}

.gprs-fire__cta-icon {
	font-size: 2rem;
	margin-bottom: 0.65rem;
	line-height: 1;
}

.gprs-fire__cta-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #003366;
	margin: 0 0 0.5rem 0;
	line-height: 1.3;
}

.gprs-fire__cta-text {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--clr-text-body, #111827);
	margin: 0 0 1rem 0;
	flex: 1;
}

.gprs-fire__cta-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--clr-accent, #0066CC);
	text-decoration: none;
	transition: gap var(--anim-fast, 0.18s ease);
}

.gprs-fire__cta-link::after {
	content: "\2192";
	font-size: 1.1em;
	transition: transform var(--anim-fast, 0.18s ease);
}

.gprs-fire__cta-card:hover .gprs-fire__cta-link {
	gap: 0.65rem;
}

.gprs-fire__cta-card:hover .gprs-fire__cta-link::after {
	transform: translateX(3px);
}


/* ============================================================
   12. CONTACT FOOTER BAR
============================================================ */

.gprs-fire__contact {
	margin-top: 2rem;
	padding: 1.5rem 1.75rem;

	background: var(--gprs-glass-bg-light, rgba(255,255,255,0.88));
	border: 1px solid var(--gprs-glass-border-light, rgba(0,102,204,0.35));
	border-radius: var(--radius-md, 14px);
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);

	text-align: center;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--clr-text-body, #111827);
}

.gprs-fire__contact strong {
	font-weight: 700;
}

.gprs-fire__contact a {
	color: var(--clr-accent, #0066CC);
	text-decoration: none;
	font-weight: 600;
}

.gprs-fire__contact a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ============================================================
   13. DARK MODE OVERRIDES
============================================================ */

/* ── Headings ── */
html.gprs-dark .gprs-fire__heading {
	color: var(--clr-text-heading, #ffffff);
}

html.gprs-dark .gprs-fire__subheading {
	border-bottom-color: var(--gprs-glass-border-dark, rgba(255,255,255,0.22));
}

/* ── Blockquotes ── */
html.gprs-dark .gprs-fire__quote {
	background: var(--gprs-glass-bg-dark, rgba(255,255,255,0.08));
	border-left-color: var(--clr-accent, #0066CC);
	box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

html.gprs-dark .gprs-fire__quote p {
	color: rgba(255,255,255,0.92);
}

/* ── Dividers ── */
html.gprs-dark .gprs-fire__divider {
	background: linear-gradient(
		to right,
		transparent,
		var(--gprs-glass-border-dark, rgba(255,255,255,0.22)),
		transparent
	);
}

/* ── Milestone Cards ── */
html.gprs-dark .gprs-fire__milestone {
	--fire-card-bg:           rgba(255, 255, 255, 0.08);
	--fire-card-border:       rgba(255, 255, 255, 0.15);
	--fire-card-shadow:       0 2px 12px rgba(0, 0, 0, 0.25);
	--fire-card-shadow-hover:
		0 12px 32px rgba(0, 102, 204, 0.30),
		0 0 18px rgba(0, 102, 204, 0.12),
		0 2px 8px rgba(0, 0, 0, 0.30);
	--fire-card-blur:         blur(12px);
}

html.gprs-dark .gprs-fire__milestone:hover {
	border-color: rgba(255, 255, 255, 0.25);
}

/* ── Feature / Vision Cards ── */
html.gprs-dark .gprs-fire__feature {
	--fire-feat-bg:           rgba(255, 255, 255, 0.08);
	--fire-feat-border:       rgba(255, 255, 255, 0.15);
	--fire-feat-shadow:       0 2px 12px rgba(0, 0, 0, 0.25);
	--fire-feat-shadow-hover:
		0 14px 36px rgba(0, 102, 204, 0.30),
		0 0 18px rgba(0, 102, 204, 0.12),
		0 2px 8px rgba(0, 0, 0, 0.30);
	--fire-feat-blur:         blur(12px);
}

html.gprs-dark .gprs-fire__feature:hover {
	border-color: rgba(255, 255, 255, 0.25);
}

html.gprs-dark .gprs-fire__feature-title {
	color: var(--clr-accent, #0066CC);
}

/* ── Image Tiles ── */
html.gprs-dark .gprs-fire__image-tile {
	box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

html.gprs-dark .gprs-fire__image-tile:hover {
	box-shadow:
		0 16px 40px rgba(0,0,0,0.50),
		0 0 20px rgba(0, 102, 204, 0.15),
		0 2px 8px rgba(0,0,0,0.20);
}

html.gprs-dark .gprs-fire__image-caption {
	background: rgba(255,255,255,0.08);
	border-top-color: rgba(255,255,255,0.10);
	color: rgba(255,255,255,0.88);
}

/* ── CTA Cards ── */
html.gprs-dark .gprs-fire__cta-card {
	--fire-cta-bg:           rgba(255, 255, 255, 0.08);
	--fire-cta-border:       rgba(255, 255, 255, 0.15);
	--fire-cta-shadow:       0 2px 14px rgba(0, 0, 0, 0.25);
	--fire-cta-shadow-hover:
		0 14px 36px rgba(0, 102, 204, 0.30),
		0 0 18px rgba(0, 102, 204, 0.12),
		0 2px 8px rgba(0, 0, 0, 0.30);
	--fire-cta-blur:         blur(12px);
}

html.gprs-dark .gprs-fire__cta-card:hover {
	border-color: rgba(255, 255, 255, 0.25);
}

html.gprs-dark .gprs-fire__cta-title {
	color: var(--clr-accent, #0066CC);
}

/* ── Contact Bar ── */
html.gprs-dark .gprs-fire__contact {
	background: var(--gprs-glass-bg-dark, rgba(255,255,255,0.08));
	border-color: var(--gprs-glass-border-dark, rgba(255,255,255,0.22));
	box-shadow: 0 2px 12px rgba(0,0,0,0.25);
	color: rgba(255,255,255,0.92);
}


/* ============================================================
   14. RESPONSIVE — TABLET (≤1024px)
============================================================ */

@media (max-width: 1024px) {
	.gprs-fire {
		padding: 2rem 1.5rem 2.5rem;
	}

	.gprs-fire__heading {
		font-size: 1.55rem;
	}
}


/* ============================================================
   15. RESPONSIVE — MOBILE (≤768px)
============================================================ */

@media (max-width: 768px) {
	/* Hero drops to match other inner pages on mobile */
	.hero--fire-rebuild {
		min-height: 55vh;
	}

	.gprs-fire {
		padding: 1.5rem 1.25rem 2rem;
	}

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

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

	.gprs-fire__body p {
		font-size: 1rem;
	}

	.gprs-fire__milestones,
	.gprs-fire__features,
	.gprs-fire__ctas {
		grid-template-columns: 1fr;
	}

	.gprs-fire__images {
		grid-template-columns: 1fr;
	}

	.gprs-fire__quote {
		padding: 1.25rem 1.25rem;
	}
}


/* ============================================================
   16. RESPONSIVE — SMALL MOBILE (≤480px)
============================================================ */

@media (max-width: 480px) {
	.hero--fire-rebuild {
		min-height: 50vh;
	}

	.gprs-fire {
		padding: 1.25rem 1rem 1.75rem;
	}

	.gprs-fire__heading {
		font-size: 1.3rem;
	}

	.gprs-fire__milestone {
		padding: 1rem 1rem;
	}

	.gprs-fire__feature {
		padding: 1.25rem 1.1rem;
	}

	.gprs-fire__cta-card {
		padding: 1.25rem 1.1rem;
	}
}
