/* ==========================================================
   BASIS
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8fc;
    color: #102a56;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
}

canvas {
    display: block;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    min-height: 86px;
    background: linear-gradient(135deg, #0876c9, #0068b7);
    color: #fff;
    box-shadow: 0 3px 15px rgba(0, 70, 130, .12);
}

.header-inner {
    width: min(1440px, calc(100% - 60px));
    min-height: 86px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ==========================================================
   LOGO
   ========================================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
}

.logo-icon {
    font-size: 42px;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.5px;
}

.logo-text span {
    margin-top: 4px;
    font-size: 12px;
    opacity: .9;
}


/* ==========================================================
   NAVIGATIE
   ========================================================== */

.main-nav {
    height: 86px;

    display: flex;
    align-items: center;

    gap: 34px;
}

.main-nav a {
    position: relative;
    height: 100%;

    display: flex;
    align-items: center;

    color: #fff;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    opacity: .88;

    transition: opacity .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
}

.main-nav a.active::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 18px;

    height: 2px;

    border-radius: 2px;
    background: #fff;
}


/* ==========================================================
   UPDATE INFO
   ========================================================== */

.update-info {
    min-width: 180px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 4px;

    font-size: 11px;
}

.update-info > span {
    opacity: .78;
}

.update-info strong {
    font-size: 12px;
    font-weight: 600;
}

.update-info i {
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 6px;

    border-radius: 50%;

    background: #54d63d;

    box-shadow:
        0 0 0 4px rgba(84, 214, 61, .12);
}


/* ==========================================================
   PAGINA
   ========================================================== */

.page-container {
    width: min(1440px, calc(100% - 60px));
    margin: 0 auto;
    padding: 32px 0 55px;
}


/* ==========================================================
   HERO
   ========================================================== */

.weather-hero {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(320px, .65fr);

    min-height: 390px;

    margin-bottom: 24px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e3ebf3;
    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(20, 70, 120, .10);
}

.weather-hero-main {
    padding: 38px;
}

.weather-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.weather-location-label {
    display: inline-block;

    margin-bottom: 8px;

    color: #0879d1;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.weather-hero-top h1 {
    margin: 0;

    font-size: 44px;
    line-height: 1;

    letter-spacing: -1px;

    color: #102f64;
}

.weather-hero-top p {
    margin: 10px 0 0;

    font-size: 14px;

    color: #667d98;
}


/* ==========================================================
   LIVE STATUS
   ========================================================== */

.weather-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 12px;

    border-radius: 999px;

    background: #eefaf0;

    color: #3b7a45;

    font-size: 11px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #45c75a;

    box-shadow:
        0 0 0 4px rgba(69, 199, 90, .12);
}


/* ==========================================================
   HERO HOOFDWEER
   ========================================================== */

.weather-primary {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-top: 34px;
}

.weather-icon-large {
    width: 74px;
    height: 74px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #fff8d5,
            #ffe89c
        );

    font-size: 42px;

    box-shadow:
        0 8px 18px rgba(255, 190, 50, .15);
}

.weather-temperature {
    display: flex;
    align-items: flex-start;
}

.weather-temperature strong {
    font-size: 64px;
    line-height: .95;

    font-weight: 600;

    letter-spacing: -3px;

    color: #102f64;
}

.weather-temperature span {
    margin-top: 7px;
    margin-left: 6px;

    font-size: 22px;

    color: #466584;
}

.weather-condition {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.weather-condition strong {
    font-size: 18px;
    color: #173867;
}

.weather-condition span {
    font-size: 12px;
    color: #71859d;
}


/* ==========================================================
   HERO QUICK STATS
   ========================================================== */

.weather-quick-stats {
    display: grid;

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

    gap: 10px;

    margin-top: 40px;
}

.quick-stat {
    padding: 14px;

    display: flex;
    flex-direction: column;

    gap: 7px;

    background: #fbfdff;

    border: 1px solid #e4ebf2;
    border-radius: 12px;
}

.quick-stat span {
    font-size: 10px;
    color: #71859d;
}

.quick-stat strong {
    font-size: 14px;
    color: #173867;
}


/* ==========================================================
   HERO RECHTERZIJDE
   ========================================================== */

.weather-hero-side {
    position: relative;

    min-height: 390px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(255, 255, 255, .75),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #8fc7e8,
            #cce5f3 55%,
            #eef7fb
        );
}

.weather-hero-side::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.92) 0%,
            rgba(255,255,255,.5) 18%,
            rgba(255,255,255,0) 48%
        );
}

.weather-side-overlay {
    position: absolute;

    top: 38px;
    right: 38px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .35);
}

.weather-side-content {
    position: absolute;

    left: 52px;
    right: 35px;
    bottom: 42px;

    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.weather-side-content span {
    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;

    color: #4d6f8d;
}

.weather-side-content strong {
    font-size: 21px;
    color: #173867;
}

.weather-side-content small {
    max-width: 270px;

    font-size: 11px;
    line-height: 1.5;

    color: #667d98;
}


/* ==========================================================
   KLEINE MEETKAARTEN
   ========================================================== */

.measurement-grid {
    display: grid;

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

    margin-bottom: 24px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e3ebf3;
    border-radius: 18px;

    box-shadow:
        0 5px 25px rgba(20, 70, 120, .08);
}

.measurement-card {
    position: relative;

    min-height: 205px;

    padding: 20px 20px 18px;

    overflow: hidden;

    background: #fff;

    border-right:
        1px solid #e3eaf2;
}

.measurement-card:last-child {
    border-right: none;
}

.measurement-card::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 95px;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(255,255,255,.15) 30%,
            rgba(255,255,255,.77)
        );
}

.measurement-header {
    position: relative;
    z-index: 4;

    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 12px;
    font-weight: 600;

    color: #273e60;
}

.measurement-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f5f9fc;

    font-size: 18px;
}

.measurement-card > strong {
    position: relative;
    z-index: 4;

    display: block;

    margin-top: 16px;

    font-size: 30px;
    line-height: 1;

    font-weight: 600;

    color: #102f64;
}

.measurement-card > strong small {
    margin-left: 2px;

    font-size: 13px;
    font-weight: 400;

    color: #647d98;
}

.measurement-range {
    position: relative;
    z-index: 4;

    margin-top: 9px;

    font-size: 10px;

    color: #69819a;
}

.mini-chart {
    position: absolute;

    z-index: 1;

    left: -5px;
    right: -5px;
    bottom: 0;

    height: 95px;

    pointer-events: none;
}

.mini-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.measurement-card.temperature .measurement-icon {
    background: rgba(255,111,0,.10);
}

.measurement-card.humidity .measurement-icon {
    background: rgba(19,168,168,.10);
}

.measurement-card.pressure .measurement-icon {
    background: rgba(88,101,216,.10);
}

.measurement-card.wind .measurement-icon {
    background: rgba(76,141,246,.10);
}

.measurement-card.rain .measurement-icon {
    background: rgba(45,156,219,.10);
}

.measurement-card.uv .measurement-icon {
    background: rgba(245,166,35,.12);
}


/* ==========================================================
   DASHBOARD
   ========================================================== */

.dashboard-grid {
    display: grid;

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

    gap: 18px;
}

.dashboard-card {
    padding: 22px;

    background: #fff;

    border: 1px solid #e3ebf3;
    border-radius: 16px;

    box-shadow:
        0 5px 20px rgba(20, 70, 120, .07);
}

.dashboard-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.dashboard-card-header h2 {
    margin: 0;

    font-size: 22px;

    color: #173867;
}

.dashboard-card-header > div:first-child > span {
    display: block;

    margin-top: 7px;

    font-size: 12px;

    color: #667d98;
}


/* ==========================================================
   TEMPERATUUR
   ========================================================== */

.temperature-chart-card {
    grid-column: span 5;
    min-height: 470px;
}

.chart-period-buttons {
    display: flex;
    gap: 7px;
}

.period-button {
    min-width: 37px;
    height: 31px;

    padding: 0 9px;

    border-radius: 6px;

    background: #f0f4f8;

    color: #596e88;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.period-button.active {
    background: #0879d1;
    color: #fff;

    box-shadow:
        0 3px 8px rgba(8, 121, 209, .25);
}

.chart-wrapper {
    position: relative;
    height: 285px;
}

.chart-wrapper canvas,
.rain-chart-wrapper canvas,
.small-dashboard-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-statistics {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 20px;

    overflow: hidden;

    border: 1px solid #e1e9f1;
    border-radius: 10px;
}

.chart-stat {
    padding: 13px 15px;

    display: flex;
    flex-direction: column;

    border-right:
        1px solid #e1e9f1;
}

.chart-stat:last-child {
    border-right: 0;
}

.chart-stat span {
    font-size: 11px;
    color: #667d98;
}

.chart-stat strong {
    margin-top: 5px;

    font-size: 18px;

    color: #1d385f;
}

.chart-stat small {
    margin-top: 4px;

    font-size: 10px;

    color: #71859d;
}


