/* ==========================================================================
   main.css - Gasprijzen.eu
   Consolidated site stylesheet
   Design system: teal #0D6E6E + amber #E8A838
   Architecture: Tailwind handles generic layout/utilities; this file owns the
   design tokens, prose, FAQ accordion and the bespoke gas-* components
   (live-price hero, dual-axis chart, prijsopbouw breakdown, verbruikscalculator,
   affiliate slot, attribution footer).
   Last updated: 2026-06-22
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS & FONTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

:root {
    /* Brand palette - teal primary, amber accent */
    --gas-brand:          #0D6E6E;
    --gas-brand-light:    #E6F2F2;
    --gas-brand-dark:     #0A5454;
    --gas-brand-tint:     #F0F8F8;
    --gas-accent:         #E8A838;
    --gas-accent-light:   #FCF3E1;
    --gas-accent-dark:    #C8881C;

    /* Price-movement semantics (chart deltas, trend arrows) */
    --gas-up:             #D64545;   /* prijs stijgt */
    --gas-up-light:       #FBEBEB;
    --gas-down:           #2E9E6B;   /* prijs daalt */
    --gas-down-light:     #E8F6EF;

    /* Prijsopbouw component colours (stacked breakdown) */
    --gas-c-levering:     #0D6E6E;   /* kale leveringsprijs */
    --gas-c-netbeheer:    #E8A838;   /* netbeheer / regio */
    --gas-c-belasting:    #475569;   /* energiebelasting */
    --gas-c-btw:          #94A3B8;   /* btw 21% */

    /* Neutrals */
    --gas-text:           #14201F;
    --gas-text-secondary: #334155;
    --gas-muted:          #64748B;
    --gas-light:          #94A3B8;
    --gas-bg:             #F7FAFA;
    --gas-surface:        #FFFFFF;
    --gas-border:         #E2E8E8;

    /* Radii */
    --gas-radius:         16px;
    --gas-radius-sm:      10px;
    --gas-radius-xs:      6px;

    /* Elevation */
    --gas-shadow-sm:      0 1px 2px rgba(13,110,110,0.06);
    --gas-shadow:         0 4px 16px rgba(13,110,110,0.08);
    --gas-shadow-lg:      0 20px 40px rgba(13,110,110,0.10);
}


/* ==========================================================================
   2. BASE
   ========================================================================== */

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--gas-text);
    background: var(--gas-surface);
    scroll-behavior: smooth;
}

/* All numeric data (prices, m3, kWh) gets aligned tabular figures - the heart
   of a price site is its numbers, so they should never jitter between digits. */
.gas-figure,
.gas-pricecard__value,
.gas-stat__value,
.gas-calc__result-value,
.gas-breakdown__amount,
.gas-chart__axis text {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum' 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
@media (min-width: 768px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
}

a { color: var(--gas-brand); }
a:hover { color: var(--gas-brand-dark); }

/* Accessibility floor: visible keyboard focus everywhere. */
:focus-visible {
    outline: 3px solid var(--gas-accent);
    outline-offset: 2px;
    border-radius: var(--gas-radius-xs);
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    body { scroll-behavior: auto; }
}


/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.gas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--gas-radius-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}
.gas-btn:active { transform: translateY(1px); }

.gas-btn--primary { background: var(--gas-brand); color: #fff; }
.gas-btn--primary:hover { background: var(--gas-brand-dark); color: #fff; }

/* Amber = the money/conversion action (overstappen). Used sparingly. */
.gas-btn--accent { background: var(--gas-accent); color: #3A2A06; }
.gas-btn--accent:hover { background: var(--gas-accent-dark); color: #fff; }

.gas-btn--outline { background: #fff; color: var(--gas-brand); border-color: var(--gas-border); }
.gas-btn--outline:hover { border-color: var(--gas-brand); background: var(--gas-brand-tint); }

.gas-btn--lg { padding: 1rem 2rem; font-size: 1.0625rem; border-radius: var(--gas-radius); }
.gas-btn--block { width: 100%; }


/* ==========================================================================
   4. PROSE TYPOGRAPHY (article / tekstpagina)
   ========================================================================== */

.prose { max-width: 720px; }
.prose h1 {
    font-weight: 900;
    font-size: 1.75rem;
    margin: 0 0 1.5rem;
    color: var(--gas-text);
    line-height: 1.2;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) { .prose h1 { font-size: 2.125rem; } }
.prose h2 {
    font-weight: 800;
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    color: var(--gas-text);
    letter-spacing: -0.01em;
}
.prose h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin: 2rem 0 0.75rem;
    color: var(--gas-text-secondary);
}
.prose p,
.prose li { font-size: 0.9375rem; line-height: 1.75; color: var(--gas-text-secondary); }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--gas-text); font-weight: 700; }
.prose blockquote {
    border-left: 4px solid var(--gas-brand);
    background: var(--gas-brand-tint);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--gas-radius-sm) var(--gas-radius-sm) 0;
    color: var(--gas-text-secondary);
}
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.875rem; }
.prose th, .prose td { border: 1px solid var(--gas-border); padding: 0.75rem 1rem; text-align: left; }
.prose th { background: var(--gas-bg); font-weight: 700; color: var(--gas-text); }


