/* Forest Fire: the page's original design (from templates/core/forest/forest_fire.html), unchanged. */
/* ============================================
   FOREST FIRE PAGE — High-Impact Infographic Layout
   ============================================ */
.ff-page {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --emerald-300: #6ee7b7;
    --emerald-200: #a7f3d0;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --yellow:      #F1C40F;
    --fire-red:    #ef4444;
    --fire-orange: #f97316;
    --gray-800:    #1f2937;
    --gray-700:    #374151;
    --gray-600:    #4b5563;
    --gray-200:    #e5e7eb;
    --gray-50:     #f9fafb;
    --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

.ff-page { background: transparent; color: var(--gray-800); }

/* ── ANIMATIONS ── */
.ff-reveal {
    opacity:0;
    transform:translateY(30px);
    transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.ff-reveal.visible { opacity:1; transform:translateY(0); }

/* ── SHARED CONTAINER ── */
.ff-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.ff-section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--emerald-950);
    letter-spacing: -.02em;
    line-height: 1.1;
    margin-bottom: 40px;
    text-align: center;
}

/* ── TOP STATS GRID ── */
.ff-hero-stats {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}
.ff-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.ff-stat-card {
    padding: 30px;
    border-radius: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ff-stat-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--fire-orange);
}
.ff-stat-val { font-size: 42px; font-weight: 900; color: var(--emerald-900); margin-bottom: 8px; }
.ff-stat-label { font-size: 13px; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── INFOGRAPHIC: THE RESPONSE SYSTEM ── */
.ff-system { padding: 100px 0; background: white; }
.ff-system-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ff-step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}
.ff-step::after {
    content: ''; position: absolute; left: 24px; top: 60px; width: 2px; height: calc(100% - 20px);
    background: var(--emerald-100);
}
.ff-step:last-child::after { display: none; }

.ff-step-icon {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--emerald-900); color: white;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-weight: 800; z-index: 2;
}
.ff-step-content h4 { font-weight: 800; color: var(--emerald-950); margin-bottom: 8px; font-size: 1.2rem; }
.ff-step-content p { color: var(--gray-600); line-height: 1.6; font-size: 0.95rem; }

/* ── OWNERSHIP SPLIT ── */
.ff-ownership { padding: 100px 0; background: var(--emerald-950); color: white; position: relative; overflow: hidden; }
.ff-ownership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ff-progress-wrap { margin-bottom: 40px; }
.ff-progress-label { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 700; font-size: 1.1rem; }
.ff-progress-bar { height: 16px; background: rgba(255,255,255,0.1); border-radius: 99px; overflow: hidden; }
.ff-progress-fill { height: 100%; background: var(--yellow); width: 0; transition: width 2s var(--ease); }
.ff-progress-fill.red { background: var(--fire-red); }

/* ── TECHNOLOGY SECTION ── */
.ff-tech { padding: 100px 0; background: white; }
.ff-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.ff-tech-card {
    background: white;
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease);
    z-index: 1;
    /* Default Decoration: Subtle Grid */
    background-image: radial-gradient(var(--emerald-100) 1px, transparent 1px);
    background-size: 24px 24px;
}
/* Top accent bar */
.ff-tech-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(to right, var(--fire-red), var(--fire-orange), var(--yellow));
    z-index: 2;
}
/* Shimmer glare on hover */
.ff-tech-card::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-25deg); transition: 0.75s; z-index: 3;
}
.ff-tech-card:hover {
    transform: translateY(-12px);
    border-color: var(--emerald-200);
    box-shadow: 0 40px 80px rgba(2, 44, 34, 0.08);
}
.ff-tech-card:hover::after { left: 150%; }

/* Floating Ember Decorations */
.ff-ember {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--fire-orange); opacity: 0.3; pointer-events: none;
}
.ff-ember-1 { top: 15%; left: 10%; background: var(--fire-red); }
.ff-ember-2 { top: 60%; right: 15%; background: var(--yellow); }
.ff-ember-3 { bottom: 20%; left: 15%; }

