/* ==========================================================================
   SHOUT WK Design System — scoped to .wk-page wrapper
   Forked from /wp-content/themes/shout-media/style.css with strict scoping
   to avoid cascade conflicts with the live Astra theme on shoutmedia.nl.
   All selectors START with .wk-page.
   ========================================================================== */

.wk-page {
    --shout-orange: #FF7400;
    --shout-orange-dark: #FF5500;
    --shout-orange-darker: #e84800;
    --shout-orange-soft: #f8a528;

    --shout-black: #0a0a0a;
    --shout-white: #FFFFFF;
    --shout-gray-light: #F5F5F5;
    --shout-gray-mid: #EBEBEB;
    --shout-gray: #3a3a3a;
    --shout-gray-dark: #4B4F58;
    --shout-cream: #FEF2E1;
    --shout-blue: #0170B9;

    --shout-gradient: linear-gradient(135deg, #FF7400 0%, #FF5500 50%, #e84800 100%);
    --shout-gradient-soft: linear-gradient(135deg, #FF7400 0%, #f8a528 100%);

    --font-primary: 'Urbanist', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'DM Mono', ui-monospace, monospace;

    --container-max: 1280px;
    --section-padding-y: 80px;
    --section-padding-x: 24px;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 40px;
    --radius-full: 100px;

    font-family: var(--font-primary);
    color: var(--shout-black);
}
@media (max-width:991px) { .wk-page { --section-padding-y: 56px; --section-padding-x: 20px; } }
@media (max-width:680px) { .wk-page { --section-padding-y: 40px; --section-padding-x: 16px; } }

/* Reset Astra container padding within scope */
.entry-content > .wk-page, .wk-page {
    max-width: none !important;
    margin: 0;
}
.wk-page * { box-sizing: border-box; }

/* Typography reset within scope */
.wk-page h1, .wk-page h2, .wk-page h3, .wk-page h4, .wk-page h5, .wk-page h6 {
    font-family: var(--font-primary);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--shout-black);
    margin: 0 0 .5em;
}
.wk-page h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.08; }
.wk-page h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.wk-page h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; }
.wk-page h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }
.wk-page p {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--shout-gray);
    margin: 0 0 1.1em;
}
.wk-page p.lead { font-size: 1.25rem; color: var(--shout-black); }
/* Hub-hero op /wk-2026/ — daar mag h1 wat groter */
.wk-page .wk-hero:not(.wk-hero-dark) h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); letter-spacing: -0.04em; line-height: .98; }
/* Default text link styling */
.wk-page p a,
.wk-page li a,
.wk-page .wk-section-header a {
    color: var(--shout-black);
    text-decoration: underline;
    text-decoration-color: var(--shout-orange);
    text-underline-offset: 4px;
}
.wk-page p a:hover,
.wk-page li a:hover,
.wk-page .wk-section-header a:hover { color: var(--shout-orange); text-decoration-thickness: 2px; }

/* NEVER underline buttons, tabs, flag tiles, group-cards, day-headers */
.wk-page .wk-btn,
.wk-page a.wk-btn,
.wk-page .wk-tab,
.wk-page .wk-filter-btn,
.wk-page .wk-flag-tile,
.wk-page a.wk-group-card,
.wk-page .wk-group-card a,
.wk-page .wk-hero-eyebrow,
.wk-page .wk-eyebrow,
.wk-page .wk-day-header {
    text-decoration: none !important;
}

.wk-page .gradient-text {
    background: var(--shout-gradient-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   Hero — light (#F5F5F5) with orbs
   ========================================================================== */
.wk-page .wk-hero {
    position: relative;
    background: var(--shout-gray-light);
    padding: 100px var(--section-padding-x) 80px;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
@media (max-width:680px) { .wk-page .wk-hero { padding: 60px 20px 50px; } }
.wk-page .wk-hero-inner {
    position: relative;
    z-index: 10;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
}
.wk-page .wk-hero-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: var(--shout-black);
    color: var(--shout-white);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.wk-page .wk-hero h1 { margin: 0 auto 24px; max-width: 16ch; }
.wk-page .wk-hero p.wk-hero-sub {
    max-width: 580px;
    margin: 0 auto 32px;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--shout-gray);
}
.wk-page .wk-hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.wk-page .wk-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.wk-page .wk-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; animation: wkOrbFloat 20s ease-in-out infinite; }
.wk-page .wk-orb-1 { width: 380px; height: 380px; background: rgba(255,116,0,.5); top: -120px; right: 8%; }
.wk-page .wk-orb-2 { width: 280px; height: 280px; background: rgba(248,165,40,.6); bottom: -80px; left: 5%; animation-delay: -7s; }
.wk-page .wk-orb-3 { width: 240px; height: 240px; background: rgba(10,10,10,.18); top: 30%; left: 55%; animation-delay: -14s; }
@keyframes wkOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, 20px) scale(1.08); }
    50% { transform: translate(-20px, 40px) scale(.94); }
    75% { transform: translate(30px, -15px) scale(1.04); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.wk-page .wk-section { padding: var(--section-padding-y) var(--section-padding-x); background: var(--shout-white); }
.wk-page .wk-section-cream { background: var(--shout-white); } /* beige weggehaald op user request — alias voor white */
.wk-page .wk-section-gray { background: var(--shout-gray-light); }
.wk-page .wk-section-dark { background: var(--shout-black); color: var(--shout-white); }
.wk-page .wk-section-dark h1,
.wk-page .wk-section-dark h2,
.wk-page .wk-section-dark h3,
.wk-page .wk-section-dark h4,
.wk-page .wk-section-dark p,
.wk-page .wk-section-dark li,
.wk-page .wk-section-dark label,
.wk-page .wk-section-dark .wk-section-header p { color: var(--shout-white) !important; }
.wk-page .wk-section-dark a { color: var(--shout-white); text-decoration-color: var(--shout-orange); }
.wk-page .wk-section-dark input[type=text],
.wk-page .wk-section-dark input[type=email] {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.25) !important;
    color: var(--shout-white) !important;
}
.wk-page .wk-section-dark input::placeholder { color: rgba(255,255,255,.5); }
.wk-page .wk-section-dark .wk-eyebrow { color: var(--shout-orange) !important; }
.wk-page .wk-container { max-width: var(--container-max); margin: 0 auto; }

