/* ========== 1) RESET & GLOBAL ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Tło sekcji content na singlu filmu */
body.single-film_do_repertuaru #primary.content-area {
    background-color: #fff;
}

/* Ukrycie domyślnego headera wpisu na singlu filmu */
.single-film_do_repertuaru .entry-header {
    display: none;
}

/* ===================== DZISIAJ GRAMY – PEŁNY CSS ===================== */

/* Neonowy wrapper */
.dzisiaj-gramy-neon {
    border: 2px solid #00eaff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 0 6px #00eaff, 0 0 14px #00eaff,
        0 0 28px rgba(0, 234, 255, .8),
        inset 0 0 8px rgba(0, 234, 255, .5);
    animation: neonPulse 2.5s infinite;
    margin: 30px 0;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 6px #00eaff, 0 0 14px #00eaff, 0 0 28px rgba(0, 234, 255, .8), inset 0 0 8px rgba(0, 234, 255, .5);
    }

    50% {
        box-shadow: 0 0 3px #00eaff, 0 0 8px #00eaff, 0 0 18px rgba(0, 234, 255, .6), inset 0 0 4px rgba(0, 234, 255, .3);
    }
}

/* Tytuł sekcji */
.repertuar-main-title {
    margin: 0 0 14px;
    padding-left: 2px;
    color: #fff;
    font: 800 32px/1.1 "Inter", system-ui, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-align: center;
}

/* Kontener tabelaryczny */
.repertuar-tabelaryczny {
    background: #121416;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

/* Header z nazwami sal */
.repertuar-header {
    display: grid;
    grid-template-columns: 70% repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(180deg, #16191d, #14171a);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font: 700 13px/1.1 "Inter", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Nazwy sal w odpowiednich kolorach */
/* Nagłówki sal w odpowiednich kolorach */
.repertuar-cell-hall.hall-czerwona {
    color: #e63946;
}

.repertuar-cell-hall.hall-niebieska {
    color: #3a86ff;
}

/* Wiersz z filmem */
.repertuar-row {
    display: grid;
    grid-template-columns: 70% repeat(auto-fit, minmax(120px, 1fr));
    align-items: center;
    padding: 22px 20px;
    background: linear-gradient(180deg, #0e1012, #0f1113);
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.repertuar-row+.repertuar-row {
    border-top: 1px solid rgba(255, 255, 255, .05);
}

/* Plakat + tytuł */
.repertuar-cell-title {
    display: flex;
    align-items: center;
    gap: 20px;
}

.movie-poster {
    width: 70px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.movie-title-meta {
    display: flex;
    flex-direction: column;
}

.movie-title a {
    font-size: 1.2em;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.movie-title a:hover {
    color: #ffce00;
}

/* Meta informacje + tagi */
.movie-submeta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}

.movie-submeta-left {
    display: flex;
    gap: 12px;
    color: #ccc;
    font-size: 0.9em;
}

.movie-submeta-right {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

/* TAGI */
.repertuar-row .movie-submeta-left .movie-tag,
.repertuar-row .movie-submeta-right .movie-tag {
    background: none;
    padding: 0;
    border: none;
    font-size: 0.75em;
    font-weight: 500;
    color: #cfd6df;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Wyjątek: tagi wydarzeń */
.movie-submeta-right .movie-tag.tag-premiera,
.movie-submeta-right .movie-tag.tag-przedpremiera,
.movie-submeta-right .movie-tag.tag-wydarzenie,
.movie-submeta-right .movie-tag.tag-event,
.movie-submeta-right .movie-tag.tag-specjalne {
    background: #ffc107;
    color: #111;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 700;
}

.movie-submeta-right .movie-tag.tag-familijny {
    background: #27d252;
    color: #111;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 700;
}

/* Godziny seansów */
.repertuar-cell-showtime {
    text-align: center;
    padding: 4px;
}

.showtime-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 22px;
    font-size: 0.8em;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: background 0.3s, transform 0.2s;
}

.showtime-link:hover {
    transform: scale(1.05);
}

/* Kolory godzin zależne od sali */
.showtime-link.sala-czerwona {
    background: #e63946;
}

.showtime-link.sala-czerwona:hover {
    background: #c72e3a;
}

.showtime-link.sala-niebieska {
    background: #3a86ff;
}

.showtime-link.sala-niebieska:hover {
    background: #316cd6;
}

/*                                                      =================================================================
                                                                               MOBILE (max-width: 768px)
                                                        ================================================================= */

/* =========================================================
   DZISIAJ GRAMY — MOBILE (izolowane style)
   Działa tylko w obrębie .dzisiaj-gramy-neon i ≤980px
========================================================= */
@media (max-width:980px) {

    /* tło i karta wiersza (bez białych teł) */
    .dzisiaj-gramy-neon .repertuar-tabelaryczny {
        background: #121416 !important;
        border: 1px solid rgba(255, 255, 255, .06) !important;
        border-radius: 14px !important;
    }

    .dzisiaj-gramy-neon .repertuar-header {
        display: none !important;
    }

    .dzisiaj-gramy-neon .repertuar-row {
        display: block !important;
        margin: 12px 12px 16px !important;
        padding: 16px !important;
        background: linear-gradient(180deg, #0f1113, #14171a) !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        border-radius: 12px !important;
    }

    /* lewa część (plakat + tytuł) */
    .dzisiaj-gramy-neon .repertuar-cell-title {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin-bottom: 10px !important;
    }

    .dzisiaj-gramy-neon .movie-poster {
        width: 64px !important;
        height: auto !important;
        border-radius: 8px !important;
    }

    .dzisiaj-gramy-neon .movie-title a {
        color: #fff !important;
        font: 700 18px/1.2 "Inter", system-ui, sans-serif !important;
        text-decoration: none !important;
    }

    /* wiersz z metadanymi */
    .dzisiaj-gramy-neon .movie-submeta-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
        align-items: center !important;
        margin-top: 6px !important;
    }

    .dzisiaj-gramy-neon .movie-submeta-left {
        display: flex !important;
        gap: 10px !important;
        font-size: .85em !important;
        color: #aeb8c4 !important;
    }

    .dzisiaj-gramy-neon .movie-submeta-right {
        margin-left: 0 !important;
        display: flex !important;
        gap: 8px !important;
    }

    /* wersja językowa niech nie rozpycha — pokażemy ją przy godzinach */
    .dzisiaj-gramy-neon .movie-version {
        display: none !important;
    }

    /* separator nad listą godzin */
    .dzisiaj-gramy-neon .repertuar-mobile-showings {
        display: block !important;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(255, 255, 255, .12) !important;
    }

    /* lista godzin (flex + łamanie wierszy) */
    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link {
        /* pudełko: kwadrat lekko zaokrąglony */
        display: inline-flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        min-width: 78px !important;
        padding: 10px 12px !important;
        margin: 0 10px 10px 0 !important;

        background: #1e2329 !important;
        /* neutralne tło */
        border: 1px solid rgba(255, 255, 255, .14) !important;
        border-radius: 10px !important;
        /* lekko zaokrąglony kwadrat */
        box-shadow: 0 6px 14px rgba(0, 0, 0, .35) !important;

        text-decoration: none !important;
        transition: transform .15s ease, background .2s ease, border-color .2s ease !important;
    }

    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link:active,
    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link:hover {
        transform: translateY(-1px) !important;
        background: #242a31 !important;
        border-color: rgba(255, 255, 255, .2) !important;
    }

    /* GODZINA — zawsze biała */
    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link .st-time {
        color: #fff !important;
        font-weight: 800 !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }

    /* META (np. NAPISY/2D, DUBB/2D) w mini-pigułce pod godziną */
    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link .st-meta {
        margin-top: 6px !important;
        padding: 3px 8px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        line-height: 1 !important;
        color: #fff !important;
        background: rgba(255, 255, 255, .16) !important;
        border-radius: 999px !important;
    }

    /* wyłącz układ desktopowy */
    .dzisiaj-gramy-neon .repertuar-desktop-showings {
        display: none !important;
    }

    .dzisiaj-gramy-neon .repertuar-cell-showtime {
        display: none !important;
    }

    /* neutralizacje koloru po sali — na mobile kolory sal nie barwią tekstu godziny */
    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link[class*="sala-"] {
        background: #1e2329 !important;
    }

    .dzisiaj-gramy-neon .repertuar-mobile-showings .showtime-link[class*="sala-"] .st-time {
        color: #fff !important;
    }
}

/* =============================================================== 3) GŁÓWNY REPERTUAR (lista tygodniowa) ========= */
.weekly-screenings {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 25px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    margin: 40px auto;
    max-width: 1100px;
    width: 100%;
}

/* Pasek dat */
.repertuar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.dates-container {
    margin-bottom: 25px;
    padding: 0 35px;
    position: relative;
    flex-grow: 1;
    min-width: 0;
}

.dates {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.dates::-webkit-scrollbar {
    display: none;
}

.date-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: .9em;
    font-weight: 500;
    min-width: 90px;
    padding: 8px 12px;
    text-align: center;
    transition: all .2s ease;
}

.date-box:not(.active):hover {
    background: #e9e9e9;
    border-color: #ccc;
}

.date-box.active {
    background: #f0ad4e;
    border-color: #eea236;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.date-box .day-label {
    display: block;
    font-weight: 600;
    text-transform: capitalize;
}

.date-box .short-date {
    color: #555;
    font-size: .9em;
}

.date-box.active .short-date,
.date-box.active .day-label {
    color: #fff;
}

/* Strzałki scrolla */
.arrow {
    align-items: center;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 1.5em;
    height: 32px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all .2s ease;
    width: 32px;
    z-index: 10;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.arrow:hover {
    background: #f0f0f0;
}

.arrow.prev-arrow {
    left: 0;
}

.arrow.next-arrow {
    right: 0;
}

.arrow span::before {
    content: "‹";
}

.arrow.next-arrow span::before {
    content: "›";
}

/* Kafel filmu w liście */
.screening-item {
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .3);
    display: grid;
    gap: 20px;
    grid-template-columns: 140px 1fr;
    margin-bottom: 25px;
    padding: 20px;
    transition: all .3s ease-in-out;
}

.screening-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.screening-poster {
    border-radius: 6px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screening-info {
    display: flex;
    flex-direction: column;
}

.title-age-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.title-age-group h4 {
    font-size: 1.4em;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    flex-grow: 1;
}

.title-age-group h4 a {
    color: #222;
    text-decoration: none;
}

.title-age-group h4 a:hover {
    color: #f0ad4e;
}

.age-rating {
    flex-shrink: 0;
    border: 1px solid #999;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: .9em;
    color: #333;
    font-weight: 500;
}

.age-rating i {
    display: none;
}

.meta-and-markers-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.movie-meta.other-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #666;
    font-size: .9em;
    line-height: 1.5;
}

.movie-meta.other-meta span:not(:first-child)::before {
    content: "•";
    color: #ccc;
    margin-right: 12px;
}

.movie-meta.other-meta span i {
    display: none;
}

.event-marker-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.screening-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.screening-time-box .screening-link {
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: .9em;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s ease;
}

.screening-time-box .screening-link:hover {
    background: #f0ad4e;
    border-color: #f0ad4e;
    color: #fff;
}

.screening-time-box .screening-link .sala,
.screening-time-box .screening-link .time {
    display: block;
    text-align: center;
}

.screening-time-box .screening-link .time {
    font-weight: 600;
    font-size: 1.1em;
}

.screening-time-box .screening-link .sala {
    font-size: .75em;
    text-transform: uppercase;
    color: #888;
}

.screening-time-box .screening-link:hover .sala {
    color: #fff;
}

.screening-time-box.is-past .screening-link {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #aaa;
    cursor: not-allowed;
}

.screening-time-box.is-past .screening-link:hover {
    background: #f5f5f5;
    color: #aaa;
}

/* ========= 4) STRONA POJEDYNCZEGO FILMU ========= */

:root{
  --kb-bg:#0d0f12;
  --kb-panel:#15181c;
  --kb-text:#e9eef3;
  --kb-muted:#aeb7c2;
  --kb-gold:#e6a43b;
  --kb-gold-2:#d99524;
  --kb-br:#22272e;
}

/* HERO */
.kb-hero{position:relative;background:#000;color:#fff;}
.kb-hero .n2-section-smartslider{position:absolute!important;inset:0;z-index:1;}
.kb-hero__shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.45),rgba(0,0,0,.78));z-index:2;}
.kb-hero__grid{position:relative;z-index:3;display:grid;grid-template-columns:320px 1fr;gap:32px;align-items:center;padding:48px 16px;}
.kb-poster{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.45);}
.kb-poster {
  max-width: 260px; /* zamiast 320 */
  height: auto;
}
/* Tytuł – zawsze wersaliki */
.kb-title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Podtytuł i opisy – normalna typografia zdaniowa */
.kb-sub,
.kb-meta span,
.kb-section .entry-content {
  text-transform: none;
}

/* Etykiety (Premiera, Reżyseria itd.) mogą zostać dużymi literami */
.kb-meta strong {
  text-transform: uppercase;
  color: #b3975b; /* złoty akcent */
}


.kb-trailer{margin-top:14px;}
.kb-trailer__ratio{position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.35);}
.kb-trailer__ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.kb-title {
  color: #fff !important;
}

.kb-title{margin:0 0 8px;font-size:42px;line-height:1.1;text-shadow:0 2px 12px rgba(82, 82, 82, 0.4);}
.kb-sub{margin:0 0 14px;opacity:.9}
.kb-chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0;}
.kb-chips li{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18);padding:6px 10px;border-radius:999px;font-weight:600}
/* Trailer: responsywne 16:9 + zaokrąglenia */
.zwiastun-wrapper{
  position:relative;
  width:100%;
  max-width:800px;
  aspect-ratio:16/9;
  margin:14px 0 0;
  border-radius:10px;
  overflow:hidden;
  background:#000;
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}
.zwiastun-wrapper .zwiastun-iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}
@media (max-width:768px){
  .zwiastun-wrapper{ max-width:100%; }
}