/* ==========================================================
   WIND
   ========================================================== */

.wind-chart-card {
    grid-column: span 3;
    min-height: 470px;
}

.wind-compass {
    display: flex;
    justify-content: center;

    margin-top: 8px;
}

.wind-compass-ring {
    position: relative;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    border: 1px solid #dce7f0;

    background:
        radial-gradient(
            circle,
            #fff 0%,
            #fff 53%,
            #f6f9fc 54%,
            #edf4f9 100%
        );
}

.wind-compass-ring::before {
    content: "";

    position: absolute;
    inset: 27px;

    border-radius: 50%;

    border:
        1px solid rgba(70,105,135,.12);
}

.wind-ticks {
    position: absolute;
    inset: 11px;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            rgba(75,105,135,.35) 0deg 1deg,
            transparent 1deg 10deg
        );

    -webkit-mask:
        radial-gradient(
            circle,
            transparent 0 88%,
            #000 89%
        );

    mask:
        radial-gradient(
            circle,
            transparent 0 88%,
            #000 89%
        );
}

.wind-label {
    position: absolute;
    z-index: 5;

    font-size: 10px;
    font-weight: 700;

    color: #63788f;
}

.wind-label.north {
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
}

.wind-label.north-east {
    top: 34px;
    right: 34px;
}

.wind-label.east {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.wind-label.south-east {
    right: 34px;
    bottom: 34px;
}

.wind-label.south {
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
}

.wind-label.south-west {
    left: 32px;
    bottom: 34px;
}

.wind-label.west {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.wind-label.north-west {
    left: 32px;
    top: 34px;
}

.wind-arrow {
    position: absolute;

    z-index: 3;

    left: 50%;
    top: 50%;

    width: 6px;
    height: 78px;

    transform-origin: 50% 100%;
}

.wind-arrow::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 5px;
    height: 63px;

    transform: translateX(-50%);

    border-radius: 999px;

    background:
        linear-gradient(
            to top,
            #145ea8,
            #0b83db
        );
}

.wind-arrow-head {
    position: absolute;

    left: 50%;
    top: -3px;

    transform: translateX(-50%);

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 19px solid #0879d1;
}

.wind-compass-center {
    position: absolute;

    z-index: 6;

    left: 50%;
    top: 50%;

    width: 94px;
    height: 94px;

    transform: translate(-50%, -50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    border: 1px solid #e2ebf3;

    box-shadow:
        0 5px 15px rgba(20,70,120,.10);
}

.wind-compass-center strong {
    font-size: 28px;
    color: #102f64;
}

.wind-compass-center span {
    font-size: 10px;
    color: #71859d;
}

.wind-compass-center small {
    margin-top: 5px;

    font-size: 11px;
    font-weight: 700;

    color: #0879d1;
}

.wind-direction-full {
    margin-top: 10px;

    display: flex;
    flex-direction: column;

    text-align: center;
}

.wind-direction-full strong {
    font-size: 15px;
    color: #173867;
}

.wind-direction-full span {
    font-size: 10px;
    color: #71859d;
}

.wind-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-top: 15px;
}

.wind-info > div {
    padding: 12px;

    display: flex;
    flex-direction: column;

    gap: 5px;

    background: #fbfdff;

    border: 1px solid #e1e9f1;
    border-radius: 9px;
}

.wind-info span,
.wind-beaufort span {
    font-size: 10px;
    color: #667d98;
}

.wind-info strong,
.wind-beaufort strong {
    font-size: 14px;
    color: #1d385f;
}

.wind-beaufort {
    margin-top: 10px;
    padding-top: 10px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #e4ebf2;
}


/* ==========================================================
   REGEN
   ========================================================== */

.rain-chart-card {
    grid-column: span 4;
    min-height: 470px;
}

.rain-status {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 10px;

    border-radius: 999px;

    background: #eef7fd;

    color: #2878ad;

    font-size: 10px;
    font-weight: 700;
}

.rain-status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #2d9cdb;
}

.rain-top {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 16px;
}

.rain-total,
.rain-rate {
    padding: 14px;

    border: 1px solid #e2ebf3;
    border-radius: 12px;

    background: #fbfdff;
}

.rain-total > span,
.rain-rate > span {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    color: #71859d;
}

.rain-total strong,
.rain-rate strong {
    font-size: 26px;
    color: #173867;
}

.rain-total small,
.rain-rate small {
    font-size: 11px;
    font-weight: 400;

    color: #71859d;
}

.rain-chart-wrapper {
    position: relative;

    height: 225px;
}

.rain-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    margin-top: 18px;
}

.rain-summary-grid > div {
    padding: 11px 12px;

    display: flex;
    flex-direction: column;

    gap: 4px;

    background: #fbfdff;

    border: 1px solid #e1e9f1;
    border-radius: 9px;
}

.rain-summary-grid span {
    font-size: 9px;
    color: #71859d;
}

.rain-summary-grid strong {
    font-size: 14px;
    color: #1d385f;
}


/* ==========================================================
   LUCHTDRUK + LUCHTVOCHTIGHEID
   ========================================================== */

.pressure-chart-card,
.humidity-chart-card,
.uv-chart-card {
    grid-column: span 4;

    min-height: 410px;
}

.weather-trend,
.humidity-status {
    padding: 7px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;
}

.weather-trend {
    display: flex;
    gap: 5px;
}

.weather-trend.rising {
    background: #eef8f2;
    color: #3c8b5c;
}

.weather-trend.falling {
    background: #fff1f0;
    color: #c65353;
}

.weather-trend.stable {
    background: #f1f5f8;
    color: #60758b;
}

.pressure-current-row,
.humidity-current-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
}

.dashboard-current-value {
    display: flex;
    align-items: flex-end;

    gap: 5px;
}

.dashboard-current-value strong {
    font-size: 31px;
    line-height: 1;

    color: #173867;
}

.dashboard-current-value span {
    font-size: 12px;
    color: #71859d;
}

.pressure-change,
.humidity-description {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 4px;
}

.pressure-change span,
.humidity-description span {
    font-size: 9px;
    color: #71859d;
}

.pressure-change strong {
    font-size: 13px;
    color: #3c8b5c;
}

.humidity-description strong {
    font-size: 13px;
    color: #13a8a8;
}

.humidity-status.normal {
    background: rgba(19,168,168,.10);
    color: #128c8c;
}

.humidity-status.dry {
    background: rgba(245,166,35,.12);
    color: #b8790d;
}

.humidity-status.high {
    background: rgba(45,156,219,.12);
    color: #2878ad;
}

.small-dashboard-chart {
    position: relative;

    height: 205px;

    margin-top: 17px;
}

.weather-stat-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    margin-top: 17px;

    overflow: hidden;

    border: 1px solid #e1e9f1;
    border-radius: 10px;
}

.weather-stat-row > div {
    padding: 12px 14px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.weather-stat-row > div:first-child {
    border-right:
        1px solid #e1e9f1;
}

.weather-stat-row span {
    font-size: 9px;
    color: #71859d;
}

.weather-stat-row strong {
    font-size: 14px;
    color: #1d385f;
}

.weather-stat-row small {
    font-size: 9px;
    color: #8a9aad;
}


/* ==========================================================
   UV
   ========================================================== */

.uv-current {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 25px;
}

.uv-circle {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ffd54f,
            #ff9800
        );

    color: #fff;

    font-size: 32px;
    font-weight: 700;
}

.uv-text {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.uv-text strong {
    font-size: 19px;
    color: #173867;
}

.uv-text span {
    font-size: 11px;
    color: #71859d;
}

.uv-scale {
    margin-top: 35px;

    display: flex;
    justify-content: space-between;

    font-size: 9px;

    color: #71859d;
}

.uv-bar {
    position: relative;

    height: 10px;

    margin-top: 7px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #60c65a 0%,
            #f4d03f 28%,
            #ff9800 50%,
            #ef5350 72%,
            #9c27b0 100%
        );
}

.uv-marker {
    position: absolute;

    top: 50%;

    width: 17px;
    height: 17px;

    transform: translate(-50%, -50%);

    border: 3px solid #173867;
    border-radius: 50%;

    background: #fff;
}

.uv-maximum {
    margin-top: 25px;
    padding-top: 15px;

    display: flex;
    justify-content: space-between;

    border-top:
        1px solid #e4ebf2;
}

.uv-maximum span {
    font-size: 11px;
    color: #71859d;
}

.uv-maximum strong {
    font-size: 18px;
    color: #173867;
}


/* ==========================================================
   INFO + FOOTER
   ========================================================== */

.dashboard-footer-info {
    margin-top: 26px;

    padding: 18px 22px;

    background: #fff;

    border: 1px solid #e3ebf3;
    border-radius: 14px;
}

.dashboard-footer-info p {
    margin: 0;

    font-size: 12px;

    color: #667d98;
}

.site-footer {
    background: #0d315b;
    color: #fff;
}

.footer-inner {
    width: min(1440px, calc(100% - 60px));

    min-height: 95px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: rgba(255,255,255,.75);

    font-size: 12px;
}