.wk-page .wk-section-header { margin-bottom: 32px; text-align: center; }
.wk-page .wk-section-header p { margin-left: auto; margin-right: auto; }
.wk-page .wk-section-header .wk-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--shout-orange);
    display: block;
    margin-bottom: 8px;
}
.wk-page .wk-section-header h2 { margin: 0 0 12px; }
.wk-page .wk-section-header p { max-width: 640px; margin: 0 auto; color: var(--shout-gray); }

/* ==========================================================================
   Sticky sub-tabs
   ========================================================================== */
.wk-page .wk-tabs-wrap {
    background: var(--shout-white);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--shout-gray-mid);
}
.wk-page .wk-tabs {
    display: flex;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.wk-page .wk-tabs::-webkit-scrollbar { display: none; }
.wk-page .wk-tab {
    padding: 18px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--shout-gray);
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.wk-page .wk-tab:hover { color: var(--shout-black); }
.wk-page .wk-tab.is-active { color: var(--shout-black); border-bottom-color: var(--shout-orange); }
.wk-page .wk-tab-panel { display: none; }
.wk-page .wk-tab-panel.is-active { display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.wk-page .wk-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
}
.wk-page .wk-btn-primary {
    background: var(--shout-gradient);
    color: var(--shout-white) !important;
    box-shadow: 0 4px 20px rgba(255,116,0,.3);
}
.wk-page .wk-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,116,0,.4); color: var(--shout-white) !important; text-decoration: none; }
.wk-page .wk-btn-secondary { background: var(--shout-black); color: var(--shout-white) !important; }
.wk-page .wk-btn-secondary:hover { background: var(--shout-orange); color: var(--shout-white) !important; text-decoration: none; }
.wk-page .wk-btn-outline { background: transparent; color: var(--shout-black) !important; border: 2px solid var(--shout-black); }
.wk-page .wk-btn-outline:hover { background: var(--shout-black); color: var(--shout-white) !important; text-decoration: none; }

/* ==========================================================================
   Schedule (FCupdate day-grouped list)
   ========================================================================== */
.wk-page .wk-schedule { margin: 24px 0; }
.wk-page .wk-day-block { margin-bottom: 24px; }
.wk-page .wk-day-header {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--shout-gray);
    padding: 8px 0;
    border-bottom: 2px solid var(--shout-black);
    margin-bottom: 8px;
}
.wk-page .wk-day-header .round-tag {
    margin-left: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--shout-orange);
}
.wk-page .wk-match-row {
    display: grid;
    grid-template-columns: 56px 1fr 56px 1fr 100px;
    gap: 12px;
    align-items: center;
    padding: 14px 8px;
    border-bottom: 1px solid var(--shout-gray-mid);
    font-size: 15px;
    transition: background .15s;
}
.wk-page .wk-match-row:hover { background: var(--shout-gray-light); }
.wk-page .wk-match-time { font-weight: 700; font-family: var(--font-primary); text-align: center; }
.wk-page .wk-match-time .num { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--shout-gray); font-weight: 500; }
.wk-page .wk-match-team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.wk-page .wk-match-team.home { justify-content: flex-end; text-align: right; }
.wk-page .wk-match-team.away { justify-content: flex-start; }
.wk-page .wk-match-team .flag { font-size: 20px; line-height: 1; }
.wk-page .wk-match-team.placeholder { color: var(--shout-gray); font-style: italic; font-weight: 500; }
.wk-page .wk-match-vs {
    text-align: center; font-weight: 700; padding: 6px;
    background: var(--shout-gray-light); border-radius: var(--radius-sm);
    font-family: var(--font-mono); font-size: 13px;
}
.wk-page .wk-match-vs.played { background: var(--shout-orange); color: var(--shout-white); }
.wk-page .wk-match-venue {
    text-align: right;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--shout-gray);
    text-transform: uppercase;
    letter-spacing: .04em;
}
@media (max-width:680px) {
    .wk-page .wk-match-row { grid-template-columns: 48px 1fr 50px 1fr; padding: 10px 4px; gap: 6px; font-size: 13px; }
    .wk-page .wk-match-venue { display: none; }
    .wk-page .wk-match-team .flag { font-size: 16px; }
}

/* ==========================================================================
   Schema — overzichtelijke kaarten per groep / knockout-ronde
   ========================================================================== */