/* BODY GRID */
.kb-body{padding:24px 16px;background:#fff;}
.kb-grid{display:grid;grid-template-columns:320px 1fr;gap:36px;}
.kb-col--meta{align-self:start}
.kb-meta p{display:grid;grid-template-columns:120px 1fr;gap:10px;margin:0 0 10px;font-size:.95rem}
.kb-meta strong{color:#555;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.kb-meta span{color:#111}
.kb-obsada{white-space:pre-line}

/* SCHEDULE */
.kb-schedule{background:#f8f8f8;border:1px solid #eee;border-radius:12px;padding:18px;}
.kb-schedule h2{margin:0 0 10px;font-size:1.1rem;text-transform:uppercase;letter-spacing:.04em}
.kb-days{list-style:none;margin:0;padding:0;}
.kb-day{padding:12px 0;border-bottom:1px dashed #ddd;transition:max-height .35s ease,opacity .25s ease}
.kb-day:last-child{border-bottom:none}
.kb-day.is-hidden{max-height:0;opacity:0;overflow:hidden;padding:0;border:0;margin:0}
.kb-date{font-weight:700;margin-bottom:8px;color:#222}
.kb-pill{display:inline-block;margin-left:6px;padding:2px 8px;font-size:.75rem;border-radius:999px;background:var(--kb-gold);color:#111;font-weight:800}
.kb-pill.is-soft{background:#ffe1a6;color:#111}
.kb-times{display:flex;flex-wrap:wrap;gap:8px}
.kb-time{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:82px;padding:8px 10px;border:1px solid #dadada;border-radius:10px;background:#fff;text-decoration:none;color:#111;transition:.15s}
.kb-time .t{font-weight:800}
.kb-time .s{font-size:.7rem;text-transform:uppercase;color:#666}
.kb-time:hover{border-color:var(--kb-gold);box-shadow:0 6px 18px rgba(0,0,0,.08)}
.kb-expand{margin-top:10px;background:transparent;border:1px solid var(--kb-gold);color:#111;padding:8px 14px;border-radius:8px;font-weight:700;cursor:pointer}
.kb-expand:hover{background:var(--kb-gold);}
.kb-hero,
.kb-hero__grid {
  background: transparent !important;
}


/* SEKCJE OPIS/CIEKAWOSTKI */
.kb-section{margin-top:26px;border-top:1px solid #eee;padding-top:18px}
.kb-section h2{font-size:1.05rem;text-transform:uppercase;margin:0 0 10px}

/* RESPONSYWNOŚĆ */
@media (max-width:1024px){
  .kb-hero__grid{grid-template-columns:260px 1fr;}
  .kb-grid{grid-template-columns:280px 1fr;}
}
@media (max-width:768px){
  .kb-hero__grid{grid-template-columns:1fr;gap:16px;padding:24px 16px}
  .kb-title{font-size:30px}
  .kb-body{padding:16px}
  .kb-grid{grid-template-columns:1fr;gap:20px}
}


/* ========= 5) SLIDER „WKRÓTCE” ([slider_wkrotce]) ========= */
.wkrotce-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.wkrotce-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: left !important;
}

.wkrotce-slider-wrapper {
    position: relative;
}

/* tor przewijania (flex) */
.wkrotce-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 0 0 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #f0ad4e transparent;
}

.wkrotce-slider::-webkit-scrollbar {
    height: 8px;
}

.wkrotce-slider::-webkit-scrollbar-track {
    background: transparent;
}

.wkrotce-slider::-webkit-scrollbar-thumb {
    background: #f0ad4e;
    border-radius: 4px;
}

/* pojedynczy slajd */
.wkrotce-slide {
    position: relative;
    flex: 0 0 250px;
    transition: transform .3s ease;
    text-align: left !important;
    border-radius: 8px;
    overflow: hidden;
}

.wkrotce-slide:hover {
    transform: translateY(-5px);
}

/* obraz */
.wkrotce-slide img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
}

/* delikatny gradient u dołu dla czytelności napisów */
.wkrotce-slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    
    pointer-events: none;
}

/* tytuł + data */
.wkrotce-slide h4 {
    margin: 10px 0 0 0;
}

.wkrotce-slide h4 a {
    font-size: .95em;
    font-weight: 700;
    line-height: 1.3;
    color: #fff !important;
    text-decoration: none;
}

.wkrotce-slide .premiera-data {
    font-size: .9em;
    font-weight: 600;
    color: #f0ad4e !important;
    margin-top: 6px;
    margin-bottom: 10px;
}

/* krótki opis (jeśli użyty) */
.wkrotce-slide .krotki-opis-link {
    display: block;
    font-size: .9em;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85) !important;
    text-decoration: none;
}

.wkrotce-slide .krotki-opis-link:hover {
    text-decoration: underline;
}

/* mikro-CTA (pojawia się na hover) */
.wkrotce-slide .mini-cta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 6px 10px;
    font-size: .8rem;
    font-weight: 700;
    background: #f0ad4e;
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: .2s;
}

.wkrotce-slide:hover .mini-cta {
    opacity: 1;
    transform: translateY(0);
}

/* responsywka */
@media (max-width: 768px) {
    .wkrotce-slider {
        gap: 12px;
    }

    .wkrotce-slide {
        flex: 0 0 48%;
    }

    /* ~2 karty w rzędzie na małych ekranach */
    .wkrotce-slide img {
        height: 220px;
    }

    .wkrotce-slide h4 a {
        font-size: .85em;
    }

    .wkrotce-slide .premiera-data {
        font-size: .75em;
        margin-top: 4px;
        margin-bottom: 6px;
    }

    .wkrotce-slide .krotki-opis-link {
        display: none !important;
    }

    .wkrotce-slide .mini-cta {
        font-size: .75rem;
        padding: 5px 8px;
    }
}

/* ========= 6) CYKLICZNE WYDARZENIA ========= */
.cykliczne-wydarzenia-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.cykliczne-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

a.cykliczne-card-link {
    text-decoration: none;
}

.cykliczne-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    transition: transform .3s ease;
}

.cykliczne-card:hover {
    transform: scale(1.03);
}

.card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cykliczne-card h3 {
    font-size: 1.8em;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.cykliczne-card .film-title-in-card {
    font-size: 1.1em;
    font-weight: 400;
    color: #f0ad4e;
    margin: 10px 0 15px;
    display: block;
}

.cykliczne-card .card-button {
    background: #f0ad4e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    align-self: flex-start;
}

/* Podstrona wydarzenia */
.single-cykl_wydarzen .entry-content {
    max-width: 850px;
    margin: 0 auto;
}

.cykl-wydarzenia-article .event-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cykl-wydarzenia-article .event-header h1 {
    font-size: 2.8rem;
    margin-bottom: .2em;
}

.cykl-wydarzenia-article .event-header h2 {
    font-size: 1.5rem;
    color: #777;
    font-weight: 400;
}

.cykl-wydarzenia-article .event-section {
    margin-bottom: 45px;
}

.cykl-wydarzenia-article .event-section h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase !important;
    color: #333 !important;
    border-bottom: 2px solid #f0ad4e !important;
    padding-bottom: 10px !important;
    margin-bottom: 25px !important;
}

.cykl-wydarzenia-article .section-content,
.cykl-wydarzenia-article .section-content p {
    font-size: 16px;
    line-height: 1.7;
    text-transform: none !important;
}

/* Film wieczoru */
.film-wieczoru-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.film-wieczoru-plakat {
    flex: 0 0 250px;
}

.film-wieczoru-plakat img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.film-wieczoru-opis h3 {
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 15px;
}


.gosc-specjalny-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.gosc-specjalny-wrapper img {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.gosc-specjalny-wrapper h3 {
    margin-top: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.sponsorzy-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.sponsor-logo {
    flex: 0 1 150px;
}

.sponsor-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Jedno zdjęcie sponsorów */
.sponsorzy-wrapper-single {
    margin-top: 20px;
}

.sponsorzy-wrapper-single img {
    width: 100%;
    height: auto;
}

/* ========= 7) MEDIA QUERIES ========= */
@media (max-width: 768px) {

    /* Ogólne desktop/mobile */
    .desktop-only-section {
        display: none !important;
    }

    .mobile-only-section {
        display: block !important;
    }

    

    .repertuar-header {
        display: none;
    }

    .repertuar-desktop-showings {
        display: none;
    }

    .repertuar-mobile-showings {
        display: block;
        width: 100%;
    }

    .repertuar-row {
        display: block;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #fff;
        margin-bottom: 20px;
        padding: 15px;
    }

    .repertuar-row:hover {
        background: #fff;
    }

    .repertuar-cell-title {
        padding: 0;
        margin-bottom: 15px;
    }

    .repertuar-mobile-showings .showtime-link {
        margin: 0 8px 8px 0;
        display: inline-block;
    }

    /* Repertuar tygodniowy */
    .weekly-screenings {
        padding: 15px;
        border-radius: 0;
    }

    .dates-container {
        padding: 0;
    }

    .arrow {
        display: none;
    }

    .screening-item {
        grid-template-columns: 90px 1fr !important;
        gap: 15px !important;
        padding: 15px !important;
        margin-bottom: 20px !important;
        background: #f9f9f9 !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, .05) !important;
        border-radius: 8px !important;
    }

    .screening-poster {
        height: 135px !important;
        object-fit: cover !important;
    }

    .screening-info {
        gap: 8px;
    }

    .title-age-group {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 8px !important;
    }

    .title-age-group h4 {
        font-size: 1.2em !important;
        flex-grow: 1;
    }

    .meta-and-markers-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }

    .movie-meta.other-meta {
        font-size: .8em !important;
        gap: 4px 8px;
    }

    .movie-meta.other-meta span:not(:first-child)::before {
        margin-right: 8px;
    }

    .screening-details {
        padding-top: 10px !important;
        gap: 8px;
    }

    .screening-time-box .screening-link {
        padding: 6px 10px !important;
        font-size: .85em !important;
    }

    /* Strona filmu – mobile hero */
    .mobile-hero {
        display: flex !important;
        flex-direction: row !important;
        gap: 15px;
        align-items: flex-start;
        padding: 20px;
    }

    .mobile-hero-poster {
        flex: 0 0 100px;
    }

    .mobile-hero-poster img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        display: block;
    }

    .mobile-hero-info {
        flex: 1;
    }

    h1.mobile-entry-title {
        font-size: 1.5em;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .mobile-meta-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        line-height: 1.4;
        align-items: center;
    }

    .mobile-meta-tags .meta-tag {
        font-size: .7em;
        padding: 3px 6px;
        margin: 0;
        background: rgba(0, 0, 0, .05);
        border: 1px solid rgba(0, 0, 0, .1);
        color: #333;
        text-shadow: none;
    }

    .mobile-meta-tags .meta-tag.imdb-tag {
        background: #f5c518;
        color: #000;
        border-color: #f5c518;
    }

    .film-dolna-tresc {
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 20px 30px;
    }

    .film-lewa-kolumna-final {
        margin-top: 30px;
        order: 3;
    }

    .film-prawa-kolumna-final {
        order: 2;
    }

    #seanse-mobile {
        margin-top: 20px;
        order: 1;
    }

    .opis-filmu,
    .ciekawostki-filmu,
    .galeria-filmu,
    .nagrody-filmu-section {
        margin-top: 30px;
        padding-top: 30px;
        border-top: 1px solid #eaeaea;
    }

    #seanse-mobile.single-film-schedule {
        padding: 1.2em 1em;
        border-radius: 8px;
        margin-left: 0;
        margin-right: 0;
    }

    #seanse-mobile h3 {
        font-size: 1em !important;
    }

    #seanse-mobile .schedule-date {
        font-size: .9em !important;
    }

    #seanse-mobile .seans-godzina-sala {
        min-width: 65px;
        padding: 4px;
    }

    #seanse-mobile .seans-godzina-sala .godzina {
        font-size: 1em !important;
    }

    #seanse-mobile .seans-godzina-sala .sala {
        font-size: .65em !important;
    }

    /* Slider „Wkrótce” – 2 (pół szerokości) na telefonie */
    .wkrotce-slider {
        gap: 12px;
    }

    .wkrotce-slide {
        flex: 0 0 50%;
        text-align: center;
    }

    .wkrotce-slide img {
        height: 220px !important;
        object-fit: cover !important;
        margin-bottom: 10px !important;
    }

    .wkrotce-slide h4 a {
        font-size: .85em !important;
    }

    .wkrotce-slide .premiera-data {
        font-size: .75em !important;
        margin: 5px 0 !important;
    }

    /* Cykliczne wydarzenia – układ kolumnowy na mobile */
    .film-wieczoru-wrapper,
    .gosc-specjalny-wrapper {
        flex-direction: column;
    }

    .film-wieczoru-plakat {
        width: 60%;
        margin: 0 auto 20px;
    }
}



