/* =============================================
   ZuidWest Carnaval — Brabants Bont
   Kleurenpalet gebaseerd op ZuidWest TV carnaval-branding:
   Blauw #1B3F94, Rood #CC2229, Geel #E8B800,
   Groen #4DA832, Oranje #E56B17, Paars #7B2D8E
   ============================================= */

/* === RESETS === */
.zwc-wrapper h3,
.zwc-wrapper p,
.zwc-wrapper time {
    margin: 0;
    padding: 0;
}

.zwc-icon {
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    vertical-align: -0.1em;
    margin-right: 0.2em;
}

/* === WRAPPER === */
/* The wrapper breaks out to full viewport width so the hero
   background can span edge-to-edge. Content sections are
   constrained by .zwc-container instead. */
.zwc-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #32373c;
    line-height: 1.6;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    margin-top: -24px;
    background: #fdf6ec;
}

/* Remove theme prose spacing above wrapper */
.prose:has(> .zwc-wrapper) {
    margin-top: 0;
}

/* Hide the WordPress page title when our carnaval wrapper is present */
.article-content:has(.zwc-wrapper) > h1 {
    display: none;
}

/* === HERO === */
.zwc-hero {
    color: #fff;
    position: relative;
    overflow: hidden;

    /* Diagonal stripes matching ZuidWest carnaval branding */
    background: linear-gradient(
        125deg,
        #2E1558 0%,
        #3B1D6E 2.5%,
        #C85A10 3%,
        #C85A10 8.5%,
        #4DA832 9%,
        #4DA832 27.5%,
        #2A4593 28%,
        #2A4593 71.5%,
        #E8B800 72%,
        #E8B800 84.5%,
        #CC0000 85%,
        #CC0000 100%
    );
}

/* Confetti — SVG rectangles in branding colors */
.zwc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Crect x='18' y='25' width='4' height='13' rx='1' fill='%23fff' opacity='.5' transform='rotate(35 20 31.5)'/%3E%3Crect x='65' y='12' width='3.5' height='11' rx='1' fill='%23CC2229' opacity='.5' transform='rotate(-22 66.75 17.5)'/%3E%3Crect x='120' y='35' width='5' height='15' rx='1' fill='%23E8B800' opacity='.5' transform='rotate(72 122.5 42.5)'/%3E%3Crect x='178' y='18' width='3' height='10' rx='1' fill='%234DA832' opacity='.5' transform='rotate(-48 179.5 23)'/%3E%3Crect x='230' y='42' width='4' height='12' rx='1' fill='%23E56B17' opacity='.5' transform='rotate(18 232 48)'/%3E%3Crect x='30' y='80' width='3' height='9' rx='1' fill='%237B2D8E' opacity='.45' transform='rotate(-62 31.5 84.5)'/%3E%3Crect x='88' y='68' width='5' height='10' rx='1' fill='%23fff' opacity='.45' transform='rotate(82 90.5 73)'/%3E%3Crect x='145' y='75' width='3.5' height='12' rx='1' fill='%23CC2229' opacity='.45' transform='rotate(-32 146.75 81)'/%3E%3Crect x='205' y='90' width='4' height='9' rx='1' fill='%2350C8FF' opacity='.4' transform='rotate(55 207 94.5)'/%3E%3Crect x='15' y='135' width='5' height='13' rx='1' fill='%234DA832' opacity='.5' transform='rotate(42 17.5 141.5)'/%3E%3Crect x='70' y='125' width='3' height='8' rx='1' fill='%23E56B17' opacity='.45' transform='rotate(-72 71.5 129)'/%3E%3Crect x='108' y='145' width='4.5' height='14' rx='1' fill='%23fff' opacity='.5' transform='rotate(28 110.25 152)'/%3E%3Crect x='160' y='130' width='3' height='10' rx='1' fill='%237B2D8E' opacity='.45' transform='rotate(-42 161.5 135)'/%3E%3Crect x='218' y='140' width='4' height='11' rx='1' fill='%23E8B800' opacity='.5' transform='rotate(65 220 145.5)'/%3E%3Crect x='42' y='185' width='4' height='10' rx='1' fill='%23E8B800' opacity='.45' transform='rotate(-28 44 190)'/%3E%3Crect x='95' y='200' width='3' height='12' rx='1' fill='%2350C8FF' opacity='.4' transform='rotate(50 96.5 206)'/%3E%3Crect x='150' y='190' width='5' height='9' rx='1' fill='%23CC2229' opacity='.5' transform='rotate(-55 152.5 194.5)'/%3E%3Crect x='198' y='205' width='3.5' height='13' rx='1' fill='%23fff' opacity='.45' transform='rotate(38 199.75 211.5)'/%3E%3Crect x='245' y='180' width='3' height='8' rx='1' fill='%234DA832' opacity='.45' transform='rotate(-15 246.5 184)'/%3E%3Crect x='52' y='240' width='4' height='11' rx='1' fill='%23E56B17' opacity='.5' transform='rotate(70 54 245.5)'/%3E%3Ccircle cx='250' cy='65' r='2' fill='%23fff' opacity='.3'/%3E%3Ccircle cx='48' cy='110' r='1.5' fill='%23E8B800' opacity='.35'/%3E%3Ccircle cx='185' cy='165' r='2' fill='%23CC2229' opacity='.3'/%3E%3Ccircle cx='130' cy='225' r='1.5' fill='%23fff' opacity='.3'/%3E%3C/svg%3E");
    background-size: 260px 260px;
    pointer-events: none;
}