.wk-page .wk-groups-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.wk-page .wk-group-block {
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.wk-page .wk-group-block-head {
    background: var(--shout-black);
    color: var(--shout-white);
    padding: 13px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wk-page .wk-gb-letter {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .01em;
}
.wk-page .wk-gb-teams {
    font-family: var(--font-mono);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: .7;
}
.wk-page .wk-group-block-rows { padding: 4px 16px 10px; }
.wk-page .wk-card-row {
    display: grid;
    grid-template-columns: 64px 1fr 44px 1fr;
    gap: 10px;
    align-items: center;
    padding: 11px 2px;
    border-bottom: 1px solid var(--shout-gray-mid);
    font-size: 14px;
    transition: background .15s;
}
.wk-page .wk-group-block-rows .wk-card-row:last-child { border-bottom: none; }
.wk-page .wk-card-row:hover { background: var(--shout-gray-light); }
.wk-page .wk-card-when { display: flex; flex-direction: column; line-height: 1.15; text-align: center; }
.wk-page .wk-card-when .t { font-weight: 700; font-family: var(--font-primary); }
.wk-page .wk-card-when .d { font-family: var(--font-mono); font-size: 10px; color: var(--shout-gray); text-transform: uppercase; letter-spacing: .02em; }
.wk-page .wk-ko-heading {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 44px 0 0;
}
@media (max-width:680px) {
    .wk-page .wk-groups-schedule { grid-template-columns: 1fr; gap: 16px; }
    .wk-page .wk-card-row { grid-template-columns: 56px 1fr 34px 1fr; gap: 7px; font-size: 13px; }
    .wk-page .wk-card-row .wk-match-team .flag { font-size: 16px; }
}

/* Landen-zoekbalk in de filterbalk */
.wk-page .wk-search-wrap { position: relative; flex: 1 1 240px; min-width: 190px; max-width: 360px; }
.wk-page .wk-search {
    width: 100%;
    font: inherit;
    padding: 10px 34px 10px 14px;
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    background: var(--shout-white);
    color: var(--shout-black);
}
.wk-page .wk-search::placeholder { color: var(--shout-gray); }
.wk-page .wk-search:focus { outline: none; border-color: var(--shout-orange); box-shadow: 0 0 0 3px rgba(255,70,0,.12); }
.wk-page .wk-search-clear {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    border: none; background: none; cursor: pointer;
    font-size: 22px; line-height: 1; color: var(--shout-gray); padding: 0 6px;
}
.wk-page .wk-search-clear:hover { color: var(--shout-black); }
@media (max-width:680px) {
    .wk-page .wk-search-wrap { flex: 1 1 100%; max-width: none; }
}

/* ==========================================================================
   Filter bar
   ========================================================================== */
.wk-page .wk-filter-bar {
    display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
    padding: 16px; background: var(--shout-white); border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md); margin: 0 0 24px;
}
.wk-page .wk-filter-bar .wk-filter-btn {
    padding: 8px 14px;
    background: var(--shout-white);
    color: var(--shout-black);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-full);
    font: inherit; font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.wk-page .wk-filter-bar .wk-filter-btn.is-active { background: var(--shout-black); color: var(--shout-white); border-color: var(--shout-black); }
.wk-page .wk-filter-bar select {
    padding: 8px 14px; padding-right: 28px;
    background: var(--shout-white);
    color: var(--shout-black);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-full);
    font: inherit; font-size: 13px; font-weight: 600;
    appearance: none;
}
.wk-page .wk-filter-bar .wk-view-switcher { margin-left: auto; display: flex; gap: 4px; }

/* ==========================================================================
   Groups grid
   ========================================================================== */
.wk-page .wk-groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.wk-page .wk-group-card {
    background: var(--shout-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--shout-gray-mid);
}
.wk-page .wk-group-card .wk-group-label {
    display: inline-block;
    padding: 4px 12px;
    background: var(--shout-orange);
    color: var(--shout-white);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.wk-page .wk-group-card h3 { margin: 0 0 16px; font-size: 1.5rem; }
.wk-page .wk-standings { width: 100%; border-collapse: collapse; font-size: 14px; }
.wk-page .wk-standings th, .wk-page .wk-standings td {
    padding: 8px 6px; text-align: center;
    border-bottom: 1px solid var(--shout-gray-mid);
}
.wk-page .wk-standings th {
    font-family: var(--font-mono); font-size: 10px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; color: var(--shout-gray);
    border-bottom: 2px solid var(--shout-black);
}
.wk-page .wk-standings th.team, .wk-page .wk-standings td.team { text-align: left; font-weight: 600; }
.wk-page .wk-standings .pos { width: 24px; color: var(--shout-gray); font-family: var(--font-mono); }
.wk-page .wk-standings .flag { margin-right: 6px; font-size: 16px; }
.wk-page .wk-standings .pts { font-weight: 700; color: var(--shout-orange); }

/* ==========================================================================
   Predictions
   ========================================================================== */
.wk-page .wk-pred-row {
    display: grid;
    grid-template-columns: 56px 1fr 120px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid var(--shout-gray-mid);
}
.wk-page .wk-pred-row .wk-match-time { text-align: center; }
.wk-page .wk-pred-row .team { font-weight: 600; }
.wk-page .wk-pred-row .team.home { text-align: right; }
.wk-page .wk-pred-input-group { display: flex; gap: 6px; align-items: center; justify-content: center; }
.wk-page .wk-pred-input {
    width: 40px; padding: 8px;
    text-align: center; font: inherit;
    font-family: var(--font-primary); font-weight: 700;
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-sm);
    background: var(--shout-white);
}
.wk-page .wk-pred-input:focus { outline: none; border-color: var(--shout-orange); }
.wk-page .wk-pred-input-group .sep { color: var(--shout-gray); font-weight: 700; }
@media (max-width:680px) {
    .wk-page .wk-pred-row { grid-template-columns: 1fr 100px 1fr; padding: 10px 4px; gap: 6px; }
    .wk-page .wk-pred-row .wk-match-time { display: none; }
}

/* ==========================================================================
   Flag-grid team picker
   ========================================================================== */
.wk-page .wk-flag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    margin: 16px 0 24px;
}
.wk-page .wk-flag-tile {
    aspect-ratio: 1 / 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform .15s, border-color .15s;
    text-align: center;
    padding: 4px;
    text-decoration: none;
}
.wk-page .wk-flag-tile:hover, .wk-page .wk-flag-tile.is-active { border-color: var(--shout-orange); transform: translateY(-2px); }
.wk-page .wk-flag-tile.is-active { background: var(--shout-cream); }
.wk-page .wk-flag-tile .flag { font-size: 28px; line-height: 1; margin-bottom: 4px; }
.wk-page .wk-flag-tile .name { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--shout-black); }
.wk-page .wk-flag-tile.placeholder { background: var(--shout-gray-light); color: var(--shout-gray); border-style: dashed; }
.wk-page .wk-flag-tile.placeholder .flag { opacity: .4; }

/* ==========================================================================
   Pool signup
   ========================================================================== */