.footer-inner > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer-inner strong {
    font-size: 18px;
    color: #fff;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {

    .measurement-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .temperature-chart-card {
        grid-column: span 12;
    }

    .wind-chart-card,
    .rain-chart-card {
        grid-column: span 6;
    }

}


@media (max-width: 1000px) {

    .weather-hero {
        grid-template-columns: 1fr;
    }

    .weather-hero-side {
        min-height: 220px;
    }

    .pressure-chart-card,
    .humidity-chart-card {
        grid-column: span 6;
    }

    .uv-chart-card {
        grid-column: span 12;
    }

}


@media (max-width: 900px) {

    .header-inner {
        flex-wrap: wrap;

        padding: 18px 0;
    }

    .main-nav {
        order: 3;

        width: 100%;
        height: auto;

        gap: 25px;

        overflow-x: auto;
    }

    .main-nav a {
        height: 40px;

        white-space: nowrap;
    }

    .measurement-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .header-inner,
    .page-container,
    .footer-inner {
        width: calc(100% - 24px);
    }

    .update-info {
        display: none;
    }

    .weather-hero-main {
        padding: 24px;
    }

    .weather-primary {
        flex-wrap: wrap;
    }

    .weather-condition {
        width: 100%;
    }

    .weather-quick-stats {
        grid-template-columns: 1fr;
    }

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

    .dashboard-grid {
        display: block;
    }

    .dashboard-card {
        margin-bottom: 16px;
    }

    .chart-statistics {
        grid-template-columns: 1fr;
    }

    .chart-stat {
        border-right: 0;
        border-bottom: 1px solid #e1e9f1;
    }

    .chart-stat:last-child {
        border-bottom: 0;
    }

    .footer-inner {
        padding: 24px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 15px;
    }

}

/* ==========================================================
   REGEN - GEEN NEERSLAG
   ========================================================== */

.rain-chart-wrapper.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 225px;

    border-radius: 12px;

    background:
        linear-gradient(
            180deg,
            #fbfdff,
            #f7fbfe
        );

    border:
        1px dashed #d8e6f1;
}


.rain-chart-wrapper.is-empty canvas {
    display: none !important;
}


.rain-chart-wrapper.is-empty::after {
    content: "Geen neerslag gemeten vandaag";

    color: #71859d;

    font-size: 12px;

    font-weight: 600;
}


.rain-status.dry {
    background: #f1f5f8;

    color: #60758b;
}


.rain-status.dry .rain-status-dot {
    background: #91a2b2;
}

/* ==========================================================
   PERIODEKNOP - NIET BESCHIKBAAR
   ========================================================== */

.period-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}


/* ==========================================================
   WEERPUK 2.0 - NIEUWE DASHBOARDINDELING
   ========================================================== */

.temperature-chart-card {
    grid-column: span 7;
    min-height: 520px;
}

.wind-chart-card {
    grid-column: span 5;
    min-height: 520px;
}

.pressure-chart-card,
.humidity-chart-card {
    grid-column: span 6;
    min-height: 500px;
}

.rain-chart-card {
    grid-column: span 12;
    min-height: 430px;
}

.period-weather-card .dashboard-card-header {
    margin-bottom: 12px;
}

.period-card-current-row {
    min-height: 58px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pressure-side-status,
.humidity-side-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.period-dashboard-chart {
    position: relative;
    height: 245px;
}

.period-dashboard-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

.compact-statistics {
    margin-top: 14px;
}

.rain-wide-layout {
    display: grid;
    grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: stretch;
}

.rain-wide-summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rain-wide-layout .rain-chart-wrapper {
    height: 315px;
    margin: 0;
}

.period-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

@media (max-width: 1200px) {
    .temperature-chart-card,
    .wind-chart-card {
        grid-column: span 6;
    }

    .pressure-chart-card,
    .humidity-chart-card {
        grid-column: span 6;
    }

    .rain-chart-card {
        grid-column: span 12;
    }
}

@media (max-width: 900px) {
    .temperature-chart-card,
    .wind-chart-card,
    .pressure-chart-card,
    .humidity-chart-card,
    .rain-chart-card {
        grid-column: span 12;
    }

    .rain-wide-layout {
        grid-template-columns: 1fr;
    }

    .rain-wide-layout .rain-chart-wrapper {
        height: 260px;
    }
}

@media (max-width: 650px) {
    .dashboard-card-header {
        flex-direction: column;
    }

    .chart-period-buttons {
        width: 100%;
    }

    .period-button {
        flex: 1;
    }

    .period-card-current-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .pressure-side-status,
    .humidity-side-status {
        width: 100%;
        justify-content: space-between;
    }

    .period-dashboard-chart {
        height: 225px;
    }

    .compact-statistics {
        grid-template-columns: repeat(3, 1fr);
    }

    .compact-statistics .chart-stat {
        border-right: 1px solid #e1e9f1;
        border-bottom: 0;
    }

    .compact-statistics .chart-stat:last-child {
        border-right: 0;
    }
}
/* ==========================================================
   LUCHTDRUK + LUCHTVOCHTIGHEID
   Actuele grote waarde verbergen
   ========================================================== */

.pressure-chart-card .dashboard-current-value,
.humidity-chart-card .dashboard-current-value {
    display: none;
}

.pressure-chart-card .period-card-current-row,
.humidity-chart-card .period-card-current-row {
    justify-content: flex-end;
    min-height: 36px;
    margin-bottom: 8px;
}

.pressure-chart-card .period-dashboard-chart,
.humidity-chart-card .period-dashboard-chart {
    height: 267px;
}

/* ==========================================================
   WEERPUK SVG-LOGO
   ========================================================== */
.logo {
    display: flex;
    align-items: center;
    min-width: 250px;
}

.site-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 250px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .site-logo {
        height: 52px;
        max-width: 220px;
    }
}

@media (max-width: 650px) {
    .logo { min-width: 0; }
    .site-logo {
        height: 44px;
        max-width: 185px;
    }
}

/* ==========================================================
   WEERPUK 2.0 — LICHTE MERKSTIJL
   Alleen kleuren/uitstraling. Geen layoutwijzigingen.
   ========================================================== */

:root {
    --wp-green: #8BC900;
    --wp-green-dark: #669A00;
    --wp-ink: #172019;
    --wp-text: #243129;
    --wp-muted: #6E7B72;
    --wp-bg: #F3F5F1;
    --wp-card: #FFFFFF;
    --wp-line: #E2E7DF;
    --wp-soft-green: #F1F7E8;
}

/* Basis */
body {
    background: var(--wp-bg);
    color: var(--wp-text);
}

/* Lichte header zodat het zwarte/groene logo echt tot zijn recht komt */
.site-header {
    background: rgba(255,255,255,.98);
    color: var(--wp-ink);
    border-bottom: 3px solid var(--wp-green);
    box-shadow: 0 4px 18px rgba(28, 42, 31, .08);
}

.main-nav a {
    color: var(--wp-ink);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--wp-ink);
}

.main-nav a.active::after {
    background: var(--wp-green);
    height: 3px;
}

.update-info {
    color: var(--wp-text);
}

.update-info > span {
    color: var(--wp-muted);
    opacity: 1;
}

.update-info i {
    background: var(--wp-green);
    box-shadow: 0 0 0 4px rgba(139, 201, 0, .13);
}

/* Hoofdkaarten */
.weather-hero,
.measurement-grid,
.dashboard-card,
.period-card,
.temperature-chart-card,
.pressure-chart-card,
.humidity-chart-card,
.rain-period-card {
    border-color: var(--wp-line);
}

.weather-hero,
.measurement-grid,
.dashboard-card,
.period-card,
.temperature-chart-card,
.pressure-chart-card,
.humidity-chart-card,
.rain-period-card,
.measurement-card {
    box-shadow: 0 8px 26px rgba(35, 49, 39, .07);
}

/* Tekst: van marineblauw naar donker antraciet/groen */
.hero-label,
.section-title,
.dashboard-card h2,
.period-card h2,
.temperature-chart-card h2,
.pressure-chart-card h2,
.humidity-chart-card h2,
.rain-period-card h2 {
    color: var(--wp-ink);
}

.hero-location,
.hero-temperature,
.hero-trend strong,
.quick-stat strong,
.measurement-value,
.dashboard-current-value,
.period-stat strong {
    color: #18251C;
}

.hero-subtitle,
.hero-trend span,
.quick-stat span,
.measurement-label,
.period-card-subtitle,
.period-stat span,
.period-stat small {
    color: var(--wp-muted);
}

/* Het kleine ACTUEEL WEER-label wordt een echt WeerPuk-accent */
.hero-label {
    color: var(--wp-green-dark);
}

/* Live */
.live-badge {
    background: var(--wp-soft-green);
    color: #557F00;
}

.live-badge i {
    background: var(--wp-green);
    box-shadow: 0 0 0 4px rgba(139, 201, 0, .12);
}

