/*
 * Motyw "lok" — Łowicki Ośrodek Kultury (lok.art.pl), SB-4773, 2026-11-21.
 *
 * Styl marki ze starej strony (WordPress InTouch, 2014) — przeniesiony, nie skopiowany:
 *   - ceglane pasmo nagłówka z fakturą rombów (kafelek bg_default.jpg odtworzony w CSS),
 *   - logo „Łok" z trzema rysunkowymi maskotkami i dymkiem — maskotki stoją na granatowym
 *     pasku menu, tak jak w oryginale,
 *   - granat #202833 (pasek menu, stopka), krój Asap.
 * Nowe: nagłówki sekcji jako DYMEK z logo (biały, granatowy obrys, ogonek) — jedyny
 * ozdobnik motywu; żółty #f9b700 z logo = przyciski zakupu (granatowy tekst, 8,3:1).
 * Pomarańcz #db4011 ze starej strony ma z bielą 4,4:1 — tekst tylko w ciemniejszej
 * odmianie #c2390d (5,4:1).
 *
 * Wspólne szablony themes/default używają var(--color-accent / --color-card-*).
 * Plik STATYCZNY (zero Twiga).
 */

/* ── Reset, zmienne ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
:root {
    --lok-brick: #aa4849;
    --lok-brick-dark: #8e3536;
    --lok-navy: #202833;
    --lok-navy-2: #2b373f;
    --lok-yellow: #f9b700;
    --lok-yellow-soft: #fff3cf;
    --lok-orange: #c2390d;
    --lok-paper: #f3f2f0;
    --lok-line: #dedbd7;
    --lok-muted: #5b6470;

    --color-primary: var(--lok-navy);
    --color-accent: var(--lok-brick);
    --color-maroon: var(--lok-brick);
    --color-bg: #ffffff;
    --color-text: var(--lok-navy);
    --color-muted-text: var(--lok-muted);
    --color-card-bg: var(--lok-paper);
    --color-card-hover: #ebe8e4;
    --container-width: 1280px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-lg: 0 12px 28px -8px rgb(32 40 51 / 0.28);
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Asap', 'Segoe UI', system-ui, -apple-system, sans-serif;
}
body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { color: var(--lok-navy); font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.8rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--lok-brick-dark); text-underline-offset: 3px; }
a:hover { color: var(--lok-brick); }
img { max-width: 100%; }

/* ── Dostępność ─────────────────────────────────────────────────────────── */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100000;
    background: var(--lok-yellow); color: var(--lok-navy); padding: 0.8rem 1.4rem;
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
.nav-link-separator[tabindex]:focus-visible, [role="button"][tabindex]:focus-visible, [role="tab"]:focus-visible {
    outline: 3px solid var(--lok-brick);
    outline-offset: 2px;
}
/* na ciemnych i ceglanych tłach obrys żółty (cegła na cegle byłaby niewidoczna) */
.lok-header :focus-visible, .lok-navbar :focus-visible, .site-footer :focus-visible,
.lok-band--navy :focus-visible, #info-bar :focus-visible {
    outline-color: var(--lok-yellow);
}
/* …ale rozwijane podmenu paska są BIAŁE: tam cegła (6:1), obrys do środka, żeby nie wchodził na sąsiadów
   (audyt axe/Tab 2026-11-22: żółty na bieli 1,78:1 < 3:1, WCAG 1.4.11) */
.lok-navbar .nav-dropdown :focus-visible { outline-color: var(--lok-brick); outline-offset: -3px; }