.wk-page .wk-pool-signup { max-width: 480px; margin: 24px auto; }
.wk-page .wk-pool-signup input,
.wk-page .wk-pool-signup label { display: block; width: 100%; }
.wk-page .wk-pool-signup label { font-weight: 600; margin: 12px 0 6px; font-size: 13px; }
.wk-page .wk-pool-signup input[type=text],
.wk-page .wk-pool-signup input[type=email] {
    padding: 12px 16px;
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    font: inherit;
    background: var(--shout-white);
}
.wk-page .wk-pool-signup input:focus { outline: none; border-color: var(--shout-orange); }
.wk-page .wk-pool-signup .wk-btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ==========================================================================
   Calendar view
   ========================================================================== */
.wk-page .wk-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: var(--shout-gray-mid);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 24px 0;
}
.wk-page .wk-cal-hd, .wk-page .wk-cal-cell { background: var(--shout-white); padding: 10px 8px; min-height: 112px; font-size: 13px; }
.wk-page .wk-cal-hd { background: var(--shout-black); color: var(--shout-white); font-family: var(--font-mono); font-weight: 600; text-align: center; padding: 8px 4px; min-height: 0; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.wk-page .wk-cal-cell.empty { background: var(--shout-gray-light); }
.wk-page .wk-cal-cell .day-num { font-weight: 700; font-size: 16px; margin-bottom: 6px; color: var(--shout-gray); }
.wk-page .wk-cal-cell .cal-match { display: block; padding: 5px 0; border-top: 1px solid var(--shout-gray-mid); font-size: 12px; line-height: 1.35; }
.wk-page .wk-cal-cell .cal-match strong { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--shout-orange); margin-bottom: 1px; }

/* Mobiel: 7-koloms grid niet platdrukken — horizontaal scrollen, cellen leesbaar houden */
@media (max-width: 680px) {
    .wk-page .wk-cal {
        overflow-x: auto;
        overflow-y: hidden;
        grid-template-columns: repeat(7, minmax(124px, 1fr));
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    .wk-page .wk-cal-hd { position: sticky; top: 0; z-index: 1; scroll-snap-align: start; }
    .wk-page .wk-cal-cell { scroll-snap-align: start; }
    .wk-page .wk-cal-cell .cal-match { font-size: 12.5px; }
    .wk-page .wk-cal-cell .cal-match strong { font-size: 11px; }
}

/* ==========================================================================
   Sortable table view
   ========================================================================== */
.wk-page table.wk-table {
    width: 100%; border-collapse: collapse;
    background: var(--shout-white);
    border-radius: var(--radius-md); overflow: hidden;
    margin: 24px 0;
}
.wk-page .wk-table thead th {
    background: var(--shout-black); color: var(--shout-white);
    padding: 12px 10px; text-align: left;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    cursor: pointer; user-select: none;
}
.wk-page .wk-table thead th:hover { background: var(--shout-orange); }
.wk-page .wk-table thead th[data-sort-active]::after { content: ' ↓'; opacity: .6; }
.wk-page .wk-table thead th[data-sort-active="asc"]::after { content: ' ↑'; opacity: .6; }
.wk-page .wk-table tbody td { padding: 12px 10px; border-bottom: 1px solid var(--shout-gray-mid); font-size: 14px; }
.wk-page .wk-table tbody tr:hover { background: var(--shout-gray-light); }
.wk-page .wk-table .num { color: var(--shout-gray); font-family: var(--font-mono); font-size: 11px; }
.wk-page .wk-table .score { font-weight: 700; color: var(--shout-orange); }

/* ==========================================================================
   Embed/share row — neutral light gray ipv cream
   ========================================================================== */
.wk-page .wk-share-row {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin: 16px 0;
    padding: 20px;
    background: var(--shout-gray-light);
    border-radius: var(--radius-md);
    align-items: flex-end;
}

/* ==========================================================================
   Sticky tabs offset — Astra header is fixed bovenaan
   ========================================================================== */
.wk-page .wk-tabs-wrap { top: 0; }
body.sm-shout-design-active.admin-bar .wk-tabs-wrap { top: 32px; }

/* ==========================================================================
   Author-bio — laten zoals seo-begrippen (gebruik de mu-plugin inline styles,
   alleen breedte centreren binnen onze article-container).
   Verder geen overrides. inline flex layout MOET intact blijven.
   ========================================================================== */
body.sm-shout-design-active .sm-author-bio {
    max-width: 720px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================================================
   Astra page-title bar verbergen op WK-pages
   ========================================================================== */
body.sm-shout-design-active .ast-title-bar,
body.sm-shout-design-active .entry-header,
body.sm-shout-design-active .entry-header .entry-title,
body.sm-shout-design-active h1.entry-title,
body.sm-shout-design-active .ast-archive-description,
body.sm-shout-design-active .ast-single-post-banner,
body.sm-shout-design-active .ast-title-bar-section { display: none !important; }

/* Astra container padding wegspoelen — full-width + hero raakt header (geen top-gap) */
body.sm-shout-design-active #content,
body.sm-shout-design-active #content > .ast-container,
body.sm-shout-design-active #primary,
body.sm-shout-design-active .entry-content,
body.sm-shout-design-active .ast-article-single,
body.sm-shout-design-active .ast-article-post { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.sm-shout-design-active #primary > article { padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; }
body.sm-shout-design-active #content { padding-top: 0 !important; margin-top: 0 !important; }

/* Sticky tabs: z-index hoger zodat Astra-header niet overheen valt, schaduw als stuck */
.wk-page .wk-tabs-wrap { z-index: 100 !important; box-shadow: 0 1px 0 var(--shout-gray-mid); }
.wk-page .wk-tabs-wrap.is-stuck { box-shadow: 0 4px 12px rgba(0,0,0,.08); }

/* ==========================================================================
   wk-page-article — alle sub-pages full-width content (GEEN smalle container)
   ========================================================================== */
.wk-page.wk-page-article .wk-section { padding: 56px var(--section-padding-x); }
.wk-page.wk-page-tool .wk-section { padding: 40px var(--section-padding-x); }
.wk-page.wk-page-tool .wk-pool-login,
.wk-page.wk-page-tool .wk-pool-app,
.wk-page.wk-page-tool .wk-leaderboard,
.wk-page.wk-page-tool .wk-pool-detail { padding-left: 0; padding-right: 0; }

/* wk-article-body: FULL container, geen smalle prozaregels meer */
.wk-page .wk-article-body { max-width: var(--container-max); margin: 0 auto; }
.wk-page .wk-article-body > h2,
.wk-page .wk-article-body > h3,
.wk-page .wk-article-body > h4 { margin: 1.5em 0 .5em; }
.wk-page .wk-article-body > h2:first-child,
.wk-page .wk-article-body > h3:first-child { margin-top: 0; }
.wk-page .wk-article-body > ul,
.wk-page .wk-article-body > ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.wk-page .wk-article-body > ul li,
.wk-page .wk-article-body > ol li { margin-bottom: .45em; color: var(--shout-gray); font-size: 1.125rem; line-height: 1.65; }
.wk-page .wk-article-body strong { color: var(--shout-black); font-weight: 700; }
.wk-page .wk-article-body > blockquote {
    margin: 32px 0; padding: 18px 28px;
    border-left: 4px solid var(--shout-orange);
    background: var(--shout-gray-light);
    border-radius: var(--radius-sm);
    font-style: normal;
    color: var(--shout-black);
}
.wk-page .wk-article-body > hr { border: none; border-top: 1px solid var(--shout-gray-mid); margin: 40px 0; }

/* ==========================================================================
   Article-hero — DARK variant (zelfde patroon als #pools sectie).
   Wordt op ALLE sub-pages gebruikt: kwalificatie / nederland / groepen / voorspellen / leaderboard / pool/<slug>.
   ========================================================================== */
.wk-page .wk-hero-dark {
    position: relative;
    background: var(--shout-black);
    color: var(--shout-white);
    padding: 80px var(--section-padding-x) 64px;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.wk-page .wk-hero-dark .wk-hero-inner {
    position: relative; z-index: 10;
    max-width: var(--container-max); margin: 0 auto;
    text-align: left;
}
.wk-page .wk-hero-dark .wk-hero-sub { max-width: none; }
.wk-page .wk-hero-dark .wk-orb-1 { background: rgba(255,116,0,.45); }
.wk-page .wk-hero-dark .wk-orb-2 { background: rgba(232,72,0,.45); }
.wk-page .wk-hero-dark .wk-orb-3 { background: rgba(255,255,255,.08); }

.wk-page .wk-hero-crumbs {
    font-family: var(--font-mono);
    font-size: 12px;
    color: rgba(255,255,255,.55);
    letter-spacing: .04em;
    margin-bottom: 22px;
}
.wk-page .wk-hero-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.wk-page .wk-hero-crumbs a:hover { color: var(--shout-orange); }
.wk-page .wk-hero-crumbs .sep { margin: 0 8px; opacity: .35; }

.wk-page .wk-hero-dark .wk-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    background: var(--shout-orange); color: var(--shout-white);
    border-radius: var(--radius-full);
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 20px;
}
.wk-page .wk-hero-dark .wk-hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--shout-white); animation: wkDotPulse 1.8s ease-in-out infinite; }
@keyframes wkDotPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.wk-page .wk-hero-dark h1 {
    margin: 0 0 20px;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--shout-white);
    font-weight: 800;
}
.wk-page .wk-hero-dark h1 .hero-head { display: block; }
.wk-page .wk-hero-dark h1 .hero-tail {
    display: block;
    font-size: .58em;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: 0;
    margin-top: 8px;
    line-height: 1.3;
}
.wk-page .wk-hero-dark .wk-hero-sub {
    font-size: 1.125rem; line-height: 1.6;
    max-width: 680px;
    color: rgba(255,255,255,.85);
    margin: 0 0 28px;
}
.wk-page .wk-hero-meta {
    display: flex; gap: 24px; flex-wrap: wrap;
    font-family: var(--font-mono); font-size: 12px;
    color: rgba(255,255,255,.5); letter-spacing: .04em;
    padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
}
.wk-page .wk-hero-meta .meta-item { display: inline-flex; align-items: center; gap: 6px; }
.wk-page .wk-hero-meta strong { color: var(--shout-white); font-weight: 600; }