/* ========= 9) DROBNE PORZĄDKI (usunięte powtórki / błędy) ========= */
/* Usunięto: zdublowane bloki .weekly-screenings, .mobile-hero, .repertuar-main-title itd.
   Naprawiono: literówka w box-shadow „0 5px_30px” -> „0 5px 30px”.
   Domknięto błędny komentarz w „2. GŁÓWNY REPERTUAR (WIDOK LISTY)”. */
/* -------------------------------------------------
   Blok: Brak seansów (home / dzisiaj_gramy)
--------------------------------------------------*/
/* ======= Brak seansów – fix specyficzności ======= */
.site-main .brak-seansow-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 16px;
}

.site-main .brak-seansow-inner {
    display: block;
    background: #fff8e1 !important;
    border: 2px dashed #ffb300 !important;
    border-radius: 10px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06);
}

.site-main .brak-seansow-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
}

.site-main .brak-seansow-title {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    color: #c58300 !important;
    font-weight: 700;
    text-transform: none;
}

.site-main .brak-seansow-reason {
    margin: 0 0 8px 0;
    color: #9a7a2d !important;
    font-size: .95rem;
}

.site-main .brak-seansow-lead {
    margin: 6px 0 18px;
    font-size: 1.05rem;
    color: #3a3a3a !important;
}

.site-main .brak-seansow-data {
    color: #111 !important;
    font-weight: 700;
}

.site-main .brak-seansow-actions .full-schedule-button {
    background-color: #d99524;
    border-radius: 6px;
    padding: 12px 22px;
    font-weight: 700;
}

.site-main .brak-seansow-actions .full-schedule-button:hover {
    background-color: #c3851f;
}

@media (max-width: 768px) {
    .site-main .brak-seansow-inner {
        padding: 22px 18px;
    }

    .site-main .brak-seansow-title {
        font-size: 1.35rem;
    }

    .site-main .brak-seansow-lead {
        font-size: 1rem;
    }
}



A to jest w dodtkowy css w wordprss
/* =======================================================
   STYLE DLA PODSTRONY WYDARZENIA CYKLICZNEGO
   ======================================================= */

/* Ogólny kontener artykułu na stronie wydarzenia */
.single-cykl_wydarzen .entry-content {
    max-width: 850px;
    margin: 0 auto;
}

/* Nagłówek główny strony (np. "Kobiecy Wieczór") */
.cykl-wydarzenia-article .event-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cykl-wydarzenia-article .event-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.2em;
}

.cykl-wydarzenia-article .event-header h2 {
    font-size: 1.5rem;
    color: #777;
    font-weight: normal;
}

/* Styl dla każdej nowej sekcji */
.cykl-wydarzenia-article .event-section {
    margin-bottom: 45px;
}

/* Nagłówki sekcji (twoja prośba) */
.cykl-wydarzenia-article .event-section h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase !important;
    color: #333 !important;
    border-bottom: 2px solid #f0ad4e !important;
    padding-bottom: 10px !important;
    margin-bottom: 25px !important;
}

/* Zwykły tekst w sekcjach */
.cykl-wydarzenia-article .section-content,
.cykl-wydarzenia-article .section-content p {
    font-size: 16px;
    line-height: 1.7;
    text-transform: none !important;
}




body.single-cykl_wydarzen .site-content>.ast-container {
    padding-top: -60px !important;
}

.cykl-wydarzenia-article .entry-content {
    max-width: 850px;
    margin: 0 auto;
}

.cykl-wydarzenia-article .event-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 0px;
}

.cykl-wydarzenia-article .event-header h1 {
    font-size: 2.8rem;
}

.cykl-wydarzenia-article .event-header h2 {
    font-size: 1.5rem;
    color: #777;
    font-weight: normal;
}

.cykl-wydarzenia-article .event-section {
    margin-bottom: 35px;
}

.cykl-wydarzenia-article .event-section h2 {
    font-size: 1.6rem !important;
    text-transform: uppercase !important;
    color: #333 !important;
    border-bottom: 2px solid #f0ad4e !important;
    padding-bottom: 10px !important;
    margin-bottom: 15px !important;
}


.cykl-wydarzenia-article .section-content,
.cykl-wydarzenia-article .section-content p {
    font-size: 16px;
    line-height: 1.7;
}

.film-wieczoru-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.film-wieczoru-plakat {
    flex: 0 0 250px;

}

.film-wieczoru-plakat img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.film-wieczoru-opis h3 {
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 15px;
}



.gosc-specjalny-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.gosc-specjalny-wrapper img {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.gosc-specjalny-wrapper h3 {
    margin-top: 0;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.sponsorzy-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.sponsor-logo {
    flex: 0 1 150px;
}

.sponsor-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {

    .film-wieczoru-wrapper,
    .gosc-specjalny-wrapper {
        flex-direction: column;
    }

    .film-wieczoru-plakat {
        width: 60%;
        margin: 0 auto 20px auto;
    }
}

/* Style dla osadzonego zwiastuna na stronie wydarzenia */
.zwiastun-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* Proporcje 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-top: 30px;
    /* Odstęp od opisu filmu */
    border-radius: 8px;
}

.zwiastun-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Style dla sekcji "Sponsorzy" (wersja z jednym obrazkiem) */
.sponsorzy-wrapper-single {
    margin-top: 20px;
}

.sponsorzy-wrapper-single img {
    width: 100%;
    /* Obrazek dopasuje się do szerokości kontenera */
    height: auto;
}

/* =======================================================
   STYLE DLA NOWEJ SEKCJI "NADCHODZĄCE WYDARZENIA"
   ======================================================= */
/* =======================================================
   NOWE STYLE DLA SEKCJI "NADCHODZĄCE WYDARZENIA"
   (Wersja z pionowymi plakatami)
   ======================================================= */

.wydarzenia-karty-section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
}

.wydarzenia-karty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wydarzenia-karty-header h2 {
    font-size: 1.9rem !important;
    margin: 0 !important;
    color: white;
}

.wydarzenia-karty-header .poka-wszystkie-link {
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 600;
}

/* KLUCZOWA ZMIANA: Zmieniamy Grid na Flexbox dla lepszej kontroli */
.wydarzenia-karty-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Wyśrodkowuje karty w rzędzie */
    gap: 20px;
}

/* Ustawiamy stałą szerokość dla karty, co wymusza pionowe proporcje */
.wydarzenie-karta {
    width: 210px;
    /* Stała szerokość karty */
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.karta-plakat-link {
    display: block;
    position: relative;
}

.wydarzenie-karta img {
    width: 100%;
    height: 300px;
    /* Wysokość dopasowana do proporcji 2:3 */
    object-fit: cover;
    display: block;
}

.karta-plakat-link .play-icon {
    position: absolute;
    bottom: 20px;
    right: 160px;
    width: 35px;
    height: 35px;
    background-color: #e6a43b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.karta-plakat-link .play-icon::after {
    content: '';
    display: block;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 16px solid white;
    margin-left: 4px;
}

.karta-plakat-link:hover .play-icon {
    transform: scale(1.1);
}

.karta-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Sprawia, że ten element wypełnia resztę karty */
}

.karta-info .nazwa-cyklu {
    display: block;
    /* Zmieniamy na block, aby width zadziałało */
    width: fit-content;
    /* KLUCZOWA ZMIANA: Szerokość dopasowuje się idealnie do tekstu */

    padding: 3px 7px;
    border-radius: 5px;
    font-size: 0.8em !important;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #e50914;
    color: #FFFFFF !important;
    border: none;
    line-height: 1.4;
    margin-bottom: 8px;
    /* Dodajemy mały margines pod spodem */
}

.karta-info h4 a {
    font-size: 0.8em !important;
    font-weight: 600 !important;
    line-height: 0;
    color: inherit !important;
    text-decoration: none;

}

.karta-info .data-wydarzenia {
    font-size: 15px;
    line-height: 10px;
    color: #111 !important;
    margin-top: 1px !important;
}

.karta-info .karta-przycisk {
    display: inline-block;
    background-color: #f0ad4e;
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    /* Wypycha przycisk na sam dół karty */
    text-align: center;
    transition: background-color 0.2s;
}

.karta-info .karta-przycisk:hover {
    background-color: #d99524;
}

/* Style dla funkcji "Pokaż więcej" w wydarzeniach */
.wydarzenie-karta-ukryta {
    display: none;
}

.pokaz-wiecej-wrapper {
    text-align: center;
    margin-top: 30px;
}

.pokaz-wiecej-btn {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.pokaz-wiecej-btn:hover {
    background-color: #555;
}

@media (max-width: 600px) {

    .wydarzenia-karty-grid {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .wydarzenie-karta {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        height: 150px;
        border-radius: 8px;
        overflow: hidden;
    }

    .karta-plakat-link {
        flex: 0 0 100px;
        height: 100%;
    }

    .wydarzenie-karta img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

    .karta-info {
        flex: 1;
        padding: 10px 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .karta-info .nazwa-cyklu {
        font-size: 0.65em !important;
        padding: 3px 6px;
        margin-bottom: 4px;
    }

    .karta-info h4 a {
        font-size: 0.95em !important;
        font-weight: 600;
    }

    .karta-info .data-wydarzenia {
        font-size: 0.8em !important;
        color: #444;
        margin-top: 4px;
    }

    .karta-info .karta-przycisk {
        display: none;
        /* Ukrywamy przycisk na telefonie, by oszczędzić miejsce */
    }

    .pokaz-wiecej-btn {
        padding: 10px 18px;
        font-size: 0.9em;
    }
}




/* Zmniejszony plakat tylko w sekcji szkolnej */
.szkolny-slider-section .wkrotce-slide img {
    width: 85%;
    /* ZMIANA: Plakat zajmie 85% dostępnego miejsca, a nie 100% */
    height: auto;
    aspect-ratio: 2 / 3;
    /* To zachowuje proporcje */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto 10px auto;
    /* Centruje pomniejszony plakat i dodaje margines pod nim */
}


/* ======= Brak seansów – fix specyficzności ======= */
.site-main .brak-seansow-wrapper {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 16px;
}

.site-main .brak-seansow-inner {
    display: block;
    background: #fff8e1 !important;
    border: 2px dashed #ffb300 !important;
    border-radius: 10px;
    padding: 28px 26px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .06);
}

.site-main .brak-seansow-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
}

.site-main .brak-seansow-title {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    color: #c58300 !important;
    font-weight: 700;
    text-transform: none;
}

.site-main .brak-seansow-reason {
    margin: 0 0 8px 0;
    color: #9a7a2d !important;
    font-size: .95rem;
}

.site-main .brak-seansow-lead {
    margin: 6px 0 18px;
    font-size: 1.05rem;
    color: #3a3a3a !important;
}

.site-main .brak-seansow-data {
    color: #111 !important;
    font-weight: 700;
}

.site-main .brak-seansow-actions .full-schedule-button {
    background-color: #d99524;
    border-radius: 6px;
    padding: 12px 22px;
    font-weight: 700;
}

.site-main .brak-seansow-actions .full-schedule-button:hover {
    background-color: #c3851f;
}

@media (max-width: 768px) {
    .site-main .brak-seansow-inner {
        padding: 22px 18px;
    }

    .site-main .brak-seansow-title {
        font-size: 1.35rem;
    }

    .site-main .brak-seansow-lead {
        font-size: 1rem;
    }
}

.today-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0 18px;
    flex-wrap: wrap
}

.today-pills .pill {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 999px;
    font-size: .9rem;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: .2s
}

.today-pills .pill:hover {
    background: #f0ad4e;
    border-color: #f0ad4e;
    color: #fff
}

/* Floating CTA: Kup bilet (mobile) */
.floating-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: block;
    text-align: center;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    background: #d99524;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