/* ==========================================================================
   5. SITE HEADER / NAV
   ========================================================================== */

.gas-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--gas-border);
}
.gas-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.gas-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--gas-brand);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.gas-header__brand img { height: 28px; width: auto; }
.gas-nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 768px) { .gas-nav { display: flex; } }
.gas-nav a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gas-text-secondary);
    text-decoration: none;
}
.gas-nav a:hover { color: var(--gas-brand); }
.gas-header__cta { display: none; }
@media (min-width: 768px) { .gas-header__cta { display: inline-flex; } }


/* ==========================================================================
   6. HERO + LIVE-PRICE CARDS  (the signature: what gas costs, right now)
   ========================================================================== */

.gas-hero {
    background:
        radial-gradient(1200px 400px at 80% -10%, var(--gas-brand-tint) 0%, transparent 60%),
        linear-gradient(180deg, var(--gas-bg) 0%, #fff 100%);
    border-bottom: 1px solid var(--gas-border);
    padding: 2.5rem 0 3rem;
}
@media (min-width: 1024px) { .gas-hero { padding: 3.5rem 0 4rem; } }

.gas-hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .gas-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; } }

.gas-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gas-brand);
    background: var(--gas-brand-light);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}
.gas-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--gas-text);
    margin: 0 0 1rem;
}
@media (min-width: 768px) { .gas-hero h1 { font-size: 2.6rem; } }
.gas-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--gas-muted);
    margin-bottom: 1.75rem;
    max-width: 38ch;
}
.gas-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Headline live-price card */
.gas-pricecard {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius);
    box-shadow: var(--gas-shadow);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.gas-pricecard::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--gas-brand), var(--gas-accent));
}
.gas-pricecard__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gas-muted);
}
.gas-pricecard__value {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--gas-brand);
    margin: 0.4rem 0 0.25rem;
}
.gas-pricecard__value small { font-size: 1rem; font-weight: 600; color: var(--gas-muted); }
.gas-pricecard__delta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}
.gas-pricecard__delta--up   { color: var(--gas-up);   background: var(--gas-up-light); }
.gas-pricecard__delta--down { color: var(--gas-down); background: var(--gas-down-light); }
.gas-pricecard__delta--flat { color: var(--gas-muted); background: var(--gas-bg); }
.gas-pricecard__updated {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--gas-light);
}

/* Period badge - makes the monthly-average nature of the headline unmistakable */
.gas-pricecard__period {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gas-brand);
    background: var(--gas-brand-light);
    padding: 0.2rem 0.55rem;
    border-radius: 100px;
    margin: 0.5rem 0 0.1rem;
}

/* Daily wholesale (TTF) strip - the "today" market signal above the monthly card */
.gas-wholesale {
    display: flex;
    align-items: center;
    gap: 0.5rem 0.6rem;
    flex-wrap: wrap;
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius-sm);
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--gas-shadow-sm);
}
.gas-wholesale__label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gas-muted); }
.gas-wholesale__value { font-size: 1.0625rem; font-weight: 800; color: var(--gas-text); margin-left: auto; font-variant-numeric: tabular-nums; }
.gas-wholesale__value small { font-size: 0.75rem; font-weight: 600; color: var(--gas-muted); }
.gas-wholesale__delta { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.5rem; border-radius: 100px; }
.gas-wholesale__delta--up   { color: var(--gas-up);   background: var(--gas-up-light); }
.gas-wholesale__delta--down { color: var(--gas-down); background: var(--gas-down-light); }
.gas-wholesale__delta--flat { color: var(--gas-muted); background: var(--gas-bg); }