/* ── Pomocnicze (ładujemy tylko bootstrap-grid) ─────────────────────────── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--lok-muted); }
.text-dark { color: var(--lok-navy); }
.text-danger { color: var(--lok-orange); }
.text-success { color: #1f7a45; }
.font-weight-bold, .font-weight-bolder { font-weight: 700; }
.small { font-size: 0.875em; }
.img-fluid { max-width: 100%; height: auto; }
.w-100 { width: 100% !important; }
.rounded, .rounded-sm { border-radius: var(--radius-sm); }
.rounded-circle { border-radius: 50%; }
.shadow-sm { box-shadow: none; }
.img-thumbnail { border: 1px solid var(--lok-line); padding: 0.25rem; max-width: 100%; height: auto; }
.list-group { display: flex; flex-direction: column; }
.list-group-item { padding: 0.85rem 1rem; background: var(--lok-paper); margin-bottom: 0.5rem; border-radius: var(--radius-sm); }
.border-bottom { border-bottom: 2px solid var(--lok-navy) !important; }
.border-light.border-bottom { border-bottom: 1px solid var(--lok-line) !important; }
.border-0 { border: 0; }

/* ── Przyciski ──────────────────────────────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; cursor: pointer; }
.lok-btn, .btn-primary, .btn-outline-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1.2;
    padding: 0.75rem 1.35rem; border-radius: 999px; border: 2px solid var(--lok-navy);
    background: var(--lok-navy); color: #fff; text-decoration: none; cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.lok-btn:hover, .btn-primary:hover, .btn-outline-primary:hover { background: var(--lok-brick); border-color: var(--lok-brick); color: #fff; }
.lok-btn--ghost, .btn-outline-secondary { background: transparent; color: var(--lok-navy); border: 2px solid var(--lok-navy); border-radius: 999px; }
.lok-btn--ghost:hover, .btn-outline-secondary:hover { background: var(--lok-navy); color: #fff; }
.btn-powrot, .page-back-row .btn-powrot {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 2px solid var(--lok-navy); background: #fff; color: var(--lok-navy);
    font-size: 0.95rem; font-weight: 700; padding: 0.55rem 1.1rem; border-radius: 999px;
    text-decoration: none; cursor: pointer;
}
.btn-powrot:hover, .page-back-row .btn-powrot:hover { background: var(--lok-navy); color: #fff; }
.page-back-row { display: flex; justify-content: flex-start; margin: 0 0 1.2rem; }
.bg-primary { background: var(--lok-brick) !important; }

/* „Kup bilet" — żółty jak „ok" w logo, granatowy tekst */
.lok-cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lok-yellow); color: var(--lok-navy);
    font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
    padding: 0.8rem 1.4rem; border-radius: 999px; text-decoration: none;
    border: 2px solid var(--lok-yellow);
    transition: background var(--transition-fast), color var(--transition-fast);
}
.lok-cta:hover { background: #fff; color: var(--lok-navy); border-color: #fff; }
.lok-cta--header { display: none; }
.lok-cta--drawer { display: flex; margin: 0 0 1.2rem; }

/* ── Nagłówek: cegła + faktura rombów (odtworzony kafelek bg_default.jpg) ── */
.site-header.lok-header {
    position: relative;
    z-index: 30;
    color: #fff;
    background-color: var(--lok-brick);
    background-image:
        repeating-linear-gradient(45deg, rgb(255 255 255 / 0.045) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(-45deg, rgb(0 0 0 / 0.05) 0 1px, transparent 1px 9px);
}
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.lok-header-inner {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    min-height: 118px;
}
.header-logo { flex: 0 1 auto; align-self: flex-end; line-height: 0; }
/* maskotki „stoją" na dolnej krawędzi pasma — bez dolnego odstępu */
.lok-brand { display: block; padding-top: 1.1rem; line-height: 0; }
.lok-brand img { display: block; height: 100px; width: auto; }
.lok-brand:hover img { filter: brightness(1.04); }
.lok-utils {
    align-self: center;
    display: flex; align-items: center; gap: 0.5rem;
    padding: 1rem 0;
}
.lok-icon-link, .header-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: #fff; font-size: 1.1rem; text-decoration: none;
    background: rgb(255 255 255 / 0.12);
    transition: background var(--transition-fast), color var(--transition-fast);
}
.lok-icon-link svg { width: 1.15rem; height: 1.15rem; }
.lok-icon-link:hover, .header-socials a:hover { background: #fff; color: var(--lok-brick-dark); }
.header-account-link.is-logged-in { background: var(--lok-yellow); color: var(--lok-navy); }
.header-socials { display: inline-flex; gap: 0.5rem; margin-left: 0.75rem; }

/* ── Pasek nawigacji (granat, przyklejony) ──────────────────────────────── */
.lok-navbar {
    position: sticky; top: 0; z-index: 9999;
    background: var(--lok-navy);
    box-shadow: 0 2px 0 rgb(0 0 0 / 0.08);
}
.lok-navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 0.25rem; flex-wrap: wrap; }
.nav-item { position: relative; }
.main-nav > ul > .nav-item > a,
.main-nav > ul > .nav-item > .nav-link-separator {
    display: inline-flex; align-items: center; gap: 0.35rem;
    color: #fff; text-decoration: none; cursor: pointer;
    font-weight: 600; font-size: 1.0625rem; line-height: 1;
    padding: 1.4rem 0.95rem calc(1.4rem - 4px);
    border-bottom: 4px solid transparent;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.main-nav > ul > .nav-item > a:hover,
.main-nav > ul > .nav-item:hover > .nav-link-separator,
.main-nav > ul > .nav-item.active > a,
.main-nav > ul > .nav-item.active > .nav-link-separator,
.main-nav > ul > .nav-item:focus-within > a {
    border-bottom-color: var(--lok-yellow);
}
.main-nav .fa-angle-down { font-size: 0.85em; opacity: 0.75; }
/* pozycje najwyższego poziomu mają lvl 1 (korzeń drzewa = lvl 0), więc makro rysuje im strzałkę
   „w prawo" jak w podmenu — na pasku obracamy ją w dół */
.main-nav > ul > .nav-item > a .fa-angle-right,
.main-nav > ul > .nav-item > .nav-link-separator .fa-angle-right { float: none !important; transform: rotate(90deg); font-size: 0.85em; opacity: 0.75; top: 0 !important; margin-left: 0.15rem; }
.nav-dropdown {
    visibility: hidden; opacity: 0; transform: translateY(6px);
    position: absolute; top: 100%; left: 0; z-index: 1000;
    min-width: 260px; margin: 0; padding: 0.5rem 0; list-style: none;
    background: #fff; border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 4px solid var(--lok-yellow);
    box-shadow: var(--shadow-lg);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth);
}
.nav-item.has-dropdown:hover > .nav-dropdown,
.nav-item.has-dropdown:focus-within > .nav-dropdown {
    visibility: visible; opacity: 1; transform: none;
    /* visibility bez opóźnienia przy OTWIERANIU — fokus z klawiatury nie trafia na element jeszcze ukryty */
    transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility 0s;
}
.nav-dropdown li a,
.nav-dropdown li .nav-link-separator {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.6rem 1.25rem; color: var(--lok-navy); text-decoration: none;
    font-size: 1rem; font-weight: 500; line-height: 1.35;
}
.nav-dropdown li a:hover, .nav-dropdown li.active > a, .nav-dropdown li.active-trail > a { background: var(--lok-paper); color: var(--lok-brick-dark); }
.nav-dropdown li.active > a { box-shadow: inset 4px 0 0 var(--lok-yellow); }
.nav-dropdown .has-dropdown > .nav-dropdown { top: -0.5rem; left: 100%; border-top: 0; border-radius: var(--radius-md); }
.nav-dropdown .has-dropdown::after { content: ''; position: absolute; top: 0; right: -10px; width: 10px; height: 100%; }
/* przy prawej krawędzi okna podmenu otwiera się w lewo (skrypt w base: placeFlyout) */
.nav-dropdown .has-dropdown.nav-flip > .nav-dropdown { left: auto; right: 100%; }
.nav-dropdown .has-dropdown.nav-flip::after { right: auto; left: -10px; }
/* czwarty poziom: wcięty pod rodzicem w tej samej kolumnie (makro: has-inline / nav-inline) */
.nav-dropdown .nav-inline { list-style: none; margin: -0.2rem 0 0.3rem 1.25rem; padding: 0 0 0 0.6rem; border-left: 2px solid var(--lok-line); }
.nav-dropdown .nav-inline li a { padding: 0.4rem 1rem 0.4rem 0.65rem; font-size: 0.9375rem; }
/* długa lista bez kolejnego poziomu (Projekty) — dwie kolumny */
.nav-dropdown.nav-dropdown--cols { display: grid; grid-template-columns: repeat(2, minmax(250px, 1fr)); width: min(620px, calc(100vw - 2rem)); column-gap: 0.25rem; }
.main-nav > ul > .nav-item.active-trail > a,
.main-nav > ul > .nav-item.active-trail > .nav-link-separator { border-bottom-color: var(--lok-yellow); }
@media (prefers-reduced-motion: reduce) {
    .nav-dropdown { transition: none; transform: none; }
}

/* lightbox galerii (wspólny _gallery): pasek miniatur z cienkim, ciemnym paskiem przewijania */
.lightbox .lb-thumbs { scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.35) transparent; }