/* :hover i :focus dla dostępności (punkt 3) */
.floating-cta:hover,
.floating-cta:focus {
    background: #c3851f;
    color: #fff;
    outline: none;
}

.floating-cta:focus {
    outline: 3px solid #fff;
    /* widoczny focus */
    outline-offset: 2px;
}

@media (min-width: 769px) {
    .floating-cta {
        display: none;
    }

    /* tylko mobile */
}

/* ===== Patronite – CTA ===== */
.kb-patronite-cta {
    margin: 40px auto;
    padding: 22px;
    background: #fff8e1;
    border: 2px dashed #ffb300;
    border-radius: 10px;
    max-width: 1200px;
}

.kb-patronite-cta__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.kb-patronite-cta__text {
    max-width: 800px;
}

.kb-patronite-cta__lead {
    font-size: 1.05rem;
    margin: .25rem 0 .5rem;
}

.kb-patronite-cta__sub {
    color: #8a6d3b;
    font-size: .95rem;
}

.kb-patronite-cta__btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 8px;
    background: #d99524;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.kb-patronite-cta__btn:hover {
    background: #c3851f;
    color: #fff;
}

/* ===== Patronite – Progi ===== */
.kb-patronite-tiers {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
}

.kb-patronite-tiers__title {
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.kb-patronite-tiers__rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 2px 16px;
    scroll-snap-type: x mandatory;
}

.kb-tier-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kb-tier-card__head {
    margin-bottom: 10px;
}

.kb-tier-card__title {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.kb-tier-card__amount {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f0ad4e;
    color: #fff;
    font-weight: 700;
}

.kb-tier-card__list {
    margin: 14px 0;
    padding-left: 18px;
}

.kb-tier-card__list li {
    margin: 6px 0;
}

.kb-tier-card__btn {
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #2b7a0b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.kb-tier-card__btn:hover {
    background: #256a0a;
    color: #fff;
}

.kb-patronite-tiers__more {
    text-align: center;
    margin-top: 16px;
}

.kb-patronite-tiers__all {
    color: #f0ad4e;
    font-weight: 700;
    text-decoration: none;
}

.kb-patronite-tiers__all:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .kb-patronite-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .kb-tier-card {
        flex: 0 0 85vw;
    }
}

/* Styl przewijania dla progów Patronite */
.kb-patronite-tiers__rail {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

/* Pasek przewijania w Chrome, Edge, Safari */
.kb-patronite-tiers__rail::-webkit-scrollbar {
    height: 6px;
    /* wysokość jak w "Wkrótce" */
}

.kb-patronite-tiers__rail::-webkit-scrollbar-track {
    background: transparent;
}

.kb-patronite-tiers__rail::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

/* ====== STOPKA BAJKA ====== */
.bajka-footer {
    background: #1d1d1d;
    padding: 28px 0 36px;
    color: #ddd;
    font-family: inherit;
}

.bajka-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

/* kolumny */
.bajka-footer__col.social {
    display: flex;
    gap: 14px;
}

.bajka-footer__col.logos {
    display: flex;
    gap: 28px;
    align-items: center;
}

.bajka-footer__col.links {
    margin-left: auto;
    text-align: right;
}

/* social as circles */
.bajka-footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    color: #f0ad4e;
    text-decoration: none;
    transition: .2s;
}

.bajka-footer .social-link:hover {
    background: #2a2a2a;
    border-color: #f0ad4e;
}

/* logotypy */
.bajka-footer__col.logos img {
    height: 46px;
    width: auto;
    max-width: 160px;
    filter: none;
    opacity: 1;
}

/* linki (bez kropek) */
.bajka-footer .footer-links {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
}

.bajka-footer .footer-links li {
    margin: 0;
}

.bajka-footer .footer-links a {
    color: #f0ad4e;
    text-decoration: none;
    display: inline-block;
    padding: 4px 0;
}

.bajka-footer .footer-links a:hover {
    text-decoration: underline;
}

/* przycisk Patronite */
.bajka-footer .footer-patronite {
    display: inline-block;
    margin-top: 6px;
    background: #f0ad4e;
    color: #1d1d1d;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: .2s;
}

.bajka-footer .footer-patronite:hover {
    background: #d99524;
}

/* responsywność */
@media (max-width: 992px) {
    .bajka-footer__col.links {
        width: 100%;
        text-align: left;
    }
}

/* Przyciski pod tabelą – wyśrodkowane + biały neon */
.full-schedule-button-wrapper{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  width:fit-content;
  margin:24px auto 8px;
}

.full-schedule-button-wrapper .button,
.full-schedule-button{
  background:transparent;                   /* tylko obrys */
  color:#fff;
  border:2px solid rgba(255,255,255,.9);    /* biały kontur */
  border-radius:999px;                      /* mocno zaokrąglone */
  padding:14px 26px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-decoration:none;
  box-shadow:
    0 0 6px rgba(255,255,255,.9),
    0 0 16px rgba(255,255,255,.6),
    inset 0 0 0 1px rgba(255,255,255,.15);
  transition:transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.full-schedule-button-wrapper .button:hover,
.full-schedule-button:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-1px);
  box-shadow:
    0 0 10px rgba(255,255,255,1),
    0 0 24px rgba(255,255,255,.75),
    inset 0 0 0 1px rgba(255,255,255,.2);
}

/* — KALENDARZ: zawsze nad wszystkimi — */
.ui-datepicker,
.ui-datepicker * {
    z-index: 999999 !important;
}

/* rodzice nie mogą ucinać popupu */
.dates-container,
.weekly-screenings,
.ast-container,
.site-content {
    overflow: visible !important;
}

/* — ZAPOWIEDZI: tekst na obrazku – jasny i z cieniem — */
.wkrotce-section .wkrotce-slide h4,
.wkrotce-section .wkrotce-slide h4 a,
.wkrotce-section .wkrotce-slide .premiera-data {
    opacity: 1 !important;
}