/* Kleine meetkaartjes iets rustiger */
.quick-stat,
.measurement-card {
    background: #FCFDFC;
    border-color: var(--wp-line);
}

/* Periodeknoppen */
.period-btn {
    background: #EEF1EC;
    color: #5D695F;
}

.period-btn:hover {
    background: #E5EBDD;
    color: var(--wp-ink);
}

.period-btn.active {
    background: var(--wp-green);
    color: #172019;
    box-shadow: 0 3px 9px rgba(102, 154, 0, .22);
}

/* Statuspills */
.status-pill {
    background: #EEF2EC;
    color: #5D695F;
}

/* Grafiek/statistiekvlakken */
.period-stats,
.period-card-stats,
.dashboard-stats {
    border-color: var(--wp-line);
}

/* Rechter hero-paneel: minder fel blauw, meer neutraal weerbeeld */
.weather-visual {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.55),
            rgba(255,255,255,.08)
        ),
        linear-gradient(
            145deg,
            #DDEBE5,
            #EAF1EC 55%,
            #F5F7F3
        );
}

.weather-visual-label,
.weather-visual-text {
    color: #4F6657;
}

.weather-visual-title {
    color: var(--wp-ink);
}

/* Scroll/sectiegevoel */
.page-container {
    color: var(--wp-text);
}

/* Mobiel: lichte header behouden */
@media (max-width: 900px) {
    .site-header {
        background: #FFFFFF;
    }
}

/* ==========================================================
   WEERPUK 2.0 — VERFIJNING V2
   Alleen visuele kleur/merkdetails; layout blijft intact.
   ========================================================== */

/* Iets subtielere groene scheiding onder de header */
.site-header {
    border-bottom-width: 2px;
}

/* Logo iets groter, zonder de header-layout te wijzigen */
.site-logo {
    height: 64px;
    max-width: 270px;
}

@media (max-width: 900px) {
    .site-logo {
        height: 56px;
        max-width: 235px;
    }
}

@media (max-width: 650px) {
    .site-logo {
        height: 47px;
        max-width: 195px;
    }
}

/* Hoofdtypografie: geen marineblauw meer, maar antraciet */
.hero-location,
.hero-temperature,
.hero-trend strong,
.quick-stat strong,
.measurement-value,
.dashboard-current-value,
.period-stat strong {
    color: #172019;
}

/* WeerPuk-groen als echt accent */
.hero-label {
    color: #6F9F00;
}

/* Rechter hero-paneel: zacht groen/grijs i.p.v. blauw */
.weather-visual {
    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(255,255,255,.70) 0,
            rgba(255,255,255,.70) 64px,
            transparent 65px
        ),
        linear-gradient(
            145deg,
            #E1EBE4 0%,
            #EAF0E9 52%,
            #F5F7F3 100%
        );
}

.weather-visual::before {
    background: rgba(255,255,255,.38);
}

.weather-visual-label {
    color: #66806C;
}

.weather-visual-title {
    color: #172019;
}

.weather-visual-text {
    color: #718078;
}

/* Kaarten net iets duidelijker los van de achtergrond */
.weather-hero,
.dashboard-card,
.period-card,
.temperature-chart-card,
.pressure-chart-card,
.humidity-chart-card,
.rain-period-card,
.measurement-grid {
    border-color: #DFE5DD;
    box-shadow: 0 9px 28px rgba(31, 45, 34, .075);
}

/* Actieve periodeknoppen iets minder fel lime */
.period-btn.active {
    background: #86C400;
    color: #172019;
    box-shadow: 0 3px 10px rgba(102, 154, 0, .20);
}

/* Navigatie-accent in dezelfde groentint */
.main-nav a.active::after {
    background: #86C400;
}

/* Live-indicator sluit aan op het logo */
.live-badge {
    background: #F0F7E7;
    color: #557900;
}

.live-badge i,
.update-info i {
    background: #86C400;
}

/* ==========================================================
   WEERPUK 2.0 — FINETUNE V3
   Groter logo + laatste blauwe merkteksten naar antraciet/groen
   ========================================================== */

/* Logo duidelijker aanwezig in de header */
.site-logo {
    height: 72px;
    max-width: 305px;
}

@media (max-width: 900px) {
    .site-logo {
        height: 61px;
        max-width: 260px;
    }
}

@media (max-width: 650px) {
    .site-logo {
        height: 50px;
        max-width: 210px;
    }
}

/* Blauwe hoofdteksten vervangen door de nieuwe WeerPuk-stijl */
.hero-label {
    color: #6F9F00;
}

.hero-location,
.hero-temperature,
.hero-temperature-unit,
.hero-trend strong,
.weather-visual-title {
    color: #172019;
}

.hero-subtitle,
.hero-trend span,
.weather-visual-text {
    color: #6E7B72;
}

.weather-visual-label {
    color: #6F9F00;
}

/* Ook eventuele links/labels in de hero niet terug laten vallen op oud blauw */
.weather-hero a {
    color: #557900;
}

/* ==========================================================
   WEERPUK 2.0 — DEFINITIEVE FINETUNE
   ========================================================== */
.hero-label {
    color: #6F9F00 !important;
}

/* ==========================================================
   WEERPUK 2.0 — MOBIEL DEFINITIEF
   Desktop blijft ongewijzigd; optimalisatie t/m 650px
   ========================================================== */

@media (max-width: 650px) {
    html, body { max-width: 100%; overflow-x: hidden; }
    body { background: #F3F5F1; }

    .site-header { min-height: auto; border-bottom-width: 2px; }
    .header-inner {
        width: 100%; min-height: auto; padding: 12px 18px 0;
        gap: 10px; flex-wrap: wrap;
    }
    .logo { width: 100%; min-width: 0; }
    .site-logo { height: 48px; max-width: 205px; }
    .update-info { display: none; }

    .main-nav {
        order: 3; width: calc(100% + 36px); height: 54px;
        margin: 4px -18px 0; padding: 0 18px; gap: 28px;
        overflow-x: auto; overflow-y: hidden;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a {
        flex: 0 0 auto; height: 54px; font-size: 13px; white-space: nowrap;
    }
    .main-nav a.active::after { bottom: 0; height: 3px; }

    .page-container { width: calc(100% - 24px); padding: 20px 0 36px; }

    .weather-hero {
        display: block; min-height: 0; margin-bottom: 18px; border-radius: 18px;
    }
    .weather-hero-main { padding: 24px 20px 20px; }
    .weather-hero-top { gap: 12px; }
    .weather-location-label { margin-bottom: 6px; font-size: 11px; }
    .weather-hero-top h1 { font-size: 38px; letter-spacing: -1px; }
    .weather-hero-top p { margin-top: 8px; font-size: 13px; }
    .weather-status { padding: 7px 10px; font-size: 10px; }

    .weather-primary { margin-top: 26px; gap: 15px; flex-wrap: wrap; }
    .weather-icon-large {
        width: 62px; height: 62px; border-radius: 18px; font-size: 34px;
    }
    .weather-temperature strong { font-size: 54px; letter-spacing: -2px; }
    .weather-temperature span { margin-top: 5px; font-size: 19px; }
    .weather-condition {
        width: 100%; padding-left: 77px; margin-top: -7px;
    }
    .weather-condition strong { font-size: 16px; }
    .weather-condition span { font-size: 11px; }

    .weather-quick-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px; margin-top: 25px;
    }
    .quick-stat {
        min-width: 0; padding: 12px; gap: 5px; border-radius: 11px;
    }
    .quick-stat span { font-size: 9px; }
    .quick-stat strong { font-size: 13px; }

    .weather-hero-side { display: none; }

    .measurement-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0; margin-bottom: 18px; border-radius: 16px;
    }
    .measurement-card {
        min-height: 155px; padding: 16px 14px 14px;
        border-right: 1px solid #e3eaf2;
        border-bottom: 1px solid #e3eaf2;
    }
    .measurement-card:nth-child(2n) { border-right: 0; }
    .measurement-card:last-child { border-bottom: 0; }
    .measurement-header { gap: 7px; font-size: 10px; }
    .measurement-icon { width: 27px; height: 27px; font-size: 16px; }
    .measurement-card > strong { margin-top: 13px; font-size: 25px; }
    .measurement-card > strong small { font-size: 11px; }
    .measurement-range { margin-top: 7px; font-size: 9px; }
    .mini-chart, .measurement-card::before { height: 72px; }

    .dashboard-grid { display: block; }
    .dashboard-card {
        min-height: 0 !important; margin-bottom: 16px;
        padding: 20px 16px; border-radius: 16px;
    }
    .dashboard-card-header {
        flex-direction: column; gap: 14px; margin-bottom: 16px;
    }
    .dashboard-card-header h2 { font-size: 22px; }
    .dashboard-card-header > div:first-child > span {
        margin-top: 5px; font-size: 11px;
    }

    .chart-period-buttons { width: 100%; gap: 7px; }
    .period-button, .period-btn {
        flex: 1; min-width: 0; height: 38px;
        padding: 0 6px; border-radius: 8px; font-size: 11px;
    }

    .chart-wrapper { height: 255px; }
    .period-dashboard-chart,
    .pressure-chart-card .period-dashboard-chart,
    .humidity-chart-card .period-dashboard-chart { height: 235px; }
    .rain-chart-wrapper,
    .rain-wide-layout .rain-chart-wrapper { height: 245px; }

    .chart-statistics, .compact-statistics {
        grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px;
    }
    .chart-stat, .compact-statistics .chart-stat {
        min-width: 0; padding: 11px 9px;
        border-right: 1px solid #e1e9f1; border-bottom: 0;
    }
    .chart-stat:last-child,
    .compact-statistics .chart-stat:last-child { border-right: 0; }
    .chart-stat span { font-size: 9px; }
    .chart-stat strong { font-size: 15px; }
    .chart-stat small { font-size: 9px; }

    .period-card-current-row {
        min-height: 0; margin-bottom: 5px;
        flex-direction: row; align-items: center;
    }
    .pressure-chart-card .period-card-current-row,
    .humidity-chart-card .period-card-current-row {
        min-height: 28px; justify-content: flex-end;
    }
    .pressure-side-status, .humidity-side-status {
        width: 100%; justify-content: space-between; gap: 8px;
    }
    .weather-stat-row { margin-top: 14px; }

    .rain-wide-layout { display: block; }
    .rain-top {
        grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px;
    }
    .rain-total, .rain-rate { padding: 12px; }
    .rain-total strong, .rain-rate strong { font-size: 22px; }
    .rain-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px; margin-top: 14px;
    }
    .rain-period-card, .rain-chart-card { overflow: hidden; }
    .rain-period-card .chart-statistics,
    .rain-chart-card .chart-statistics { width: 100%; }

    .wind-compass-ring {
        width: min(230px, 72vw); height: min(230px, 72vw);
    }

    .footer-inner {
        width: calc(100% - 32px); min-height: auto; padding: 22px 0;
        gap: 12px; flex-direction: column; align-items: flex-start;
    }
}