/* Secondary stat strip (TTF, btw-aandeel, gem. verbruik, ...) */
.gas-statgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}
@media (min-width: 480px) { .gas-statgrid { grid-template-columns: repeat(3, 1fr); } }
.gas-stat {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius-sm);
    padding: 0.9rem 1rem;
    position: relative;
    overflow: hidden;
}
.gas-stat::before {
    content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
    background: var(--stat-color, var(--gas-accent));
}
.gas-stat__value { font-size: 1.375rem; font-weight: 800; color: var(--gas-text); line-height: 1.1; }
.gas-stat__label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gas-muted); margin-top: 0.2rem; }


/* ==========================================================================
   7. DUAL-AXIS CHART CONTAINER
   (TTF beursprijs vs consumentenprijs over tijd; series drawn by JS/SVG)
   ========================================================================== */

.gas-chart {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius);
    padding: 1.25rem 1.25rem 1rem;
    box-shadow: var(--gas-shadow-sm);
}
.gas-chart__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.gas-chart__title { font-size: 1.0625rem; font-weight: 800; color: var(--gas-text); margin: 0; }
.gas-chart__sub { font-size: 0.8125rem; color: var(--gas-muted); margin: 0.15rem 0 0; }

/* Period switch (1M / 6M / 1J / 5J / max) */
.gas-chart__range { display: inline-flex; gap: 0.25rem; background: var(--gas-bg); padding: 0.25rem; border-radius: 100px; }
.gas-chart__range button {
    border: none; background: none; cursor: pointer;
    font: inherit; font-size: 0.75rem; font-weight: 700;
    color: var(--gas-muted);
    padding: 0.3rem 0.8rem; border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}
.gas-chart__range button.is-active { background: var(--gas-brand); color: #fff; }

/* Responsive canvas box - JS chart fills this */
.gas-chart__canvas { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 240px; }
@media (max-width: 640px) { .gas-chart__canvas { aspect-ratio: 4 / 3; } }

.gas-chart__legend {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--gas-border);
    font-size: 0.8125rem; color: var(--gas-text-secondary);
}
.gas-chart__legend-item { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; }
.gas-chart__swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.gas-chart__swatch--ttf { background: var(--gas-accent); }
.gas-chart__swatch--consumer { background: var(--gas-brand); }
.gas-chart__axis text { font-size: 11px; fill: var(--gas-light); }
.gas-chart__meta { margin-top: 0.6rem; font-size: 0.6875rem; color: var(--gas-light); }


/* ==========================================================================
   8. PRIJSOPBOUW - cost breakdown (stacked bar + legend rows)
   Shows that 50%+ of the m3 price is not the bare gas price.
   ========================================================================== */

.gas-breakdown {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius);
    padding: 1.5rem;
}
.gas-breakdown__title { font-size: 1.0625rem; font-weight: 800; color: var(--gas-text); margin: 0 0 0.25rem; }
.gas-breakdown__total { font-size: 0.8125rem; color: var(--gas-muted); margin-bottom: 1.1rem; }
.gas-breakdown__total b { color: var(--gas-text); font-size: 1rem; }

/* Stacked bar */
.gas-breakdown__bar {
    display: flex;
    height: 28px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}
.gas-breakdown__seg { height: 100%; }
.gas-breakdown__seg--levering  { background: var(--gas-c-levering); }
.gas-breakdown__seg--netbeheer { background: var(--gas-c-netbeheer); }
.gas-breakdown__seg--belasting { background: var(--gas-c-belasting); }
.gas-breakdown__seg--btw       { background: var(--gas-c-btw); }

/* Legend rows with amounts */
.gas-breakdown__rows { display: flex; flex-direction: column; gap: 0.6rem; }
.gas-breakdown__row {
    display: grid;
    grid-template-columns: 14px 1fr auto auto;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.875rem;
}
.gas-breakdown__dot { width: 14px; height: 14px; border-radius: 4px; }
.gas-breakdown__dot--levering  { background: var(--gas-c-levering); }
.gas-breakdown__dot--netbeheer { background: var(--gas-c-netbeheer); }
.gas-breakdown__dot--belasting { background: var(--gas-c-belasting); }
.gas-breakdown__dot--btw       { background: var(--gas-c-btw); }
.gas-breakdown__name { color: var(--gas-text-secondary); font-weight: 600; }
.gas-breakdown__pct { color: var(--gas-muted); font-size: 0.8125rem; min-width: 3ch; text-align: right; }
.gas-breakdown__amount { color: var(--gas-text); font-weight: 700; min-width: 5ch; text-align: right; }


/* ==========================================================================
   9. VERBRUIKSCALCULATOR  (zero-click woningtype presets -> EUR/maand)
   ========================================================================== */