.wkrotce-section .wkrotce-slide h4 a {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.wkrotce-section .wkrotce-slide .premiera-data {
    color: #ffd064 !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

/* — WERSJA SZKOLNA: tekst pod plakatem – ciemny, bez cienia — */
.szkolny-slider-section .wkrotce-slide h4 a {
    color: #111 !important;
    text-shadow: none !important;
}

.szkolny-slider-section .wkrotce-slide .premiera-data {
    color: #e6a43b !important;
    text-shadow: none !important;
}

/* bezpieczeństwo: żaden rodzic nie wygasza napisów */
.wkrotce-slide,
.wkrotce-slide * {
    filter: none !important;
}


/* jQuery UI Datepicker – zawsze nad wszystkim + ciemny motyw */
#ui-datepicker-div {
    z-index: 100000 !important;
}

.ui-datepicker {
    background: #111 !important;
    border: 1px solid #444 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4) !important;
}

.ui-datepicker .ui-datepicker-header {
    background: #d99524 !important;
    color: #111 !important;
    border: none !important;
}

.ui-datepicker .ui-state-default {
    background: transparent !important;
    border: none !important;
    color: #e6e6e6 !important;
}

.ui-datepicker .ui-state-hover,
.ui-datepicker .ui-state-active {
    background: #f0ad4e !important;
    color: #111 !important;
    border-radius: 6px !important;
}

/* Zapowiedzi / karuzele – tytuł i data nieprzyciemnione */
.wkrotce-slide h4 a,
.wkrotce-slide .premiera-data,
.szkolny-slider-section .wkrotce-slide h4 a,
.szkolny-slider-section .wkrotce-slide .premiera-data {
    opacity: 1 !important;
    filter: none !important;
    color: #fff !important;
}

.wkrotce-slide .premiera-data,
.szkolny-slider-section .wkrotce-slide .premiera-data {
    color: #f0ad4e !important;
}

/* Tytuły w [cykle_trzy_karty] */
.cykle-trzy-karty-wrapper .movie-title a {
    color: #fff !important;
    /* biały tytuł */
}




/* — HARMONOGRAM: wygląd jak w makiecie — */
.kb-schedule--rail h3{ font-size: 26px; margin: 0 auto; max-width: 800px;  }
.kb-rail{ display:flex; align-items:center; gap:12px; position:relative; }
.kb-rail .kb-nav{
  width:36px; height:36px; border-radius:50%; border:1px solid #ffffff; background:#d59541;
  font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center;
}
.kb-dates{ display:flex; gap:10px; overflow-x:auto; padding:10px 2px; margin:0 auto; list-style:none;max-width: 760px;overflow-x: auto; 
    /* przewijanie nadal działa */
    scrollbar-width: none;
    /* Firefox */
} 
.kb-dates::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}
.kb-datebox{
  min-width:104px; text-align:center; border:1px solid; background:#ffffff;
  padding:10px 12px; cursor:pointer;
}
/* Harmonogram – ograniczona szerokość i wyśrodkowanie */
.kb-schedule--rail {
    max-width: 700px;
    /* zmień np. na 700px, 900px w zależności od efektu */
    margin: 0 auto;
    /* wyśrodkowanie */
}
.kb-datebox .dow{ display:block; font-size:12px; color:#ffffff; color: #000; }
.kb-datebox .day{ display:block; font-size:20px; font-weight:800; line-height:1.1; color: #000000;}
.kb-datebox .mon{ display:block; font-size:12px; color:#ffffff; color: #000;}
.kb-datebox.is-active{ background:#d59541; color:#0c0c0c; border-color:#ffffff; }
.kb-datebox.is-active .dow, .kb-datebox.is-active .mon{ color:#fff; }
.kb-rail-divider{ height:2px; background:#111; opacity:.08; margin:10px 0 14px; }
.kb-slots{ display:flex; gap:10px; flex-wrap:wrap; }
.kb-slot {
    display: flex;
    flex-direction: column;
    /* godzina na górze, sala pod spodem */
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 6px 12px;
    border: 3px solid #d59541;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}
.kb-slot:hover{ background:#111; color:#fff; border-color:#111; }
.kb-slot .godzina {
    font-size: 16px;
    font-weight: 700;
}

.kb-slot .sala {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin-top: 2px;
}
/* === Slider "Wkrótce" – tylko na stronach filmów === */
body.single-film_do_repertuaru .kb-wkrotce h2,
body.single-film_do_repertuaru .kb-wkrotce .n2-ss-slider h2,
body.single-film_do_repertuaru .kb-wkrotce .n2-ss-slide .n2-ow {
    color: #000 !important;
    /* tytuły czarne */
}

/* Zmniejszenie plakatów */
body.single-film_do_repertuaru .kb-wkrotce img {
    max-width: 150px !important;
    /* zmniejsz szerokość plakatu */
    height: auto !important;
    margin: 0 auto;
}

/* Dodatkowe dopasowanie układu */
body.single-film_do_repertuaru .kb-wkrotce .n2-ss-slide {
    padding: 10px !important;
}

/* ====== MOBILE (telefon) – strona filmu ====== */
@media (max-width: 768px) {

    /* Hero sekcja */
    .kb-hero__grid {
        grid-template-columns: 1fr;
        /* jedna kolumna */
        text-align: center;
        gap: 20px;
    }

    .kb-hero__left {
        display: flex;
        justify-content: center;
    }

    .kb-poster {
        max-width: 200px;
        height: auto;
    }

    .kb-hero__right {
        text-align: center;
    }

    .kb-title {
        font-size: 22px;
        line-height: 1.2;
        color: #000;
        /* na telefonie zawsze czarny */
    }

    .kb-chips {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Meta + zwiastun */
    .kb-grid {
        grid-template-columns: 1fr;
        /* zamiast 2 kolumn */
        gap: 30px;
    }

    .kb-meta p {
        font-size: 14px;
    }

    .zwiastun-wrapper {
        margin-top: 16px;
    }

    .zwiastun-iframe {
        width: 100%;
        height: 200px;
    }

    /* Harmonogram */
    .kb-schedule--rail h2 {
        font-size: 18px;
        text-align: center;
    }

    .kb-rail {
        flex-direction: column;
        gap: 10px;
    }

    .kb-dates {
        justify-content: center;
        flex-wrap: wrap;
        overflow: hidden;
        /* brak przewijania */
    }

    .kb-datebox {
        min-width: 90px;
        font-size: 14px;
        padding: 8px 6px;
    }

    .kb-slots {
        justify-content: center;
    }

    .kb-slot {
        font-size: 14px;
        padding: 6px 10px;
    }

    /* Sekcje opis/ciekawostki */
    .kb-section {
        padding: 10px;
    }

    .kb-section h2 {
        font-size: 18px;
        text-align: center;
    }

    /* Slider wkrótce – plakaty mniejsze */
    .kb-wkrotce img {
        max-width: 120px !important;
        height: auto;
    }
}
/* ===== MOBILE: harmonogram bez strzałek ===== */
@media (max-width: 768px) {
    .kb-rail .kb-nav {
        display: none !important;
        /* chowamy strzałki */
    }

    .kb-dates {
        overflow-x: auto;
        /* przewijanie palcem */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* ukryj pasek przewijania (Firefox) */
    }

    .kb-dates::-webkit-scrollbar {
        display: none;
        /* ukryj pasek przewijania (Chrome/Safari) */
    }
}

/* ===== NADCHODZĄCE WYDARZENIA – FIX SPECYFICZNOŚCI ===== */
.site-main .wydarzenia-karty-section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px
}

.site-main .wydarzenia-karty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px
}

.site-main .wydarzenia-karty-header h2 {
    font-size: 1.9rem !important;
    margin: 0 !important;
    color: #fff !important
}

.site-main .wydarzenia-karty-header .poka-wszystkie-link {
    text-decoration: none;
    font-size: .8em;
    font-weight: 600
}

/* Grid kart – wymuś flex i odstępy */
.site-main .wydarzenia-karty-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important
}

/* Karta wydarzenia – stabilne proporcje plakatu i układ treści */
.site-main .wydarzenie-karta {
    width: 210px;
    background: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column
}

.site-main .wydarzenie-karta img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block
}

.site-main .karta-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

.site-main .karta-info .nazwa-cyklu {
    display: block;
    width: fit-content;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: .8em !important;
    font-weight: 700;
    text-transform: uppercase;
    background: #e50914;
    color: #fff !important;
    border: none;
    line-height: 1.4;
    margin-bottom: 8px
}

.site-main .karta-info h4 a {
    font-size: .95em !important;
    font-weight: 700 !important;
    line-height: 1.3;
    color: #111 !important;
    text-decoration: none
}

.site-main .karta-info .data-wydarzenia {
    font-size: .95em;
    color: #111 !important;
    margin-top: 4px !important
}

.site-main .karta-info .karta-przycisk {
    display: inline-block;
    background: #f0ad4e;
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    text-align: center
}

.site-main .karta-info .karta-przycisk:hover {
    background: #d99524
}

/* Ikona „play” na plakacie – pozycja i animacja */
.site-main .karta-plakat-link {
    position: relative;
    display: block
}

.site-main .karta-plakat-link .play-icon {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: #e6a43b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s
}

.site-main .karta-plakat-link .play-icon::after {
    content: '';
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 16px solid #fff;
    margin-left: 4px
}

.site-main .karta-plakat-link:hover .play-icon {
    transform: scale(1.1)
}

/* „Pokaż więcej” – zachowanie */
.site-main .wydarzenie-karta-ukryta {
    display: none
}

.site-main .pokaz-wiecej-wrapper {
    text-align: center;
    margin-top: 30px
}

.site-main .pokaz-wiecej-btn {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 30px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase
}

.site-main .pokaz-wiecej-btn:hover {
    background: #555
}

/* ===== HARMONOGRAM W KARTACH WYDARZEŃ – BUTTONY GODZIN ===== */
.site-main .karta-info .screening-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.site-main .karta-info .screening-time-box {
    display: inline-flex
}

.site-main .karta-info .screening-time-box .screening-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 8px 10px;
    border: 1.5px solid #d59541;
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-weight: 700
}

.site-main .karta-info .screening-time-box .screening-link .time {
    font-size: 16px;
    font-weight: 800;
    line-height: 1
}

.site-main .karta-info .screening-time-box .screening-link .sala {
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    margin-top: 2px
}

.site-main .karta-info .screening-time-box .screening-link:hover {
    background: #111;
    color: #fff;
    border-color: #111
}

/* ===== MOBILE – układ poziomy karty ===== */
@media (max-width:600px) {
    .site-main .wydarzenia-karty-grid {
        flex-direction: column;
        gap: 20px;
        align-items: stretch
    }

    .site-main .wydarzenie-karta {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        height: 150px;
        border-radius: 8px
    }

    .site-main .karta-plakat-link {
        flex: 0 0 100px;
        height: 100%
    }

    .site-main .wydarzenie-karta img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0
    }

    .site-main .karta-info {
        flex: 1;
        padding: 10px 12px
    }

    .site-main .karta-info .nazwa-cyklu {
        font-size: .65em !important;
        margin-bottom: 4px
    }

    .site-main .karta-info h4 a {
        font-size: .95em !important
    }

    .site-main .karta-info .data-wydarzenia {
        font-size: .8em !important;
        color: #444;
        margin-top: 4px
    }

    .site-main .karta-info .karta-przycisk {
        display: none
    }

    .site-main .karta-info .screening-details {
        gap: 6px;
        margin-top: 8px
    }

    .site-main .karta-info .screening-time-box .screening-link {
        min-width: 70px;
        padding: 6px 8px
    }
}

/* ===== TARCZA PRZECIW NADPISYWANIU – neutralizacja obcych reguł ===== */
.wydarzenia-karty-section * {
    filter: none !important;
    opacity: 1 !important
}
/* =========================
   HARMONOGRAM – STRONA WYDARZENIA
   (stylistyka jak na stronach filmu)
   ========================= */

/* Kontener blokowy */
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule {
  background:#f8f8f8;
  border:1px solid #eee;
  border-radius:8px;
  padding:1.5em;
  margin:0;
  font-size:16px;
}

/* Nagłówek sekcji w wydarzeniu zostaje z motywu.
   Lista i elementy dnia */
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-list{
  list-style:none;
  margin:0;
  padding:0;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-day-item{
  padding-bottom:1.5em;
  margin-bottom:1.5em;
  border-bottom:1px dashed #ddd;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-day-item:last-child{
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}

/* Data dnia */
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date{
  color:#444;
  display:block;
  font-size:1em;
  font-weight:600;
  margin-bottom:1.5em;
}
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date .day-label-today,
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date .day-label-tomorrow{
  font-weight:normal;
  color:#e6a43b;
}

/* Sloty godzin */
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-times{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:80px;
  padding:6px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:4px;
  transition:all .2s ease;
  text-decoration:none; /* gdy slot jest linkiem */
  color:inherit;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala:hover{
  background:#444;
  border-color:#444;
  color:#fff;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .godzina{
  font-size:1.1em;
  font-weight:700;
  line-height:1.1;
}

.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .sala{
  font-size:.75em;
  text-transform:uppercase;
  color:#777;
  transition:color .2s ease;
  line-height:1.2;
}
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala:hover .sala{
  color:#fff;
}

/* Kolory nazw sal (jak na filmie) */
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .sala.sala-czerwona{ color:#C62828 !important; }
.cykl-wydarzenia-article #event-harmonogram .single-film-schedule .sala.sala-niebieska{ color:#1565C0 !important; }

/* Przycisk „Rozwiń harmonogram” */
.cykl-wydarzenia-article #event-harmonogram .expand-schedule-button,
.cykl-wydarzenia-article #event-harmonogram .expand-schedule-button-v2{
  background:#e6a43b;
  border:none;
  border-radius:4px;
  color:#fff;
  cursor:pointer;
  display:block;
  font-size:1em;
  font-weight:500;
  margin:1.5em auto 0;
  padding:10px 25px;
  text-align:center;
  text-transform:uppercase;
  transition:background-color .2s ease;
}
.cykl-wydarzenia-article #event-harmonogram .expand-schedule-button:hover,
.cykl-wydarzenia-article #event-harmonogram .expand-schedule-button-v2:hover{
  background:#d99524;
}
#expand-schedule-btn,
#expand-schedule-btn-mobile{ display:block !important; }

/* Startowo ukryte dni + animacja rozwijania */
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-day-hidden{
  transition:all .4s ease-in-out;
  max-height:0;
  overflow:hidden;
  padding-top:0;
  padding-bottom:0;
  margin-top:0;
  margin-bottom:0;
  border-width:0;
  opacity:0;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper.is-expanded .schedule-day-hidden{
  max-height:1000px;
  opacity:1;
  margin-bottom:1.5em;
  padding-bottom:1.5em;
  border-bottom:1px dashed #ddd;
}

/* Mikro‑dostosowania wrappera harmonogramu w wydarzeniu */
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper.single-film-schedule{
  margin-top:1px;
  padding-top:0;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper h3{
  font-size:1.2em;
  margin-bottom:1em;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-day-item{
  margin-bottom:.5em;
  padding-bottom:1em;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-date{
  font-size:1em;
  font-weight:600;
  margin-bottom:.5em;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala{
  padding:6px 12px;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala .godzina{
  font-size:1em;
}
.cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala .sala{
  font-size:.7em;
}

/* Mobile */
@media (max-width:768px){
  .cykl-wydarzenia-article #event-harmonogram .single-film-schedule{
    padding:1.2em 1em;
    border-radius:8px;
  }
  .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date
  {
    font-size:.9e
/* =========================
   HARMONOGRAM – STRONA WYDARZENIA
   (stylistyka jak na stronach filmu)
   ========================= */
}
    /* Kontener blokowy */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule {
        background: #f8f8f8;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 1.5em;
        margin: 0;
        font-size: 16px;
    }

    /* Nagłówek sekcji w wydarzeniu zostaje z motywu.
   Lista i elementy dnia */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-day-item {
        padding-bottom: 1.5em;
        margin-bottom: 1.5em;
        border-bottom: 1px dashed #ddd;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-day-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Data dnia */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date {
        color: #444;
        display: block;
        font-size: 1em;
        font-weight: 600;
        margin-bottom: 1.5em;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date .day-label-today,
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date .day-label-tomorrow {
        font-weight: normal;
        color: #e6a43b;
    }

    /* Sloty godzin */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-times {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-width: 80px;
        padding: 6px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        transition: all .2s ease;
        text-decoration: none;
        /* gdy slot jest linkiem */
        color: inherit;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala:hover {
        background: #444;
        border-color: #444;
        color: #fff;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .godzina {
        font-size: 1.1em;
        font-weight: 700;
        line-height: 1.1;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .sala {
        font-size: .75em;
        text-transform: uppercase;
        color: #777;
        transition: color .2s ease;
        line-height: 1.2;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala:hover .sala {
        color: #fff;
    }

    /* Kolory nazw sal (jak na filmie) */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .sala.sala-czerwona {
        color: #C62828 !important;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .sala.sala-niebieska {
        color: #1565C0 !important;
    }

    /* Przycisk „Rozwiń harmonogram” */
    .cykl-wydarzenia-article #event-harmonogram .expand-schedule-button,
    .cykl-wydarzenia-article #event-harmonogram .expand-schedule-button-v2 {
        background: #e6a43b;
        border: none;
        border-radius: 4px;
        color: #fff;
        cursor: pointer;
        display: block;
        font-size: 1em;
        font-weight: 500;
        margin: 1.5em auto 0;
        padding: 10px 25px;
        text-align: center;
        text-transform: uppercase;
        transition: background-color .2s ease;
    }

    .cykl-wydarzenia-article #event-harmonogram .expand-schedule-button:hover,
    .cykl-wydarzenia-article #event-harmonogram .expand-schedule-button-v2:hover {
        background: #d99524;
    }

    #expand-schedule-btn,
    #expand-schedule-btn-mobile {
        display: block !important;
    }

    /* Startowo ukryte dni + animacja rozwijania */
    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-day-hidden {
        transition: all .4s ease-in-out;
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 0;
        margin-bottom: 0;
        border-width: 0;
        opacity: 0;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper.is-expanded .schedule-day-hidden {
        max-height: 1000px;
        opacity: 1;
        margin-bottom: 1.5em;
        padding-bottom: 1.5em;
        border-bottom: 1px dashed #ddd;
    }

    /* Mikro‑dostosowania wrappera harmonogramu w wydarzeniu */
    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper.single-film-schedule {
        margin-top: 1px;
        padding-top: 0;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper h3 {
        font-size: 1.2em;
        margin-bottom: 1em;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-day-item {
        margin-bottom: .5em;
        padding-bottom: 1em;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .schedule-date {
        font-size: 1em;
        font-weight: 600;
        margin-bottom: .5em;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala {
        padding: 6px 12px;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala .godzina {
        font-size: 1em;
    }

    .cykl-wydarzenia-article #event-harmonogram .nowy-harmonogram-wrapper .seans-godzina-sala .sala {
        font-size: .7em;
    }
}
    /* Mobile */}
    @media (max-width:768px) {
        .cykl-wydarzenia-article #event-harmonogram .single-film-schedule {
            padding: 1.2em 1em;
            border-radius: 8px;
        }

        .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-date {
            font-size: .9em;
        }

        .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala {
            min-width: 65px;
            padding: 4px;
        }

        .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .godzina {
            font-size: 1em;
        }

        .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .seans-godzina-sala .sala {
            font-size: .65em;
        }
    }

    /* Zgodność: jeśli shortcode używa prostych klas .schedule-day-hidden */
    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule .schedule-day-hidden {
        display: none;
    }

    .cykl-wydarzenia-article #event-harmonogram .single-film-schedule.is-expanded .schedule-day-hidden {
        display: list-item;
    }

        /* ===== Style dla sekcji Nagród - Wariant 1 (Minimalistyczny) ===== */
    
        /* Główny kontener sekcji */
        .kb-awards {
            margin-top: 2.5rem;
            /* Odstęp od zwiastuna */
            padding-top: 1.5rem;
            /* Wewnętrzny odstęp od góry */
            border-top: 1px solid #e0e0e0;
            /* Delikatna linia oddzielająca od góry */
        }
    
        /* Tytuł "Nagrody i nominacje" */
        .kb-awards-title {
            font-size: 1.4rem;
            margin-bottom: 1.25rem;
            color: #333;
        }
    
        /* Lista nagród (reset domyślnych stylów) */
        .kb-awards-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
    
        /* Pojedynczy element na liście (nagroda) */
        .kb-award-item {
            padding-bottom: 1rem;
            /* Odstęp pod tekstem */
            margin-bottom: 1rem;
            /* Odstęp między nagrodami */
            border-bottom: 1px solid #eaeaea;
            /* Linia oddzielająca wpisy */
        }
    
        /* Usunięcie linii pod ostatnim elementem */
        .kb-award-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }
    
        /* Nagłówek (Instytucja, rok) */
        .kb-award-header {
            margin: 0 0 0.25rem 0;
            /* Minimalny margines pod spodem */
            font-size: 1rem;
            line-height: 1.4;
        }
    
        /* Szczegóły (Status, kategoria) */
        .kb-award-details {
            margin: 0;
            font-size: 0.9rem;
            color: #555;
            /* Lekko szary kolor dla odróżnienia */
        }
    
        /* Etykieta statusu (np. "Nagroda:") */
        .kb-award-status {
            font-weight: 600;
            /* Pogrubienie dla etykiety */
        }

/* ----- Nadpisanie Smart Slider 3 ----- */
.ast-plain-container .n2-ss-slider .n2-ss-slide-background {
    background-attachment: scroll !important;
    background-position: center !important;
    background-size: cover !important;
    transform: none !important;
    z-index: 1 !important;
}

/* Dodatkowo dla warstwy obrazka */
.ast-plain-container .n2-ss-slide-background-image {
    background-color: transparent !important;
    filter: none !important;
}

/* ===== POPUP KALENDARZ dla [nowy_repertuar_test] ===== */

/* Kontener przycisku + popup (pozwala na kotwiczenie absolutne) */
.weekly-screenings .popup-calendar-wrapper {
    position: relative;
    display: inline-block;
}

/* Przycisk kalendarza */
.weekly-screenings .calendar-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    font-size: 14px;
    line-height: 1;
    border: 1px solid var(--kb-cal-border, #d0d5dd);
    border-radius: 8px;
    background: var(--kb-cal-btn-bg, #fff);
    color: var(--kb-cal-btn, #111827);
    cursor: pointer;
    transition: box-shadow .15s ease, transform .04s ease;
}

.weekly-screenings .calendar-button:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.weekly-screenings .calendar-button:active {
    transform: translateY(1px);
}

/* Popup */
.weekly-screenings .popup-calendar {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 9999;
    width: 320px;
    max-width: 92vw;
    background: var(--kb-cal-bg, #ffffff);
    border: 1px solid var(--kb-cal-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .14), 0 2px 8px rgba(16, 24, 40, .08);
    overflow: hidden;
    user-select: none;
}

/* Header z nawigacją miesięcy */
.weekly-screenings .popup-calendar-header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: .6rem .75rem;
    background: var(--kb-cal-head-bg, #f9fafb);
    border-bottom: 1px solid var(--kb-cal-border, #e5e7eb);
    font-weight: 600;
    font-size: 14px;
    color: var(--kb-cal-head, #111827);
}

.weekly-screenings .popup-calendar-header>span {
    text-align: center;
    white-space: nowrap;
}

/* Przyciski prev / next */
.weekly-screenings .popup-calendar-header .prev-month,
.weekly-screenings .popup-calendar-header .next-month {
    appearance: none;
    border: 0;
    background: transparent;
    width: 32px;
    height: 32px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: var(--kb-cal-nav, #111827);
    cursor: pointer;
    transition: background-color .15s ease, transform .04s ease;
}

.weekly-screenings .popup-calendar-header .prev-month:hover,
.weekly-screenings .popup-calendar-header .next-month:hover {
    background: rgba(17, 24, 39, .06);
}

.weekly-screenings .popup-calendar-header .prev-month:active,
.weekly-screenings .popup-calendar-header .next-month:active {
    transform: translateY(1px);
}

/* Siatka */
.weekly-screenings .popup-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .25rem;
    padding: .75rem;
}

/* Nazwy dni */
.weekly-screenings .popup-calendar-grid .day-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--kb-cal-dow, #6b7280);
    text-align: center;
    padding: .25rem 0 .4rem;
}

/* Pola dni */
.weekly-screenings .popup-calendar-grid .day {
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 14px;
    border-radius: 10px;
    color: var(--kb-cal-day, #111827);
    background: transparent;
    border: 1px solid transparent;
}

/* Dni nieaktywne (brak seansów) – tylko wizualnie bierne */
.weekly-screenings .popup-calendar-grid .day:not(.active) {
    color: var(--kb-cal-day-muted, #9ca3af);
}

/* Dni aktywne (z seansami) */
.weekly-screenings .popup-calendar-grid .day.active {
    cursor: pointer;
    border-color: var(--kb-cal-active-brd, #d1e4ff);
    background: var(--kb-cal-active-bg, #f0f7ff);
}

/* Hover i focus dla aktywnych */
.weekly-screenings .popup-calendar-grid .day.active:hover {
    background: var(--kb-cal-active-hover, #e6f1ff);
    border-color: var(--kb-cal-active-hover-brd, #b9d8ff);
}

.weekly-screenings .popup-calendar-grid .day.active:focus-visible {
    outline: 2px solid var(--kb-cal-focus, #3b82f6);
    outline-offset: 2px;
}

/* Dziś – delikatny ring (opcjonalnie) */
.weekly-screenings .popup-calendar-grid .day::after {
    content: "";
}

.weekly-screenings .popup-calendar-grid .day[data-date="<?php echo date('Ymd'); ?>"] {
    position: relative;
}

.weekly-screenings .popup-calendar-grid .day[data-date="<?php echo date('Ymd'); ?>"]::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px dashed var(--kb-cal-today, #3b82f6);
    border-radius: 8px;
    pointer-events: none;
}

/* Responsywność */
@media (max-width: 420px) {
    .weekly-screenings .popup-calendar {
        width: 300px;
    }

    .weekly-screenings .popup-calendar-grid .day {
        height: 34px;
        font-size: 13px;
    }

    .weekly-screenings .popup-calendar-header {
        font-size: 13px;
    }
}

/* Dark mode (jeśli strona ma class="dark") */
.dark .weekly-screenings .popup-calendar {
    background: #0b1220;
    border-color: #1f2a44;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .4);
}

.dark .weekly-screenings .popup-calendar-header {
    background: #0e1628;
    border-bottom-color: #1f2a44;
    color: #e5e7eb;
}

.dark .weekly-screenings .popup-calendar-header .prev-month,
.dark .weekly-screenings .popup-calendar-header .next-month {
    color: #e5e7eb;
}

.dark .weekly-screenings .popup-calendar-header .prev-month:hover,
.dark .weekly-screenings .popup-calendar-header .next-month:hover {
    background: rgba(255, 255, 255, .06);
}

.dark .weekly-screenings .popup-calendar-grid .day-name {
    color: #9aa4bf;
}

.dark .weekly-screenings .popup-calendar-grid .day {
    color: #e5e7eb;
}

.dark .weekly-screenings .popup-calendar-grid .day:not(.active) {
    color: #7c86a2;
}

.dark .weekly-screenings .popup-calendar-grid .day.active {
    background: #0f2038;
    border-color: #274672;
}

.dark .weekly-screenings .popup-calendar-grid .day.active:hover {
    background: #102845;
    border-color: #315786;
}

.dark .weekly-screenings .popup-calendar-grid .day[data-date="<?php echo date('Ymd'); ?>"]::after {
    border-color: #60a5fa;
}

/* Preferencje redukcji ruchu */
@media (prefers-reduced-motion: reduce) {

    .weekly-screenings .calendar-button,
    .weekly-screenings .popup-calendar-header .prev-month,
    .weekly-screenings .popup-calendar-header .next-month {
        transition: none;
    }
}


/* --- KOD NAPRAWCZY v4 - TŁO I POPRAWIONA STOPKA --- */

/* 1. Ustawienie czarnego tła i białego tekstu */
html,
body,
div#page {
    background-color: #000000 !important;

}

/* 2. Usunięcie tła z wewnętrznych kontenerów */
.site-content,
.ast-container,
.entry-content {
    background: none !important;
}

/* 3. Ustawienie koloru tekstu dla nagłówków i linków */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title a {}

a {}

/* 4. Poprawki dla stopki */
.site-footer {
    background-color: #000000 !important;
    /* Upewniamy się, że tło stopki jest czarne */
    color: #ffffff !important;
}

/* Nowe reguły centrujące i skalujące logotypy w stopce */
.site-footer-section-1 .uagb-container-inner-blocks-wrap {
    display: flex;
    justify-content: center;
    /* Wyśrodkowanie w poziomie */
    align-items: center;
    /* Wyśrodkowanie w pionie */
    flex-wrap: wrap;
    /* Pozwala elementom zawijać się w razie potrzeby */
    gap: 20px;
    /* Odstęp między logotypami */
}

.site-footer-section-1 .wp-block-uagb-image {
    max-width: 180px !important;
    /* Zwiększony maksymalny rozmiar logotypu */
    height: auto !important;
    margin: 10px;
    /* Dodatkowy margines dla bezpieczeństwa */
}

.site-footer-section-1 .wp-block-uagb-image img {
    width: 100% !important;
    height: auto !important;
}

/* --- KONIEC KODU --- */

/* --- POPRAWKA DLA SEKCJI "DZISIAJ GRAMY" Z EFEKTEM NEONU --- */

/* Najpierw usuwamy starą ramkę z wewnętrznego elementu */
.repertuar-tabelaryczny {
    border: none !important;
    padding: 0 !important;
    /* Usuwamy też padding, bo będzie na zewnątrz */
}

/* Teraz dodajemy efekt neonu do zewnętrznego kontenera */
.dzisiaj-gramy-neon {
    /* Ustawiamy szerokość i wyśrodkowanie dla całej sekcji */
    max-width: 1200px;
    /* Możesz zmienić tę wartość, np. na 800px lub 1000px */
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2rem;
    /* Odstęp wewnątrz ramki */

    /* --- EFEKT NEONU --- */
    border: 2px solid #fff;
    /* Biały rdzeń "świetlówki" */
    border-radius: 12px;
    /* Zaokrąglone rogi */

    /* Wielowarstwowy cień tworzący poświatę */
    box-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #00aaff,
        /* Niebieska poświata wewnętrzna */
        0 0 40px #00aaff,
        /* Niebieska poświata zewnętrzna */
        0 0 60px #00aaff;
    /* Najszersza, najbardziej rozmyta poświata */

    /* Opcjonalna animacja migotania */
    animation: neon-flicker 2s infinite alternate;
}

/* Definicja animacji migotania neonu */
@keyframes neon-flicker {
    from {
        box-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #00aaff,
            0 0 40px #00aaff,
            0 0 60px #00aaff;
    }

    to {
        box-shadow:
            0 0 3px #fff,
            0 0 7px #fff,
            0 0 15px #00aaff,
            0 0 30px #00aaff,
            0 0 50px #00aaff;
    }
}

/* ===== Style dla sekcji Nagród - Wariant 1 (Minimalistyczny) ===== */

/* Główny kontener sekcji */
.kb-awards {
    margin-top: 2.5rem;
    /* Odstęp od zwiastuna */
    padding-top: 1.5rem;
    /* Wewnętrzny odstęp od góry */
    border-top: 1px solid #e0e0e0;
    /* Delikatna linia oddzielająca od góry */
}

/* Tytuł "Nagrody i nominacje" */
.kb-awards-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #333;
}

/* Lista nagród (reset domyślnych stylów) */
.kb-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pojedynczy element na liście (nagroda) */
.kb-award-item {
    padding-bottom: 1rem;
    /* Odstęp pod tekstem */
    margin-bottom: 1rem;
    /* Odstęp między nagrodami */
    border-bottom: 1px solid #eaeaea;
    /* Linia oddzielająca wpisy */
}

/* Usunięcie linii pod ostatnim elementem */
.kb-award-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Nagłówek (Instytucja, rok) */
.kb-award-header {
    margin: 0 0 0.25rem 0;
    /* Minimalny margines pod spodem */
    font-size: 1rem;
    line-height: 1.4;
}

/* Szczegóły (Status, kategoria) */
.kb-award-details {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    /* Lekko szary kolor dla odróżnienia */
}

/* Etykieta statusu (np. "Nagroda:") */
.kb-award-status {
    font-weight: 600;
    /* Pogrubienie dla etykiety */
}

/* ==========================================================================
   FINALNY, KOMPLETNY STYL STRONY WYDARZENIA
   ========================================================================== */

/* --- ZMIENNE DO ŁATWEJ EDYCJI --- */
:root {
    --event-bg-color: #f7f7f7;
    --card-bg-color: #ffffff;
    --text-color: #222222;
    --text-color-light: #666666;
    --accent-color: #0073e6;
    --border-color: #e5e5e5;
    --card-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    --sala-red: #C0392B;
    --sala-blue: #2980B9;
}

/* --- OGÓLNY UKŁAD STRONY --- */
body.single-wydarzenie {
    background-color: var(--event-bg-color);
}

body.single-wydarzenie #primary {
    max-width: 950px;
    margin: 2rem auto;
    padding: 0;
    float: none;
    background: none;
    border: none;
    box-shadow: none;
}

/* --- STYLIZACJA KART / BLOKÓW --- */
.single-wydarzenie .ev-hero-txt,
.single-wydarzenie .ev-schedule {
    background-color: var(--card-bg-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

/* --- NAGŁÓWKI I TEKSTY OPISOWE --- */
.single-wydarzenie h1,
.single-wydarzenie h2 {
    color: var(--text-color);
    text-align: center;
}

.single-wydarzenie h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.single-wydarzenie .ev-hero-txt p,
.single-wydarzenie .ev-excerpt {
    text-transform: none !important;
    text-align: left !important;
    color: var(--text-color-light);
    line-height: 1.7;
}

/* ==========================================================================
   ULEPSZONY HARMONOGRAM
   ========================================================================== */
.single-wydarzenie .ev-schedule {
    padding-top: 2rem;
}

.single-wydarzenie .ev-day h3 {
    background: none;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-color-light);
    letter-spacing: 1px;
    padding-left: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.single-wydarzenie .ev-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    background: none;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.single-wydarzenie .ev-list>.ev-item:last-child {
    border-bottom: none;
}

.single-wydarzenie .ev-thumb {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-wydarzenie .ev-info {
    display: flex;
    flex-direction: column;
}

.single-wydarzenie .ev-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.single-wydarzenie .ev-info h4 a {
    color: inherit;
    text-decoration: none;
}

.single-wydarzenie .ev-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- INFORMACJE O SALI --- */
.single-wydarzenie .ev-meta {
    margin-bottom: 1rem;
    font-weight: 500;
}

.single-wydarzenie .sala-czerwona {
    color: var(--sala-red);
}

.single-wydarzenie .sala-niebieska {
    color: var(--sala-blue);
}

/* --- SEKCJA Z GODZINĄ I PRZYCISKIEM --- */
.single-wydarzenie .ev-bottom-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.single-wydarzenie .ev-time {
    border-color: var(--border-color);
    color: var(--text-color);
    background: none;
    font-weight: 500;
    border-radius: 8px;
}

/* ==========================================================================
   WYRÓŻNIONY PRZYCISK "KUP BILET"
   ========================================================================== */
.single-wydarzenie .ev-buy-ticket {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.single-wydarzenie .ev-buy-ticket:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   STYLE DLA POSZCZEGÓLNYCH ELEMENTÓW WYDARZENIA (jeśli potrzebne)
   ========================================================================== */

/* * Ten kod stylizuje wygląd harmonogramu, listy filmów itd.
 * Jest już zawarty w Twoim głównym CSS, ale wklejam go dla kompletności.
*/

.kb-event h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: .2rem 0 1rem;
}

.kb-event h2 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin: 1.5rem 0 .8rem;
}

.ev-hero {
    margin: 0 0 1.5rem;
}

.ev-hero-txt {
    text-align: center;
}

/* Opis pod tytułem może zostać na środku */

.ev-schedule {
    max-width: 1100px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.ev-day h3 {
    margin: 0 0 .5rem;
    padding: .4rem .6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.ev-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .7rem;
}

.ev-item {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: .8rem;
    padding: .6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.ev-thumb {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.ev-info h4 {
    margin: .1rem 0 .25rem;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.2;
}

.ev-times {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.ev-time {
    display: inline-block;
    padding: .35rem .6rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Ukrycie domyślnych nagłówków motywu */
.single-wydarzenie .entry-header,
.single-wydarzenie .entry-meta {
    display: none;
}

/* --- Style dla karuzeli z filmami edukacyjnymi - Wersja bez tytułów --- */

.edukacyjna-karuzela-section {
    max-width: 1200px;
    margin: 60px auto;
}

/* Nagłówek sekcji */
.edukacyjna-karuzela-header {
    text-align: center;
    margin-bottom: 30px;
}

.edukacyjna-karuzela-header h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0;
}

/* Wrapper karuzeli */
.edukacyjna-karuzela-wrapper {
    position: relative;
    padding: 0 50px;
}

.edukacyjna-karuzela .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    line-height: 0;
    /* Zapobiega powstawaniu pustej przestrzeni pod obrazkiem */
}

.edukacyjna-karuzela .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.edukacyjna-karuzela .swiper-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.edukacyjna-karuzela .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

/* Nawigacja (strzałki i kropki) */
.edukacyjna-karuzela-wrapper .swiper-button-next,
.edukacyjna-karuzela-wrapper .swiper-button-prev {
    color: #f0ad4e;
    width: 40px;
    height: 40px;

    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.edukacyjna-karuzela-wrapper .swiper-button-next:hover,
.edukacyjna-karuzela-wrapper .swiper-button-prev:hover {

    color: #fff;
}

.edukacyjna-karuzela-wrapper .swiper-button-prev {
    left: 5px;
}

.edukacyjna-karuzela-wrapper .swiper-button-next {
    right: 5px;
}

.edukacyjna-karuzela-wrapper .swiper-pagination-bullet-active {
    background: #f0ad4e;

}

/* Responsywność */
@media (max-width: 768px) {
    .edukacyjna-karuzela-section {
        margin: 40px auto;
    }

    .edukacyjna-karuzela-header h2 {
        font-size: 24px;
    }

    .edukacyjna-karuzela-wrapper {
        padding: 0 15px;
    }

    .edukacyjna-karuzela-wrapper .swiper-button-next,
    .edukacyjna-karuzela-wrapper .swiper-button-prev {
        display: none;
    }

    /* Ukrywamy strzałki na mobile */
}

/* ==========================================================================
   WŁASNE STYLE I MODYFIKACJE
   ========================================================================== */

/* --- Strona pojedynczego filmu --- */

/* Poprawka wielkości liter w metadanych */
.single-film_do_repertuaru .kb-chips li,
.single-film_do_repertuaru .kb-meta span {
    text-transform: capitalize;
}

/* Sekcja "Materiały dla nauczycieli" */
.kb-section--edu {
    background-color: #f8f8f8;
    padding: 30px 25px;
    margin-bottom: 30px;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.kb-section--edu h2 {
    font-size: 2.1em;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0d0d0;
    color: #1a1a1a;
}

.kb-edu-material {
    border: none;
    padding: 0;
    margin-top: 30px;
}

.kb-edu-material:first-child {
    margin-top: 0;
}

.kb-edu-tytul {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.kb-edu-opis-materialu {
    margin-bottom: 15px;
    color: #444;
    font-size: 1em;
}

.kb-edu-meta {
    margin-bottom: 20px;
    display: block;
}

.kb-edu-tag {
    display: block;
    background-color: transparent;
    padding: 2px 0;
    margin-bottom: 5px;
    border-radius: 0;
    font-size: 0.95em;
    color: #333;
}

.kb-edu-tag strong {
    color: #000;
}

.kb-button-edu {
    display: inline-block;
    background-color: #0073e6;
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
}

.kb-button-edu:hover {
    background-color: #005a9c;
    color: #fff;
}

/* --- Inne modyfikacje i komponenty --- */

/* Poprawka dla slidera "Wkrótce" na stronach szkolnych */
.szkolny-slider-section .wkrotce-slide h4 a,
.szkolny-slider-section .wkrotce-slide .premiera-data {
    opacity: 1 !important;
}

.wkrotce-slide::after {
    background: linear-gradient(to top, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0))
}

/* Poprawki dla stron wydarzeń */
.cykliczne-card-link:nth-child(3) h3 {
    color: #ffce00;
}

.cykl-wydarzenia-article .event-section h2 {
    text-transform: uppercase;
    letter-spacing: .02em;
}

.cykl-wydarzenia-article .section-content h3,
.cykl-wydarzenia-article .section-content h4 {
    text-transform: none;
}

/* I tak dalej... tutaj możesz dodawać inne swoje style w przyszłości */


/* Zmiana koloru nagłówka "Wkrótce" na biały */
.wkrotce-section .wkrotce-header h2 {
    color: #ffffff;
}

/* ==========================================================================
   POPRAWKI DLA MODUŁU "DZISIAJ GRAMY"
   ========================================================================== */

/* --- Styl dla przeniesionego nagłówka "DZISIAJ GRAMY" --- */
.repertuar-header .repertuar-cell-title {
    color: #ffffff;
    /* Biały kolor tekstu */
    font-weight: bold;
    font-size: 1.2rem;
    /* Możesz dostosować rozmiar */
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Wyrównanie tekstu idealnie na środku komórki */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Styl dla tagu "PREMIERA" (i innych) --- */
.movie-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #111111;
    /* Ciemny kolor tekstu na tagu */
    border-radius: 4px;
    line-height: 1;
    text-transform: uppercase;
}

/* Kolor dla konkretnego tagu "Premiera" */
.movie-tag.tag-premiera {
    background-color: #f0ad4e;
    /* Złoty/żółty kolor tła */
}

/* Przykładowe kolory dla innych tagów, jeśli będziesz potrzebować */
.movie-tag.tag-przedpremiera {
    background-color: #5bc0de;
}

.movie-tag.tag-pokaz-specjalny {
    background-color: #d9534f;
}

/* Kontener bez dodatkowego tła */
.wydarzenia-archive-page {
    background: transparent
}

.wydarzenia-archive-page .ast-container {
    padding-top: 2rem;
    padding-bottom: 2rem
}

/* Nagłówki główne */
.archive-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: #222;
    text-transform: uppercase
}

.archive-section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #222
}

/* Miesiące – po JS dostają .archive-month */
.archive-section-title.archive-month {
    text-align: left !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333
}

/* Siatka kart */
.wydarzenia-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem
}

/* Karta */
.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .12)
}

/* Obrazek */
.event-card-image {
    height: 200px;
    background: #f0f0f0
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Treść */
.event-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

/* Data */
.event-card-meta {
    order: -1;
    margin-bottom: .75rem
}

.event-card-dates {
    font-size: .85rem;
    font-weight: 500;
    color: #0073e6
}

/* Tytuł */
.event-card-title {
    font-size: 1.4rem;
    color: #222;
    margin: 0 0 .75rem;
    line-height: 1.3
}

/* Opis */
.event-card-excerpt {
    font-size: .95rem;
    line-height: 1.6;
    color: #444;
    flex-grow: 1
}

.event-card-excerpt p {
    margin: 0;
    text-transform: none;
    text-align: left
}

/* Nagłówek główny "WYDARZENIA" */
.archive-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: #222;
    text-transform: uppercase;
}

/* Nagłówek "Archiwum" */
.archive-section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #222;
}

/* Nagłówki miesięcy */
.archive-month-title {
    text-align: left;
    font-size: 1.1rem;
    /* zmniejszona wielkość */
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333;
}

/* ===== Style dla sekcji Nagród - Wariant 1 (Minimalistyczny) ===== */

/* Główny kontener sekcji */
.kb-awards {
    margin-top: 2.5rem;
    /* Odstęp od zwiastuna */
    padding-top: 1.5rem;
    /* Wewnętrzny odstęp od góry */
    border-top: 1px solid #e0e0e0;
    /* Delikatna linia oddzielająca od góry */
}

/* Tytuł "Nagrody i nominacje" */
.kb-awards-title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #333;
}

/* Lista nagród (reset domyślnych stylów) */
.kb-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pojedynczy element na liście (nagroda) */
.kb-award-item {
    padding-bottom: 1rem;
    /* Odstęp pod tekstem */
    margin-bottom: 1rem;
    /* Odstęp między nagrodami */
    border-bottom: 1px solid #eaeaea;
    /* Linia oddzielająca wpisy */
}

/* Usunięcie linii pod ostatnim elementem */
.kb-award-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Nagłówek (Instytucja, rok) */
.kb-award-header {
    margin: 0 0 0.25rem 0;
    /* Minimalny margines pod spodem */
    font-size: 1rem;
    line-height: 1.4;
}

/* Szczegóły (Status, kategoria) */
.kb-award-details {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    /* Lekko szary kolor dla odróżnienia */
}

/* Etykieta statusu (np. "Nagroda:") */
.kb-award-status {
    font-weight: 600;
    /* Pogrubienie dla etykiety */
}

/* ==========================================================================
   FINALNY, KOMPLETNY STYL STRONY WYDARZENIA
   ========================================================================== */

/* --- ZMIENNE DO ŁATWEJ EDYCJI --- */
:root {
    --event-bg-color: #f7f7f7;
    --card-bg-color: #ffffff;
    --text-color: #222222;
    --text-color-light: #666666;
    --accent-color: #0073e6;
    --border-color: #e5e5e5;
    --card-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    --sala-red: #C0392B;
    --sala-blue: #2980B9;
}

/* --- OGÓLNY UKŁAD STRONY --- */
body.single-wydarzenie {
    background-color: var(--event-bg-color);
}

body.single-wydarzenie #primary {
    max-width: 950px;
    margin: 2rem auto;
    padding: 0;
    float: none;
    background: none;
    border: none;
    box-shadow: none;
}

/* --- STYLIZACJA KART / BLOKÓW --- */
.single-wydarzenie .ev-hero-txt,
.single-wydarzenie .ev-schedule {
    background-color: var(--card-bg-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

/* --- NAGŁÓWKI I TEKSTY OPISOWE --- */
.single-wydarzenie h1,
.single-wydarzenie h2 {
    color: var(--text-color);
    text-align: center;
}

.single-wydarzenie h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.single-wydarzenie .ev-hero-txt p,
.single-wydarzenie .ev-excerpt {
    text-transform: none !important;
    text-align: left !important;
    color: var(--text-color-light);
    line-height: 1.7;
}

/* ==========================================================================
   ULEPSZONY HARMONOGRAM
   ========================================================================== */
.single-wydarzenie .ev-schedule {
    padding-top: 2rem;
}

.single-wydarzenie .ev-day h3 {
    background: none;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--text-color-light);
    letter-spacing: 1px;
    padding-left: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.single-wydarzenie .ev-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    background: none;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.single-wydarzenie .ev-list>.ev-item:last-child {
    border-bottom: none;
}

.single-wydarzenie .ev-thumb {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-wydarzenie .ev-info {
    display: flex;
    flex-direction: column;
}

.single-wydarzenie .ev-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.single-wydarzenie .ev-info h4 a {
    color: inherit;
    text-decoration: none;
}

.single-wydarzenie .ev-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- INFORMACJE O SALI --- */
.single-wydarzenie .ev-meta {
    margin-bottom: 1rem;
    font-weight: 500;
}

.single-wydarzenie .sala-czerwona {
    color: var(--sala-red);
}

.single-wydarzenie .sala-niebieska {
    color: var(--sala-blue);
}

/* --- SEKCJA Z GODZINĄ I PRZYCISKIEM --- */
.single-wydarzenie .ev-bottom-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.single-wydarzenie .ev-time {
    border-color: var(--border-color);
    color: var(--text-color);
    background: none;
    font-weight: 500;
    border-radius: 8px;
}

/* ==========================================================================
   WYRÓŻNIONY PRZYCISK "KUP BILET"
   ========================================================================== */
.single-wydarzenie .ev-buy-ticket {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.single-wydarzenie .ev-buy-ticket:hover {
    background-color: #005bb5;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ==========================================================================
   STYLE DLA POSZCZEGÓLNYCH ELEMENTÓW WYDARZENIA (jeśli potrzebne)
   ========================================================================== */

/* * Ten kod stylizuje wygląd harmonogramu, listy filmów itd.
 * Jest już zawarty w Twoim głównym CSS, ale wklejam go dla kompletności.
*/

.kb-event h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: .2rem 0 1rem;
}

.kb-event h2 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin: 1.5rem 0 .8rem;
}

.ev-hero {
    margin: 0 0 1.5rem;
}

.ev-hero-txt {
    text-align: center;
}

/* Opis pod tytułem może zostać na środku */

.ev-schedule {
    max-width: 1100px;
    margin: 1rem auto;
    padding: 0 1rem;
}

.ev-day h3 {
    margin: 0 0 .5rem;
    padding: .4rem .6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.1rem);
}

.ev-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .7rem;
}

.ev-item {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: .8rem;
    padding: .6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
}

.ev-thumb {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.ev-info h4 {
    margin: .1rem 0 .25rem;
    font-size: clamp(1rem, 1.7vw, 1.15rem);
    line-height: 1.2;
}

.ev-times {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.ev-time {
    display: inline-block;
    padding: .35rem .6rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Ukrycie domyślnych nagłówków motywu */
.single-wydarzenie .entry-header,
.single-wydarzenie .entry-meta {
    display: none;
}

/* --- Style dla karuzeli z filmami edukacyjnymi - Wersja bez tytułów --- */

.edukacyjna-karuzela-section {
    max-width: 1200px;
    margin: 60px auto;
}

/* Nagłówek sekcji */
.edukacyjna-karuzela-header {
    text-align: center;
    margin-bottom: 30px;
}

.edukacyjna-karuzela-header h2 {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #000;
    margin: 0;
}

/* Wrapper karuzeli */
.edukacyjna-karuzela-wrapper {
    position: relative;
    padding: 0 50px;
}

.edukacyjna-karuzela .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    line-height: 0;
    /* Zapobiega powstawaniu pustej przestrzeni pod obrazkiem */
}

.edukacyjna-karuzela .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.edukacyjna-karuzela .swiper-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.edukacyjna-karuzela .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    display: block;
}

/* Nawigacja (strzałki i kropki) */
.edukacyjna-karuzela-wrapper .swiper-button-next,
.edukacyjna-karuzela-wrapper .swiper-button-prev {
    color: #f0ad4e;
    width: 40px;
    height: 40px;

    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.edukacyjna-karuzela-wrapper .swiper-button-next:hover,
.edukacyjna-karuzela-wrapper .swiper-button-prev:hover {

    color: #fff;
}

.edukacyjna-karuzela-wrapper .swiper-button-prev {
    left: 5px;
}

.edukacyjna-karuzela-wrapper .swiper-button-next {
    right: 5px;
}

.edukacyjna-karuzela-wrapper .swiper-pagination-bullet-active {
    background: #f0ad4e;

}

/* Responsywność */
@media (max-width: 768px) {
    .edukacyjna-karuzela-section {
        margin: 40px auto;
    }

    .edukacyjna-karuzela-header h2 {
        font-size: 24px;
    }

    .edukacyjna-karuzela-wrapper {
        padding: 0 15px;
    }

    .edukacyjna-karuzela-wrapper .swiper-button-next,
    .edukacyjna-karuzela-wrapper .swiper-button-prev {
        display: none;
    }

    /* Ukrywamy strzałki na mobile */
}

/* ==========================================================================
   WŁASNE STYLE I MODYFIKACJE
   ========================================================================== */

/* --- Strona pojedynczego filmu --- */

/* Poprawka wielkości liter w metadanych */
.single-film_do_repertuaru .kb-chips li,
.single-film_do_repertuaru .kb-meta span {
    text-transform: capitalize;
}

/* Sekcja "Materiały dla nauczycieli" */
.kb-section--edu {
    background-color: #f8f8f8;
    padding: 30px 25px;
    margin-bottom: 30px;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.kb-section--edu h2 {
    font-size: 2.1em;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d0d0d0;
    color: #1a1a1a;
}

.kb-edu-material {
    border: none;
    padding: 0;
    margin-top: 30px;
}

.kb-edu-material:first-child {
    margin-top: 0;
}

.kb-edu-tytul {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.kb-edu-opis-materialu {
    margin-bottom: 15px;
    color: #444;
    font-size: 1em;
}

.kb-edu-meta {
    margin-bottom: 20px;
    display: block;
}

.kb-edu-tag {
    display: block;
    background-color: transparent;
    padding: 2px 0;
    margin-bottom: 5px;
    border-radius: 0;
    font-size: 0.95em;
    color: #333;
}

.kb-edu-tag strong {
    color: #000;
}

.kb-button-edu {
    display: inline-block;
    background-color: #0073e6;
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
}

.kb-button-edu:hover {
    background-color: #005a9c;
    color: #fff;
}

/* --- Inne modyfikacje i komponenty --- */

/* Poprawka dla slidera "Wkrótce" na stronach szkolnych */
.szkolny-slider-section .wkrotce-slide h4 a,
.szkolny-slider-section .wkrotce-slide .premiera-data {
    opacity: 1 !important;
}

.wkrotce-slide::after {
    background: linear-gradient(to top, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0))
}

/* Poprawki dla stron wydarzeń */
.cykliczne-card-link:nth-child(3) h3 {
    color: #ffce00;
}

.cykl-wydarzenia-article .event-section h2 {
    text-transform: uppercase;
    letter-spacing: .02em;
}

.cykl-wydarzenia-article .section-content h3,
.cykl-wydarzenia-article .section-content h4 {
    text-transform: none;
}

/* I tak dalej... tutaj możesz dodawać inne swoje style w przyszłości */


/* Zmiana koloru nagłówka "Wkrótce" na biały */
.wkrotce-section .wkrotce-header h2 {
    color: #ffffff;
}

/* ==========================================================================
   POPRAWKI DLA MODUŁU "DZISIAJ GRAMY"
   ========================================================================== */

/* --- Styl dla przeniesionego nagłówka "DZISIAJ GRAMY" --- */
.repertuar-header .repertuar-cell-title {
    color: #ffffff;
    /* Biały kolor tekstu */
    font-weight: bold;
    font-size: 1.2rem;
    /* Możesz dostosować rozmiar */
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Wyrównanie tekstu idealnie na środku komórki */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Styl dla tagu "PREMIERA" (i innych) --- */
.movie-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #111111;
    /* Ciemny kolor tekstu na tagu */
    border-radius: 4px;
    line-height: 1;
    text-transform: uppercase;
}

/* Kolor dla konkretnego tagu "Premiera" */
.movie-tag.tag-premiera {
    background-color: #f0ad4e;
    /* Złoty/żółty kolor tła */
}

/* Przykładowe kolory dla innych tagów, jeśli będziesz potrzebować */
.movie-tag.tag-przedpremiera {
    background-color: #5bc0de;
}

.movie-tag.tag-pokaz-specjalny {
    background-color: #d9534f;
}

/* Kontener bez dodatkowego tła */
.wydarzenia-archive-page {
    background: transparent
}

.wydarzenia-archive-page .ast-container {
    padding-top: 2rem;
    padding-bottom: 2rem
}

/* Nagłówki główne */
.archive-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: #222;
    text-transform: uppercase
}

.archive-section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #222
}

/* Miesiące – po JS dostają .archive-month */
.archive-section-title.archive-month {
    text-align: left !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333
}

/* Siatka kart */
.wydarzenia-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem
}

/* Karta */
.event-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, .12)
}

/* Obrazek */
.event-card-image {
    height: 200px;
    background: #f0f0f0
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Treść */
.event-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1
}

/* Data */
.event-card-meta {
    order: -1;
    margin-bottom: .75rem
}

.event-card-dates {
    font-size: .85rem;
    font-weight: 500;
    color: #0073e6
}

/* Tytuł */
.event-card-title {
    font-size: 1.4rem;
    color: #222;
    margin: 0 0 .75rem;
    line-height: 1.3
}

/* Opis */
.event-card-excerpt {
    font-size: .95rem;
    line-height: 1.6;
    color: #444;
    flex-grow: 1
}

.event-card-excerpt p {
    margin: 0;
    text-transform: none;
    text-align: left
}

/* Nagłówek główny "WYDARZENIA" */
.archive-title {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: #222;
    text-transform: uppercase;
}

/* Nagłówek "Archiwum" */
.archive-section-title {
    text-align: center;
    font-size: 2rem;
    margin: 3rem 0 2rem;
    color: #222;
}

/* Nagłówki miesięcy */
.archive-month-title {
    text-align: left;
    font-size: 1.1rem;
    /* zmniejszona wielkość */
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: #333;
}

/* --- POPRAWKA KOLORU NAGŁÓWKÓW NA PODSTRONACH WYDARZEŃ --- */

.cykl-wydarzenia-article h1,
.cykl-wydarzenia-article h2,
.cykl-wydarzenia-article h3,
.cykl-wydarzenia-article {
    color: #ffffff !important;
    /* Ustawia kolor nagłówków H1 i H2 na biały */
}

/* --- POPRAWKA KOLORU NAGŁÓWKÓW NA PODSTRONACH WYDARZEŃ (Wersja 2) --- */

.single-cykl_wydarzen .entry-content h1,
.single-cykl_wydarzen .entry-content h2,
.single-cykl_wydarzen .entry-content h3 {
    color: #ffffff !important;
    /* Ustawia kolor wszystkich nagłówków na biały */
}