.ff-tech-icon {
    width: 80px; height: 80px; margin: 0 auto 30px;
    background: white; border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    transition: all 0.5s var(--ease);
    position: relative; z-index: 4;
}
.ff-tech-card:hover .ff-tech-icon {
    background: var(--emerald-900);
    border-color: var(--emerald-800);
    transform: rotate(8deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.2);
}
.ff-tech-card:hover .ff-tech-icon svg { color: white; }

.ff-tech-icon svg { width: 32px; height: 32px; color: var(--emerald-700); transition: color 0.5s; }
.ff-tech-card h4 { font-size: 1.25rem; font-weight: 800; color: var(--emerald-950); margin-bottom: 15px; position: relative; z-index: 4;}
.ff-tech-card p { font-size: 14px; line-height: 1.6; color: var(--gray-600); position: relative; z-index: 4; }

/* Corner decoration */
.ff-card-deco {
    position: absolute; bottom: -20px; right: -20px;
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--emerald-50); opacity: 0.6;
    transition: all 0.5s var(--ease); z-index: 2;
}
.ff-tech-card:hover .ff-card-deco { transform: scale(1.5); background: var(--fire-orange); opacity: 0.1; }

/* ── MAP SECTION ── */
.ff-map-section { padding: 100px 0; background: var(--gray-50); }
.ff-map-grid {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    gap: 50px;
    align-items: center;
}
.ff-map-card {
    background: white; padding: 20px; border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    border: 1px solid var(--gray-200);
    position: relative;
}
.ff-map-card img { width: 100%; border-radius: 16px; display: block; }
.ff-map-overlay {
    position: absolute; bottom: 30px; right: 30px;
    background: rgba(2, 44, 34, 0.9); backdrop-filter: blur(8px);
    padding: 12px 20px; border-radius: 16px;
    color: white; border: 1px solid rgba(255,255,255,0.1);
}
.ff-map-overlay h5 { font-size: 10px; font-weight: 800; color: var(--yellow); text-transform: uppercase; letter-spacing: 0.1em; margin: 0; }

.ff-map-info-panel {
    background: white; padding: 40px; border-radius: 32px;
    border: 1px solid var(--gray-200);
}
.ff-map-info-panel h4 { color: var(--emerald-950); font-weight: 800; margin-bottom: 20px; }
.ff-map-info-list { list-style: none; padding: 0; }
.ff-map-info-list li {
    padding-left: 30px; position: relative; margin-bottom: 20px;
    font-size: 14px; color: var(--gray-600); line-height: 1.6;
}
.ff-map-info-list li::before {
    content: ''; position: absolute; left: 0; top: 6px;
    width: 12px; height: 12px; border-radius: 3px; background: var(--fire-orange);
}

@media (max-width: 1024px) {
    .ff-stats-grid, .ff-system-grid, .ff-ownership-grid, .ff-tech-grid { grid-template-columns: 1fr; }
    .ff-container { padding: 0 24px; }
}

/* Forest Fire figures, in the same language as Forest Cover and the Territorial pages: soft sand tiles, no borders or
   side bars, figures left-aligned in Roboto, labels in sentence case; the first tile in forest green; hover lifts a tile */
.ff-hero-stats .ff-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.ff-hero-stats .ff-stat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 132px; padding: 20px;
    border: 0; border-radius: 8px; background: #f2ede1; box-shadow: none; text-align: left; overflow: hidden;
    transition: transform 150ms cubic-bezier(.4, 0, .2, 1), background-color 150ms cubic-bezier(.4, 0, .2, 1); }