@media (max-width:680px) {
    .wk-page .wk-hero-dark { padding: 56px 20px 40px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
    .wk-page .wk-hero-meta { gap: 14px; font-size: 11px; }
}

/* ==========================================================================
   WK creative widgets (per slug ge-injecteerd in the_content filter)
   ========================================================================== */
.wk-page .wk-stat-bar {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px; margin: 24px 0 32px;
}
.wk-page .wk-stat {
    padding: 18px 16px;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    text-align: center;
}
.wk-page .wk-stat .num { display: block; font-size: 1.75rem; font-weight: 800; color: var(--shout-orange); font-family: var(--font-primary); line-height: 1; }
.wk-page .wk-stat .lbl { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--shout-gray); margin-top: 6px; }

.wk-page .wk-conf-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px; margin: 16px 0 32px;
}
.wk-page .wk-conf-pill {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: border-color .15s, transform .15s;
}
.wk-page .wk-conf-pill:hover { border-color: var(--shout-orange); transform: translateY(-2px); text-decoration: none; }
.wk-page .wk-conf-pill .conf-flags { font-size: 22px; line-height: 1; }
.wk-page .wk-conf-pill .conf-meta { line-height: 1.2; }
.wk-page .wk-conf-pill .conf-name { display: block; font-weight: 700; font-size: 13px; color: var(--shout-black); }
.wk-page .wk-conf-pill .conf-slots { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--shout-orange); margin-top: 2px; }