.zwc-hero__content {
    position: relative;
    padding: 50px 20px 30px;
    text-align: center;
    z-index: 1;
}

.zwc-hero__title {
    font-size: 44px;
    font-weight: 900;
    color: #fff !important;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
    margin: 0 0 6px;
    line-height: 1.2;
}

.zwc-hero__subtitle {
    font-size: 17px;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* === LIVE BUTTONS === */
.zwc-hero__live {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.zwc-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #32373c;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.zwc-live-btn:hover {
    transform: scale(1.04);
}

.zwc-live-btn__dot {
    width: 8px;
    height: 8px;
    background: #CC2229;
    border-radius: 50%;
    flex-shrink: 0;
}


/* === COLOR STRIPE === */
.zwc-color-stripe {
    display: flex;
    height: 6px;
}

.zwc-color-stripe span {
    flex: 1;
}

.zwc-cs--red { background: #CC2229; }
.zwc-cs--yellow { background: #E8B800; }
.zwc-cs--green { background: #4DA832; }
.zwc-cs--blue { background: #1B3F94; }
.zwc-cs--purple { background: #7B2D8E; }
.zwc-cs--orange { background: #E56B17; }

/* === CONTAINER === */
/* Matches the theme's nav width (max-w-960) */
.zwc-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === SECTIONS === */
.zwc-section {
    margin: 40px 0;
}

.zwc-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}

.zwc-section__title {
    font-size: 26px;
    font-weight: 800;
    display: inline-block;
    background: #1B3F94;
    color: #fff;
    padding: 6px 20px;
    border-radius: 4px;
    transform: rotate(-1deg);
    margin: 0;
    line-height: 1.3;
}

.zwc-section__link {
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1B3F94;
    text-decoration: none;
}

.zwc-section__link:hover {
    text-decoration: underline;
}

/* === SCHEDULE TABLE === */
.zwc-schedule {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.zwc-schedule p {
    display: none;
}

.zwc-schedule__day {
    font-family: Nunito, sans-serif;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    padding: 6px 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zwc-schedule__day--red { background: #CC2229; }
.zwc-schedule__day--yellow { background: #E8B800; color: #32373c; }
.zwc-schedule__day--green { background: #4DA832; }
.zwc-schedule__day--blue { background: #1B3F94; }

.zwc-srow {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    font-size: 13px;
    border-bottom: 1px solid #f0ede6;
}

.zwc-srow:last-child,
.zwc-srow:has(+ .zwc-schedule__day) {
    border-bottom: none;
}

.zwc-srow__time {
    font-weight: 700;
    min-width: 42px;
    color: #1B3F94;
    font-size: 13px;
    flex-shrink: 0;
}

.zwc-srow__title {
    flex: 1;
    font-weight: 500;
    font-size: 13px;
    min-width: 0;
}

.zwc-srow__loc {
    font-weight: 400;
    color: #888;
}

.zwc-srow__channel {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    white-space: nowrap;
}

.zwc-srow__channel--1 {
    background: #e8edf7;
    color: #1B3F94;
}

.zwc-srow__channel--2 {
    background: #fdf0e0;
    color: #c05800;
}

/* === VIDEO FEATURED LAYOUT === */
.zwc-video-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

/* Main (large) video */
.zwc-video-main {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: #1B3F94;
    color: #fff;
    aspect-ratio: 4 / 3;
}

.zwc-video-main__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zwc-video-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1B3F94;
    opacity: 0.25;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.zwc-video-main:hover::before {
    opacity: 0.15;
}

.zwc-video-main img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
}

.zwc-video-main__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #CC2229;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    line-height: 1;
    z-index: 2;
}

.zwc-video-main:hover .zwc-video-main__play {
    transform: translate(-50%, -50%) scale(1.1);
}

.zwc-video-main__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.zwc-video-main__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.zwc-video-main__meta {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 4px;
}

/* Sidebar videos */
.zwc-video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zwc-video-side {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex: 1;
    background: #1B3F94;
    color: #fff;
    transition: transform 0.2s ease;
}

.zwc-video-side__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zwc-video-side:hover {
    transform: scale(1.02);
}

.zwc-video-side::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.zwc-video-side:hover::before {
    opacity: 0.15;
}

.zwc-video-side:nth-child(1)::before { background: #CC2229; }
.zwc-video-side:nth-child(2)::before { background: #4DA832; }
.zwc-video-side:nth-child(3)::before { background: #E8B800; }

.zwc-video-side img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
}

.zwc-video-side__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
}

.zwc-video-side__title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.zwc-video-side__meta {
    font-size: 12px;
    opacity: 0.8;
}

/* === REPORTAGE GRID === */
.zwc-reportage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}


.zwc-rcard {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    color: #32373c;
}

.zwc-rcard__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zwc-rcard:hover {
    transform: translateY(-3px) rotate(-0.5deg);
}

.zwc-rcard__thumb {
    aspect-ratio: 16 / 9;
    background: #ddd;
    overflow: hidden;
    position: relative;
}

.zwc-rcard__thumb img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
}

.zwc-rcard__info {
    padding: 14px;
}

.zwc-rcard__tag {
    display: inline-block;
    font-family: Nunito, sans-serif;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    background: #1B3F94;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zwc-rcard__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #32373c;
}

.zwc-rcard__meta {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* === PRINSENCAFÉ GRID === */
.zwc-prins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.zwc-pcard {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    color: #32373c;
}

.zwc-pcard__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.zwc-pcard:hover {
    transform: translateY(-3px) rotate(-0.5deg);
}

.zwc-pcard__thumb {
    aspect-ratio: 1 / 1;
    background: #ddd;
    overflow: hidden;
    position: relative;
}

.zwc-pcard__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.zwc-pcard:hover .zwc-pcard__thumb::after {
    opacity: 0.2;
}

/* Rotating overlay colors */
.zwc-pcard:nth-child(6n+1) .zwc-pcard__thumb::after { background: #CC2229; }
.zwc-pcard:nth-child(6n+2) .zwc-pcard__thumb::after { background: #E8B800; }
.zwc-pcard:nth-child(6n+3) .zwc-pcard__thumb::after { background: #4DA832; }
.zwc-pcard:nth-child(6n+4) .zwc-pcard__thumb::after { background: #1B3F94; }
.zwc-pcard:nth-child(6n+5) .zwc-pcard__thumb::after { background: #7B2D8E; }
.zwc-pcard:nth-child(6n+6) .zwc-pcard__thumb::after { background: #E56B17; }

.zwc-pcard__thumb img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    margin: 0 !important;
}

.zwc-pcard__info {
    padding: 12px;
}

.zwc-pcard__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #32373c;
}

.zwc-pcard__subtitle {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

/* === BINNENKORT (COMING SOON) === */
.zwc-binnenkort {
    cursor: default;
}

.zwc-binnenkort img {
    filter: grayscale(0.6) brightness(0.7);
}

.zwc-binnenkort__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #E8B800;
    color: #32373c;
    font-family: Nunito, sans-serif !important;
    font-size: 12px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zwc-pcard .zwc-binnenkort__badge {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 3px 8px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .zwc-hero__title {
        font-size: 30px;
    }

    .zwc-live-btn {
        padding: 7px 16px;
        font-size: 13px;
    }

    .zwc-section__title {
        font-size: 20px;
        padding: 5px 14px;
    }

    .zwc-srow {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .zwc-srow__channel {
        order: 10;
    }

    .zwc-video-featured {
        grid-template-columns: 1fr;
    }

    .zwc-video-side {
        min-height: 150px;
    }

    .zwc-reportage-grid {
        grid-template-columns: 1fr 1fr;
    }

    .zwc-prins-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .zwc-reportage-grid {
        grid-template-columns: 1fr;
    }

    .zwc-prins-grid {
        grid-template-columns: 1fr 1fr;
    }

    .zwc-video-sidebar {
        display: flex;
        flex-direction: column;
    }

    .zwc-video-main__title {
        font-size: 16px;
    }
}