/* ── Szuflada (telefon/tablet) ──────────────────────────────────────────── */
.nav-toggle {
    display: none;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgb(255 255 255 / 0.12); color: #fff; border: 0; cursor: pointer;
    font-size: 1.25rem; line-height: 1;
}
.nav-toggle:hover { background: #fff; color: var(--lok-brick-dark); }
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgb(32 40 51 / 0.55); z-index: 10000; }
.mobile-nav-overlay.active { display: block; }
.mobile-nav {
    display: none;
    position: fixed; top: 0; right: 0; z-index: 10001;
    width: min(340px, 88vw); height: 100vh; height: 100dvh;
    background: #fff; padding: 4.5rem 1.5rem 2rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--transition-smooth), visibility var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--lok-brick);
}
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--lok-line); }
.mobile-nav li:last-child { border-bottom: 0; }
.mobile-nav li > a, .mobile-nav .nav-link-separator {
    display: flex; justify-content: space-between; align-items: center;
    color: var(--lok-navy); text-decoration: none; cursor: pointer;
    padding: 0.85rem 0; font-weight: 600; font-size: 1.15rem; line-height: 1.2;
}
.mobile-nav li > a:hover, .mobile-nav li.active > a { color: var(--lok-brick-dark); }
.mobile-nav ul ul { padding-left: 1rem; border-left: 3px solid var(--lok-yellow); margin: 0 0 0.6rem; }
.mobile-nav ul ul li { border-bottom: 0; }
.mobile-nav ul ul li > a { font-size: 1rem; font-weight: 500; padding: 0.5rem 0; }
.mobile-nav .submenu-toggle { padding: 0.8rem 1rem; margin: -0.6rem -0.5rem -0.6rem 0; color: var(--lok-muted); }
.mobile-nav .has-dropdown > ul { display: none; }
.mobile-nav .has-dropdown.sub-open > ul { display: block; }
.mobile-nav .has-dropdown.sub-open > a .submenu-toggle,
.mobile-nav .has-dropdown.sub-open > .nav-link-separator .submenu-toggle { transform: rotate(90deg); }
.mobile-nav li.active > a { box-shadow: inset 3px 0 0 var(--lok-yellow); padding-left: 0.6rem; }
.mobile-nav-account-label { display: inline-flex; align-items: center; gap: 0.6rem; }
.mobile-nav-close {
    position: absolute; top: 0.9rem; right: 0.9rem;
    width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--lok-paper); color: var(--lok-navy); font-size: 1.3rem; line-height: 1;
}
.mobile-nav-close:hover { background: var(--lok-navy); color: #fff; }
@media (prefers-reduced-motion: reduce) { .mobile-nav { transition: none; } }

/* ── Menu boczne (blok menu w pasku bocznym) ────────────────────────────── */
.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { border-bottom: 1px solid var(--lok-line); }
.sidebar-nav li:last-child { border-bottom: 0; }
.sidebar-nav a { display: block; padding: 0.75rem 0; color: var(--lok-navy); text-decoration: none; font-weight: 500; }
.sidebar-nav a:hover, .sidebar-nav .active > a { color: var(--lok-brick-dark); }
.sidebar-nav ul { list-style: none; padding-left: 1rem; margin: 0 0 0.5rem; border-left: 3px solid var(--lok-yellow); }
.sidebar-nav .has-dropdown, .sidebar-nav .has-sub-dropdown { position: static; padding: 0; }
.sidebar-nav .nav-dropdown {
    visibility: visible; opacity: 1; transform: none; position: static; box-shadow: none;
    padding: 0; background: transparent; min-width: 100%; border: 0; transition: none;
}
.sidebar-nav .has-dropdown::after { display: none; }

/* ── Układ treści ───────────────────────────────────────────────────────── */
.site-main {
    flex: 1;
    width: 100%;
    max-width: var(--container-width);
    margin: 2.5rem auto 4rem;
    padding: 0 1.5rem;
}
.site-main .row { gap: 0; }
.sidebar { padding: 0 0 0 1rem; margin-bottom: 1.5rem; }
/* strona główna: pasma pełnej szerokości stykają się (bez białych przerw) */
.lok-home .site-main { margin-top: 0; margin-bottom: 0; }
.lok-home .content-top-blocks { margin-bottom: 0 !important; }
.lok-home .content-bottom-blocks { margin-top: 0 !important; }

/* Pasma pełnej szerokości (bloki strony głównej). Wnętrze = szerokość kontenera. */
.lok-band {
    width: 100vw; margin-left: calc(50% - 50vw);
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.lok-band > .lok-band-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.lok-band--navy { background: var(--lok-navy); color: #fff; }
.lok-band--navy h2, .lok-band--navy h3 { color: #fff; }
.lok-band--paper { background: var(--lok-paper); }
.lok-band--white { background: #fff; }

/* ── Nagłówek sekcji = DYMEK z logo (biały, granatowy obrys, ogonek z lewej) ── */
.lok-section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem;
    flex-wrap: wrap; margin-bottom: 2rem;
}
.lok-bubble {
    position: relative; display: inline-block;
    margin: 0 0 14px; padding: 0.4em 0.95em 0.45em;
    background: #fff; color: var(--lok-navy);
    border: 2.5px solid var(--lok-navy); border-radius: 1.1em;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); font-weight: 700; line-height: 1.1;
}
/* ogonek: dwa trójkąty — obrys i wypełnienie */
.lok-bubble::before, .lok-bubble::after {
    content: ''; position: absolute; left: 1.3em; width: 0; height: 0;
    border-style: solid; border-color: transparent;
}
.lok-bubble::before { bottom: -17px; border-width: 17px 14px 0 0; border-top-color: var(--lok-navy); }
.lok-bubble::after  { bottom: -11.5px; left: calc(1.3em + 2.6px); border-width: 11.5px 9.5px 0 0; border-top-color: #fff; }
.lok-band--navy .lok-bubble { border-color: #fff; color: var(--lok-navy); } /* bije .lok-band--navy h2 (biały) */
.lok-band--navy .lok-bubble::before { border-top-color: #fff; }
.lok-more {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-weight: 700; color: var(--lok-navy); text-decoration: none;
    border-bottom: 2px solid var(--lok-yellow); padding-bottom: 2px; margin-bottom: 18px;
}
.lok-more:hover { color: var(--lok-brick-dark); border-bottom-color: var(--lok-brick); }
.lok-band--navy .lok-more { color: #fff; }
.lok-band--navy .lok-more:hover { color: var(--lok-yellow); border-bottom-color: #fff; }

/* ── Hero „Polecamy" (widget hero_slider, wariant lok) ──────────────────── */
.lok-hero { background: #fff; padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--lok-line); }
.lok-hero-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; position: relative; }
.lok-hero-slide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; }
.lok-hero-slide[hidden] { display: none; }
.lok-hero-text { order: 1; }
.lok-hero-media { order: 2; }
.lok-hero-kicker { color: var(--lok-orange); font-weight: 700; font-size: 1rem; margin: 0 0 0.75rem; }
.lok-hero-title { font-size: clamp(1.5rem, 1.1rem + 2.4vw, 3rem); line-height: 1.08; margin: 0 0 1rem; overflow-wrap: anywhere; }
.lok-hero-title a { color: inherit; text-decoration: none; }
.lok-hero-title a:hover { color: var(--lok-brick-dark); }
.lok-hero-lead { color: #3c4450; font-size: 1.0625rem; max-width: 52ch; margin: 0 0 1.5rem; }
/* grafika plakatu w dowolnych proporcjach: na rozmytym tle z niej samej, bez przycinania tekstu plakatu */
.lok-hero-media {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--lok-navy);
}
.lok-hero-media .lok-blur {
    position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px);
    object-fit: cover; filter: blur(22px) brightness(0.62) saturate(1.1);
}
.lok-hero-media .lok-fg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.lok-hero-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: clamp(1.25rem, 2.5vw, 2rem); }
/* miniatury dzielą szerokość paska (mieszczą się wszystkie, gdy jest miejsce); przy braku miejsca pasek
   przewija się BEZ suwaka — aktywną miniaturę przesuwa skrypt, a krawędź z ukrytymi miniaturami zanika
   (klasy more-left/more-right). Padding + ujemny margines: obrys fokusu nie jest ucinany przez overflow. */
.lok-hero-thumbs {
    display: flex; gap: 0.6rem; list-style: none; margin: -6px; padding: 6px; flex: 1; min-width: 0;
    overflow-x: auto; scrollbar-width: none;
}
.lok-hero-thumbs::-webkit-scrollbar { display: none; }
.lok-hero-thumbs > li { flex: 1 1 0; min-width: 190px; max-width: 260px; }
.lok-hero-thumbs.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.lok-hero-thumbs.more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px); mask-image: linear-gradient(to right, transparent, #000 56px); }
.lok-hero-thumbs.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.lok-hero-thumb {
    display: flex; align-items: center; gap: 0.6rem; text-align: left;
    width: 100%; height: 100%; padding: 0.4rem; border-radius: var(--radius-md);
    background: #fff; border: 2px solid var(--lok-line); cursor: pointer; font: inherit; color: var(--lok-navy);
}
.lok-hero-thumb img { width: 64px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); flex: 0 0 auto; }
.lok-hero-thumb span { font-size: 0.8125rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lok-hero-thumb:hover { border-color: var(--lok-navy); }
.lok-hero-thumb[aria-current="true"] { border-color: var(--lok-brick); box-shadow: inset 0 -4px 0 var(--lok-brick); }
.lok-hero-btn {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid var(--lok-navy); color: var(--lok-navy); cursor: pointer; font-size: 0.95rem;
}
.lok-hero-btn:hover { background: var(--lok-navy); color: #fff; }

/* ── Kino Fenix: repertuar dzień po dniu (widget repertoire_grid, wariant lok) ── */
.lok-days { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 2rem; padding: 0; }
.lok-days[hidden] { display: none !important; } /* bez JS zakładek nie ma — dni lecą pod sobą */
.lok-day {
    display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
    min-width: 6.5rem; padding: 0.6rem 1rem 0.65rem; border-radius: var(--radius-md);
    border: 2px solid rgb(255 255 255 / 0.35); background: transparent; color: #fff;
    font: inherit; cursor: pointer; text-align: left;
}
.lok-day-name { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.lok-day-date { font-size: 0.875rem; opacity: 0.85; }
.lok-day:hover { border-color: #fff; }
.lok-day[aria-selected="true"] { background: var(--lok-yellow); border-color: var(--lok-yellow); color: var(--lok-navy); }
.lok-day[aria-selected="true"] .lok-day-date { opacity: 1; }
.lok-day-heading { color: #fff; font-size: 1.25rem; margin: 2rem 0 1rem; }
.lok-js .lok-day-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.lok-day-panel[hidden] { display: none; }
.lok-films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem 2rem; list-style: none; margin: 0; padding: 0; }
.lok-film { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; align-items: start; }
.lok-film-poster { display: block; width: 112px; aspect-ratio: 2 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--lok-navy-2); }
.lok-film-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lok-film-title { font-size: 1.15rem; line-height: 1.25; margin: 0.1rem 0 0.35rem; color: #fff; }
.lok-film-title a { color: inherit; text-decoration: none; }
.lok-film-title a:hover { text-decoration: underline; }
.lok-film-meta { font-size: 0.875rem; color: #c7ccd3; margin: 0 0 0.7rem; }
.lok-film-badge {
    display: inline-block; margin-right: 0.4rem; padding: 0.1rem 0.45rem; border-radius: var(--radius-sm);
    background: var(--lok-brick); color: #fff; font-size: 0.75rem; font-weight: 700; vertical-align: 1px;
}
.lok-times { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.lok-time {
    display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.15;
    padding: 0.4rem 0.7rem; border-radius: var(--radius-sm); text-decoration: none;
    background: var(--lok-yellow); color: var(--lok-navy); border: 2px solid var(--lok-yellow);
}
.lok-time strong { font-size: 1.05rem; }
.lok-time small { font-size: 0.75rem; font-weight: 500; }
a.lok-time:hover { background: #fff; border-color: #fff; color: var(--lok-navy); }
.lok-time--off { background: transparent; color: #c7ccd3; border-color: rgb(255 255 255 / 0.3); }
.lok-cinema-empty { color: #c7ccd3; }

/* ── Aktualności (widget article_list, wariant lok) ─────────────────────── */
.lok-news { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); }
.lok-news-lead a, .lok-news-item a { color: inherit; text-decoration: none; }
.lok-news-lead .lok-news-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--lok-navy); margin-bottom: 1.1rem; }
.lok-news-lead .lok-news-img .lok-blur { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(20px) brightness(0.65); }
.lok-news-lead a { display: block; }
.lok-news-lead .lok-news-img .lok-fg { position: absolute; inset: 0; object-fit: contain; }
.lok-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.lok-news-lead h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.15; margin: 0.25rem 0 0.6rem; }
.lok-news-lead p { color: #3c4450; margin: 0; }
.lok-news-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lok-news-item { border-top: 1px solid var(--lok-line); }
.lok-news-item:last-child { border-bottom: 1px solid var(--lok-line); }
.lok-news-item a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; padding: 1rem 0; align-items: center; }
.lok-news-item .lok-news-img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--lok-paper); }
.lok-news-item h3 { font-size: 1.05rem; line-height: 1.3; margin: 0.15rem 0 0; }
.lok-date { display: block; color: var(--lok-orange); font-size: 0.875rem; font-weight: 600; }
.lok-news-lead a:hover h3, .lok-news-item a:hover h3 { color: var(--lok-brick-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.lok-news-lead a:hover .lok-news-img img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .lok-news-img img { transition: none; } }

/* ── Kafle działów (blok html na stronie głównej) ───────────────────────── */
.lok-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.lok-tile a {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 220px; padding: 1.25rem; border-radius: var(--radius-lg); overflow: hidden;
    color: #fff; text-decoration: none; background: var(--lok-navy);
}
.lok-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lok-tile a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(32 40 51 / 0) 30%, rgb(32 40 51 / 0.88) 100%); }
.lok-tile strong, .lok-tile span { position: relative; z-index: 1; }
.lok-tile strong { font-size: 1.3rem; line-height: 1.15; }
.lok-tile span { font-size: 0.9375rem; color: #e6e8eb; margin-top: 0.25rem; }
.lok-tile a:hover strong { text-decoration: underline; text-decoration-color: var(--lok-yellow); text-decoration-thickness: 3px; }

/* ── Partnerzy i środki zewnętrzne (blok partner_list) ──────────────────── */
.lok-partners h3, .widget-partner-list h3 { font-size: 1.1rem; color: var(--lok-muted); font-weight: 600; margin: 2rem 0 1rem; }
.lok-partners h3:first-child, .widget-partner-list h3:first-child { margin-top: 0; }

/* ── Strona artykułu ────────────────────────────────────────────────────── */
.lok-article-head { max-width: 860px; margin: 0 0 2rem; }
.lok-article-head h1 { margin: 0; overflow-wrap: anywhere; }
.lok-article-head .lok-date { font-size: 1rem; margin: 0 0 0.6rem; }
/* kolumna treści 860 px (jak tytuł); przy „W tym dziale" obok wąska kolumna nawigacji działu */
.lok-article-layout { display: block; }
.lok-article-layout .article-main { max-width: 860px; min-width: 0; }
@media (min-width: 992px) {
    .lok-article-layout.has-aside { display: grid; grid-template-columns: minmax(0, 860px) minmax(240px, 300px); justify-content: space-between; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
}
/* grafika NAD tekstem: poziomy kadr wypełnia kolumnę, pionowy plakat mieści się w całości
   (≤ 64vh) na rozmytym tle z tego samego zdjęcia — bez kadrowania i bez pustych pól */
.lok-article-figure {
    position: relative; isolation: isolate; overflow: hidden;
    margin: 0 0 2.25rem; border-radius: var(--radius-md); background: var(--lok-navy);
}
.lok-article-figure .lok-blur {
    position: absolute; inset: -24px; z-index: -1;
    width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover;
    filter: blur(24px) brightness(0.6); border-radius: 0;
}
.lok-article-figure .lok-fg {
    display: block; margin: 0 auto; width: auto; height: auto;
    max-width: 100%; max-height: min(64vh, 640px); border-radius: 0;
}
.lok-article-figure figcaption { font-size: 0.875rem; color: var(--lok-muted); margin-top: 0.5rem; }

/* „W tym dziale" — podstrony działu z menu (Koderki, DKF, X Muza) */
.lok-section-nav { background: var(--lok-paper); border-top: 4px solid var(--lok-brick); border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 1.25rem 1.25rem 1rem; margin-top: 2.5rem; }
.lok-section-nav h2 { font-size: 1rem; font-weight: 700; color: var(--lok-muted); margin: 0 0 0.75rem; }
.lok-section-nav ul { list-style: none; margin: 0; padding: 0; }
.lok-section-nav ul ul { margin: 0.15rem 0 0.35rem 0.9rem; padding-left: 0.75rem; border-left: 2px solid var(--lok-line); }
.lok-section-nav li { margin: 0; }
.lok-section-nav a, .lok-section-nav span { display: block; padding: 0.35rem 0; color: var(--lok-navy); text-decoration: none; line-height: 1.35; font-weight: 500; }
.lok-section-nav > ul > li > a { font-weight: 700; font-size: 1.0625rem; }
.lok-section-nav a:hover { color: var(--lok-brick-dark); text-decoration: underline; }
.lok-section-nav a[aria-current="page"] { color: var(--lok-brick-dark); font-weight: 700; box-shadow: inset 3px 0 0 var(--lok-yellow); padding-left: 0.6rem; }
@media (min-width: 992px) {
    .lok-section-nav { position: sticky; top: 88px; margin-top: 0; }
}
.article-body, .lok-prose { max-width: 72ch; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.article-body li { margin-bottom: 0.3em; }
.article-body blockquote { margin: 1.5em 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--lok-yellow); font-size: 1.1em; }
.article-body img { height: auto; border-radius: var(--radius-sm); }
.article-body figure { margin: 1.5em 0; }
.article-body figcaption { font-size: 0.875rem; color: var(--lok-muted); margin-top: 0.4rem; }
.article-body table { border-collapse: collapse; width: 100%; margin: 1.5em 0; }
.article-body th, .article-body td { border: 1px solid var(--lok-line); padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; }
.article-body th { background: var(--lok-paper); }
.article-body iframe { max-width: 100%; border: 0; }
.article-body video { display: block; max-width: 100%; height: auto; margin: 1.5em 0; border-radius: var(--radius-md); background: #000; }
/* :where() — reguła ogólna NIE może przebijać rozmiarów obrazów w widgetach (plakat 2:3, kadr 16:9 —
   bez tego height: auto rozpychało grafikę ponad ramkę) */
.content-col :where(img), .article-content :where(img) { max-width: 100%; height: auto; }
.content-col :where(iframe) { max-width: 100%; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-back { margin-bottom: 1.5rem; }
.article-content.partner-loga .article-body p { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.article-content.partner-loga img { max-height: 90px; width: auto; }

/* ── Listy kategorii (wspólne szablony default) ─────────────────────────── */
.widget-section-title, .category-title { color: var(--lok-navy); }
.news-date { color: var(--lok-orange); font-weight: 600; }

/* ── Stronicowanie ──────────────────────────────────────────────────────── */
.pgr { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 40px 0 10px; }
.pgr-step { display: inline-flex; align-items: center; gap: 8px; color: var(--lok-navy); font-size: 0.95rem; font-weight: 700; text-decoration: none; padding: 0 12px; }
a.pgr-step:hover { color: var(--lok-brick-dark); }
.pgr-step--off { color: var(--lok-muted); font-weight: 500; cursor: default; }
.pgr-page { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 999px; color: var(--lok-navy); font-weight: 700; text-decoration: none; }
a.pgr-page:hover { background: var(--lok-paper); }
.pgr-page--active { background: var(--lok-navy); color: #fff; }
.pgr-dots { width: 30px; text-align: center; font-weight: 700; }
.pgr-sep { width: 1px; height: 32px; background: var(--lok-line); margin: 0 6px; }

/* ── Stopka ─────────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: auto;
    background: var(--lok-navy);
    color: #d5d9de;
    padding: 3.5rem 0 1.5rem;
    border-top: 6px solid var(--lok-brick);
    font-size: 0.975rem;
}
.site-footer a { color: #fff; text-decoration-color: rgb(255 255 255 / 0.4); }
.site-footer a:hover { color: var(--lok-yellow); text-decoration-color: var(--lok-yellow); }
.site-footer h2, .site-footer h3, .site-footer .widget-menu-title { color: #fff; font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.site-footer p { margin: 0 0 0.6rem; }
.site-footer .widget-custom-menu .submenu-item > a,
.site-footer .lok-footer-links a {
    display: inline-block; color: #e6e8eb !important; padding: 0.3rem 0 !important;
    background: transparent !important; border: 0 !important; text-decoration: none; font-size: 0.975rem;
}
.site-footer .widget-custom-menu .submenu-item > a:hover,
.site-footer .lok-footer-links a:hover { color: var(--lok-yellow) !important; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.lok-footer-brand img { display: block; width: 72px; height: auto; margin-bottom: 1rem; }
.footer-bottom {
    margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.15);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
    font-size: 0.875rem; color: #c7ccd3;
}
.footer-socials { display: flex; gap: 0.5rem; }
.footer-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: #fff; text-decoration: none;
}
.footer-socials a:hover { background: var(--lok-yellow); color: var(--lok-navy); }
.lok-bip { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; text-decoration: none; }
.lok-bip img { width: 52px; height: auto; }
.lok-credit a { color: #fff; }

/* ── Koszyk (FAB + okno) ────────────────────────────────────────────────── */
.cart-fab {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 9500;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--lok-yellow); color: var(--lok-navy); border: 2px solid var(--lok-navy); cursor: pointer;
    font-size: 21px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgb(32 40 51 / 0.35);
}
.cart-fab:hover { background: #fff; }
.cart-fab-count {
    position: absolute; top: -6px; right: -6px; min-width: 24px; height: 24px; border-radius: 12px;
    background: var(--lok-brick); color: #fff; font-size: 12px; font-weight: 700; line-height: 24px; padding: 0 5px; text-align: center;
}
.cart-modal-overlay { position: fixed; inset: 0; z-index: 10500; background: rgb(32 40 51 / 0.6); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cart-modal { background: #fff; border-radius: var(--radius-lg); width: 100%; max-width: 560px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }
.cart-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem 0.9rem; border-bottom: 2px solid var(--lok-navy); }
.cart-modal-head h2 { font-size: 1.15rem; margin: 0; }
.cart-modal-close { background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--lok-navy); padding: 0 0.2rem; }
.cart-modal-close:hover { color: var(--lok-brick); }
.cart-modal-body { padding: 1rem 1.4rem; overflow-y: auto; font-size: 0.95rem; }
.cm-item { display: flex; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--lok-line); }
.cm-info { flex: 1; }
.cm-title { font-weight: 700; }
.cm-meta { font-size: 0.85rem; color: var(--lok-muted); }
.cm-price { font-weight: 700; white-space: nowrap; }
.cm-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding-top: 0.9rem; }
.cart-modal-actions { display: flex; gap: 0.8rem; padding: 0 1.4rem 1.4rem; flex-wrap: wrap; }
.cm-btn { flex: 1; text-align: center; font-size: 0.95rem; font-weight: 700; padding: 0.8rem 1rem; cursor: pointer; text-decoration: none; white-space: nowrap; border-radius: 999px; }
.cm-btn.outline { background: #fff; color: var(--lok-navy); border: 2px solid var(--lok-navy); }
.cm-btn.outline:hover { background: var(--lok-navy); color: #fff; }
.cm-btn.solid { background: var(--lok-yellow); color: var(--lok-navy); border: 2px solid var(--lok-yellow); }
.cm-btn.solid:hover { background: var(--lok-navy); border-color: var(--lok-navy); color: #fff; }

/* ── Komunikaty (moduł /admin/komunikat) ────────────────────────────────── */
.ann-info    { background: var(--lok-brick); color: #fff; }
.ann-warning { background: var(--lok-navy); color: #fff; }
.ann-neutral { background: var(--lok-yellow-soft); color: var(--lok-navy); }
.ann-bar-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem 1.5rem; max-width: var(--container-width); margin: 0 auto; }
.ann-icon { position: relative; flex: 0 0 auto; width: 40px; height: 40px; }
.ann-icon-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: 1.3rem; }
.ann-info .ann-icon-mark    { background: #fff; color: var(--lok-brick); }
.ann-warning .ann-icon-mark { background: var(--lok-yellow); color: var(--lok-navy); }
.ann-neutral .ann-icon-mark { background: var(--lok-navy); color: #fff; }
.ann-bar-text { flex: 1; min-width: 0; }
.ann-bar-title { margin: 0 0 0.2rem; font-size: 1.15rem; font-weight: 700; line-height: 1.2; color: inherit; }
.ann-bar-body { margin: 0; font-size: 0.95rem; }
.ann-bar-body p { margin: 0; }
.ann-bar-body a, .ann-box-body a { color: inherit; text-decoration: underline; }
.ann-bar-cta { flex: 0 0 auto; border: 2px solid currentColor; color: inherit; padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.ann-close { flex: 0 0 auto; background: none; border: 0; color: inherit; cursor: pointer; padding: 0.4rem; line-height: 0; }
.ann-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ann-box { position: relative; padding: 1.5rem 3rem 1.5rem 1.5rem; margin-bottom: 2rem; border-radius: var(--radius-md); }
.ann-box-title { margin: 0 0 0.5rem; font-size: 1.25rem; color: inherit; }
.ann-box-body p:last-child { margin-bottom: 0; }
.ann-box-close { position: absolute; top: 0.8rem; right: 0.8rem; }
.ann-btn { display: inline-block; margin-top: 1rem; border: 2px solid currentColor; color: inherit; padding: 0.6rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem; text-decoration: none; }
.ann-modal-overlay { position: fixed; inset: 0; z-index: 10050; background: rgb(32 40 51 / 0.65); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.ann-modal { position: relative; width: min(720px, 100%); max-height: 90vh; overflow-y: auto; border-radius: var(--radius-lg); }
.ann-modal-close { position: absolute; top: 0.9rem; right: 0.9rem; }
.ann-modal-image { display: block; width: 100%; height: auto; }
.ann-modal-body { padding: 2rem 2.2rem; }
.ann-modal-title { margin: 0 0 1rem; font-size: 1.7rem; color: inherit; }
.ann-modal-text a { color: inherit; text-decoration: underline; }

/* ── Wyróżniona osoba (siatki osób) ─────────────────────────────────────── */
.is-wyrozniony .artist-media { position: relative; }
.artist-media-round { position: relative; display: inline-block; }
.artist-featured-badge {
    position: absolute; top: 0; left: 0; z-index: 1;
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.9rem; height: 1.9rem; border-radius: 50%;
    background: var(--lok-yellow); color: var(--lok-navy); font-size: 1rem; pointer-events: none;
}

/* ── Responsywność ──────────────────────────────────────────────────────── */
@media (min-width: 992px) {
    .main-nav { display: block; }
    .nav-toggle, .mobile-nav, .mobile-nav-overlay { display: none !important; }
    .sidebar-col .sidebar-right { position: sticky; top: 88px; }
}
@media (min-width: 992px) and (max-width: 1239.98px) {
    .main-nav > ul > .nav-item > a, .main-nav > ul > .nav-item > .nav-link-separator { padding-left: 0.6rem; padding-right: 0.6rem; font-size: 1rem; }
    .lok-brand img { height: 88px; }
}
@media (max-width: 991.98px) {
    .lok-navbar { display: none; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .mobile-nav { display: block; }
    .lok-cta--header { display: inline-flex; padding: 0.7rem 1.05rem; font-size: 0.95rem; }
    .lok-header-inner { min-height: 0; gap: 0.75rem; }
    .lok-brand { padding-top: 0.75rem; }
    .lok-brand img { height: 70px; }
    .header-socials { display: none; }
    .site-header.lok-header { position: sticky; top: 0; z-index: 9999; border-bottom: 5px solid var(--lok-navy); }
    .sidebar-left-col { order: 0; }
    .content-col { order: 1; }
    .sidebar-col { order: 2; }
    .sidebar { padding: 0; }
    .site-main { margin: 1.75rem auto 3rem; padding: 0 1rem; }
    .container, .lok-hero-inner, .lok-band > .lok-band-inner { padding-left: 1rem; padding-right: 1rem; }
    .lok-hero-slide { grid-template-columns: 1fr; }
    .lok-hero-media { order: 0; }
    .lok-news { grid-template-columns: 1fr; }
    .lok-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lok-article-figure .lok-fg { max-height: 64vh; }
}
@media (max-width: 575.98px) {
    body { font-size: 16px; }
    .lok-brand img { height: 52px; }
    .lok-utils { gap: 0.35rem; padding: 0.6rem 0; }
    .lok-icon-link, .nav-toggle { width: 40px; height: 40px; }
    .header-account-link { display: none; }
    .lok-cta--header { padding: 0.6rem 0.85rem; font-size: 0.9rem; }
    .lok-hero-thumbs { display: none; }
    .lok-hero-controls { justify-content: flex-end; }
    .lok-film { grid-template-columns: 88px minmax(0, 1fr); }
    .lok-film-poster { width: 88px; }
    .lok-days:not([hidden]) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lok-day { min-width: 0; padding: 0.5rem 0.6rem; }
    .lok-tiles { grid-template-columns: 1fr; }
    .lok-tile a { min-height: 170px; }
    .lok-news-item a { grid-template-columns: 96px minmax(0, 1fr); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cart-fab { width: 52px; height: 52px; right: 0.8rem; bottom: 0.8rem; font-size: 19px; }
    .ann-bar-inner { padding: 0.9rem 1rem; gap: 0.9rem; }
    .ann-bar-cta { display: none; }
    .ann-modal-body { padding: 1.4rem; }
}

/* ── Partnerzy (themes/lok/partners/_list.html.twig) ────────────────────── */
.lok-partners-title { font-size: 1.15rem; font-weight: 700; color: var(--lok-navy); margin: 0 0 1.1rem; }
.lok-partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; list-style: none; margin: 0 0 2.5rem; padding: 0; }
.lok-partners-row:last-child { margin-bottom: 0; }
.lok-partners-row img { display: block; max-width: 100%; height: auto; }
.lok-partners-row a { display: block; border-radius: var(--radius-sm); }
.lok-partners-row--banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.lok-partners-row--banners img { width: 100%; border-radius: var(--radius-sm); }
.widget-partner-list .widget-content { margin: 0; }

/* ── Strona repertuaru (themes/lok/repertoire/default.html.twig) ────────── */
.lok-rep-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.lok-rep-head h1 { margin: 0; }
.lok-rep-pdf { font-size: 0.95rem; padding: 0.55rem 1.1rem; }
.lok-rep-note { color: var(--lok-muted); margin: 0 0 1.75rem; }
.lok-rep-months, .lok-rep-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1rem; }
.lok-rep-filter { margin-bottom: 2rem; }
.lok-rep-filter-label { font-weight: 700; margin-right: 0.25rem; }
.lok-pill {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1.1rem; border-radius: 999px;
    border: 2px solid var(--lok-line); color: var(--lok-navy); font-weight: 600; text-decoration: none; background: #fff;
}
.lok-pill--small { min-height: 40px; padding: 0.4rem 0.9rem; font-size: 0.95rem; }
.lok-pill:hover { border-color: var(--lok-navy); color: var(--lok-navy); }
.lok-pill.is-active { background: var(--lok-navy); border-color: var(--lok-navy); color: #fff; }
.lok-rep-empty { padding: 2rem; background: var(--lok-paper); border-radius: var(--radius-md); }

/* tryb jasny wspólnego fragmentu kina (strona /repertuar) */
.lok-cinema--light .lok-day-panel { padding: 1.75rem 0 2rem; border-top: 2px solid var(--lok-navy); }
.lok-cinema--light .lok-day-heading { display: block; color: var(--lok-navy); font-size: 1.35rem; margin: 0 0 1.25rem; }
.lok-cinema--light .lok-film-title { color: var(--lok-navy); }
.lok-cinema--light .lok-film-meta { color: var(--lok-muted); }
.lok-cinema--light .lok-film-poster { background: var(--lok-paper); }
.lok-cinema--light a.lok-time:hover { background: var(--lok-navy); border-color: var(--lok-navy); color: #fff; }
.lok-cinema--light .lok-time--off { color: var(--lok-muted); border-color: var(--lok-line); }

/* ── Listy kategorii: karty (themes/lok/category/*) ─────────────────────── */
.lok-list-head { margin-bottom: 2rem; max-width: 860px; }
.lok-list-head h1 { margin-bottom: 0.4rem; }
.lok-list-lead { color: var(--lok-muted); font-size: 1.0625rem; margin: 0; }
.lok-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 2.25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.lok-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.lok-card-img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--lok-navy); margin-bottom: 0.9rem; }
.lok-card-img .lok-blur { position: absolute; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); object-fit: cover; filter: blur(16px) brightness(0.65); }
.lok-card-img .lok-fg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.lok-card-placeholder { width: 70%; height: 100%; margin: 0 auto; display: block; object-fit: contain; object-position: center bottom; }
.lok-card-body { display: flex; flex-direction: column; gap: 0.3rem; }
.lok-card-title { font-size: 1.2rem; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.lok-card-text { color: #3c4450; font-size: 0.975rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lok-card a:hover .lok-card-title { color: var(--lok-brick-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.lok-list-empty { grid-column: 1 / -1; padding: 2rem; background: var(--lok-paper); border-radius: var(--radius-md); }

/* ── Zakup biletów (wspólny buy/default.html.twig ma czarne style TR inline) ──
   Prefiks .theme-lok bije reguły z <style> szablonu bez !important. */
.theme-lok .cart-band { background: var(--lok-navy); }
/* fokus na granatowym pasku koszyka: żółty (cegła na granacie 2,6:1 < 3:1 — audyt 2026-11-22) */
.theme-lok .cart-band :focus-visible { outline-color: var(--lok-yellow); }
.theme-lok .cb-btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.theme-lok .cb-btn.solid { background: var(--lok-yellow); border-color: var(--lok-yellow); color: var(--lok-navy); }
.theme-lok .cb-btn.solid:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--lok-navy); }
.theme-lok .cb-btn.outline:hover { color: var(--lok-navy); }
.theme-lok .text-hall-toggle { background: var(--lok-navy); border-color: var(--lok-navy); border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.theme-lok .hall-zoom button { background: var(--lok-navy); width: 44px; height: 44px; }
.theme-lok #buy-toast { background: var(--lok-navy); border-radius: var(--radius-md); }
.theme-lok .th-field select { border-color: var(--lok-navy); border-radius: var(--radius-sm); }
.theme-lok .prod-stepper button.plus { background: var(--lok-navy); }

/* ── Baner zgód na cookie (wspólny _shared/zgody.css) w kolorach LOK ────── */
.theme-lok .zgody { background: var(--lok-navy); border-top: 6px solid var(--lok-brick); }
#zgody.zgody .zgody-tytul, #zgody-okno .zgody-tytul { text-transform: none; letter-spacing: 0; font-size: 1.15rem; }
.theme-lok .zgody .zgody-btn, .theme-lok .zgody-okno .zgody-btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.theme-lok .zgody .zgody-btn-glowny { background: var(--lok-yellow); border-color: var(--lok-yellow); color: var(--lok-navy); }
.theme-lok .zgody .zgody-btn-glowny:hover { background: #fff; border-color: #fff; color: var(--lok-navy); }
.theme-lok .zgody .zgody-btn:focus-visible { outline-color: var(--lok-yellow); }
.theme-lok .zgody-okno .zgody-btn-glowny { background: var(--lok-navy); border-color: var(--lok-navy); }
.theme-lok .zgody-okno { border-radius: var(--radius-lg); }

/* ── Treści z WordPressa: galerie i filmy (var/lok_import.php) ──────────────
   div.galeria-wp = dawne [gallery] (figure > a > img miniatury 150×150 → pełne zdjęcie),
   div.embed-wideo = owinięty iframe YouTube/Vimeo (16:9). */
.article-body .galeria-wp { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.6rem; margin: 1.5em 0; }
.article-body .galeria-wp figure { margin: 0; }
.article-body .galeria-wp a { display: block; border-radius: var(--radius-sm); overflow: hidden; }
.article-body .galeria-wp img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; transition: transform 0.3s ease; }
.article-body .galeria-wp a:hover img { transform: scale(1.04); }
.article-body .galeria-wp figcaption { font-size: 0.8125rem; }
@media (prefers-reduced-motion: reduce) { .article-body .galeria-wp img { transition: none; } }
.article-body .embed-wideo { position: relative; aspect-ratio: 16 / 9; margin: 1.5em 0; border-radius: var(--radius-md); overflow: hidden; background: var(--lok-navy); }
.article-body .embed-wideo iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 575.98px) {
    .lok-partners-row--banners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
    .lok-partners-row { gap: 1.25rem 2rem; }
}