.gas-calc {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius);
    box-shadow: var(--gas-shadow);
    overflow: hidden;
}
.gas-calc__head { padding: 1.25rem 1.5rem 0; }
.gas-calc__title { font-size: 1.125rem; font-weight: 800; color: var(--gas-text); margin: 0; }
.gas-calc__sub { font-size: 0.8125rem; color: var(--gas-muted); margin: 0.2rem 0 0; }
.gas-calc__body { padding: 1.25rem 1.5rem 1.5rem; }

/* Woningtype presets - one tap pre-fills an average verbruik (zero-click) */
.gas-calc__presets-label { font-size: 0.75rem; font-weight: 700; color: var(--gas-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.55rem; }
.gas-calc__presets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.gas-calc__preset {
    border: 1.5px solid var(--gas-border);
    background: #fff;
    color: var(--gas-text-secondary);
    border-radius: 100px;
    padding: 0.45rem 0.9rem;
    font: inherit; font-size: 0.8125rem; font-weight: 600;
    cursor: pointer;
    display: inline-flex; align-items: center; gap: 0.4rem;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.gas-calc__preset:hover { border-color: var(--gas-brand); color: var(--gas-brand); }
.gas-calc__preset.is-active { background: var(--gas-brand); border-color: var(--gas-brand); color: #fff; }
.gas-calc__preset small { font-weight: 500; opacity: 0.75; }

/* Manual verbruik field (slider + number) */
.gas-calc__field { margin-bottom: 1.25rem; }
.gas-calc__field-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; font-weight: 600; color: var(--gas-text); margin-bottom: 0.5rem; }
.gas-calc__field-val { font-weight: 800; color: var(--gas-brand); }
.gas-calc__range { width: 100%; accent-color: var(--gas-brand); }
.gas-calc__hint { font-size: 0.75rem; color: var(--gas-light); margin-top: 0.35rem; }

/* Result block */
.gas-calc__result {
    background: var(--gas-brand-tint);
    border: 1px solid var(--gas-brand-light);
    border-radius: var(--gas-radius-sm);
    padding: 1.1rem 1.25rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    flex-wrap: wrap;
}
.gas-calc__result-label { font-size: 0.8125rem; font-weight: 600; color: var(--gas-text-secondary); }
.gas-calc__result-value { font-size: 2rem; font-weight: 900; color: var(--gas-brand); line-height: 1; letter-spacing: -0.02em; }
.gas-calc__result-value small { font-size: 0.875rem; font-weight: 600; color: var(--gas-muted); }
.gas-calc__result-sub { font-size: 0.75rem; color: var(--gas-muted); width: 100%; }


/* ==========================================================================
   10. FAQ ACCORDION  (reskin of platform accordion system)
   ========================================================================== */

.gas-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.gas-faq__item {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gas-faq__item:hover { border-color: var(--gas-brand); }
.gas-faq__item.is-open { border-color: var(--gas-brand); box-shadow: var(--gas-shadow-sm); }
.gas-faq__btn {
    width: 100%;
    padding: 1.1rem 1.35rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: none; border: none; cursor: pointer; text-align: left;
    font: inherit;
}
.gas-faq__q { font-weight: 700; font-size: 1rem; color: var(--gas-text); }
.gas-faq__chevron {
    width: 1.9rem; height: 1.9rem; flex-shrink: 0;
    background: var(--gas-bg); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gas-muted); font-size: 0.8rem;
    transition: transform 0.25s, background 0.2s, color 0.2s;
}
.gas-faq__item.is-open .gas-faq__chevron { transform: rotate(180deg); background: var(--gas-brand-light); color: var(--gas-brand); }
.gas-faq__content {
    max-height: 0; opacity: 0; overflow: hidden;
    padding: 0 1.35rem;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out, padding 0.3s ease-out;
}
.gas-faq__item.is-open .gas-faq__content { max-height: 800px; opacity: 1; padding-bottom: 1.35rem; }
.gas-faq__content p { color: var(--gas-text-secondary); line-height: 1.7; font-size: 0.9375rem; margin: 0 0 0.75rem; }
.gas-faq__content p:last-child { margin-bottom: 0; }

/* Native <details> fallback (no-JS) */
.gas-faq__item[open] { border-color: var(--gas-brand); }
.gas-faq__item summary { list-style: none; }
.gas-faq__item summary::-webkit-details-marker { display: none; }


/* ==========================================================================
   11. AFFILIATE / AD SLOT  (graceful degradation - never an empty hole)
   ========================================================================== */

/* Empty slots collapse entirely: no border, no whitespace, no layout shift. */
.gas-ad:empty { display: none !important; }

.gas-ad {
    margin: 1.5rem 0;
    border: 1px dashed var(--gas-border);
    border-radius: var(--gas-radius-sm);
    background: var(--gas-bg);
    padding: 0.75rem;
    text-align: center;
}
.gas-ad__label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gas-light);
    margin-bottom: 0.4rem;
}

