/*
 * Motyw „demo-festiwal" — Przykładowy Festiwal Echo Lasu (demo CMS, 2026-11-22).
 * Ładowany PO css/themes/default/theme.css (baza: koszyk, menu, narzędzia) — tu tylko różnice.
 * Marka z demo systemu biletowego (data/demo/festiwal.yml): nocny fiolet, limonka, róż, mocne zaokrąglenia, konfetti.
 * Układ: ciemna rama (nagłówek, pasma strony startowej, line-up, program, stopka) + JASNY „arkusz" (.fe-sheet)
 * dla stron tekstowych, zakupu, strefy widza i wyszukiwarki — wspólne szablony (czarny tekst na bieli) zostają czytelne.
 * Kontrast (WCAG 2.1 AA): #f5f3ff na #1a0333 17:1, limonka #a3e635 na #1a0333 12:1, róż #f472b6 na #1a0333 7,1:1,
 * lawenda #c4b5fd na #1a0333 9,7:1, #26044c na limonce 11:1; w arkuszu akcent #6d28d9 na #fbf9ff 7:1.
 * Tekstu na limonce nigdy białym (1,6:1) — zawsze ciemny.
 * Plik statyczny (bez Twiga).
 */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("fonts/bricolage-latin-wght.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("fonts/bricolage-latin-ext-wght.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.theme-demo-festiwal {
    --fe-night: #1a0333;
    --fe-deep: #26044c;
    --fe-violet: #3b0764;
    --fe-plum: #4c1d95;
    --fe-card: #2e0a52;
    --fe-card-2: #3a0f66;
    --fe-line: rgba(196, 181, 253, .28);
    --fe-lime: #a3e635;
    --fe-lime-dark: #84cc16;
    --fe-pink: #f472b6;
    --fe-orange: #fb923c;
    --fe-ink: #f5f3ff;
    --fe-muted: #c4b5fd;
    --fe-sheet: #fbf9ff;
    --fe-sheet-ink: #1f0b3a;
    --fe-sheet-muted: #574873;
    --fe-radius: 28px;
    --fe-radius-s: 16px;
    /* zmienne wspólnych szablonów (arkusz: jasne tło) */
    --color-primary: #1f0b3a;
    --color-accent: #6d28d9;
    --color-maroon: #6d28d9;
    --color-card-bg: #f3effc;
    --color-card-hover: #e9e1fb;
    --color-bg: var(--fe-night);
    --color-text: var(--fe-ink);
    --color-muted-text: #574873;
    --radius-md: 16px;
    --radius-lg: 24px;
    --container-width: 1360px;
    font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
    background-color: var(--fe-night);
    /* konfetti jak w grafikach demo: rzadkie kropki w dwóch warstwach */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(163, 230, 53, .22) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 80%, rgba(244, 114, 182, .2) 0 2px, transparent 3px),
        radial-gradient(circle at 45% 55%, rgba(196, 181, 253, .16) 0 1.5px, transparent 2.5px);
    background-size: 180px 180px, 240px 240px, 130px 130px;
    color: var(--fe-ink);
    line-height: 1.6;
    font-size: 17px;
}
@media (min-width: 992px) {
    .theme-demo-festiwal { --container-width: min(1360px, calc(100vw - 6rem)); }
}
.theme-demo-festiwal h1, .theme-demo-festiwal h2, .theme-demo-festiwal h3,
.theme-demo-festiwal h4, .theme-demo-festiwal h5, .theme-demo-festiwal h6 {
    color: inherit; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12;
}
.theme-demo-festiwal h1, .theme-demo-festiwal h2.tresc-h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
/* kolor linków bez wagi (:where) — style komponentów i wspólnych szablonów wygrywają zawsze */
:where(.theme-demo-festiwal a) { color: var(--fe-lime); }
:where(.theme-demo-festiwal a:hover) { color: #d9f99d; }
:where(.theme-demo-festiwal .fe-sheet a, .theme-demo-festiwal .fe-partners a, .theme-demo-festiwal .cart-modal a) { color: #6d28d9; }
:where(.theme-demo-festiwal .fe-sheet a:hover) { color: #4c1d95; }
.theme-demo-festiwal :focus-visible { outline: 3px solid var(--fe-lime) !important; outline-offset: 3px; }
.theme-demo-festiwal .fe-sheet :focus-visible { outline-color: #6d28d9 !important; }
.theme-demo-festiwal .skip-link { background: var(--fe-lime); color: var(--fe-night); border-radius: 0 0 14px 0; }
.theme-demo-festiwal .text-muted { color: var(--fe-muted); }
.theme-demo-festiwal .fe-sheet .text-muted { color: var(--fe-sheet-muted); }

/* ─── Przyciski ─── */
.fe-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border-radius: 999px; padding: .8rem 1.6rem; font-weight: 800; font-size: 1rem; line-height: 1.1;
    text-decoration: none !important; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}
.fe-btn:hover { transform: translateY(-2px); }
.fe-btn-lime { background: var(--fe-lime); color: var(--fe-night) !important; }
.fe-btn-lime:hover { background: #bef264; box-shadow: 0 8px 24px rgba(163, 230, 53, .35); }
.fe-btn-pink { background: var(--fe-pink); color: var(--fe-night) !important; }
.fe-btn-pink:hover { background: #f9a8d4; }
.fe-btn-ghost { border-color: var(--fe-lime); color: var(--fe-lime) !important; background: transparent; }
.fe-btn-ghost:hover { background: var(--fe-lime); color: var(--fe-night) !important; }
.fe-btn-dark { background: var(--fe-night); color: var(--fe-ink) !important; }
.fe-btn-dark:hover { background: var(--fe-violet); }
.fe-btn-violet { background: #6d28d9; color: #fff !important; }
.fe-btn-violet:hover { background: #5b21b6; }
.fe-btn[aria-disabled="true"], .fe-btn:disabled { opacity: .55; pointer-events: none; }
.fe-chip {
    display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .25rem .75rem;
    font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    background: rgba(196, 181, 253, .16); color: var(--fe-ink);
}
.fe-chip--lime { background: var(--fe-lime); color: var(--fe-night); }
.fe-chip--pink { background: var(--fe-pink); color: var(--fe-night); }
.fe-chip--orange { background: var(--fe-orange); color: var(--fe-night); }
.fe-kicker { display: block; color: var(--fe-lime); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; margin-bottom: .6rem; }

/* ─── Nagłówek ─── */
.theme-demo-festiwal .site-header.fe-header {
    background: rgba(26, 3, 51, .92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--fe-ink); box-shadow: none; border-bottom: 1px solid var(--fe-line);
}
.fe-header-inner {
    max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem;
    min-height: 84px; display: flex; align-items: center; gap: 1.5rem;
}
.fe-logo { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none !important; color: var(--fe-ink) !important; flex: 0 0 auto; }
.fe-logo img { width: 52px; height: 52px; display: block; }
.fe-logo-text { display: flex; flex-direction: column; line-height: 1; }
.fe-logo-small { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fe-muted); }
.fe-logo-big { font-size: 1.65rem; font-weight: 800; letter-spacing: -.03em; color: var(--fe-ink); }
.fe-logo:hover .fe-logo-big { color: var(--fe-lime); }
.theme-demo-festiwal .main-nav { margin: 0 auto 0 1rem; }
.theme-demo-festiwal .main-nav > ul { gap: .25rem; }
.theme-demo-festiwal .nav-item > a,
.theme-demo-festiwal .nav-link-separator {
    color: var(--fe-ink); font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0;
    padding: .55rem 1rem; border: 0; border-radius: 999px;
}
.theme-demo-festiwal .nav-item > a:hover,
.theme-demo-festiwal .nav-item:hover > .nav-link-separator { background: rgba(196, 181, 253, .14); color: var(--fe-ink); }
.theme-demo-festiwal .nav-item.active > a,
.theme-demo-festiwal .nav-item > a[aria-current="page"] { background: var(--fe-lime); color: var(--fe-night); }
.theme-demo-festiwal .nav-dropdown {
    background: var(--fe-card); border: 1px solid var(--fe-line); border-radius: var(--fe-radius-s);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45); padding: .5rem; left: 0; min-width: 260px;
}
.theme-demo-festiwal .nav-dropdown li a,
.theme-demo-festiwal .nav-dropdown li .nav-link-separator {
    color: var(--fe-ink); font-weight: 600; font-size: .95rem; border-radius: 10px; padding: .65rem 1rem;
}
.theme-demo-festiwal .nav-dropdown li a:hover,
.theme-demo-festiwal .nav-dropdown li.active > a { background: rgba(163, 230, 53, .16); color: var(--fe-lime); padding-left: 1.25rem; }
.fe-tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.fe-icon-link {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    color: var(--fe-ink) !important; background: rgba(196, 181, 253, .12); text-decoration: none;
}
.fe-icon-link:hover { background: rgba(163, 230, 53, .2); color: var(--fe-lime) !important; }
.theme-demo-festiwal .header-account-link { margin-left: 0; font-size: 1rem; }
.theme-demo-festiwal .header-account-link.is-logged-in { box-shadow: inset 0 0 0 2px var(--fe-lime); }
.fe-lang { display: inline-flex; border: 1px solid var(--fe-line); border-radius: 999px; padding: 3px; }
.fe-lang a {
    color: var(--fe-muted) !important; text-decoration: none; font-weight: 800; font-size: .82rem;
    padding: .35rem .6rem; border-radius: 999px; min-width: 36px; text-align: center;
}
.fe-lang a[aria-current="true"] { background: var(--fe-ink); color: var(--fe-night) !important; }
.fe-header-cta { padding: .7rem 1.3rem; }
.fe-burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--fe-lime) !important; padding: 0 !important; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.fe-burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--fe-night); }
@media (max-width: 1199.98px) {
    .theme-demo-festiwal .main-nav { display: none !important; }
    .theme-demo-festiwal .fe-burger { display: inline-flex !important; }
    body.theme-demo-festiwal .mobile-nav { display: block !important; }
    body.theme-demo-festiwal .mobile-nav-overlay.active { display: block !important; }
}
@media (max-width: 575.98px) {
    .fe-header-inner { padding: 0 .9rem; gap: .5rem; min-height: 68px; }
    .fe-logo img { width: 42px; height: 42px; }
    .fe-logo-small { display: none; }
    .fe-logo-big { font-size: 1.3rem; }
    .fe-header-cta { padding: .6rem 1rem; font-size: .92rem; }
    .fe-tools .fe-icon-link[href*="szukaj"], .fe-tools .fe-icon-link[href*="search"] { display: none; }
    .fe-icon-link { width: 40px; height: 40px; }
    .fe-lang a { min-width: 30px; padding: .3rem .4rem; }
}
@media (max-width: 389.98px) {
    .fe-lang { display: none; }
}
/* szuflada mobilna */
.theme-demo-festiwal .mobile-nav { background: var(--fe-deep); color: var(--fe-ink); }
.theme-demo-festiwal .mobile-nav li { border-bottom-color: var(--fe-line); }
.theme-demo-festiwal .mobile-nav li > a,
.theme-demo-festiwal .mobile-nav .nav-link-separator { color: var(--fe-ink); font-family: inherit; font-weight: 700; font-size: 1.15rem; }
.theme-demo-festiwal .mobile-nav li > a:hover,
.theme-demo-festiwal .mobile-nav li.active > a { color: var(--fe-lime); }
.theme-demo-festiwal .mobile-nav ul ul { border-left-color: var(--fe-lime); }
.theme-demo-festiwal .mobile-nav ul ul li > a { color: var(--fe-muted); font-size: 1rem; }
.theme-demo-festiwal .mobile-nav .submenu-toggle { color: var(--fe-muted); }
.theme-demo-festiwal .mobile-nav-close { color: var(--fe-ink); }
.theme-demo-festiwal .mobile-nav-close:hover { color: var(--fe-lime); }

/* ─── Treść: rama i arkusz ─── */
.theme-demo-festiwal .site-main { max-width: var(--container-width); margin: 2.5rem auto 3.5rem; }
.theme-demo-festiwal.fe-full .site-main { margin-top: 0; }
.fe-sheet {
    background: var(--fe-sheet); color: var(--fe-sheet-ink); border-radius: var(--fe-radius);
    padding: clamp(1.4rem, 4vw, 3.5rem); box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.fe-sheet h1, .fe-sheet h2, .fe-sheet h3, .fe-sheet h4 { color: var(--fe-sheet-ink); }
.fe-sheet a:not([class]) { color: #6d28d9; text-decoration: underline; text-underline-offset: 3px; }
.fe-sheet a:not([class]):hover { color: #4c1d95; }
.fe-sheet .btn-powrot { border-radius: 999px; border-color: var(--fe-sheet-ink); }
.theme-demo-festiwal .content-col img { border-radius: var(--fe-radius-s); }
.theme-demo-festiwal .article-body, .theme-demo-festiwal .fe-prose { max-width: 820px; }
.fe-prose p, .theme-demo-festiwal .article-body p { margin: 0 0 1.05rem; }
.fe-prose h2, .theme-demo-festiwal .article-body h2 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.fe-prose h3, .theme-demo-festiwal .article-body h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.fe-prose ul, .theme-demo-festiwal .article-body ul { padding-left: 1.2rem; }
.fe-prose li { margin-bottom: .35rem; }
.fe-box {
    border-radius: var(--fe-radius-s); padding: 1.2rem 1.4rem; margin: 1.4rem 0;
    background: #f1ecfd; border-left: 6px solid #6d28d9;
}
.fe-box--lime { background: #f2fbe3; border-left-color: var(--fe-lime-dark); }
.fe-box p:last-child { margin-bottom: 0; }
.fe-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.6rem; font-size: .98rem; }
.fe-table th, .fe-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid #e3dcf3; }
.fe-table thead th { background: #2e0a52; color: #fff; font-weight: 800; }
.fe-table thead th:first-child { border-radius: 12px 0 0 0; }
.fe-table thead th:last-child { border-radius: 0 12px 0 0; }
.fe-table td.num, .fe-table th.num { text-align: right; white-space: nowrap; font-weight: 700; }
.fe-table-wrap { overflow-x: auto; }

/* ─── Nagłówek strony (ciemne strony) ─── */
.fe-page-head { padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.fe-page-head h1 { margin: 0 0 .6rem; }
.fe-page-head p { color: var(--fe-muted); font-size: 1.15rem; max-width: 760px; margin: 0; }
.fe-breadcrumb { margin-bottom: 1rem; font-size: .95rem; }
.fe-breadcrumb a { color: var(--fe-muted); text-decoration: none; font-weight: 700; }
.fe-breadcrumb a:hover { color: var(--fe-lime); }

/* ─── Pasma pełnej szerokości (strona główna) ─── */
.fe-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: clamp(3rem, 7vw, 6rem) 0; }
.fe-band-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.fe-band--deep { background: var(--fe-deep); }
.fe-band--lime { background: var(--fe-lime); color: var(--fe-night); }
.fe-band--lime a:not(.fe-btn) { color: var(--fe-night); }
.fe-band-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.fe-band-head h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); }
.fe-band-head p { margin: .4rem 0 0; color: var(--fe-muted); max-width: 640px; }
.fe-band--lime .fe-band-head p { color: #26044c; }

/* ─── Hero (widget repertoire_grid → widgets/hero.html.twig) ─── */
.fe-hero { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow: hidden; background: var(--fe-night); }
.fe-hero-art { position: absolute; inset: 0; background-size: cover; background-position: 70% center; }
.fe-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26, 3, 51, .96) 0%, rgba(26, 3, 51, .82) 38%, rgba(26, 3, 51, .15) 72%, rgba(26, 3, 51, .35) 100%); }
.fe-hero-inner { position: relative; max-width: var(--container-width); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) 1.5rem clamp(2.5rem, 6vw, 5rem); }
.fe-hero-copy { max-width: 640px; }
.fe-hero h1, .fe-hero .fe-hero-title { font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: .95; margin: 0 0 1rem; letter-spacing: -.045em; }
.fe-hero-title .fe-hl { color: var(--fe-lime); display: block; }
.fe-hero-dates { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 .25rem; }
.fe-hero-place { color: var(--fe-muted); font-weight: 600; margin: 0 0 1.8rem; }
.fe-hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.fe-countdown { display: flex; gap: .6rem; margin: 0 0 2rem; flex-wrap: wrap; }
.fe-countdown div {
    min-width: 82px; padding: .75rem .6rem; border-radius: 18px; text-align: center;
    background: rgba(46, 10, 82, .85); border: 1px solid var(--fe-line);
}
.fe-countdown strong { display: block; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--fe-lime); }
.fe-countdown span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fe-muted); }
.fe-countdown-live { color: var(--fe-lime); font-weight: 800; margin: 0 0 1.5rem; }
@media (max-width: 767.98px) {
    .fe-hero-art { background-position: 82% center; opacity: .55; }
    .fe-hero-art::after { background: linear-gradient(180deg, rgba(26, 3, 51, .55), rgba(26, 3, 51, .95)); }
    .fe-countdown div { min-width: 66px; padding: .6rem .4rem; }
    .fe-countdown strong { font-size: 1.6rem; }
}

