/* ============================================================
   WEATHER FOR GEEKS PAGE
   Extracted from known-good harper.css during modular migration.
   Do not merge page-specific rules back into harper-core.css.
   ============================================================ */

/* ============================================================
   PAGE 2 — WEATHER FOR GEEKS
   ============================================================ */

.geek-section {
    margin-top: 20px;
}

.geek-section > h2 {
    margin: 0 0 11px;
    color: var(--blue-dark);
    font-size: 1.3rem;
    font-weight: 900;
}


/* ------------------------------------------------------------
   Placeholder / future sections
   ------------------------------------------------------------ */

.sensor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.geek-placeholder,
.sensor-placeholder,
.aviation-placeholder {
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.geek-placeholder h3,
.sensor-placeholder h3,
.aviation-placeholder h3 {
    margin: 0 0 6px;
    color: var(--blue-dark);
}

.geek-placeholder p,
.sensor-placeholder p,
.aviation-placeholder p {
    margin: 0;
    color: var(--muted);
}

/* =====================================================
   PAGE 2 — CLIMATOLOGICAL REPORT ARCHIVE
   ===================================================== */

.climate-summary-card {
    margin-top: 16px;
}

.climate-description {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: .82rem;
}

.climate-ytd-title {
    margin: 16px 0 9px;
    color: var(--blue-dark);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.climate-archive-heading {
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
}

.climate-archive-heading > div {
    color: var(--blue-dark);
    font-size: 1rem;
    font-weight: 900;
}

.climate-archive-heading > span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .78rem;
}

.climate-year-row {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
}

.climate-year-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-dark);
    font-weight: 900;
}

.climate-year-report-link {
    padding: 2px 6px;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--muted);
    text-decoration: none;
    font-size: .7rem;
    font-weight: 600;
}

.climate-year-report-link:hover {
    background: var(--blue-light);
    color: var(--blue-dark);
}

.climate-month-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.climate-month-link {
    display: inline-block;
    min-width: 40px;
    padding: 5px 8px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--blue-dark);
    text-align: center;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 900;
}

.climate-month-link:hover {
    background: var(--blue-light);
    border-color: #b9cce0;
}

.climate-earlier-years {
    margin-top: 13px;
}

.climate-earlier-years > summary {
    cursor: pointer;
    color: var(--blue-dark);
    font-size: .85rem;
    font-weight: 900;
}

.climate-earlier-years-content {
    margin-top: 8px;
}

.climate-noscript {
    margin-top: 15px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    font-size: .8rem;
}

.climate-noscript-links {
    margin-top: 8px;
}

.climate-noscript-links a {
    margin-right: 8px;
}

@media (max-width: 700px) {

    .climate-year-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

}


/* =====================================================
   PAGE 2 — HISTORICAL WEATHER GRAPHS
   ===================================================== */

.history-graph-card {
    min-width: 0;
}

.history-graph-controls {
    display: flex;
    gap: 6px;
    margin: 8px 0 10px;
}

.history-graph-button {
    padding: 4px 9px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--blue-dark);
    font-family: inherit;
    font-size: .75rem;
    font-weight: 900;
    cursor: pointer;
}

.history-graph-button:hover {
    background: var(--blue-light);
    border-color: #b9cce0;
}

.history-graph-button.active {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #ffffff;
}

.history-graph-image {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
}

/* ============================================================
   STATION / SERVER TELEMETRY
   ============================================================ */

.telemetry-panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.telemetry-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.telemetry-item:nth-child(odd) {
    border-right: 1px solid var(--border);
}

.telemetry-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.telemetry-value {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 800;
    white-space: nowrap;
}

.telemetry-mars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 16px;
    background: #f8fafc;
}

.telemetry-mars-value {
    color: var(--blue-dark);
}

@media (max-width: 700px) {

    .telemetry-grid {
        grid-template-columns: 1fr;
    }

    .telemetry-item:nth-child(odd) {
        border-right: none;
    }

    .telemetry-mars {
        justify-content: space-between;
    }
}


.forecast-jump-links {
    margin-top: 16px;
    font-size: 0.92rem;
}

.forecast-jump-links a {
    font-weight: 700;
    text-decoration: none;
}

.forecast-jump-links a:hover {
    text-decoration: underline;
}

/* Historical Weather graphs — larger two-column layout */
.history-graph-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
    .history-graph-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SUN & MOON ALMANAC
   ============================================================ */

.almanac-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.almanac-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.almanac-card h3 {
    margin: 0;
    padding: 13px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    color: var(--blue-dark);
    font-size: 1rem;
}

.almanac-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.almanac-row:last-child {
    border-bottom: none;
}