.wk-page .wk-countdown {
    display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
    background: var(--shout-black); color: var(--shout-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 24px 0 32px;
}
.wk-page .wk-countdown .cd-block { text-align: center; min-width: 64px; }
.wk-page .wk-countdown .cd-num { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; font-family: var(--font-primary); color: var(--shout-white); }
.wk-page .wk-countdown .cd-lbl { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }
.wk-page .wk-countdown .cd-sep { font-size: 2rem; font-weight: 300; color: rgba(255,255,255,.3); align-self: center; }

.wk-page .wk-group-pills {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px; margin: 16px 0 32px;
}
.wk-page .wk-group-pill {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 16px 8px;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all .15s;
}
.wk-page .wk-group-pill:hover { background: var(--shout-orange); border-color: var(--shout-orange); color: var(--shout-white); text-decoration: none; transform: translateY(-2px); }
.wk-page .wk-group-pill:hover .gp-label,
.wk-page .wk-group-pill:hover .gp-name { color: var(--shout-white); }
.wk-page .wk-group-pill .gp-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--shout-gray); }
.wk-page .wk-group-pill .gp-name { display: block; font-size: 1.4rem; font-weight: 800; color: var(--shout-black); margin-top: 4px; line-height: 1; }
.wk-page .wk-group-pill .gp-sub { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--shout-orange); margin-top: 6px; }

/* ==========================================================================
   Pool — login form + app + leaderboard
   ========================================================================== */
.wk-page .wk-pool-login {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
    max-width: 980px; margin: 0 auto; padding: 0 var(--section-padding-x);
}
@media (max-width:760px) { .wk-page .wk-pool-login { grid-template-columns: 1fr; padding: 0 16px; } }
.wk-page .wk-pool-login-card {
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.wk-page .wk-pool-login-card h2 { margin: 12px 0 12px; }
.wk-page .wk-pool-login-card p { margin: 0 0 20px; }
.wk-page .wk-pool-form label,
.wk-page .wk-pool-bonus-form label,
.wk-page .wk-pool-inline-form label {
    display: block; font-weight: 600; margin: 14px 0 6px; font-size: 14px;
}
.wk-page .wk-pool-form input[type=text],
.wk-page .wk-pool-form input[type=email],
.wk-page .wk-pool-bonus-form input[type=text],
.wk-page .wk-pool-inline-form input[type=text] {
    display: block; width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-md);
    font: inherit; background: var(--shout-white);
}
.wk-page .wk-pool-form input:focus,
.wk-page .wk-pool-bonus-form input:focus,
.wk-page .wk-pool-inline-form input:focus { outline: none; border-color: var(--shout-orange); }
.wk-page .wk-pool-check {
    display: flex !important; gap: 10px; align-items: flex-start;
    font-weight: 400 !important; font-size: 13px !important;
    margin: 16px 0 !important; color: var(--shout-gray);
}
.wk-page .wk-pool-check input { width: auto !important; flex-shrink: 0; margin-top: 3px; }
.wk-page .wk-pool-form button[type=submit] { margin-top: 18px; width: 100%; justify-content: center; }
.wk-page .wk-pool-form-msg {
    margin-top: 12px; padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 14px; line-height: 1.4;
    background: transparent;
}
.wk-page .wk-pool-form-msg:empty { display: none; }
.wk-page .wk-pool-form-msg.is-ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.wk-page .wk-pool-form-msg.is-error { background: #fce8e8; color: #991111; border: 1px solid #f5b7b7; }
.wk-page .wk-pool-error {
    background: #fff4e5; border-left: 4px solid var(--shout-orange);
    padding: 14px 18px; margin: 0 0 24px;
    border-radius: var(--radius-sm); color: var(--shout-black);
}
.wk-page .wk-pool-rules {
    background: var(--shout-gray-light); border-radius: var(--radius-lg);
    padding: 28px;
}
.wk-page .wk-pool-rules h3 { margin: 0 0 16px; font-size: 1.25rem; }
.wk-page .wk-pool-rules ul { list-style: none; padding: 0; margin: 0 0 16px; }
.wk-page .wk-pool-rules li {
    padding: 8px 0; border-bottom: 1px solid var(--shout-gray-mid);
    font-size: 14px;
}
.wk-page .wk-pool-rules li:last-child { border-bottom: none; }
.wk-page .wk-pool-rules-foot { font-size: 12px; color: var(--shout-gray); margin: 0; }

/* App layout */
.wk-page .wk-pool-app { max-width: 1080px; margin: 0 auto; padding: 0 var(--section-padding-x); }
.wk-page .wk-pool-header {
    display: flex; justify-content: space-between; gap: 24px;
    align-items: flex-start; flex-wrap: wrap;
    padding: 28px; margin-bottom: 24px;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-lg);
}
.wk-page .wk-pool-header h2 { margin: 8px 0 8px; }
.wk-page .wk-pool-stats { font-size: 15px; color: var(--shout-gray); margin: 0; }
.wk-page .wk-pool-stats strong { color: var(--shout-orange); font-size: 17px; }
.wk-page .wk-pool-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.wk-page .wk-pool-section {
    background: var(--shout-white); border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.wk-page .wk-pool-section h3 { margin: 0 0 16px; font-size: 1.25rem; }
.wk-page .wk-pool-section h3 small { font-weight: 400; font-size: 13px; color: var(--shout-gray); margin-left: 8px; font-family: var(--font-mono); }

.wk-page .wk-pool-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--shout-gray-mid);
    gap: 16px;
}
.wk-page .wk-pool-row:last-child { border-bottom: none; }
.wk-page .wk-pool-meta { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--shout-gray); margin-top: 4px; }
.wk-page .wk-pool-meta code { background: var(--shout-gray-light); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.wk-page .wk-pool-pool-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px;
}
@media (max-width:680px) { .wk-page .wk-pool-pool-actions { grid-template-columns: 1fr; } }
.wk-page .wk-pool-inline-form { display: flex; gap: 8px; align-items: stretch; }
.wk-page .wk-pool-inline-form input { flex: 1; min-width: 0; }
.wk-page .wk-pool-inline-form button { white-space: nowrap; }