/* ─── Dni festiwalu (widget dni / hero) ─── */
.fe-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fe-day {
    position: relative; display: flex; flex-direction: column; border-radius: var(--fe-radius); overflow: hidden;
    background: var(--fe-card); border: 1px solid var(--fe-line); color: var(--fe-ink);
}
.fe-day-poster { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fe-deep); }
.fe-day-poster img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; border-radius: 0 !important; }
.fe-day-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.fe-day-name { font-size: 1.6rem; font-weight: 800; margin: 0; line-height: 1.1; }
.fe-day-name a { color: inherit; text-decoration: none; }
.fe-day-name a:hover { color: var(--fe-lime); }
.fe-day-date { font-weight: 800; color: var(--fe-lime); }
.fe-day-meta { color: var(--fe-muted); font-size: .95rem; margin: 0; }
.fe-day-actions { margin-top: auto; padding-top: .9rem; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.fe-day-status { font-weight: 700; color: var(--fe-muted); }
.fe-day--1 .fe-day-date { color: var(--fe-lime); }
.fe-day--2 .fe-day-date { color: var(--fe-pink); }
.fe-day--3 .fe-day-date { color: var(--fe-orange); }
@media (max-width: 991.98px) { .fe-days { grid-template-columns: 1fr; } .fe-day { flex-direction: row; } .fe-day-poster { width: 38%; aspect-ratio: auto; flex: 0 0 auto; } }
@media (max-width: 575.98px) { .fe-day { flex-direction: column; } .fe-day-poster { width: 100%; aspect-ratio: 16 / 9; } }

/* ─── Line-up: karty wykonawców ─── */
.fe-artists { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1199.98px) { .fe-artists { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fe-artist {
    position: relative; border-radius: var(--fe-radius); overflow: hidden; background: var(--fe-card);
    border: 1px solid var(--fe-line); transition: transform .2s ease, border-color .2s ease;
}
.fe-artist:hover, .fe-artist:focus-within { transform: translateY(-4px); border-color: var(--fe-lime); }
.fe-artist-img { aspect-ratio: 1; overflow: hidden; }
.fe-artist-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; transition: transform .4s ease; }
.fe-artist:hover .fe-artist-img img { transform: scale(1.05); }
.fe-artist-body { padding: 1rem 1.15rem 1.2rem; }
.fe-artist-name { font-size: 1.25rem; font-weight: 800; margin: .45rem 0 .2rem; line-height: 1.15; }
.fe-artist-name a { color: var(--fe-ink); text-decoration: none; }
.fe-artist-name a::after { content: ""; position: absolute; inset: 0; } /* cała karta klikalna */
.fe-artist-name a:hover { color: var(--fe-lime); }
.fe-artist-genre { color: var(--fe-muted); font-size: .92rem; margin: 0; }
.fe-artist-when { font-size: .85rem; font-weight: 700; color: var(--fe-ink); margin: .5rem 0 0; }
.fe-artists.fe-artists--headline { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.fe-artists--headline .fe-artist-name { font-size: 1.7rem; }
.fe-artists--headline .fe-artist-img { aspect-ratio: 16 / 10; }
@media (max-width: 991.98px) { .fe-artists.fe-artists--headline { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fe-artists--headline .fe-artist-img { aspect-ratio: 1; } }
@media (max-width: 575.98px) {
    .fe-artists, .fe-artists--headline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
    .fe-artist-body { padding: .8rem .85rem 1rem; }
    .fe-artist-name, .fe-artists--headline .fe-artist-name { font-size: 1.05rem; }
    .fe-artist-genre { font-size: .82rem; }
}
.fe-day-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.fe-day-filter button, .fe-day-filter a {
    border: 2px solid var(--fe-line); background: transparent; color: var(--fe-ink); border-radius: 999px;
    padding: .55rem 1.15rem; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none;
}
.fe-day-filter button:hover { border-color: var(--fe-lime); }
.fe-day-filter button[aria-pressed="true"] { background: var(--fe-lime); border-color: var(--fe-lime); color: var(--fe-night); }
.fe-lineup-day { margin-bottom: 3rem; }
.fe-lineup-day > h2 { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 1.2rem; }
.fe-lineup-day[hidden] { display: none; }

/* ─── Strona wykonawcy ─── */
.fe-artist-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding: 2.5rem 0 1rem; }
.fe-artist-page .fe-artist-photo img { width: 100%; height: auto; border-radius: var(--fe-radius) !important; display: block; }
.fe-artist-page h1 { margin: .6rem 0 .5rem; }
.fe-artist-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.fe-artist-text { font-size: 1.1rem; color: var(--fe-ink); }
.fe-artist-text p { margin: 0 0 1rem; }
.fe-play-card {
    margin-top: 1.8rem; border-radius: var(--fe-radius); padding: 1.4rem 1.6rem;
    background: var(--fe-card); border: 1px solid var(--fe-line);
    display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
}
.fe-play-card p { margin: 0; }
.fe-play-card strong { font-size: 1.25rem; display: block; }
@media (max-width: 767.98px) { .fe-artist-page { grid-template-columns: 1fr; padding-top: 1.5rem; } }

/* ─── Program: oś godzin dnia ─── */
.fe-program-days { display: grid; gap: 2rem; }
.fe-program-day { border-radius: var(--fe-radius); background: var(--fe-card); border: 1px solid var(--fe-line); padding: clamp(1.2rem, 3vw, 2.2rem); }
.fe-program-day-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.4rem; }
.fe-program-day-head h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.fe-program-day-head h2 a { color: inherit; text-decoration: none; }
.fe-program-day-head h2 a:hover { color: var(--fe-lime); }
.fe-program-day-head p { margin: .3rem 0 0; color: var(--fe-muted); }
.fe-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 767.98px) { .fe-stages { grid-template-columns: 1fr; } }
.fe-stages .sek { margin: 0; }
.fe-stages .sek-title, .fe-stage-title { font-size: 1.15rem; margin: 0 0 .8rem; display: flex; align-items: center; gap: .5rem; color: var(--fe-ink); }
.fe-stage-title::before, .fe-stages .sek-title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--fe-lime); }
.fe-stages .sek-timeline:nth-child(2) .sek-title::before { background: var(--fe-pink); }
.fe-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fe-slot {
    display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: .9rem; align-items: center;
    background: rgba(26, 3, 51, .55); border: 1px solid var(--fe-line); border-radius: 16px; padding: .7rem .9rem;
}
.fe-slot-time { font-weight: 800; font-size: 1.05rem; color: var(--fe-lime); font-variant-numeric: tabular-nums; }
.fe-slot-name { font-weight: 800; font-size: 1.05rem; color: var(--fe-ink); display: block; }
.fe-slot-name a { color: inherit; text-decoration: none; }
.fe-slot-name a:hover { color: var(--fe-lime); text-decoration: underline; }
.fe-slot-text { color: var(--fe-muted); font-size: .9rem; display: block; }
.fe-slot--gate { background: transparent; border-style: dashed; }
.fe-slot--gate .fe-slot-name { color: var(--fe-muted); font-weight: 700; }
.fe-day-page { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: 2.5rem 0 1rem; }
.fe-day-page .fe-day-poster-big img { width: 100%; height: auto; border-radius: var(--fe-radius) !important; display: block; }
.fe-day-side { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
@media (max-width: 991.98px) { .fe-day-page { grid-template-columns: 1fr; } .fe-day-side { position: static; } .fe-day-poster-big { max-width: 420px; } }

/* termin dnia (widget upcoming_terms → widgets/termin_dnia.html.twig) */
.fe-term-box { border-radius: var(--fe-radius); padding: 1.3rem 1.4rem; background: var(--fe-lime); color: var(--fe-night); }
.fe-term-box h2 { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .6rem; color: var(--fe-night); }
.fe-term-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.fe-term-date { font-size: 1.5rem; font-weight: 800; display: block; line-height: 1.15; }
.fe-term-meta { display: block; font-weight: 600; margin-bottom: .6rem; }
.fe-term-box .fe-btn-dark { width: 100%; }
.fe-term-box .fe-term-off { font-weight: 800; }

/* ─── Bilety: karty produktów (moduł w article/bilety.html.twig) ─── */
.fe-products-group { margin: 0 0 2.4rem; }
.fe-products-group h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; }
.fe-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.fe-product {
    display: flex; flex-direction: column; border-radius: var(--fe-radius); overflow: hidden;
    background: var(--fe-card); border: 1px solid var(--fe-line);
}
.fe-product-img { aspect-ratio: 1; background: var(--fe-deep); overflow: hidden; }
.fe-product-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.fe-product-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.fe-product-name { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.2; }
.fe-product-desc { color: var(--fe-muted); font-size: .92rem; margin: 0; }
.fe-product-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.fe-product-price { font-size: 1.45rem; font-weight: 800; color: var(--fe-lime); }
.fe-stepper { display: inline-flex; align-items: center; gap: .35rem; background: rgba(26, 3, 51, .6); border-radius: 999px; padding: 4px; }
.fe-stepper button {
    width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.35rem; font-weight: 800;
    background: var(--fe-lime); color: var(--fe-night); line-height: 1;
}
.fe-stepper button:disabled { background: rgba(196, 181, 253, .25); color: var(--fe-muted); cursor: default; }
.fe-stepper output { min-width: 1.6rem; text-align: center; font-weight: 800; }
.fe-cart-bar {
    position: sticky; bottom: 1rem; z-index: 50; margin: 2rem 0 0; border-radius: 999px; padding: .7rem .8rem .7rem 1.6rem;
    background: var(--fe-ink); color: var(--fe-night); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.fe-cart-bar strong { font-size: 1.1rem; }
.fe-cart-bar[hidden] { display: none; }
.fe-status { min-height: 1.5rem; margin: .8rem 0 0; font-weight: 700; color: var(--fe-lime); }
.fe-status.is-error { color: #fda4af; }
.fe-product-price { white-space: nowrap; }
@media (max-width: 575.98px) {
    .fe-products { grid-template-columns: 1fr; }
    .fe-product-img { aspect-ratio: 16 / 9; }
    .fe-product-img img { object-fit: contain; }
    .fe-cart-bar { border-radius: 22px; flex-direction: column; align-items: stretch; text-align: center; padding: .9rem; }
}

/* ─── Aktualności ─── */
.fe-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.fe-news-card { position: relative; border-radius: var(--fe-radius); overflow: hidden; background: var(--fe-card); border: 1px solid var(--fe-line); display: flex; flex-direction: column; }
.fe-news-card:hover { border-color: var(--fe-lime); }
.fe-news-img { aspect-ratio: 16 / 9; overflow: hidden; }
.fe-news-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.fe-news-body { padding: 1.1rem 1.3rem 1.4rem; }
.fe-news-date { color: var(--fe-muted); font-size: .88rem; font-weight: 700; }
.fe-news-title { font-size: 1.25rem; margin: .35rem 0 .5rem; line-height: 1.2; }
.fe-news-title a { color: var(--fe-ink); text-decoration: none; }
.fe-news-title a::after { content: ""; position: absolute; inset: 0; }
.fe-news-title a:hover { color: var(--fe-lime); }
.fe-news-lead { color: var(--fe-muted); margin: 0; font-size: .95rem; }
.fe-news--first .fe-news-card:first-child { grid-column: span 2; }
@media (max-width: 991.98px) { .fe-news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .fe-news { grid-template-columns: 1fr; } .fe-news--first .fe-news-card:first-child { grid-column: auto; } }

/* ─── Kafle (strona główna, informator) ─── */
.fe-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.fe-tile {
    position: relative; border-radius: var(--fe-radius); padding: 1.6rem 1.6rem 1.8rem; background: var(--fe-card);
    border: 1px solid var(--fe-line); color: var(--fe-ink); min-height: 190px; display: flex; flex-direction: column;
}
.fe-tile:hover { border-color: var(--fe-lime); }
.fe-tile h3 { font-size: 1.4rem; margin: .6rem 0 .5rem; }
.fe-tile h3 a, .fe-band--lime .fe-tile h3 a, .fe-tile .fe-tile-link { color: var(--fe-ink); text-decoration: none; }
.fe-tile .fe-tile-link::after { content: ""; position: absolute; inset: 0; }
.fe-tile h3 a:hover, .fe-tile .fe-tile-link:hover { color: var(--fe-lime); }
.fe-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.fe-tile p { margin: 0; color: var(--fe-muted); }
.fe-tile-icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--fe-lime); color: var(--fe-night); font-size: 1.4rem; font-weight: 800; }
.fe-tile-icon svg { width: 28px; height: 28px; }
.fe-tile--pink .fe-tile-icon { background: var(--fe-pink); }
.fe-tile--orange .fe-tile-icon { background: var(--fe-orange); }
.fe-tile-img { margin: -1.6rem -1.6rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--fe-radius) var(--fe-radius) 0 0; }
.fe-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
@media (max-width: 991.98px) { .fe-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .fe-tiles { grid-template-columns: 1fr; } }
.fe-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.fe-intro p { font-size: 1.15rem; color: var(--fe-ink); }
.fe-intro img { width: 100%; height: auto; border-radius: var(--fe-radius) !important; display: block; }
.fe-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.fe-stats li { border-radius: 20px; padding: 1rem 1.1rem; background: var(--fe-card); border: 1px solid var(--fe-line); }
.fe-stats strong { display: block; font-size: 2rem; line-height: 1.05; color: var(--fe-lime); }
.fe-stats span { color: var(--fe-muted); font-size: .9rem; font-weight: 600; }
@media (max-width: 767.98px) { .fe-intro { grid-template-columns: 1fr; } .fe-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ─── Partnerzy ─── */
.fe-partners { background: var(--fe-ink); color: var(--fe-sheet-ink); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.fe-partners-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.fe-partners h2, .fe-partners h3 { color: var(--fe-sheet-ink); font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.fe-partners-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 3rem; margin: 0 0 2rem; }
.fe-partners-row:last-child { margin-bottom: 0; }
.fe-partners-row a, .fe-partners-row span { display: block; }
.fe-partners-row img { display: block; height: auto; max-width: 100%; border-radius: 0 !important; }
.fe-partners-row a:hover img { opacity: .75; }
.fe-sheet .fe-partners { background: transparent; padding: 1rem 0 0; }
.fe-sheet .fe-partners-inner { padding: 0; }

/* ─── Stopka ─── */
.theme-demo-festiwal .site-footer.fe-footer { background: #0e0120; color: var(--fe-muted); padding: 3.5rem 0 2rem; }
.fe-footer-inner { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
.fe-footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.fe-footer-name { color: var(--fe-ink); font-weight: 800; font-size: 1.35rem; margin: 0; }
.fe-footer-claim { margin: 0; color: var(--fe-muted); }
.fe-footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.fe-footer-cols h2, .fe-footer-cols h3, .fe-footer-cols h5, .theme-demo-festiwal .site-footer .widget-menu-title {
    color: var(--fe-ink); font-size: 1.05rem !important; font-weight: 800; margin: 0 0 .9rem !important; min-height: 0;
}
.fe-footer-cols p { margin: 0 0 .5rem; }
.fe-footer-cols a { color: var(--fe-ink); text-decoration: none; }
.fe-footer-cols a:hover { color: var(--fe-lime); text-decoration: underline; }
.theme-demo-festiwal .site-footer .widget-custom-menu .submenu-item > a { color: var(--fe-muted) !important; font-size: .98rem; }
.theme-demo-festiwal .site-footer .widget-custom-menu .submenu-item > a:hover { color: var(--fe-lime) !important; }
.theme-demo-festiwal .site-footer .row > div:nth-child(2) .widget-custom-menu::before { display: none; }
.fe-footer-bottom {
    display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem;
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--fe-line); color: var(--fe-muted); font-size: .9rem;
}
.fe-footer-bottom p { margin: 0; }
.theme-demo-festiwal .footer-socials a { background: var(--fe-card); color: var(--fe-ink); }
.theme-demo-festiwal .footer-socials a:hover { background: var(--fe-lime); color: var(--fe-night); }
@media (max-width: 991.98px) { .fe-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .fe-footer-cols { grid-template-columns: 1fr; } }

/* ─── Koszyk (FAB, okno) ─── */
.theme-demo-festiwal .cart-fab { background: var(--fe-lime); color: var(--fe-night); }
.theme-demo-festiwal .cart-fab:hover { background: #bef264; }
.theme-demo-festiwal .cart-fab-count { background: var(--fe-pink); color: var(--fe-night); }
.theme-demo-festiwal .cart-modal { border-radius: 24px; border: 0; color: var(--fe-sheet-ink); overflow: hidden; }
.theme-demo-festiwal .cart-modal-head { border-bottom-color: #e3dcf3; }
.theme-demo-festiwal .cm-btn { border-radius: 999px; }
.theme-demo-festiwal .cm-btn.solid { background: #6d28d9; border-color: #6d28d9; }

/* ─── Sekcje strukturalne w arkuszu (FAQ, kontakty) ─── */
.fe-sheet .sek-faq-item { border-radius: 16px; border: 1px solid #e3dcf3; background: #fff; margin-bottom: .6rem; overflow: hidden; }
.fe-sheet .sek-faq-item summary { padding: 1rem 1.2rem; font-weight: 800; cursor: pointer; }
.fe-sheet .sek-faq-item[open] summary { background: #f3effc; }
.fe-sheet .sek-faq-answer { padding: .2rem 1.2rem 1rem; }

/* ─── Mapa terenu (informator) ─── */
.fe-map img { width: 100%; height: auto; border-radius: var(--fe-radius-s); display: block; }
.fe-legend { columns: 2; column-gap: 2rem; padding-left: 0; list-style: none; counter-reset: pkt; }
.fe-legend li { break-inside: avoid; display: flex; gap: .7rem; align-items: baseline; margin-bottom: .55rem; }
.fe-legend li::before {
    counter-increment: pkt; content: counter(pkt); flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
    display: inline-grid; place-items: center; background: #1a0333; color: #fff; font-weight: 800; font-size: .85rem;
}
@media (max-width: 575.98px) { .fe-legend { columns: 1; } }

/* ─── Zakup, podsumowanie, strefa widza: zaokrąglenia i akcent w arkuszu ─── */
.theme-demo-festiwal .cart-band { background: var(--fe-night); border-radius: var(--fe-radius); margin-left: 0; margin-right: 0; padding-left: 1rem; padding-right: 1rem; }
.theme-demo-festiwal .cart-band .cart-list { border-radius: 16px; overflow: hidden; }
.theme-demo-festiwal .cb-btn { border-radius: 999px; }
.theme-demo-festiwal .cb-btn.solid:hover:not(:disabled) { background: var(--fe-lime); border-color: var(--fe-lime); color: var(--fe-night); }

/* menu: strzałka w dół przy pozycjach z podmenu najwyższego poziomu */
.theme-demo-festiwal .main-nav > ul > li > a .fa-angle-right,
.theme-demo-festiwal .main-nav > ul > li > .nav-link-separator .fa-angle-right { float: none !important; transform: rotate(90deg); margin-left: .3rem; top: 0 !important; }
/* nagłówek artykułu w arkuszu */
.fe-article-head h1 { margin: 0 0 1.2rem; }
.fe-article-date { color: var(--fe-sheet-muted); font-weight: 700; margin: 0 0 .4rem; }
.fe-article-img { margin: 0 0 1.6rem; }
.fe-article-img img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--fe-radius-s); display: block; }
/* baner zgód w barwach festiwalu (themes/_shared/zgody, public/css/themes/_shared/zgody.css) */
.theme-demo-festiwal .zgody { background: var(--fe-deep); color: var(--fe-ink); border-top: 3px solid var(--fe-lime); }
.theme-demo-festiwal .zgody .zgody-btn { border-radius: 999px; border-color: var(--fe-ink); color: var(--fe-ink); }
.theme-demo-festiwal .zgody .zgody-btn:hover { background: var(--fe-ink); color: var(--fe-night); }
.theme-demo-festiwal .zgody .zgody-btn-glowny { background: var(--fe-lime); border-color: var(--fe-lime); color: var(--fe-night); }
.theme-demo-festiwal .zgody .zgody-btn-glowny:hover { background: #bef264; border-color: #bef264; color: var(--fe-night); }
.theme-demo-festiwal .zgody a:focus-visible, .theme-demo-festiwal .zgody .zgody-btn:focus-visible { outline-color: var(--fe-lime); }
.theme-demo-festiwal .zgody-okno { border-radius: 24px; color: var(--fe-sheet-ink); }
.theme-demo-festiwal .zgody-okno .zgody-btn { border-radius: 999px; }
/* mapa terenu: zdjęcie artykułu w całości (bez kadrowania) */
.fe-mapa .fe-article-img img { max-height: none; object-fit: contain; }
/* line-up na stronie głównej: 3 kolumny (6 gwiazd = 2 rzędy) */
.fe-artists.fe-artists--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .fe-artists.fe-artists--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* telefon: ikona konta tylko w szufladzie („Moje konto"), ciaśniejszy nagłówek */
@media (max-width: 575.98px) {
    .fe-tools .header-account-link { display: none; }
    .fe-logo { gap: .5rem; }
    .fe-logo-big { font-size: 1.15rem; }
    .fe-tools { gap: .35rem; }
    .fe-header-cta { padding: .55rem .85rem; }
    .fe-burger { width: 42px; height: 42px; }
}
/* wskaźnik fokusu na jasnych i limonkowych tłach: ciemny/fioletowy zamiast limonkowego */
.theme-demo-festiwal .fe-band--lime :focus-visible, .theme-demo-festiwal .fe-term-box :focus-visible { outline-color: var(--fe-night) !important; }
.theme-demo-festiwal .fe-partners :focus-visible, .theme-demo-festiwal .cart-modal :focus-visible,
.theme-demo-festiwal .fe-cart-bar :focus-visible, .theme-demo-festiwal .zgody-okno :focus-visible { outline-color: #6d28d9 !important; }
/* strona dnia: w DOM najpierw treść z <h1>, wizualnie plakat i termin po lewej */
.fe-day-page .fe-day-side { order: -1; }