.almanac-label {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.almanac-value {
    color: var(--text);
    font-size: 0.94rem;
    font-weight: 800;
    text-align: right;
}

@media (max-width: 700px) {
    .almanac-grid {
        grid-template-columns: 1fr;
    }

    .almanac-row {
        gap: 12px;
    }
}

/* ============================================================
   UV INDEX — RISK GAUGE
   ============================================================ */

.uv-risk-label {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.uv-scale {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: 18px;
    margin: 14px 0 5px;
    border-radius: 9px;
    overflow: visible;
}

.uv-band:first-child {
    border-radius: 9px 0 0 9px;
}

.uv-band:nth-child(5) {
    border-radius: 0 9px 9px 0;
}

.uv-low {
    background: #4CAF50;
}

.uv-moderate {
    background: #FBC02D;
}

.uv-high {
    background: #FB8C00;
}

.uv-very-high {
    background: #E53935;
}

.uv-extreme {
    background: #C2185B;
}

.uv-marker {
    position: absolute;
    top: -6px;
    left: 0;
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: #20252b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    transition: left 0.25s ease;
}

.uv-scale-labels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    font-size: 0.62rem;
    color: var(--text-muted);
    text-align: center;
}

.uv-scale-labels span {
    white-space: nowrap;
}

/* ============================================================
   SOLAR RADIATION — INTENSITY GAUGE
   ============================================================ */

.solar-band-level {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.solar-band-wrap {
    margin-top: 14px;
}

.solar-band-bar {
    position: relative;
    display: flex;
    height: 18px;
    overflow: visible;
    border-radius: 9px;
}

.solar-band {
    flex: 1 1 20%;
    height: 100%;
}

.solar-band-1 {
    background: #4CAF50;
    border-radius: 9px 0 0 9px;
}

.solar-band-2 {
    background: #FBC02D;
}

.solar-band-3 {
    background: #FB8C00;
}

.solar-band-4 {
    background: #E53935;
}

.solar-band-5 {
    background: #C2185B;
    border-radius: 0 9px 9px 0;
}

.solar-band-marker {
    position: absolute;
    top: -6px;
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: #20252b;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
}

.solar-band-scale {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-top: 5px;
    font-size: 0.62rem;
    color: var(--text-muted);
    text-align: center;
}

.solar-band-scale span {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .solar-band-scale {
        font-size: 0.58rem;
    }
}

/* ==========================================================
   Station Records - Weather for Geeks
   ========================================================== */

.station-records-panel {
    margin: 1.4rem 0;
    padding: 1rem;
    border: 1px solid #d8e0e7;
    border-radius: 10px;
    background: #fff;
}

.station-records-panel h3 {
    margin: 0 0 .85rem;
}

.station-records-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.station-record-item {
    padding: .75rem;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    background: #f8fafb;
}

.station-record-label {
    display: block;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.station-record-value {
    display: block;
    margin-top: .3rem;
    font-size: 1.15rem;
    font-weight: 800;
}

.station-record-date {
    display: block;
    margin-top: .15rem;
    font-size: .82rem;
    color: #65717c;
}

.station-records-note {
    margin-top: .8rem;
    font-size: .82rem;
    color: #65717c;
}

@media (max-width: 900px) {
    .station-records-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .station-records-grid {
        grid-template-columns: 1fr;
    }
}


/* Station Records new-record highlighting */

.station-records-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.station-records-heading h3 {
    margin: 0;
}

.station-records-checked {
    font-size: .80rem;
    color: #65717c;
    white-space: nowrap;
}

.station-record-item {
    position: relative;
}

.station-record-new {
    border-color: #d6a514;
    background: #fff9df;
    box-shadow: 0 0 0 1px rgba(214,165,20,.12);
}

.station-record-badge {
    display: inline-block;
    margin-top: .5rem;
    padding: .18rem .42rem;
    border-radius: 999px;
    background: #d6a514;
    color: #202830;
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .055em;
    line-height: 1.2;
}

@media (max-width: 620px) {
    .station-records-heading {
        display: block;
    }

    .station-records-checked {
        display: block;
        margin-top: .25rem;
    }
}


/* Shared card/observation building blocks used by the Geek page */
/* ============================================================
   MORE WEATHER GEEKERY
   ============================================================ */

.geekery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.geekery-card {
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.geekery-card h3 {
    margin: 0 0 5px;
    color: var(--blue-dark);
    font-size: 1rem;
}

.geekery-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}



.observation-label {
    margin-bottom: 4px;
    color: var(--text);
    font-size: 0.80rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.observation-value {
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 900;
}

.observation-value.high {
    color: var(--red);
}

.observation-value.low {
    color: var(--blue-low);
}

.forecast-center-intro,
.geek-page-intro {
    margin: 0 0 28px 0;
    padding: 16px 18px;
    background: #f5f7f9;
    border: 1px solid #d9dee3;
    border-radius: 8px;
    line-height: 1.5;
}


.forecast-center-heading {
    margin-top: 34px;
    margin-left: 16px;
}

.forecast-center-intro,
.geek-page-intro {
    padding: 12px 15px;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

/* === COMPACT RAINFALL SUMMARY START === */

.rainfall-summary-card {
    grid-column: 1 / -1;

    padding-top: 18px;
    padding-bottom: 18px;
}


.rainfall-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0;
}


.rainfall-summary-item {
    min-width: 0;

    padding: 2px 20px;
}


.rainfall-summary-item + .rainfall-summary-item {
    border-left:
        1px solid var(--border);
}


.rainfall-summary-item .observation-value {
    margin-top: 6px;
}


@media (max-width: 720px) {

    .rainfall-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        row-gap: 18px;
    }


    .rainfall-summary-item {
        padding:
            2px 16px;
    }


    .rainfall-summary-item:nth-child(3) {
        border-left: 0;
    }


    .rainfall-summary-item:nth-child(n+3) {
        padding-top: 16px;

        border-top:
            1px solid var(--border);
    }

}


/* === COMPACT RAINFALL SUMMARY END === */

/* W5TWO record/card consistency BEGIN */

/*
 * Match Current Year card fill to Station Records.
 */
.climate-ytd-grid > .geekery-card {
    background: #f8fafb;
}

/*
 * Temperature extremes:
 * highs red, lows blue.
 *
 * Current Year uses temp-high/temp-low classes.
 * Station Records uses fixed element IDs.
 */
.observation-value.temp-high,
#record-high-temp {
    color: var(--red, #c62828);
}

.observation-value.temp-low,
#record-low-temp,
#record-low-windchill {
    color: var(--blue, #1565c0);
}

/* W5TWO record/card consistency END */


/* ==========================================================
   WEATHER DEEP DIVE - STRUCTURAL PASS 1
   ========================================================== */


/* ---------- Intro ---------- */

.deep-dive-intro-copy {
    max-width: 920px;

    color: #405766;

    font-size: 0.88rem;
    line-height: 1.45;
}


.deep-dive-jump-links {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-top: 8px;
}


.deep-dive-jump-links a {
    display: inline-block;

    padding: 5px 9px;

    background:
        rgba(103, 172, 213, 0.10);

    border:
        1px solid rgba(103, 172, 213, 0.24);

    border-radius: 6px;

    font-size: 0.75rem;
    font-weight: 600;

    line-height: 1.15;

    text-decoration: none;
}


/* ---------- Major group banner ---------- */

.deep-dive-group-banner {
    display: flex;

    gap: 15px;

    align-items: flex-start;

    margin-top: 18px !important;
    margin-bottom: 12px !important;

    padding: 13px 15px !important;

    background:
        linear-gradient(
            135deg,
            rgba(225, 240, 248, 0.78),
            rgba(245, 249, 251, 0.88)
        );

    border:
        1px solid rgba(78, 122, 149, 0.18);

    border-radius: 10px;
}


.deep-dive-group-number {
    min-width: 38px;

    color: rgba(52, 91, 116, 0.42);

    font-size: 1.55rem;
    font-weight: 700;

    line-height: 1;
}


.deep-dive-group-copy {
    flex: 1;
}


.deep-dive-group-copy h2 {
    margin: 0 0 3px;

    color: #294b60;

    font-size: 1.08rem;
    line-height: 1.15;
}


.deep-dive-group-copy p {
    margin: 0;

    color: #536b79;

    font-size: 0.79rem;
    line-height: 1.40;
}


.deep-dive-group-subnav {
    display: flex;
    flex-wrap: wrap;

    gap: 5px 9px;

    margin-top: 8px;

    font-size: 0.70rem;
}


.deep-dive-group-subnav a {
    color: #17618f;

    text-decoration: none;
}


.deep-dive-future-item {
    color: #788b97;

    font-style: italic;
}


/* ---------- Major destination separation ---------- */

#historical-weather,
#sun-moon-almanac,
#station-instrumentation,
#station-details {
    scroll-margin-top: 16px;
}


/*
 * Make the five principal destinations read more strongly
 * without redesigning their existing cards yet.
 */

#historical-weather,
#sun-moon-almanac,
#station-instrumentation,
#station-details {
    color: #294b60;
}


/* ---------- Mobile ---------- */

@media (max-width: 620px) {

    .deep-dive-group-banner {
        gap: 9px;
    }

    .deep-dive-group-number {
        min-width: 28px;

        font-size: 1.15rem;
    }

    .deep-dive-jump-links {
        gap: 5px;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - VISUAL PASS 2
   ========================================================== */


/* ----------------------------------------------------------
   OVERALL PAGE RHYTHM
   ---------------------------------------------------------- */

.geek-section {
    margin-top: 16px;
}


.geek-section > .section-heading {
    margin-bottom: 11px;
}


.geek-section > .section-heading h2 {
    margin-bottom: 1px;

    font-size: 1.05rem;
    line-height: 1.18;
}


.geek-section > .section-heading
.section-subtitle {
    font-size: 0.76rem;
    line-height: 1.35;
}


.page-update {
    font-size: 0.76rem;
    line-height: 1.35;
}


.geekery-card {
    padding: 15px 16px;
}


.observation-label {
    font-size: 0.76rem;
}


.observation-value {
    font-size: 1.17rem;
}


/* ----------------------------------------------------------
   PAGE INTRO
   ---------------------------------------------------------- */

.geek-page-intro {
    margin-bottom: 12px !important;

    padding: 13px 15px !important;

    background: #f3f8fb !important;

    border:
        1px solid rgba(80, 115, 140, 0.18) !important;

    border-radius: 9px !important;
}


.deep-dive-intro-copy {
    max-width: none;

    color: #405766;

    font-size: 0.86rem;
    line-height: 1.42;
}


.geek-page-intro .page-data-update {
    margin-top: 5px;

    color: #687f8e;

    font-size: 0.73rem;
}


.deep-dive-jump-links {
    margin-top: 9px;
}


/* ----------------------------------------------------------
   CHAPTER 01 — THE ATMOSPHERE
   ---------------------------------------------------------- */

.deep-dive-group-banner {
    margin:
        14px 0 0 !important;

    padding:
        13px 15px 11px !important;

    background:
        linear-gradient(
            135deg,
            #e6f2f8,
            #f3f8fb
        );

    border:
        1px solid #cadde8;

    border-bottom: 0;

    border-radius:
        10px 10px 0 0;
}


.deep-dive-group-number {
    color: #72a6c3;

    font-size: 1.35rem;
}


.deep-dive-group-copy h2 {
    color: #174e73;

    font-size: 1.08rem;
    font-weight: 800;
}


.deep-dive-group-copy p {
    font-size: 0.77rem;
}


.deep-dive-group-subnav {
    margin-top: 7px;

    font-size: 0.70rem;
}


/*
 * The four formerly independent atmospheric sections now
 * visually form one continuous chapter.
 */

.deep-dive-atmosphere-subsection {
    margin-top: 0 !important;

    padding:
        12px 14px 15px;

    background:
        rgba(255,255,255,0.52);

    border-left:
        1px solid #cadde8;

    border-right:
        1px solid #cadde8;
}


.deep-dive-atmosphere-first {
    padding-top: 14px;
}


.deep-dive-atmosphere-last {
    padding-bottom: 18px;

    border-bottom:
        1px solid #cadde8;

    border-radius:
        0 0 10px 10px;
}


/*
 * Atmosphere subsection headings are deliberately quieter
 * than chapter headings.
 */

.deep-dive-atmosphere-subsection
> .section-heading {
    margin-bottom: 8px;
}


.deep-dive-atmosphere-subsection
> .section-heading h2 {
    color: #245876;

    font-size: 0.96rem;
    font-weight: 750;
}


.deep-dive-atmosphere-subsection
> .section-heading
.section-subtitle {
    color: #718592;

    font-size: 0.70rem;
}


/* Air-quality reservation is visible but quiet */

.deep-dive-future-item {
    color: #8095a1;

    font-size: 0.68rem;
}


/* ----------------------------------------------------------
   MAJOR CHAPTERS 02–05
   ---------------------------------------------------------- */

.deep-dive-major-section {
    position: relative;

    margin-top: 24px !important;

    padding:
        18px 16px 19px;

    background:
        rgba(255,255,255,0.58);

    border:
        1px solid #d4e1e9;

    border-radius: 11px;
}


.deep-dive-major-section
> .section-heading {
    position: relative;

    margin:
        -18px -16px 16px;

    padding:
        13px 15px 12px 61px;

    background:
        linear-gradient(
            135deg,
            #e7f2f8,
            #f5f9fb
        );

    border-bottom:
        1px solid #d4e1e9;

    border-radius:
        11px 11px 0 0;
}


.deep-dive-major-section
> .section-heading::before {
    position: absolute;

    left: 15px;
    top: 13px;

    width: 31px;

    color: #72a6c3;

    font-size: 1.25rem;
    font-weight: 700;

    line-height: 1;
}


.deep-dive-history
> .section-heading::before {
    content: "02";
}


.deep-dive-almanac
> .section-heading::before {
    content: "03";
}


.deep-dive-instrumentation
> .section-heading::before {
    content: "04";
}


.deep-dive-station-details
> .section-heading::before {
    content: "05";
}


.deep-dive-major-section
> .section-heading h2 {
    color: #174e73;

    font-size: 1.08rem;
    font-weight: 800;
}


.deep-dive-major-section
> .section-heading
.section-subtitle {
    color: #657d8b;

    font-size: 0.73rem;
}


/* ----------------------------------------------------------
   CHAPTER 02 — HISTORICAL WEATHER
   ---------------------------------------------------------- */

.deep-dive-history
.history-graph-grid {
    gap: 16px;
}


.deep-dive-history
.history-graph-card {
    padding: 14px;

    background: #fff;

    border-color: #d7e3ea;

    box-shadow:
        0 2px 7px
        rgba(31, 65, 86, 0.08);
}


.deep-dive-history
.history-graph-card
.observation-label {
    color: #254f69;

    font-size: 0.82rem;
}


.deep-dive-history
.history-graph-controls {
    margin:
        7px 0 9px;
}


.deep-dive-history
.history-graph-image {
    border-color: #d7e1e7;
}


.deep-dive-history
.station-records-panel {
    margin:
        18px 0 0;

    border-color: #d7e3ea;

    box-shadow: none;
}


.deep-dive-history
.station-records-heading h3 {
    color: #244f6a;

    font-size: 0.98rem;
}


.deep-dive-history
.station-records-item,
.deep-dive-history
.station-record-item {
    background: #f7fafc;
}


/*
 * Climate history is important, but visually subordinate
 * to the graphs and records.
 */

.deep-dive-history
.climate-summary-card {
    margin-top: 16px;

    padding: 15px;

    background: #fbfcfd;

    box-shadow: none;
}


.deep-dive-history
.climate-summary-card
.section-heading h2 {
    font-size: 0.96rem;
}


.deep-dive-history
.climate-description {
    margin-bottom: 12px;

    font-size: 0.76rem;
}


.deep-dive-history
.climate-ytd-title {
    margin-top: 12px;
}


.deep-dive-history
.climate-year-row {
    padding: 8px 0;
}


.deep-dive-history
.climate-month-link {
    min-width: 34px;

    padding: 4px 6px;

    font-size: 0.71rem;
}


/* ----------------------------------------------------------
   CHAPTER 03 — SUN & MOON
   ---------------------------------------------------------- */

.deep-dive-almanac
.almanac-grid {
    gap: 16px;
}


.deep-dive-almanac
.almanac-card {
    border-color: #d5e1e8;

    box-shadow:
        0 2px 7px
        rgba(31, 65, 86, 0.07);
}


.deep-dive-almanac
.almanac-card h3 {
    padding: 12px 15px;

    background:
        linear-gradient(
            135deg,
            #f4f8fb,
            #edf5f9
        );

    font-size: 0.98rem;
}


.deep-dive-almanac
.almanac-row {
    padding: 9px 15px;
}


.deep-dive-almanac
.almanac-label {
    font-size: 0.78rem;
}


.deep-dive-almanac
.almanac-value {
    font-size: 0.86rem;
}


/* ----------------------------------------------------------
   CHAPTER 04 — INSTRUMENTATION
   ---------------------------------------------------------- */

/*
 * For now the existing instrumentation data gets a more
 * deliberate equipment-panel appearance.  A station photo
 * and exact Davis model inventory will replace/expand this
 * during the instrumentation pass.
 */

.deep-dive-instrumentation
.geekery-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.deep-dive-instrumentation
.geekery-card {
    min-height: 105px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fafc
        );

    border-color: #d4e1e8;

    box-shadow:
        0 2px 7px
        rgba(31, 65, 86, 0.07);
}


.deep-dive-instrumentation
.observation-label {
    color: #617986;

    font-size: 0.70rem;
}


.deep-dive-instrumentation
.observation-value {
    color: #204e69;

    font-size: 1.02rem;
}


/* ----------------------------------------------------------
   CHAPTER 05 — STATION DETAILS
   ---------------------------------------------------------- */

.deep-dive-station-details
.telemetry-panel {
    border-color: #cadce7;

    box-shadow: none;
}


.deep-dive-station-details
.telemetry-item {
    min-height: 48px;

    padding: 11px 15px;
}


.deep-dive-station-details
.telemetry-label {
    color: #58707e;

    font-size: 0.78rem;
}


.deep-dive-station-details
.telemetry-value {
    color: #1f4f6b;

    font-size: 0.90rem;
}


.deep-dive-station-details
.telemetry-mars {
    background:
        linear-gradient(
            90deg,
            #f4f8fa,
            #eef5f8
        );
}


/* ----------------------------------------------------------
   CARD CONSISTENCY INSIDE ATMOSPHERE
   ---------------------------------------------------------- */

.deep-dive-atmosphere-subsection
.geekery-card {
    border-color: #d8e3e9;

    box-shadow:
        0 2px 6px
        rgba(31, 65, 86, 0.06);
}


/* ----------------------------------------------------------
   DESKTOP WIDTH / BREATHING ROOM
   ---------------------------------------------------------- */

@media (min-width: 901px) {

    .deep-dive-history
    .history-graph-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .deep-dive-instrumentation
    .geekery-grid {
        grid-template-columns:
            1fr;
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 620px) {

    .deep-dive-major-section {
        padding:
            15px 10px 16px;
    }


    .deep-dive-major-section
    > .section-heading {
        margin:
            -15px -10px 14px;

        padding:
            12px 10px 11px 50px;
    }


    .deep-dive-major-section
    > .section-heading::before {
        left: 11px;
        top: 12px;

        font-size: 1.05rem;
    }


    .deep-dive-atmosphere-subsection {
        padding-left: 10px;
        padding-right: 10px;
    }


    .deep-dive-history
    .history-graph-grid {
        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - PASS 3
   GOING OUT OF BUSINESS BOX SALE
   ========================================================== */


/* ----------------------------------------------------------
   GENERAL VERTICAL RHYTHM
   ---------------------------------------------------------- */

.geek-section {
    margin-top: 12px;
}

.geek-section > .section-heading {
    margin-bottom: 7px;
}

.geek-section > .section-heading h2 {
    margin-bottom: 0;
}

.geek-section > .section-heading .section-subtitle {
    margin-top: 1px;
}


/* ----------------------------------------------------------
   PAGE INTRO - COMPACT
   ---------------------------------------------------------- */

.geek-page-intro {
    margin-bottom: 10px !important;
    padding: 11px 13px !important;
}

.deep-dive-intro-copy {
    line-height: 1.35;
}

.deep-dive-jump-links {
    margin-top: 7px;
}


/* ----------------------------------------------------------
   CHAPTER 01 - THE ATMOSPHERE
   REMOVE THE BIG CONTAINER LOOK
   ---------------------------------------------------------- */

.deep-dive-group-banner {
    margin: 14px 0 7px !important;

    padding: 7px 0 8px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 2px solid #a9ccdf !important;

    border-radius: 0 !important;
}


.deep-dive-group-number {
    min-width: 34px;

    font-size: 1.18rem;
}


.deep-dive-group-copy h2 {
    font-size: 1.06rem;
}


.deep-dive-group-copy p {
    margin-top: 1px;
}


.deep-dive-group-subnav {
    margin-top: 5px;
}


/*
 * Remove the large continuous pale box around
 * all Atmosphere subsections.
 */

.deep-dive-atmosphere-subsection {
    margin-top: 0 !important;

    padding: 7px 0 9px !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;
}


.deep-dive-atmosphere-first {
    padding-top: 5px !important;
}


.deep-dive-atmosphere-last {
    padding-bottom: 4px !important;
}


/* quiet subsection separators */

.deep-dive-atmosphere-subsection
+ .deep-dive-atmosphere-subsection {
    border-top:
        1px solid rgba(120, 153, 173, 0.20) !important;

    padding-top: 10px !important;
}


.deep-dive-atmosphere-subsection
> .section-heading {
    margin-bottom: 6px;
}


.deep-dive-atmosphere-subsection
> .section-heading h2 {
    font-size: 0.94rem;
}


/* tighten card spacing */

.deep-dive-atmosphere-subsection
.geekery-grid {
    gap: 10px;
}


.deep-dive-atmosphere-subsection
.geekery-card {
    padding: 12px 13px;

    box-shadow:
        0 1px 4px
        rgba(31, 65, 86, 0.05);
}


/* ----------------------------------------------------------
   CHAPTERS 02-05
   REMOVE OUTER BOXES
   ---------------------------------------------------------- */

.deep-dive-major-section {
    margin-top: 20px !important;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    border-radius: 0 !important;
}


/*
 * Chapter header becomes a simple horizontal band,
 * not the top of a container.
 */

.deep-dive-major-section
> .section-heading {
    margin: 0 0 10px !important;

    padding: 7px 0 8px 43px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom:
        2px solid #a9ccdf !important;

    border-radius: 0 !important;
}


.deep-dive-major-section
> .section-heading::before {
    left: 0 !important;
    top: 8px !important;

    width: 31px;

    font-size: 1.15rem;
}


.deep-dive-major-section
> .section-heading h2 {
    font-size: 1.05rem;
}


.deep-dive-major-section
> .section-heading .section-subtitle {
    font-size: 0.71rem;
}


/* ----------------------------------------------------------
   HISTORICAL WEATHER
   ---------------------------------------------------------- */

.deep-dive-history .history-graph-grid {
    gap: 11px;
}


.deep-dive-history .history-graph-card {
    padding: 11px;

    border-color: #d8e2e8;

    box-shadow:
        0 1px 4px
        rgba(31, 65, 86, 0.05);
}


.deep-dive-history
.history-graph-controls {
    margin: 5px 0 7px;
}


.deep-dive-history
.station-records-panel {
    margin: 12px 0 0;

    padding: 11px;

    background: transparent;

    border:
        1px solid #d8e2e8;

    border-radius: 8px;
}


.deep-dive-history
.station-records-grid {
    gap: 8px;
}


.deep-dive-history
.station-record-item {
    padding: 9px 10px;
}


.deep-dive-history
.climate-summary-card {
    margin-top: 12px;

    padding: 11px;

    background: transparent !important;

    border:
        1px solid #d8e2e8;

    border-radius: 8px;

    box-shadow: none !important;
}


.deep-dive-history
.climate-summary-card
.section-heading {
    margin-bottom: 6px;
}


.deep-dive-history
.climate-description {
    margin-bottom: 9px;
}


.deep-dive-history
.climate-ytd-title {
    margin: 9px 0 6px;
}


.deep-dive-history
.climate-ytd-grid {
    gap: 8px;
}


.deep-dive-history
.climate-ytd-grid
> .geekery-card {
    padding: 10px 11px;
}


.deep-dive-history
.climate-archive-heading {
    margin-top: 13px;

    padding-top: 11px;
}


.deep-dive-history
.climate-year-row {
    padding: 6px 0;
}


.deep-dive-history
.climate-month-links {
    gap: 4px;
}


.deep-dive-history
.climate-month-link {
    min-width: 31px;

    padding: 3px 5px;
}


/* ----------------------------------------------------------
   SUN & MOON
   ---------------------------------------------------------- */

.deep-dive-almanac
.almanac-grid {
    gap: 12px;
}


.deep-dive-almanac
.almanac-card {
    box-shadow:
        0 1px 4px
        rgba(31, 65, 86, 0.05);
}


.deep-dive-almanac
.almanac-card h3 {
    padding: 9px 12px;
}


.deep-dive-almanac
.almanac-row {
    padding: 7px 12px;
}


/* ----------------------------------------------------------
   INSTRUMENTATION
   ---------------------------------------------------------- */

.deep-dive-instrumentation
.geekery-grid {
    gap: 10px;
}


.deep-dive-instrumentation
.geekery-card {
    min-height: 0;

    padding: 12px 13px;

    box-shadow:
        0 1px 4px
        rgba(31, 65, 86, 0.05);
}


/* ----------------------------------------------------------
   STATION DETAILS
   DENSE TECHNICAL PANEL
   ---------------------------------------------------------- */

.deep-dive-station-details
.telemetry-panel {
    border:
        1px solid #d4e0e7;

    border-radius: 8px;
}


.deep-dive-station-details
.telemetry-item {
    min-height: 0;

    padding: 8px 12px;
}


.deep-dive-station-details
.telemetry-mars {
    padding: 9px 12px;
}


/* ----------------------------------------------------------
   REDUCE GENERIC CARD AIR
   ---------------------------------------------------------- */

.geekery-grid {
    gap: 10px;
}


.geekery-card {
    padding: 12px 13px;
}


.observation-label {
    margin-bottom: 3px;
}


.rainfall-summary-card {
    padding-top: 12px;
    padding-bottom: 12px;
}


.rainfall-summary-item {
    padding:
        1px 15px;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 620px) {

    .deep-dive-major-section
    > .section-heading {
        padding-left: 39px !important;
    }


    .deep-dive-major-section
    > .section-heading::before {
        left: 0 !important;
    }


    .deep-dive-group-banner {
        gap: 6px;
    }


    .deep-dive-atmosphere-subsection
    .geekery-grid {
        gap: 8px;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - PASS 4
   ANTI-CARD / CONTINUOUS DATA FLOW
   ========================================================== */


/* ----------------------------------------------------------
   ATMOSPHERE: FLATTEN SIMPLE DATA CARDS
   ---------------------------------------------------------- */

.deep-dive-atmosphere-subsection
.geekery-grid {
    gap: 0;
}


.deep-dive-atmosphere-subsection
.geekery-card {
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent !important;

    padding: 9px 12px;
}


/*
 * Simple rows become table-like cells with separators.
 */

.deep-dive-atmosphere-subsection
.geekery-card + .geekery-card {
    border-left:
        1px solid #d7e1e7 !important;
}


/* second row in wind gets a top divider */

#wind
+ .section-subtitle {
    margin-bottom: 0;
}


.deep-dive-atmosphere-subsection
.geekery-grid {
    border-top:
        1px solid #e0e8ed;

    border-bottom:
        1px solid #e0e8ed;
}


/* Wind: six values become a dense 3x2 matrix */

.deep-dive-atmosphere-subsection
.geekery-grid {
    background:
        rgba(255,255,255,0.30);
}


.deep-dive-atmosphere-subsection
.geekery-card:nth-child(n+4) {
    border-top:
        1px solid #dfe7ec !important;
}


/* Rainfall stays one compact horizontal band */

.rainfall-summary-card {
    padding: 8px 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent !important;
}


.rainfall-summary-grid {
    border-top:
        1px solid #e0e8ed;

    border-bottom:
        1px solid #e0e8ed;
}


.rainfall-summary-item {
    padding:
        8px 15px;
}


/* ----------------------------------------------------------
   SOLAR / UV: KEEP GAUGE CARDS
   THEY EARN THEIR SPACE
   ---------------------------------------------------------- */

#solar-uv
~ .geekery-grid
.geekery-card {
    border-radius: 8px;
}


/* ----------------------------------------------------------
   HISTORICAL: KEEP GRAPHS, FLATTEN RECORDS
   ---------------------------------------------------------- */

.deep-dive-history
.station-records-panel {
    padding: 0;

    border: 0;

    background: transparent;
}


.deep-dive-history
.station-records-heading {
    margin-bottom: 5px;
}


.deep-dive-history
.station-records-grid {
    gap: 0;

    border-top:
        1px solid #d9e3e9;

    border-bottom:
        1px solid #d9e3e9;
}


.deep-dive-history
.station-record-item {
    padding: 8px 10px;

    border: 0;
    border-radius: 0;

    background: transparent;
}


.deep-dive-history
.station-record-item:not(:nth-child(4n+1)) {
    border-left:
        1px solid #e0e7eb;
}


.deep-dive-history
.station-record-item:nth-child(n+5) {
    border-top:
        1px solid #e0e7eb;
}


.deep-dive-history
.station-record-label {
    font-size: 0.68rem;
}


.deep-dive-history
.station-record-value {
    margin-top: 2px;

    font-size: 1.02rem;
}


.deep-dive-history
.station-record-date {
    font-size: 0.72rem;
}


.deep-dive-history
.station-records-note {
    margin-top: 6px;
}


/* ----------------------------------------------------------
   CURRENT YEAR: ONE SUMMARY STRIP
   ---------------------------------------------------------- */

.deep-dive-history
.climate-ytd-grid {
    gap: 0;

    border-top:
        1px solid #d9e3e9;

    border-bottom:
        1px solid #d9e3e9;
}


.deep-dive-history
.climate-ytd-grid
> .geekery-card {
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent !important;

    padding: 8px 10px;
}


.deep-dive-history
.climate-ytd-grid
> .geekery-card
+ .geekery-card {
    border-left:
        1px solid #e0e7eb !important;
}


/* ----------------------------------------------------------
   CLIMATOLOGY ARCHIVE: DENSER TABLE FEEL
   ---------------------------------------------------------- */

.deep-dive-history
.climate-summary-card {
    border: 0;

    padding: 0;

    background: transparent !important;
}


.deep-dive-history
.climate-archive-heading {
    margin-top: 12px;

    padding-top: 10px;
}


.deep-dive-history
.climate-year-row {
    grid-template-columns:
        88px minmax(0, 1fr);

    gap: 8px;

    padding: 5px 0;
}


.deep-dive-history
.climate-year-label {
    gap: 5px;
}


.deep-dive-history
.climate-month-link {
    min-width: 28px;

    padding: 2px 4px;

    border-radius: 4px;

    font-size: 0.68rem;
}


/* ----------------------------------------------------------
   SUN & MOON: TABLES, NOT CARDS
   ---------------------------------------------------------- */

.deep-dive-almanac
.almanac-grid {
    gap: 18px;
}


.deep-dive-almanac
.almanac-card {
    border: 0;
    border-radius: 0;

    box-shadow: none;

    background: transparent;

    overflow: visible;
}


.deep-dive-almanac
.almanac-card h3 {
    padding: 0 0 6px;

    background: transparent;

    border-bottom:
        1px solid #a9ccdf;

    font-size: 0.94rem;
}


.deep-dive-almanac
.almanac-row {
    padding: 6px 0;

    border-bottom:
        1px solid #e1e8ec;
}


.deep-dive-almanac
.almanac-label {
    font-size: 0.76rem;
}


.deep-dive-almanac
.almanac-value {
    font-size: 0.82rem;
}


/* ----------------------------------------------------------
   INSTRUMENTATION: EQUIPMENT LIST, NOT CARD GRID
   ---------------------------------------------------------- */

.deep-dive-instrumentation
.geekery-grid {
    grid-template-columns:
        1fr 1fr;

    gap: 0;

    border-top:
        1px solid #d9e3e9;

    border-bottom:
        1px solid #d9e3e9;
}


.deep-dive-instrumentation
.geekery-card {
    min-height: 0;

    padding: 10px 12px;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background: transparent !important;
}


.deep-dive-instrumentation
.geekery-card:nth-child(even) {
    border-left:
        1px solid #e0e7eb !important;
}


.deep-dive-instrumentation
.geekery-card:nth-child(n+3) {
    border-top:
        1px solid #e0e7eb !important;
}


.deep-dive-instrumentation
.observation-value {
    font-size: 0.96rem;
}


/* ----------------------------------------------------------
   STATION DETAILS: PURE TECHNICAL TABLE
   ---------------------------------------------------------- */

.deep-dive-station-details
.telemetry-panel {
    border: 0;
    border-radius: 0;

    overflow: visible;
}


.deep-dive-station-details
.telemetry-grid {
    border-top:
        1px solid #d9e3e9;

    border-bottom:
        1px solid #d9e3e9;
}


.deep-dive-station-details
.telemetry-item {
    padding: 7px 10px;

    border-bottom:
        1px solid #e2e8ec;
}


.deep-dive-station-details
.telemetry-item:nth-child(odd) {
    border-right:
        1px solid #e2e8ec;
}


.deep-dive-station-details
.telemetry-item:nth-last-child(-n+2) {
    border-bottom: 0;
}


.deep-dive-station-details
.telemetry-mars {
    padding: 7px 10px;

    background: transparent;

    border-bottom:
        1px solid #d9e3e9;
}


/* ----------------------------------------------------------
   REDUCE BOXINESS GENERALLY
   ---------------------------------------------------------- */

.deep-dive-major-section
.geekery-card {
    box-shadow: none;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .deep-dive-atmosphere-subsection
    .geekery-card + .geekery-card {
        border-left: 0 !important;
    }


    .deep-dive-atmosphere-subsection
    .geekery-card {
        border-top:
            1px solid #e0e7eb !important;
    }


    .deep-dive-atmosphere-subsection
    .geekery-card:first-child {
        border-top: 0 !important;
    }


    .deep-dive-history
    .station-record-item:not(:nth-child(4n+1)) {
        border-left: 0;
    }


    .deep-dive-history
    .station-record-item {
        border-top:
            1px solid #e0e7eb;
    }


    .deep-dive-history
    .station-record-item:first-child {
        border-top: 0;
    }


    .deep-dive-history
    .climate-ytd-grid
    > .geekery-card
    + .geekery-card {
        border-left: 0 !important;

        border-top:
            1px solid #e0e7eb !important;
    }


    .deep-dive-instrumentation
    .geekery-grid {
        grid-template-columns: 1fr;
    }


    .deep-dive-instrumentation
    .geekery-card:nth-child(even) {
        border-left: 0 !important;
    }


    .deep-dive-instrumentation
    .geekery-card + .geekery-card {
        border-top:
            1px solid #e0e7eb !important;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - PASS 5
   TIGHTEN ATMOSPHERE / MARGIN ALMANAC
   ========================================================== */


/* ----------------------------------------------------------
   ATMOSPHERE — DENSER INSTRUMENT PANEL
   ---------------------------------------------------------- */

.deep-dive-group-banner {
    margin-bottom: 3px !important;
    padding-bottom: 5px !important;
}


.deep-dive-atmosphere-subsection {
    padding-top: 4px !important;
    padding-bottom: 5px !important;
}


.deep-dive-atmosphere-subsection
+ .deep-dive-atmosphere-subsection {
    padding-top: 6px !important;
}


.deep-dive-atmosphere-subsection
> .section-heading {
    margin-bottom: 3px;
}


.deep-dive-atmosphere-subsection
> .section-heading h2 {
    font-size: 0.90rem;
}


.deep-dive-atmosphere-subsection
> .section-heading
.section-subtitle {
    font-size: 0.67rem;
    line-height: 1.20;
}


.deep-dive-atmosphere-subsection
.geekery-card {
    padding: 6px 10px;
}


.deep-dive-atmosphere-subsection
.observation-label {
    margin-bottom: 1px;

    font-size: 0.69rem;
}


.deep-dive-atmosphere-subsection
.observation-value {
    font-size: 1.02rem;
    line-height: 1.12;
}


.deep-dive-atmosphere-subsection
.page-update {
    margin-top: 1px;

    font-size: 0.67rem;
    line-height: 1.18;
}


.rainfall-summary-card {
    padding: 4px 0 !important;
}


.rainfall-summary-item {
    padding: 5px 12px;
}


.rainfall-summary-item
.observation-label {
    margin-bottom: 1px;
}


.rainfall-summary-item
.observation-value {
    margin-top: 2px;
}


/* keep solar/UV usable despite denser chapter */

.deep-dive-atmosphere-last
.geekery-card {
    padding-top: 8px;
    padding-bottom: 8px;
}


.deep-dive-atmosphere-last
.solar-band-wrap {
    margin-top: 8px;
}


.deep-dive-atmosphere-last
.uv-scale {
    margin-top: 8px;
}


/* ----------------------------------------------------------
   SUN & MOON — ADD LEFT / RIGHT BREATHING ROOM
   ---------------------------------------------------------- */

.deep-dive-almanac
.almanac-grid {
    margin-left: 18px;
    margin-right: 18px;
}


.deep-dive-almanac
.almanac-card {
    min-width: 0;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .deep-dive-almanac
    .almanac-grid {
        margin-left: 6px;
        margin-right: 6px;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - PASS 6
   TYPOGRAPHY / GAUGE / CLIMATE BALANCE
   ========================================================== */


/* ----------------------------------------------------------
   ATMOSPHERE — ONE TYPOGRAPHIC LANGUAGE
   ---------------------------------------------------------- */

.deep-dive-atmosphere-subsection
> .section-heading h2 {
    font-size: 0.88rem !important;
    font-weight: 750 !important;
    line-height: 1.15 !important;
}


.deep-dive-atmosphere-subsection
> .section-heading
.section-subtitle {
    font-size: 0.69rem !important;
    line-height: 1.25 !important;
}


.deep-dive-atmosphere-subsection
.observation-label {
    font-size: 0.70rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.035em !important;
    line-height: 1.15 !important;
}


.deep-dive-atmosphere-subsection
.observation-value {
    font-size: 1.00rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}


.deep-dive-atmosphere-subsection
.page-update {
    font-size: 0.69rem !important;
    font-weight: 500;
    line-height: 1.25 !important;
}


/* solar qualitative labels should not shout */

.deep-dive-atmosphere-subsection
.solar-band-level,
.deep-dive-atmosphere-subsection
.uv-risk-label {
    margin-top: 2px;

    font-size: 0.68rem !important;
    font-weight: 800 !important;

    letter-spacing: 0.035em !important;
}


/* ----------------------------------------------------------
   SOLAR / UV — SUPPORTING GAUGES, NOT HEADLINERS
   ---------------------------------------------------------- */

.deep-dive-atmosphere-last
.solar-band-wrap {
    width: 74%;
    max-width: 175px;

    margin-top: 6px;
}


.deep-dive-atmosphere-last
.solar-band-bar {
    height: 10px;

    border-radius: 5px;
}


.deep-dive-atmosphere-last
.solar-band-1 {
    border-radius: 5px 0 0 5px;
}


.deep-dive-atmosphere-last
.solar-band-5 {
    border-radius: 0 5px 5px 0;
}


.deep-dive-atmosphere-last
.solar-band-marker {
    top: -4px;

    width: 3px;
    height: 18px;
}


.deep-dive-atmosphere-last
.solar-band-scale {
    margin-top: 3px;

    font-size: 0.48rem;
}


/* UV receives the exact same visual weight */

.deep-dive-atmosphere-last
.uv-scale {
    width: 74%;
    max-width: 175px;

    height: 10px;

    margin: 6px 0 3px;

    border-radius: 5px;
}


.deep-dive-atmosphere-last
.uv-band:first-child {
    border-radius: 5px 0 0 5px;
}


.deep-dive-atmosphere-last
.uv-band:nth-child(5) {
    border-radius: 0 5px 5px 0;
}


.deep-dive-atmosphere-last
.uv-marker {
    top: -4px;

    width: 3px;
    height: 18px;
}


.deep-dive-atmosphere-last
.uv-scale-labels {
    width: 74%;
    max-width: 175px;

    font-size: 0.48rem;
}


/* ----------------------------------------------------------
   CURRENT YEAR & CLIMATE REPORTS
   ---------------------------------------------------------- */

.deep-dive-history
.climate-summary-card
> .section-heading h2 {
    font-size: 0.90rem !important;
}


.deep-dive-history
.climate-summary-card
> .section-heading
.section-subtitle {
    font-size: 0.70rem;
}


.deep-dive-history
.climate-description {
    max-width: 760px;

    color: #667d8a;

    font-size: 0.71rem;
    line-height: 1.35;
}


/* ----------------------------------------------------------
   CLIMATOLOGICAL REPORT ARCHIVE
   USE THE FULL WIDTH
   ---------------------------------------------------------- */

.deep-dive-history
.climate-year-row {
    grid-template-columns:
        74px minmax(0, 1fr);

    gap: 8px;

    align-items: center;
}


.deep-dive-history
.climate-month-links {
    display: grid !important;

    grid-template-columns:
        repeat(12, minmax(0, 1fr));

    gap: 3px;

    width: 100%;
}


.deep-dive-history
.climate-month-link {
    box-sizing: border-box;

    min-width: 0 !important;
    width: 100%;

    padding: 3px 1px;

    text-align: center;

    font-size: 0.65rem;
}


.deep-dive-history
.climate-year-report-link {
    padding: 2px 4px;

    font-size: 0.62rem;
}


/*
 * Slightly quieter row separators keep the archive from
 * looking like a spreadsheet while preserving alignment.
 */

.deep-dive-history
.climate-year-row {
    border-bottom:
        1px solid rgba(120, 145, 160, 0.20);
}


/* ----------------------------------------------------------
   TABLET — 6 MONTHS PER ROW WHEN NEEDED
   ---------------------------------------------------------- */

@media (max-width: 760px) {

    .deep-dive-history
    .climate-month-links {
        grid-template-columns:
            repeat(6, minmax(0, 1fr));
    }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 520px) {

    .deep-dive-history
    .climate-year-row {
        grid-template-columns: 1fr;
    }


    .deep-dive-history
    .climate-month-links {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }


    .deep-dive-atmosphere-last
    .solar-band-wrap,
    .deep-dive-atmosphere-last
    .uv-scale,
    .deep-dive-atmosphere-last
    .uv-scale-labels {
        width: 100%;
        max-width: none;
    }

}


/* ==========================================================
   WEATHER DEEP DIVE - PASS 7
   STRONGER TYPOGRAPHIC CONTRAST
   ========================================================== */


/* ----------------------------------------------------------
   CHAPTER HEADINGS
   ---------------------------------------------------------- */

.deep-dive-group-copy h2,
.deep-dive-major-section
> .section-heading h2 {
    color: #123f63 !important;
    font-weight: 850 !important;
}


.deep-dive-group-number,
.deep-dive-major-section
> .section-heading::before {
    color: #4f8fb5 !important;
}


/* ----------------------------------------------------------
   CHAPTER DESCRIPTIONS
   ---------------------------------------------------------- */

.deep-dive-group-copy p,
.deep-dive-major-section
> .section-heading
.section-subtitle {
    color: #425d6d !important;
}


/* ----------------------------------------------------------
   ATMOSPHERE SUBSECTION HEADINGS
   ---------------------------------------------------------- */

.deep-dive-atmosphere-subsection
> .section-heading h2 {
    color: #194e70 !important;
    font-weight: 800 !important;
}


.deep-dive-atmosphere-subsection
> .section-heading
.section-subtitle {
    color: #526b79 !important;
}


/* ----------------------------------------------------------
   DATA LABELS AND VALUES
   ---------------------------------------------------------- */

.observation-label {
    color: #2e4655 !important;
}


.observation-value {
    color: #102d40 !important;
}


.page-update {
    color: #425b69 !important;
}


/* ----------------------------------------------------------
   HISTORY / RECORDS
   ---------------------------------------------------------- */

.history-graph-card
.observation-label {
    color: #214b67 !important;
}


.station-record-label {
    color: #314a59 !important;
}


.station-record-value {
    color: #122f42 !important;
}


.station-record-date,
.station-records-note,
.station-records-checked {
    color: #526875 !important;
}


/* ----------------------------------------------------------
   CLIMATE SECTION
   ---------------------------------------------------------- */

.climate-summary-card
.section-heading h2,
.climate-archive-heading > div,
.climate-ytd-title {
    color: #174b6e !important;
}


.climate-description,
.climate-archive-heading > span {
    color: #4d6674 !important;
}


.climate-year-label {
    color: #194d70 !important;
}


.climate-month-link {
    color: #174c70 !important;
    font-weight: 800 !important;
}


/* ----------------------------------------------------------
   SUN & MOON
   ---------------------------------------------------------- */

.deep-dive-almanac
.almanac-card h3 {
    color: #164b6f !important;
    font-weight: 850 !important;
}


.almanac-label {
    color: #405966 !important;
}


.almanac-value {
    color: #102e42 !important;
    font-weight: 800 !important;
}


/* ----------------------------------------------------------
   INSTRUMENTATION
   ---------------------------------------------------------- */

.deep-dive-instrumentation
.observation-label {
    color: #405967 !important;
}


.deep-dive-instrumentation
.observation-value {
    color: #154d70 !important;
    font-weight: 850 !important;
}


.deep-dive-instrumentation
.page-update {
    color: #304c5d !important;
}


/* ----------------------------------------------------------
   STATION DETAILS
   ---------------------------------------------------------- */

.deep-dive-station-details
.telemetry-label {
    color: #354f5e !important;
}


.deep-dive-station-details
.telemetry-value {
    color: #123e5c !important;
    font-weight: 850 !important;
}


/* ----------------------------------------------------------
   INTRODUCTION
   ---------------------------------------------------------- */

.deep-dive-intro-copy {
    color: #334f5f !important;
}


.geek-page-intro
.page-data-update {
    color: #516b79 !important;
}


/* ----------------------------------------------------------
   LINKS / SUBNAV
   ---------------------------------------------------------- */

.deep-dive-jump-links a,
.deep-dive-group-subnav a {
    color: #0d5787 !important;
    font-weight: 750 !important;
}


.deep-dive-future-item {
    color: #647987 !important;
}


/* ----------------------------------------------------------
   GAUGE SUPPORT TEXT
   ---------------------------------------------------------- */

.solar-band-level,
.uv-risk-label {
    color: #263f4e !important;
}


.solar-band-scale,
.uv-scale-labels {
    color: #455c69 !important;
}


/* ----------------------------------------------------------
   KEEP TRUE SECONDARY TEXT MUTED
   ---------------------------------------------------------- */

.station-records-checked,
.geek-page-intro
.page-data-update {
    font-weight: 500 !important;
}



/* ==========================================================
   WEATHER DEEP DIVE - PASS 8
   SUBTLE HEADING / TITLE SHADOW
   ========================================================== */


/* Page title */

.geek-section > h2 {
    text-shadow:
        0 1px 1px rgba(25, 55, 75, 0.18);
}


/* Major chapter titles */

.deep-dive-group-copy h2,
.deep-dive-major-section
> .section-heading h2 {
    text-shadow:
        0 1px 1px rgba(20, 55, 80, 0.20);
}


/* Atmosphere subsection headings */

.deep-dive-atmosphere-subsection
> .section-heading h2 {
    text-shadow:
        0 1px 1px rgba(20, 55, 80, 0.16);
}


/* Historical / climate titles */

.station-records-heading h3,
.climate-summary-card
.section-heading h2,
.climate-archive-heading > div,
.climate-ytd-title {
    text-shadow:
        0 1px 1px rgba(20, 55, 80, 0.15);
}


/* Sun / Moon */

.deep-dive-almanac
.almanac-card h3 {
    text-shadow:
        0 1px 1px rgba(20, 55, 80, 0.16);
}


/* Instrumentation / Station Details inherit major title rule */