.wk-page .wk-pool-bonus-form {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
}
@media (max-width:680px) { .wk-page .wk-pool-bonus-form { grid-template-columns: 1fr; } }

.wk-page .wk-pool-help { font-size: 13px; color: var(--shout-gray); margin: 0 0 16px; }
.wk-page .wk-pool-round { margin-bottom: 12px; border: 1px solid var(--shout-gray-mid); border-radius: var(--radius-md); overflow: hidden; }
.wk-page .wk-pool-round summary {
    padding: 14px 18px; background: var(--shout-gray-light); cursor: pointer;
    font-weight: 700; font-size: 15px;
    list-style: none;
}
.wk-page .wk-pool-round summary::-webkit-details-marker { display: none; }
.wk-page .wk-pool-round summary::before { content: '▸ '; display: inline-block; transition: transform .15s; }
.wk-page .wk-pool-round[open] summary::before { transform: rotate(90deg); }
.wk-page .wk-pool-matches { padding: 8px 18px; }
.wk-page .wk-pool-match {
    display: grid;
    grid-template-columns: 80px 1fr 130px 1fr 130px;
    gap: 8px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--shout-gray-mid);
    font-size: 14px;
}
.wk-page .wk-pool-match:last-child { border-bottom: none; }
.wk-page .wk-pool-match.is-locked { opacity: .7; }
.wk-page .wk-pool-time { font-family: var(--font-mono); font-size: 11px; color: var(--shout-gray); text-transform: uppercase; letter-spacing: .04em; }
.wk-page .wk-pool-team { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.wk-page .wk-pool-team.home { justify-content: flex-end; text-align: right; }
.wk-page .wk-pool-team.away { justify-content: flex-start; }
.wk-page .wk-pool-team .flag { font-size: 18px; }
.wk-page .wk-pool-inputs { display: flex; align-items: center; justify-content: center; gap: 4px; }
.wk-page .wk-pool-inputs input {
    width: 48px; padding: 8px 4px; text-align: center;
    border: 1px solid var(--shout-gray-mid); border-radius: var(--radius-sm);
    font: inherit; font-weight: 700;
    background: var(--shout-white);
}
.wk-page .wk-pool-inputs input:focus { outline: none; border-color: var(--shout-orange); }
.wk-page .wk-pool-inputs .sep { font-weight: 700; color: var(--shout-gray); }
.wk-page .wk-pool-status { text-align: right; font-family: var(--font-mono); font-size: 11px; }
.wk-page .wk-pool-status .tag { display: inline-block; padding: 3px 8px; border-radius: var(--radius-full); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.wk-page .wk-pool-status .tag.saved { color: var(--shout-gray); }
.wk-page .wk-pool-status .tag.saved.saved-ok { color: #1b5e20; background: #e8f5e9; }
.wk-page .wk-pool-status .tag.saved.saved-err { color: #991111; background: #fce8e8; }
.wk-page .wk-pool-status .tag.exact { background: var(--shout-orange); color: var(--shout-white); }
.wk-page .wk-pool-status .tag.outcome { background: var(--shout-black); color: var(--shout-white); }
.wk-page .wk-pool-status .tag.miss { background: var(--shout-gray-light); color: var(--shout-gray); }
.wk-page .wk-pool-status .tag.locked { background: var(--shout-gray-light); color: var(--shout-gray); }
.wk-page .wk-pool-status .actual { display: block; font-weight: 700; color: var(--shout-black); margin-bottom: 2px; }

@media (max-width:760px) {
    .wk-page .wk-pool-match { grid-template-columns: 1fr 100px 1fr; }
    .wk-page .wk-pool-time, .wk-page .wk-pool-status { grid-column: 1 / -1; text-align: center; }
}

/* Leaderboard table */
.wk-page .wk-leaderboard { max-width: 800px; margin: 0 auto; padding: 0 var(--section-padding-x); }
.wk-page .wk-lb-table {
    width: 100%; border-collapse: collapse;
    background: var(--shout-white);
    border: 1px solid var(--shout-gray-mid);
    border-radius: var(--radius-lg); overflow: hidden;
}
.wk-page .wk-lb-table thead th {
    background: var(--shout-black); color: var(--shout-white);
    padding: 12px 14px; text-align: left;
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
}
.wk-page .wk-lb-table tbody td { padding: 12px 14px; border-bottom: 1px solid var(--shout-gray-mid); font-size: 14px; }
.wk-page .wk-lb-table tbody tr:last-child td { border-bottom: none; }
.wk-page .wk-lb-table tbody tr.is-me { background: #fff4e5; }
.wk-page .wk-lb-table tbody tr:hover { background: var(--shout-gray-light); }
.wk-page .wk-lb-table tbody tr.is-me:hover { background: #ffe5c2; }
.wk-page .wk-lb-table .rank { font-family: var(--font-mono); width: 48px; color: var(--shout-gray); }
.wk-page .wk-lb-table .name { font-weight: 600; }
.wk-page .wk-lb-table .pts { font-weight: 700; }
.wk-page .wk-lb-table .pts strong { color: var(--shout-orange); }
.wk-page .wk-lb-table td.empty { padding: 32px; text-align: center; color: var(--shout-gray); }

/* ==========================================================================
   Border-radius op sectie-banden (zodat ze 'card' voelen op de pagina)
   ========================================================================== */
.wk-page .wk-tab-panel .wk-section-gray,
.wk-page .wk-tab-panel .wk-section-dark { border-radius: var(--radius-lg); margin: 0 16px; }
@media (max-width:680px) {
    .wk-page .wk-tab-panel .wk-section-gray,
    .wk-page .wk-tab-panel .wk-section-dark { margin: 0 8px; border-radius: var(--radius-md); }
}

/* ==========================================================================
   Pool signup — full container + nette card
   ========================================================================== */
.wk-page .wk-section-dark .wk-pool-signup {
    max-width: 560px !important;
    margin: 32px auto !important;
    padding: 28px !important;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
}
.wk-page .wk-section-dark .wk-pool-signup label { color: rgba(255,255,255,.85) !important; font-weight: 600; }
.wk-page .wk-section-dark .wk-pool-signup input[type=text],
.wk-page .wk-section-dark .wk-pool-signup input[type=email] {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    color: var(--shout-white) !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-md) !important;
}
.wk-page .wk-section-dark .wk-pool-signup .wk-btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ==========================================================================
   Group-card als anchor (overzicht quick-links)
   ========================================================================== */
.wk-page a.wk-group-card { display: block; transition: transform .15s, border-color .15s; }
.wk-page a.wk-group-card:hover { transform: translateY(-2px); border-color: var(--shout-orange); text-decoration: none; }
.wk-page a.wk-group-card h3,
.wk-page a.wk-group-card p { color: inherit; }

/* ==========================================================================
   Misc spacing fixes — keep visual rhythm consistent
   ========================================================================== */
.wk-page .wk-section + .wk-section { padding-top: 40px; } /* less padding between adjacent sections */
.wk-page .wk-tab-panel .wk-section:first-of-type { padding-top: 60px; }
.wk-page .wk-tab-panel:last-child .wk-section { padding-bottom: 60px; }

/* Astra's .entry-content might add bottom margin to <p> globally — neutralize within scope */
.wk-page p:last-child { margin-bottom: 0; }
.wk-page h2:first-child, .wk-page h3:first-child { margin-top: 0; }

/* ==========================================================================
   2026-05-29 — LAYOUT FIX
   Probleem: dark hero met `border-radius: 0 0 40px 40px` produceerde witte
   cutouts in de bottom-corners (body bg schijnt door) → "gekke zwarte sectie
   tegen de nav onder hero". Plus: tabs voelden disconnected van hero.
   Fix: hero edge-to-edge, body bg expliciet wit, tabs sluiten naadloos aan.
   ========================================================================== */
body.sm-shout-design-active { background: #ffffff !important; }

.wk-page .wk-hero,
.wk-page .wk-hero-dark { border-radius: 0 !important; }
@media (max-width: 680px) {
    .wk-page .wk-hero-dark { border-radius: 0 !important; }
}

/* Tabs strak tegen hero — geen visuele gap meer */
.wk-page .wk-tabs-wrap {
    margin-top: 0 !important;
    border-top: 0;
}

/* Header van .wk-section-dark — text-align left, geen overlap met pools-block */
.wk-page .wk-section-dark .wk-section-header { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.wk-page .wk-section-dark .wk-section-header h2 { margin-bottom: 14px; }
.wk-page .wk-section-dark .wk-section-header p { color: rgba(255,255,255,.78); margin-bottom: 0; }

/* Pools block — strakke layout zonder dubbele intro */
.wk-page .wk-pools-block {
    max-width: 720px; margin: 32px auto 0;
}
.wk-page .wk-pools-stats {
    display: flex; gap: 24px; justify-content: center; align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px; margin: 0 auto 24px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-full);
    max-width: 540px;
    font-family: var(--font-mono); font-size: 13px;
    color: rgba(255,255,255,.85);
}
.wk-page .wk-pools-stats strong { color: var(--shout-orange); font-weight: 700; font-size: 16px; margin-right: 4px; }
.wk-page .wk-pools-stats .sep { color: rgba(255,255,255,.25); }

.wk-page .wk-pools-rules {
    text-align: center; margin: 0 0 28px;
    color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.5;
    max-width: 560px; margin-left: auto; margin-right: auto;
}
.wk-page .wk-pools-rules strong { color: var(--shout-white); font-weight: 600; }

.wk-page .wk-pools-cta {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin: 0 0 32px;
}

.wk-page .wk-pools-top5 {
    max-width: 480px; margin: 0 auto;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.wk-page .wk-pools-top5 .top5-eyebrow {
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--shout-orange); margin: 0 0 12px;
}
.wk-page .wk-pools-top5 .top5-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 14px; color: rgba(255,255,255,.9);
}
.wk-page .wk-pools-top5 .top5-row:last-child { border-bottom: 0; }
.wk-page .wk-pools-top5 .top5-row .rank { color: rgba(255,255,255,.55); font-family: var(--font-mono); font-size: 12px; margin-right: 8px; }
.wk-page .wk-pools-top5 .top5-row .pts { font-weight: 700; color: var(--shout-orange); font-variant-numeric: tabular-nums; }

/* WK buttons op dark — wit outline + zwart filled */
.wk-page .wk-btn-outline.is-on-dark,
.wk-page .wk-section-dark .wk-btn-outline {
    background: transparent; color: var(--shout-white) !important;
    border: 1.5px solid rgba(255,255,255,.4) !important;
}
.wk-page .wk-section-dark .wk-btn-outline:hover {
    background: var(--shout-white); color: var(--shout-black) !important;
    border-color: var(--shout-white) !important;
}

/* ── Live resultaten + standen (toegevoegd 2026-06-10) ───────────────────── */
.wk-page .wk-standings tr.wk-q td { background: rgba(16,163,74,.08); }
.wk-page .wk-standings tr.wk-q td.pos { box-shadow: inset 3px 0 0 #10a34a; font-weight: 700; }
.wk-page .wk-group-done {
    margin: 8px 2px 0; font-size: 12px; font-weight: 600; color: #10a34a;
    letter-spacing: .01em;
}
.wk-page .live-badge {
    display: inline-block; background: #e11d2a; color: #fff; font-weight: 700;
    font-size: 10px; line-height: 1; padding: 3px 6px; border-radius: 4px;
    letter-spacing: .04em; vertical-align: middle;
    animation: wk-live-pulse 1.4s ease-in-out infinite;
}
.wk-page .wk-match-vs.live, .wk-page .score.live { color: #e11d2a; font-weight: 800; }
@keyframes wk-live-pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