@media (max-width: 390px) {
    .header-inner { padding-left: 14px; padding-right: 14px; }
    .main-nav {
        width: calc(100% + 28px); margin-left: -14px; margin-right: -14px;
        padding-left: 14px; padding-right: 14px; gap: 23px;
    }
    .weather-hero-main { padding-left: 17px; padding-right: 17px; }
    .weather-hero-top h1 { font-size: 35px; }
    .weather-temperature strong { font-size: 50px; }
    .measurement-grid { grid-template-columns: 1fr 1fr; }
    .measurement-card { padding-left: 11px; padding-right: 11px; }
    .measurement-header { font-size: 9px; }
    .dashboard-card { padding-left: 14px; padding-right: 14px; }
}



/* ==========================================================
   WEERPUK 2.0 — MOBIELE FINETUNE V2
   Navigatiehint + rustigere meetkaarten + oude regenwaarden weg
   ========================================================== */

/* Oude technische regenwaarden blijven alleen voor JS bestaan. */
.rain-legacy-values,
.rain-legacy-values[hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    /* Horizontale navigatie blijft swipebaar. De fade rechts laat zien
       dat er nog een menu-item buiten beeld staat. */
    .main-nav {
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        padding-right: 52px;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

@media (max-width: 650px) {
    /* De 2x2 meetkaarten blijven compact, maar de grafiek begint lager
       zodat lijn en bereiktekst elkaar niet meer raken. */
    .measurement-card {
        min-height: 285px;
        padding: 24px 22px 20px;
    }

    .measurement-card > strong {
        margin-top: 22px;
    }

    .measurement-range {
        margin-top: 12px;
    }

    .mini-chart {
        height: 100px;
        bottom: 0;
    }

    .measurement-card::before {
        height: 118px;
        background: linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(255,255,255,.30) 26%,
            rgba(255,255,255,.86) 100%
        );
    }
}


/* WeerPuk 2.1.2 - bredere desktopweergave */
@media (min-width: 901px) {
    .header-inner,
    .page-container,
    .footer-inner {
        width: min(1500px, calc(100% - 48px));
    }
}

/* WeerPuk 2.1.3 — alleen headerlogo */
.site-header .logo {
    min-width: 270px;
}
.site-header .site-logo {
    width: 255px;
    height: auto;
    max-width: 255px;
    object-fit: contain;
}
@media (max-width: 900px) {
    .site-header .logo { min-width: 225px; }
    .site-header .site-logo { width: 220px; max-width: 220px; height: auto; }
}
@media (max-width: 650px) {
    .site-header .logo { min-width: 0; }
    .site-header .site-logo { width: 195px; max-width: 195px; height: auto; }
}


/* ==========================================================
   WEERPUK 2.1.8 — OVER WEERPUK
   ========================================================== */

.about-section {
    scroll-margin-top: 110px;
    margin: 30px 0 8px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 28px;
    align-items: stretch;
    padding: 44px;
    background: #fff;
    border: 1px solid #dfe7df;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(20, 45, 35, .055);
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #65a30d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.about-hero h2 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #0b2230;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.about-hero-copy p {
    max-width: 820px;
    margin: 0;
    color: #5f7280;
    font-size: 16px;
    line-height: 1.8;
}

.about-hero-copy .about-lead {
    margin-bottom: 12px;
    color: #304955;
    font-size: 18px;
}

.about-location-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 250px;
    padding: 34px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 85% 18%, rgba(132, 204, 22, .18), transparent 34%),
        linear-gradient(145deg, #edf5f1 0%, #f7faf8 55%, #eef4ef 100%);
    border: 1px solid #dfe9e2;
    border-radius: 20px;
}

.about-location-kicker {
    color: #688074;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.about-location-card strong {
    margin-top: 8px;
    color: #0b2230;
    font-size: 30px;
    line-height: 1.15;
}

.about-location-card p {
    margin: 12px 0 22px;
    color: #61756a;
    line-height: 1.65;
}

.about-live-line {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #39751d;
    font-size: 13px;
    font-weight: 700;
}

.about-live-line i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #84cc16;
    box-shadow: 0 0 0 5px rgba(132, 204, 22, .12);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.about-card,
.about-flow-card,
.about-story,
.about-future {
    background: #fff;
    border: 1px solid #dfe7df;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(20, 45, 35, .045);
}

.about-card {
    padding: 30px;
}

.about-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    background: #f2f7f2;
    border-radius: 14px;
    font-size: 24px;
}

.about-card h3,
.about-flow-card h3,
.about-story h3,
.about-future h3 {
    margin: 0 0 10px;
    color: #102936;
    font-size: 21px;
}

.about-card p,
.about-flow-card p,
.about-story p,
.about-future p {
    margin: 0;
    color: #647986;
    line-height: 1.72;
}

.about-flow-card {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: center;
    margin-top: 20px;
    padding: 36px;
}

.about-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.about-flow > b {
    color: #9cafb4;
    font-size: 24px;
    font-weight: 500;
}

.about-flow-step {
    flex: 1;
    min-width: 0;
    padding: 22px 16px;
    text-align: center;
    background: #f7faf8;
    border: 1px solid #e3ebe5;
    border-radius: 16px;
}

.about-flow-step > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin: 0 auto 12px;
    color: #fff;
    background: #75b719;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

.about-flow-step strong,
.about-flow-step small {
    display: block;
}

.about-flow-step strong {
    color: #17323e;
    font-size: 15px;
}

.about-flow-step small {
    margin-top: 5px;
    color: #81929a;
    font-size: 12px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 20px;
    margin-top: 20px;
}

.about-story,
.about-future {
    padding: 34px;
}

.about-story p + p {
    margin-top: 12px;
}