.ff-hero-stats .ff-stat-card::before, .ff-hero-stats .ff-stat-card::after { content: none; display: none; }
.ff-hero-stats .ff-stat-card:hover { transform: translateY(-2px); background: #ece5d3; }
.ff-hero-stats .ff-stat-val { margin: 0; font-family: 'Roboto', sans-serif; font-variant-numeric: tabular-nums; font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #0a2e1a; }
.ff-hero-stats .ff-stat-label { font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #4b5563; }
.ff-hero-stats .ff-stat-card:first-child { background: #1a472a; }
.ff-hero-stats .ff-stat-card:first-child:hover { background: #0a2e1a; }
.ff-hero-stats .ff-stat-card:first-child .ff-stat-val { color: #fff; }
.ff-hero-stats .ff-stat-card:first-child .ff-stat-label { color: rgba(255, 255, 255, .8); }
@media (max-width: 640px) { html body .ff-hero-stats .ff-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .ff-hero-stats .ff-stat-val { font-size: 32px; } }
.ff-hero-stats { background: #f9f6ef; border-bottom: 0; }

/* Map Intelligence: picture 61.8 | title and points 38.2; flat, no frames or shadows; points as soft rows that lift on hover */
.ffm { padding: 84px 0 !important; background: #f9f6ef; }
.ffm-wrap { display: grid; grid-template-columns: minmax(0, 61.8fr) minmax(0, 38.2fr); gap: 52px; align-items: center; margin: 0 auto; padding: 0 5%; box-sizing: border-box; }
.ffm-solo { grid-template-columns: minmax(0, 1fr); }
.ffm-photo { position: relative; margin: 0; border-radius: 8px; overflow: hidden; background: #0a2e1a; }
.ffm-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 800ms cubic-bezier(.16, 1, .3, 1); }
.ffm-photo:hover img { transform: scale(1.04); }
.ffm-tag { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(10, 46, 26, .7); color: #fff; font-size: 12px; font-weight: 600; }
.ffm-title { margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.035em; color: #0a2e1a; }
.ffm-lead { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: #4b5563; }
.ffm-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ffm-point { display: flex; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 8px; background: #f2ede1;
    transition: background-color 150ms cubic-bezier(.4, 0, .2, 1), transform 150ms cubic-bezier(.4, 0, .2, 1); }
.ffm-point:hover { background: #fff; transform: translateX(4px); }
.ffm-dot { flex: none; width: 10px; height: 10px; margin: 6px 4px 0; border-radius: 50%; background: #e8762c; transition: transform 250ms cubic-bezier(.34, 1.56, .64, 1); }
.ffm-point:hover .ffm-dot { transform: scale(1.4); }
.ffm-point p { margin: 0; font-size: 14px; line-height: 1.6; color: #1f2a22; }
.ffm-point strong { display: block; margin-bottom: 2px; font-size: 16px; color: #0a2e1a; }
@media (max-width: 900px) {
    .ffm { padding: 52px 0 !important; }
    html body .ffm-wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 32px; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .ffm-photo img, .ffm-point, .ffm-dot { transition: none; } }

/* a smaller picture: half the row instead of 61.8%, and a shorter frame */
.ffm-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ffm-photo { max-width: 560px; justify-self: start; width: 100%; }
.ffm-photo img { aspect-ratio: 4 / 3; max-height: 380px; }

/* Map Intelligence in the same container as the sections above (1280px, 40px sides), so its edges line up with them */
.ffm-wrap { max-width: 1360px; padding: 0 40px; }   /* border-box: 1280 of content + 40px sides, as .ff-container */
@media (max-width: 900px) { html body .ffm-wrap { padding: 0 24px; } }

/* ── Full page width, as Home → Territorial Overview: every block runs edge to edge inside the page's 5% margins
   (20px on phones), and section headings sit left on that margin in the site heading style. ── */
html body .ff-container { max-width: none; padding: 0 5%; box-sizing: border-box; }
html body .ffm-wrap { max-width: none; padding: 0 5%; }
html body .ff-section-title { text-align: left; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1.02; letter-spacing: -.035em; color: #0a2e1a; margin-bottom: 32px; }
html body .ff-section-title::after, html body .ff-section-title::before { display: none; }
@media (max-width: 900px) { html body .ff-container, html body .ffm-wrap { padding: 0 20px; } }


/* Institutional Protection Framework: a response pyramid (tiers widen from the state to the villages) beside a panel */
.ffp-intro { margin: -12px 0 32px; max-width: 64ch; font-size: 16px; line-height: 1.6; color: #4b5563; }
.ffp-intro p { margin: 0; }
    opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 300ms cubic-bezier(.4, 0, .2, 1), transform 400ms cubic-bezier(.16, 1, .3, 1); }
.ffp-monitor { display: grid; grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr); gap: 52px; align-items: center; margin-top: 32px; padding: 32px; border-radius: 8px; background: #f2ede1; }
.ffp-monitor h3 { margin: 0 0 8px; font-size: 22px; font-weight: 700; color: #0a2e1a; }
.ffp-monitor p { margin: 0; font-size: 15px; line-height: 1.6; color: #1f2a22; }
.ffp-monitor ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.ffp-monitor li { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: 8px; background: #f9f6ef; font-size: 15px; font-weight: 600; color: #0a2e1a; }
.ffp-pulse { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #e8762c; }
@media (prefers-reduced-motion: no-preference) {
    .ffp-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #e8762c; animation: ffpPulse 2s ease-out infinite; }
    @keyframes ffpPulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
}
@media (max-width: 900px) {
    html body .ffp-monitor { grid-template-columns: minmax(0, 1fr) !important; gap: 20px; }
    }

/* the minimal level line */
.ffl { --mx: -400px; --reach: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 32px;
    isolation: isolate; }
.ffl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(15, 28, 16, .1); }
.ffl::after { content: ""; position: absolute; left: 0; top: 7px; height: 2px; width: calc(var(--reach) * 1%); background: #f1c40f; transition: width 350ms cubic-bezier(.4, 0, .2, 1); }
.ffl-glow { position: absolute; z-index: -1; top: -32px; bottom: -32px; left: 0; width: 320px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgba(26, 71, 42, .09), rgba(26, 71, 42, 0)); transform: translateX(calc(var(--mx) - 160px)); opacity: 0; transition: opacity 250ms cubic-bezier(.4, 0, .2, 1); }
.ffl.is-hover .ffl-glow { opacity: 1; }
.ffl-step { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 32px; outline: none; cursor: default; transition: opacity 250ms cubic-bezier(.4, 0, .2, 1), transform 250ms cubic-bezier(.4, 0, .2, 1); }
.ffl-dot { position: absolute; z-index: 1; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: #f9f6ef; box-shadow: inset 0 0 0 2px #1a472a;
    transition: background-color 250ms cubic-bezier(.4, 0, .2, 1), box-shadow 250ms cubic-bezier(.4, 0, .2, 1), transform 300ms cubic-bezier(.34, 1.56, .64, 1); }
.ffl-level { font-size: 13px; font-weight: 600; color: #2d6a4f; }
.ffl-title { font-size: 20px; font-weight: 700; line-height: 1.3; color: #0a2e1a; }
.ffl-text { margin: 0; font-size: 15px; line-height: 1.6; color: #4b5563; }
.ffl-text strong { color: #1a472a; }
.ffl.is-hover .ffl-step { opacity: .45; }
.ffl.is-hover .ffl-step.is-on, .ffl .ffl-step.is-on { opacity: 1; transform: translateY(-4px); }
.ffl-step.is-reached .ffl-dot { background: #f1c40f; box-shadow: inset 0 0 0 2px #c9a227; }
.ffl-step.is-on .ffl-dot { transform: scale(1.3); }
.ffl-step:focus-visible .ffl-title { text-decoration: underline 2px #f1c40f; text-underline-offset: 4px; }
.ffp .ffp-monitor { margin-top: 52px; }
@media (max-width: 900px) {
    .ffl { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-left: 32px; }
    .ffl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .ffl::after { display: none; }
    .ffl-step { padding-top: 0; }
    .ffl-dot { left: -32px; }
    .ffl-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ffl::after, .ffl-step, .ffl-dot { transition: none; } }

/* the picture fills its half of the row (the full-width page left it short) */
.ffm-photo { max-width: none; }
.ffm-photo img { max-height: 460px; }


/* figures: one open row, thin dividers; the pointed one comes forward */
.ffs { padding: 52px 0 !important; }
.ffs-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ffs-fig { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 32px; outline: none; cursor: default;
    transition: opacity 250ms cubic-bezier(.4, 0, .2, 1); }
.ffs-fig + .ffs-fig { box-shadow: inset 1px 0 0 rgba(15, 28, 16, .12); }
.ffs-fig:first-child { padding-left: 0; }
.ffs-icon svg { width: 22px; height: 22px; fill: none; stroke: #2d6a4f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 250ms, transform 400ms cubic-bezier(.34, 1.56, .64, 1); }
.ffs-num { font-family: 'Roboto', sans-serif; font-variant-numeric: tabular-nums; font-size: clamp(44px, 4.6vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.03em; color: #0a2e1a;
    transform-origin: left bottom; transition: color 250ms cubic-bezier(.4, 0, .2, 1), transform 400ms cubic-bezier(.16, 1, .3, 1); }
.ffs-label { position: relative; align-self: flex-start; padding-bottom: 8px; font-size: 15px; font-weight: 600; color: #4b5563; }
.ffs-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: #f1c40f; transform: scaleX(0); transform-origin: left;
    transition: transform 400ms cubic-bezier(.16, 1, .3, 1); }
.ffs-row:hover .ffs-fig:not(:hover), .ffs-row:focus-within .ffs-fig:not(:focus-visible):not(:hover) { opacity: .45; }
.ffs-fig:is(:hover, :focus-visible) .ffs-num { color: #1a472a; transform: scale(1.06); }
.ffs-fig:is(:hover, :focus-visible) .ffs-label::after { transform: none; }
.ffs-fig:is(:hover, :focus-visible) .ffs-icon svg { stroke: #c9a227; transform: rotate(-8deg) scale(1.1); }
@media (max-width: 640px) {
    html body .ffs-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .ffs-fig { padding: 20px 12px; }
    .ffs-fig:nth-child(odd) { padding-left: 0; box-shadow: none; }
    .ffs-fig:nth-child(n+3) { border-top: 1px solid rgba(15, 28, 16, .12); }
}
@media (prefers-reduced-motion: reduce) { .ffs-num, .ffs-label::after, .ffs-icon svg, .ffs-fig { transition: none; } }

/* figures as deep-green cards with their meaning */
.ffs-cards .ffs-row { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 12px; }
.ffs-cards .ffs-fig, .ffs-cards .ffs-fig:first-child { padding: 32px; border-radius: 8px; background: #0a2e1a; box-shadow: none; justify-content: flex-start;
    transition: transform 200ms cubic-bezier(.4, 0, .2, 1), background-color 200ms cubic-bezier(.4, 0, .2, 1); }
.ffs-cards .ffs-row:hover .ffs-fig:not(:hover), .ffs-cards .ffs-row:focus-within .ffs-fig:not(:focus-visible):not(:hover) { opacity: 1; }
.ffs-cards .ffs-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: rgba(143, 201, 163, .14); }
.ffs-cards .ffs-icon svg { stroke: #8fc9a3; }
.ffs-cards .ffs-num { color: #fff; }
.ffs-cards .ffs-label { padding-bottom: 0; font-size: 17px; font-weight: 700; color: #fff; }
.ffs-cards .ffs-label::after { display: none; }
.ffs-note { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.ffs-cards .ffs-fig:is(:hover, :focus-visible) { transform: translateY(-4px); background: #123b26; }
.ffs-cards .ffs-fig:is(:hover, :focus-visible) .ffs-num { color: #f1c40f; transform: none; }
.ffs-cards .ffs-fig:is(:hover, :focus-visible) .ffs-icon { background: #f1c40f; }
.ffs-cards .ffs-fig:is(:hover, :focus-visible) .ffs-icon svg { stroke: #0a2e1a; }
.ffs-cards .ffs-fig:focus-visible { outline: 2px solid #f1c40f; outline-offset: 3px; }
@media (max-width: 640px) {
    html body .ffs-cards .ffs-row { grid-template-columns: minmax(0, 1fr) !important; }
    .ffs-cards .ffs-fig, .ffs-cards .ffs-fig:nth-child(odd) { padding: 20px; border-top: 0; }
}

/* Section headings kept to the site's smaller size (up to 36px) */
html body .ff-section-title { font-size: clamp(28px, 2.5vw, 38px); }

/* MeFFIS: a compact green card - a flame mark on the left, the heading and its link beside it; the link a yellow button with black text and a thin yellow border */
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { box-sizing: border-box; width: fit-content; max-width: min(760px, 100%); margin-inline: 0; padding: 26px 32px 28px 108px; position: relative; border-radius: 18px;
    background: linear-gradient(160deg, #1f6b45 0%, #0f4a30 100%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 22px 44px -28px rgba(4, 47, 26, .75); }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap::before { content: '\f7e4'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 32px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid #f1c40f; background: rgba(241, 196, 15, .12); color: #f1c40f; font-size: 24px; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-title { margin: 0 0 14px; color: #fff; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.25; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-buttons { justify-content: flex-start; text-align: left; margin: 0; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-button { display: inline-flex; align-items: center; gap: 12px; padding: 11px 22px; border-radius: 10px; background: #f1c40f; color: #0a0a0a !important; border: 1px solid #f1c40f;
    outline: 1px solid rgba(241, 196, 15, .6); outline-offset: 3px; font-weight: 700; font-size: 14.5px; text-decoration: none; transition: transform 150ms, background-color 150ms; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-button i { color: #0a0a0a; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-button:hover { background: #e0b30c; transform: translateY(-2px); }
@media (max-width: 560px) { html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { padding: 90px 22px 24px; } html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap::before { top: 22px; left: 22px; transform: none; } }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons { padding-left: 5%; padding-right: 5%; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { margin-inline: auto; }
/* same deep green as the intro cards; a little more room above it */
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { background: radial-gradient(520px 320px at 100% 0%, rgba(16, 185, 129, .22), transparent 70%), linear-gradient(135deg, #0b3d2c 0%, #042f1a 100%); box-shadow: 0 30px 60px -40px rgba(4, 47, 26, .7); border: 0; margin-top: 44px; }

/* MeFFIS: full width like the other cards - flame and heading on the left, the Visit Website button on the right */
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { width: 100%; max-width: 100%; margin-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 40px 28px 112px; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-title { margin: 0; font-size: clamp(22px, 2vw, 30px); }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons .dz-buttons { margin: 0; flex: none; }
@media (max-width: 760px) { html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { flex-direction: column; align-items: flex-start; padding: 90px 22px 24px; } }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons { padding-left: 5% !important; padding-right: 5% !important; box-sizing: border-box; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { width: auto; max-width: none; margin-inline: 0; }
/* the link cards stack as identical cards: same width, same height, a small gap between */
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons { padding-top: 0 !important; padding-bottom: 0 !important; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons > .dz-wrap { min-height: 98px; margin-top: 0; margin-bottom: 0; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons:first-of-type > .dz-wrap { margin-top: 44px; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons + .dz-k-buttons > .dz-wrap { margin-top: 18px; }
html body .dz-page .dz-band.dz-k-buttons.dz-k-buttons.dz-k-buttons + .dz-band { margin-top: 0; }
html body .dz-page .dz-band:not(.dz-k-buttons) + .dz-band.dz-k-buttons.dz-k-buttons > .dz-wrap { margin-top: 56px; }