/* Editorial affiliate card (the money-hub provider cards, daily-build static) */
.gas-offer {
    background: var(--gas-surface);
    border: 1px solid var(--gas-border);
    border-radius: var(--gas-radius);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.25rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.gas-offer:hover { border-color: var(--gas-brand); box-shadow: var(--gas-shadow); transform: translateY(-2px); }
.gas-offer--featured { border-color: var(--gas-accent); box-shadow: 0 6px 22px rgba(232,168,56,0.16); }
.gas-offer__logo { width: 84px; height: 48px; object-fit: contain; }
.gas-offer__name { font-weight: 800; color: var(--gas-text); font-size: 1.0625rem; }
.gas-offer__meta { font-size: 0.8125rem; color: var(--gas-muted); margin-top: 0.15rem; }
.gas-offer__price { text-align: right; }
.gas-offer__price b { font-size: 1.25rem; font-weight: 900; color: var(--gas-brand); }
.gas-offer__price small { display: block; font-size: 0.6875rem; color: var(--gas-muted); }
@media (max-width: 560px) {
    .gas-offer { grid-template-columns: auto 1fr; }
    .gas-offer__price { grid-column: 1 / -1; text-align: left; }
}


/* ==========================================================================
   12. NOTICES & DISCLOSURE  (affiliate disclosure, data-source notes)
   ========================================================================== */

.gas-note {
    border-radius: var(--gas-radius-sm);
    padding: 0.85rem 1.1rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    margin: 1rem 0;
}
.gas-note--info      { background: var(--gas-brand-light); color: var(--gas-brand-dark); }
.gas-note--source    { background: var(--gas-bg); color: var(--gas-text-secondary); border-left: 3px solid var(--gas-brand); }
.gas-note--affiliate { background: var(--gas-accent-light); color: #6B4E12; border-left: 3px solid var(--gas-accent); }
.gas-note b { font-weight: 700; }


/* ==========================================================================
   13. FOOTER  (with mandatory CBS + GIE data attribution)
   ========================================================================== */

.gas-footer {
    background: var(--gas-text);
    color: #CBD5D5;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.gas-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .gas-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.gas-footer__brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 900; font-size: 1.125rem; color: #fff; margin-bottom: 0.75rem; }
.gas-footer__about { font-size: 0.8125rem; line-height: 1.6; color: #94A3A3; max-width: 38ch; }
.gas-footer__col h4 { font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #7E9494; margin: 0 0 0.9rem; }
.gas-footer__col ul { list-style: none; padding: 0; margin: 0; }
.gas-footer__col li { margin-bottom: 0.5rem; }
.gas-footer__col a { color: #CBD5D5; text-decoration: none; font-size: 0.875rem; }
.gas-footer__col a:hover { color: #fff; text-decoration: underline; }

.gas-footer__attribution {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.6875rem;
    line-height: 1.6;
    color: #7E9494;
}
.gas-footer__attribution a { color: #94A3A3; }
.gas-footer__bottom {
    margin-top: 0.75rem;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
    font-size: 0.6875rem; color: #7E9494;
}


/* ==========================================================================
   14. RESPONSIVE - global tweaks
   ========================================================================== */

@media (max-width: 768px) {
    .gas-hero h1 { font-size: 1.85rem; }
    .gas-pricecard__value { font-size: 2.5rem; }
    .gas-calc__result { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .gas-statgrid { grid-template-columns: 1fr 1fr; }
    .gas-chart__head { flex-direction: column; }
}


/* ==========================================================================
   15. PRINT
   ========================================================================== */

@media print {
    .gas-header, .gas-nav, .gas-ad, .gas-offer, .gas-btn,
    .gas-chart__range, .gas-footer__bottom { display: none !important; }
    body { background: #fff; color: #000; }
    .gas-hero { background: none; border: none; padding: 1rem 0; }
    .gas-pricecard, .gas-chart, .gas-breakdown, .gas-calc { box-shadow: none; border: 1px solid #ccc; }
    a { text-decoration: underline; color: #000; }
    .gas-footer__attribution { color: #333; }
}