.about-future {
    background: linear-gradient(145deg, #f3f8ef, #fbfdfb);
}

.about-note {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 4px;
    padding: 18px 22px;
    color: #5f7569;
    background: #f7faf7;
    border: 1px solid #e1e9e2;
    border-radius: 16px;
    font-size: 13px;
}

.about-note strong {
    color: #17323e;
}

@media (max-width: 900px) {
    .about-section {
        scroll-margin-top: 145px;
    }

    .about-hero,
    .about-flow-card,
    .about-story-grid {
        grid-template-columns: 1fr;
    }

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

    .about-hero {
        padding: 30px;
    }

    .about-location-card {
        min-height: 210px;
    }
}

@media (max-width: 650px) {
    .about-hero,
    .about-card,
    .about-flow-card,
    .about-story,
    .about-future {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .about-hero h2 {
        font-size: 36px;
    }

    .about-hero-copy .about-lead {
        font-size: 16px;
    }

    .about-flow {
        align-items: stretch;
        flex-direction: column;
    }

    .about-flow > b {
        transform: rotate(90deg);
        align-self: center;
        line-height: 1;
    }

    .about-note {
        flex-direction: column;
        gap: 4px;
    }
}
\n\n/* WeerPuk 2.1.9 — lokaal biodiversiteitsblok */\n.about-biodiversity-card {\n    display: grid;\n    grid-template-columns: auto minmax(0, 1fr) auto;\n    gap: 26px;\n    align-items: center;\n    margin-top: 20px;\n    padding: 30px 34px;\n    background: linear-gradient(135deg, #f7faf5 0%, #f0f7ec 100%);\n    border: 1px solid #dfe9dc;\n    border-radius: 20px;\n    box-shadow: 0 10px 28px rgba(20, 45, 35, .04);\n}\n.about-biodiversity-mark {\n    display: grid;\n    place-items: center;\n    width: 66px;\n    height: 66px;\n    background: #fff;\n    border: 1px solid #e1eadf;\n    border-radius: 18px;\n    font-size: 32px;\n}\n.about-biodiversity-copy h3 {\n    margin: 0 0 9px;\n    color: #102936;\n    font-size: 22px;\n}\n.about-biodiversity-copy p {\n    max-width: 900px;\n    margin: 0;\n    color: #647986;\n    line-height: 1.7;\n}\n.about-biodiversity-copy p + p { margin-top: 9px; }\n.about-biodiversity-link {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 9px;\n    min-width: 245px;\n    padding: 14px 18px;\n    color: #17323e !important;\n    background: #fff;\n    border: 1px solid #d7e4d4;\n    border-radius: 13px;\n    font-size: 13px;\n    font-weight: 800;\n    line-height: 1.3;\n    text-align: center;\n    text-decoration: none !important;\n    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;\n}\n.about-biodiversity-link:hover {\n    transform: translateY(-1px);\n    border-color: #a8c98f;\n    box-shadow: 0 8px 20px rgba(54, 94, 45, .08);\n}\n.about-biodiversity-link span { color: #65a30d; font-size: 17px; }\n@media (max-width: 900px) {\n    .about-biodiversity-card { grid-template-columns: auto 1fr; }\n    .about-biodiversity-link { grid-column: 1 / -1; width: 100%; }\n}\n@media (max-width: 650px) {\n    .about-biodiversity-card {\n        grid-template-columns: 1fr;\n        gap: 18px;\n        padding: 24px 20px;\n        border-radius: 18px;\n    }\n    .about-biodiversity-mark { width: 54px; height: 54px; font-size: 27px; }\n    .about-biodiversity-link { grid-column: auto; min-width: 0; }\n}\n

/* ==========================================================
   WEERPUK 2.1.10 — VASTE HEADER (FIXED)
   ========================================================== */

:root {
    --weerpuk-fixed-header-height: 92px;
}

.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 0 rgba(15, 40, 30, 0.08),
                0 8px 24px rgba(15, 40, 30, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Ruimte reserveren omdat fixed uit de normale documentstroom staat. */
body {
    padding-top: var(--weerpuk-fixed-header-height) !important;
}

/* Navigeren naar secties: titel blijft onder de header zichtbaar. */
#actueel,
#grafieken,
#historie,
#extremen,
#over-weerpuk {
    scroll-margin-top: calc(var(--weerpuk-fixed-header-height) + 20px);
}

/* Mobiel: bestaande logo-afmetingen behouden; alleen header/menu praktisch maken. */
@media (max-width: 760px) {
    :root {
        --weerpuk-fixed-header-height: 132px;
    }

    .main-nav {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    .main-nav a {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    :root {
        --weerpuk-fixed-header-height: 128px;
    }
}


/* ==========================================================
   WEERPUK 2.1.12 — COMPACTE MOBIELE HEADER + NAVIGATIEPIJLEN
   Desktop blijft ongewijzigd.
   ========================================================== */

@media (max-width: 760px) {
    :root {
        --weerpuk-fixed-header-height: 126px;
    }

    .site-header .header-inner {
        position: relative;
        min-height: 0 !important;
        padding: 8px 14px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 5px !important;
    }

    .site-header .logo {
        align-self: flex-start !important;
        display: block !important;
        margin: 0 0 1px 12px !important;
        line-height: 0 !important;
    }

    /* Alleen mobiel kleiner; desktoplogo blijft exact zoals 2.1.11. */
    .site-header .site-logo {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 230px !important;
        max-height: 62px !important;
        object-fit: contain !important;
    }

    .site-header .update-info {
        display: none !important;
    }

    .site-header .main-nav {
        width: calc(100% - 58px) !important;
        max-width: none !important;
        margin: 0 29px !important;
        padding: 0 !important;
        gap: 25px !important;
        min-height: 45px !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .site-header .main-nav::-webkit-scrollbar {
        display: none;
    }

    .site-header .main-nav a {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        min-height: 45px !important;
        padding: 0 1px !important;
        white-space: nowrap !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }

    .mobile-nav-arrow {
        position: absolute;
        bottom: 4px;
        z-index: 100002;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 37px;
        padding: 0;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.94);
        color: #60727a;
        font: inherit;
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        opacity: 0;
        pointer-events: none;
        transition: opacity .18s ease, color .18s ease, background .18s ease;
        box-shadow: 0 2px 9px rgba(15,40,30,.07);
    }

    .mobile-nav-arrow.visible {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-arrow:hover,
    .mobile-nav-arrow:focus-visible {
        color: #6ab80d;
        background: #fff;
        outline: none;
    }

    .mobile-nav-arrow-left {
        left: 12px;
    }

    .mobile-nav-arrow-right {
        right: 12px;
    }

    #actueel,
    #grafieken,
    #historie,
    #extremen,
    #over-weerpuk {
        scroll-margin-top: 142px !important;
    }
}

@media (max-width: 420px) {
    :root {
        --weerpuk-fixed-header-height: 120px;
    }

    .site-header .site-logo {
        max-width: 205px !important;
        max-height: 56px !important;
    }

    .site-header .main-nav {
        gap: 22px !important;
    }

    .site-header .main-nav a {
        font-size: 13.5px !important;
    }

    #actueel,
    #grafieken,
    #historie,
    #extremen,
    #over-weerpuk {
        scroll-margin-top: 136px !important;
    }
}

/* 2.1.14: navigatiepijlen uitsluitend zichtbaar op mobiel. */
@media (min-width: 761px) {
    .mobile-nav-arrow,
    .mobile-nav-arrow.visible {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* WeerPuk 2.1.15: verberg uitsluitend de Kadence theme-footer op dashboardpagina. */
body.weerpuk-dashboard-page #colophon,
body.weerpuk-dashboard-page footer#colophon,
body.weerpuk-dashboard-page .site-footer-wrap,
body.weerpuk-dashboard-page .site-bottom-footer-wrap {
    display: none !important;
}

/* WeerPuk 2.1.16 - aparte historiepagina */
body.weerpuk-history-page #colophon,body.weerpuk-history-page .site-footer-wrap,body.weerpuk-history-page .site-bottom-footer-wrap{display:none!important}
.weerpuk-history-page{color:#102936}.wp-history-content{padding-bottom:45px}.history-intro,.history-panel,.history-charts article{background:#fff;border:1px solid #e0e8e1;border-radius:20px;padding:30px;margin-bottom:20px;box-shadow:0 8px 25px rgba(20,45,35,.04)}.history-intro h1{font-size:clamp(32px,4vw,52px);margin:6px 0}.history-intro p,.history-panel p{color:#647986}.history-panel h2,.history-charts h2{font-size:21px;margin:0 0 20px}.history-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.history-periods{display:flex;gap:5px;padding:4px;background:#f2f6f9;border-radius:10px}.history-periods button,.history-view{padding:11px 17px;border-radius:8px;cursor:pointer}.history-periods button{background:transparent;color:#4d6170}.history-periods button.active,.history-view{background:#0876c9;color:white}.history-controls label{display:flex;align-items:center;gap:9px;color:#566d78}.history-controls input{border:1px solid #dbe4e9;padding:10px;border-radius:8px}.history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:25px}.history-stats article{padding:20px;background:#f6f9f7;border-radius:13px}.history-stats span,.history-stats strong{display:block}.history-stats span{font-size:13px;color:#657a86}.history-stats strong{font-size:23px;margin-top:10px}.history-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.history-charts article{margin:0}.history-charts article>div{height:275px}.history-table-scroll{overflow-x:auto}.history-table{width:100%;border-collapse:collapse;white-space:nowrap}.history-table th,.history-table td{text-align:left;padding:13px;border-bottom:1px solid #e7ecea}.history-table th{color:#657986;font-size:13px;background:#f7faf8}@media(max-width:800px){.history-stats,.history-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:580px){.history-stats,.history-charts{grid-template-columns:1fr}.history-intro,.history-panel,.history-charts article{padding:20px}.history-stats strong{font-size:21px}}

/* WeerPuk 2.1.17: historie grafieken en mobiele periodekiezer */
.history-charts article{border-radius:20px;box-shadow:0 8px 25px rgba(20,45,35,.04)}
.history-charts article>div{height:300px}
@media(max-width:580px){
 .weerpuk-history-page .history-panel{min-width:0}
 .weerpuk-history-page .history-controls{display:flex;flex-direction:column;align-items:stretch;gap:14px}
 .weerpuk-history-page .history-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:4px;box-sizing:border-box}
 .weerpuk-history-page .history-periods button{min-width:0;width:100%;padding:11px 3px!important;white-space:nowrap;overflow:visible;word-break:normal!important;overflow-wrap:normal!important;font-size:14px!important;line-height:1.25}
 .weerpuk-history-page .history-controls label{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
 .weerpuk-history-page .history-controls input{max-width:100%;min-width:0;box-sizing:border-box;font-size:16px}
 .weerpuk-history-page .history-view{align-self:flex-start;white-space:nowrap}
 .weerpuk-history-page #history-range{overflow-wrap:anywhere;line-height:1.6}
 .weerpuk-history-page .history-charts article>div{height:245px}
}

/* ==========================================================
   WEERPUK 2.1.19 — EXTREMENPAGINA
   ========================================================== */
body.weerpuk-extremes-body #colophon,
body.weerpuk-extremes-body .site-footer-wrap,
body.weerpuk-extremes-body .site-bottom-footer-wrap { display: none !important; }
.weerpuk-extremes-page { color: #102936; }
.wp-extremes-content { padding-top: 32px; padding-bottom: 52px; }
.weerpuk-extremes-page .extremes-hero,
.weerpuk-extremes-page .extremes-filter,
.weerpuk-extremes-page .extremes-record,
.weerpuk-extremes-page .extremes-ranking,
.weerpuk-extremes-page .extremes-explanation {
    background: #fff;
    border: 1px solid #e0e8e1;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(20,45,35,.04);
}
.weerpuk-extremes-page .extremes-hero { padding: 38px 40px; margin-bottom: 20px; position: relative; overflow: hidden; }
.weerpuk-extremes-page .extremes-hero::after {
    content: ''; position: absolute; right: -70px; bottom: -160px; height: 330px; width: 330px;
    border-radius: 50%; background: radial-gradient(circle, rgba(124,194,83,.15), rgba(124,194,83,0) 72%); pointer-events: none;
}
.weerpuk-extremes-page .extremes-hero h1 { font-size: clamp(34px,4.2vw,55px); letter-spacing: -.045em; line-height: 1.1; margin: 9px 0 15px; color: #102936; }
.weerpuk-extremes-page .extremes-hero > p { max-width: 740px; font-size: 16px; line-height: 1.7; margin: 0; color: #647986; }
.weerpuk-extremes-page .extremes-hero-detail { display: flex; gap: 10px; align-items: center; margin-top: 23px; color: #527466; font-size: 13px; font-weight: 700; }
.weerpuk-extremes-page .extremes-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #7cba34; box-shadow: 0 0 0 4px rgba(124,186,52,.13); flex: none; }
.weerpuk-extremes-page .extremes-filter { padding: 26px 30px 18px; margin-bottom: 35px; }
.weerpuk-extremes-page .extremes-filter-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 19px; }
.weerpuk-extremes-page .extremes-filter h2 { font-size: 22px; letter-spacing: -.02em; color: #102936; margin: 0 0 5px; }
.weerpuk-extremes-page .extremes-filter-header p { color: #6a8090; margin: 0; font-size: 14px; }
.weerpuk-extremes-page .extremes-count { color: #53822c; background: #f0f8e9; border: 1px solid #e0edda; border-radius: 999px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.weerpuk-extremes-page .extremes-periods { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 5px; padding: 5px; background: #f2f6f9; border-radius: 12px; }
.weerpuk-extremes-page .extremes-periods button { color: #526b7b; background: transparent; cursor: pointer; border: 0; padding: 12px 18px; border-radius: 9px; line-height: 1.25; font-weight: 700; font-size: 13px; transition: background .18s ease, color .18s ease; }
.weerpuk-extremes-page .extremes-periods button:hover:not(:disabled) { background: #e4edf0; }
.weerpuk-extremes-page .extremes-periods button.active,
.weerpuk-extremes-page .extremes-periods button.active:hover { color: #fff; background: #0876c9; }
.weerpuk-extremes-page .extremes-periods button:focus-visible { outline: 3px solid #8bc34a; outline-offset: 2px; }
.weerpuk-extremes-page .extremes-periods button:disabled { cursor: wait; }
.weerpuk-extremes-page .extremes-status { min-height: 19px; margin: 13px 0 0; color: #7b8c97; font-size: 12px; }
.weerpuk-extremes-page .extremes-section { margin-bottom: 36px; }
.weerpuk-extremes-page .extremes-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 17px; }
.weerpuk-extremes-page .extremes-kicker { font-size: 11px; font-weight: 800; color: #78a738; letter-spacing: .11em; }
.weerpuk-extremes-page .extremes-section-heading h2 { color: #102936; font-size: clamp(22px,2.5vw,29px); line-height: 1.3; margin: 6px 0 0; letter-spacing: -.025em; }
.weerpuk-extremes-page .extremes-section-heading > span { color: #8797a0; font-size: 12px; text-align: right; }
.weerpuk-extremes-page .extremes-record-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.weerpuk-extremes-page .extremes-record { min-width: 0; min-height: 189px; display: flex; flex-direction: column; padding: 23px 23px 19px; position: relative; overflow: hidden; }
.weerpuk-extremes-page .extremes-record::before { content: ''; width: 4px; position: absolute; left: 0; top: 23px; bottom: 23px; border-radius: 0 4px 4px 0; background: var(--record-accent,#89ba55); }
.weerpuk-extremes-page .extremes-heat { --record-accent: #ef8d44; }
.weerpuk-extremes-page .extremes-cold { --record-accent: #54addf; }
.weerpuk-extremes-page .extremes-rain { --record-accent: #358ecd; }
.weerpuk-extremes-page .extremes-wind { --record-accent: #59a89a; }
.weerpuk-extremes-page .extremes-pressure { --record-accent: #89ba55; }
.weerpuk-extremes-page .extremes-humidity { --record-accent: #74b3c1; }
.weerpuk-extremes-page .extremes-record-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; color: #627987; font-size: 13px; line-height: 1.5; font-weight: 700; }
.weerpuk-extremes-page .extremes-record-icon { color: var(--record-accent,#89ba55); font-size: 24px; font-weight: 800; line-height: 1; }
.weerpuk-extremes-page .extremes-record-value { margin: 22px 0 10px; font-size: clamp(25px,2.7vw,36px); line-height: 1.05; color: #102936; letter-spacing: -.03em; font-weight: 800; white-space: nowrap; }
.weerpuk-extremes-page .extremes-record small { margin-top: auto; font-size: 12px; color: #7e929d; line-height: 1.55; }
.weerpuk-extremes-page .extremes-ranking-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.weerpuk-extremes-page .extremes-ranking { padding: 27px 27px 19px; min-width: 0; }
.weerpuk-extremes-page .extremes-ranking-title { display: flex; gap: 15px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid #edf1ef; }
.weerpuk-extremes-page .extremes-ranking-title h3 { margin: 0 0 5px; color: #17323e; font-size: 19px; }
.weerpuk-extremes-page .extremes-ranking-title p { margin: 0; color: #7d929f; font-size: 12px; }
.weerpuk-extremes-page .extremes-ranking-symbol { flex: none; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; font-size: 22px; font-weight: 800; background: #eff7e9; color: #699d38; }
.weerpuk-extremes-page .extremes-hot-symbol { color: #e58b45; background: #fff5eb; }
.weerpuk-extremes-page .extremes-cool-symbol { color: #4b9dc9; background: #edf7fe; }
.weerpuk-extremes-page .extremes-wet-symbol { color: #358ecd; background: #eaf5fe; }
.weerpuk-extremes-page .extremes-breezy-symbol { color: #3b9c8e; background: #eaf9f3; }
.weerpuk-extremes-page .extremes-ranking ol { list-style: none; padding: 0; margin: 0; }
.weerpuk-extremes-page .extremes-ranking li { display: flex; align-items: center; min-width: 0; gap: 14px; padding: 15px 0; border-bottom: 1px solid #edf1ef; font-size: 13px; }
.weerpuk-extremes-page .extremes-ranking li:last-child { border-bottom: 0; }
.weerpuk-extremes-page .extremes-rank { color: #a3b2b9; font-weight: 800; font-size: 13px; min-width: 22px; }
.weerpuk-extremes-page .extremes-rank-date { color: #506b7b; flex: 1; min-width: 0; }
.weerpuk-extremes-page .extremes-ranking li strong { color: #17323e; font-weight: 800; white-space: nowrap; }
.weerpuk-extremes-page .extremes-empty-ranking { color: #87969c; }
.weerpuk-extremes-page .extremes-explanation { display: flex; gap: 16px; align-items: flex-start; padding: 22px 28px; background: #f5faf3; }
.weerpuk-extremes-page .extremes-note-icon { color: #64993c; font-size: 23px; line-height: 1.2; }
.weerpuk-extremes-page .extremes-explanation h2 { font-size: 16px; color: #17323e; margin: 0 0 7px; }
.weerpuk-extremes-page .extremes-explanation p { margin: 0; color: #6d827e; font-size: 13px; line-height: 1.75; }
@media (max-width: 1100px) {
    .weerpuk-extremes-page .extremes-record-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
    .weerpuk-extremes-page .extremes-ranking-grid { grid-template-columns: 1fr; }
    .weerpuk-extremes-page .extremes-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
    .weerpuk-extremes-page .extremes-section-heading > span { text-align: left; }
}
@media (max-width: 580px) {
    .wp-extremes-content { padding-top: 18px; }
    .weerpuk-extremes-page .extremes-hero { padding: 28px 20px; }
    .weerpuk-extremes-page .extremes-hero > p { font-size: 14px; }
    .weerpuk-extremes-page .extremes-filter { padding: 22px 18px; }
    .weerpuk-extremes-page .extremes-periods { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; }
    .weerpuk-extremes-page .extremes-periods button { padding: 11px 6px !important; white-space: nowrap; font-size: 12px !important; }
    .weerpuk-extremes-page .extremes-periods button:last-child { grid-column: span 2; }
    .weerpuk-extremes-page .extremes-record-grid { gap: 10px; }
    .weerpuk-extremes-page .extremes-record { min-height: 159px; padding: 17px 14px 15px 17px; }
    .weerpuk-extremes-page .extremes-record-head { font-size: 11px; }
    .weerpuk-extremes-page .extremes-record-icon { font-size: 19px; }
    .weerpuk-extremes-page .extremes-record-value { margin: 17px 0 7px; font-size: clamp(21px,6vw,28px); }
    .weerpuk-extremes-page .extremes-record small { font-size: 10px; }
    .weerpuk-extremes-page .extremes-ranking { padding: 21px 17px 13px; }
    .weerpuk-extremes-page .extremes-ranking li { gap: 8px; font-size: 12px; }
    .weerpuk-extremes-page .extremes-explanation { padding: 21px 18px; }
}
@media (max-width: 390px) {
    .weerpuk-extremes-page .extremes-record-grid { grid-template-columns: 1fr; }
    .weerpuk-extremes-page .extremes-record { min-height: 145px; }
    .weerpuk-extremes-page .extremes-periods { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .weerpuk-extremes-page .extremes-periods button:last-child { grid-column: span 2; }
}


/* ==========================================================
   WEERPUK 2.1.20 — APARTE PAGINA'S, GEDEELDE NAVIGATIE
   ========================================================== */
.weerpuk-page-intro { margin-bottom: 24px; }
.weerpuk-page-intro h1 { color: #102936; }
.weerpuk-graphs-content .dashboard-grid { margin-top: 0; }
.weerpuk-about-content .about-section { margin-top: 0; }
.weerpuk-about-content .about-hero h1 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #0b2230;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.weerpuk-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}
.weerpuk-page-links a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: white;
    border: 1px solid #dfe9dc;
    border-radius: 12px;
    text-decoration: none;
    color: #284637;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(20,45,35,.045);
}
.weerpuk-page-links a:hover { border-color: #92bd74; color: #4e852c; }
.weerpuk-page-links span { color: #65a30d; font-size: 18px; }
@media(max-width: 580px) {
    .weerpuk-page-links { flex-direction: column; }
    .weerpuk-page-links a { justify-content: space-between; }
}


/* ==========================================================
   WEERPUK 2.1.21 — GELIJKE PAGINAKOP + MEETTIJD OP ELKE PAGINA
   ========================================================== */

/* Hide only the Kadence/WordPress page hero on WeerPuk's inner pages.
   WeerPuk supplies its own branded, accessible h1. */
body.weerpuk-inner-page .entry-hero,
body.weerpuk-inner-page .page-hero-section,
body.weerpuk-inner-page .entry-header,
body.weerpuk-inner-page .page-header {
    display: none !important;
}

/* Remove the theme's empty outer canvas, margins and column padding. */
body.weerpuk-inner-page #primary,
body.weerpuk-inner-page .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
body.weerpuk-inner-page .content-container,
body.weerpuk-inner-page .content-bg.entry,
body.weerpuk-inner-page .entry-content-wrap {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
body.weerpuk-inner-page .entry-content-wrap { padding: 0 !important; }
body.weerpuk-inner-page .entry-content { margin-top: 0 !important; }

.weerpuk-page-banner {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    background: linear-gradient(108deg,#fff 0%, #fff 70%, #f1f8e9 100%);
    border-bottom: 1px solid #e1eadb;
    color: #122b32;
}
.weerpuk-page-banner-inner {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px 0 21px;
}
.weerpuk-page-kicker {
    display: block;
    color: #668f16;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.4;
}
.weerpuk-page-kicker span { color: #a2ce47; }
.weerpuk-page-banner h1 {
    margin: 5px 0 5px !important;
    color: #102c37 !important;
    font-size: clamp(27px, 3.2vw, 38px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: -.045em;
}
.weerpuk-page-banner p {
    margin: 0;
    color: #667d79;
    font-size: 13px;
    line-height: 1.5;
}
.weerpuk-page-banner-decoration {
    display: flex;
    gap: 7px;
    align-items: flex-end;
    height: 46px;
    opacity: .7;
    flex: none;
}
.weerpuk-page-banner-decoration span {
    width: 8px;
    border-radius: 8px;
    background: #b7db7d;
    height: 17px;
}
.weerpuk-page-banner-decoration span:nth-child(2) { height: 31px; background: #92c641; }
.weerpuk-page-banner-decoration span:nth-child(3) { height: 39px; background: #69a922; }
.weerpuk-page-banner-decoration span:nth-child(4) { height: 25px; background: #92c641; }
.weerpuk-page-banner-decoration span:nth-child(5) { height: 35px; }
.weerpuk-mobile-update { display: none; }

/* The same central 1320px column is used independently of the theme template. */
body.weerpuk-inner-page main.page-container {
    width: min(1320px, calc(100vw - 48px)) !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    margin-left: 0 !important;
    transform: translateX(-50%);
    padding-top: 24px;
}
/* The home page retains its existing dashboard proportions. */
.weerpuk-actueel-content { padding-top: 24px; }

/* Keep the location and About titles visually identical after h1 -> h2. */
.weather-hero-top h2.weerpuk-city-heading {
    margin: 0;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 700;
    color: #102f64;
}
.weerpuk-about-content .about-hero h2 {
    max-width: 760px;
    margin: 0 0 16px;
    color: #0b2230;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
    font-weight: 800;
}
/* Only one headline above history and graphs, so content begins without a duplicate card. */
.weerpuk-graphs-content .dashboard-grid { margin-top: 0; }
.wp-history-content { padding-top: 24px; }
.wp-extremes-content { padding-top: 24px; }
.weerpuk-extremes-page .extremes-coverage {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #57802e;
    margin-bottom: 15px;
    padding: 0 3px;
}

/* Unknown is not presented as a live, green measurement. */
.weerpuk-meetstatus i { background:#a1adac; box-shadow:0 0 0 4px rgba(130,143,135,.1); }
.weerpuk-meetstatus.is-ready i { background:var(--wp-green); box-shadow:0 0 0 4px rgba(139,201,0,.13); }
.weerpuk-meetstatus.is-stale i { background:#d69c2f; box-shadow:0 0 0 4px rgba(214,156,47,.13); }
.weerpuk-meetstatus.is-unavailable i { background:#a1adac; box-shadow:0 0 0 4px rgba(130,143,135,.1); }

@media (max-width: 760px) {
    .weerpuk-page-banner-inner { width: calc(100% - 28px); padding: 18px 0 17px; }
    .weerpuk-page-banner h1 { font-size: 30px !important; }
    .weerpuk-page-banner p { font-size: 12px; }
    .weerpuk-page-banner-decoration { display:none; }
    .weerpuk-mobile-update { display:block; margin-top: 11px; color:#6d8174; font-size:11px; }
    .weerpuk-mobile-update strong { font-weight:700; color:#365f28; }
    body.weerpuk-inner-page main.page-container { width:calc(100vw - 28px) !important; padding-top: 16px; }
    .weerpuk-actueel-content { padding-top: 16px; }
    .weather-hero-top h2.weerpuk-city-heading { font-size: 36px; }
}
@media (max-width: 420px) {
    .weerpuk-page-banner h1 { font-size: 28px !important; }
    .weather-hero-top h2.weerpuk-city-heading { font-size: 34px; }
}

/* WeerPuk 2.1.24 — independent consistent page heading across all pages.
   A small script handles fixed-header overlap caused by different WP theme wrappers. */
.weerpuk-page-banner { clear: both; z-index: 1; }
.weerpuk-page-banner-inner { min-height: 114px; }
.weerpuk-page-banner-copy { min-width: 0; }
.weerpuk-page-banner h1 { display: block !important; visibility: visible !important; }
@media (max-width: 650px) {
  .weerpuk-page-banner-inner { min-height: 94px; }
}
