/* ============================================================
   LAYOUT - a CSS-kaszkád 2. rétege (tokens -> layout -> components -> pages -> responsive)

   A chrome (fejléc, nav, mobil drawer, kereső-tálca, lábléc) és az
   oldal-szintű elrendezés. Csak tokenekből dolgozik - hardcode szín TILOS.
   ============================================================ */

/* ============================================================
   MAIN
   ============================================================ */
/* A fix fejléc (topbar + fejléc-sáv) kompenzációja. */
main {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--topbar-h) + var(--header-h));
    background: var(--color-base);
    box-shadow: var(--shadow-main);
}

.section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: var(--admin-bar-h); left: 0; right: 0;
    z-index: 100;
    /* Tejes-üveg: erős blur + krém fátyol (a brand-blokk --glass-veil tokenje);
       az alsó vonal a bézs hajszálvonal (--color-border). */
    background: var(--glass-veil);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: background var(--d-base) var(--ease),
                border-color var(--d-base) var(--ease),
                box-shadow var(--d-base) var(--ease);
}
.site-header.is-scrolled {
    /* Görgetve tömörebb fátyol a menü olvashatóságáért. */
    background: var(--glass-veil-strong);
    box-shadow: var(--shadow-md);
}

/* Topbar - szén sáv. Görgetésre összecsukódik (height -> 0), csak a
   fejléc-sáv marad fixen látható. */
.site-topbar {
    height: var(--topbar-h);
    overflow: hidden;
    background: var(--color-accent-ink);
    color: var(--on-ink);
    font-size: var(--fs-tiny);
    border-bottom: 1px solid var(--on-ink-line);
    transition: height var(--d-base) var(--ease),
                opacity var(--d-base) var(--ease),
                border-bottom-width var(--d-base) var(--ease);
}
.site-header.is-scrolled .site-topbar {
    height: 0;
    opacity: 0;
    border-bottom-width: 0;
}

/* Görgetés-haladás csík a fejléc alsó élén (common.js állítja a scaleX-et). */
.site-header__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* Betöltő-csík a fejléc FELSŐ élén (page-loader.js; user-választás 10-23: "A").
   Navigáláskor lassan kúszik ~85%-ig, amíg a következő oldal megérkezik;
   a transition-görbe eleje gyors, a vége szinte áll ("halad, mindjárt kész"). */
.site-header__loader {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 3px;
    background: var(--color-accent-light);
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    pointer-events: none;
}
.site-header__loader.is-loading {
    opacity: 1;
    transform: scaleX(.85);
    transition: transform 8s cubic-bezier(.08, .7, .2, 1),
                opacity var(--d-fast) var(--ease);
}

.site-topbar__inner {
    height: var(--topbar-h);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--section-px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-3);
}
.site-topbar__left {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
    justify-self: start;
}
/* Állapot-motor a topbaron: pötty + "Következő alkalom · vasárnap 10:30-kor". */
.site-topbar__status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
    white-space: nowrap;
}
.site-topbar__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    background: var(--on-ink-faint);
}
.site-topbar__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0;
}
.site-topbar__dot--open {
    background: var(--status-live-dot);
    box-shadow: 0 0 0 1px var(--status-live-ring);
}
.site-topbar__dot--open::after {
    background: var(--status-live-dot);
    opacity: 0.5;
    animation: topbarPulse 2s ease-in-out infinite;
}
.site-topbar__dot--soon {
    background: var(--status-soon-dot);
    box-shadow: 0 0 0 1px var(--status-soon-ring);
}
.site-topbar__dot--soon::after {
    background: var(--status-soon-dot);
    opacity: 0.5;
    animation: topbarPulse 2.5s ease-in-out infinite;
}
.site-topbar__dot--closed {
    background: var(--on-ink-faint);
}
@keyframes topbarPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    60%, 100% { transform: scale(1.8); opacity: 0; }
}
.site-topbar__text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.site-topbar__text strong {
    color: var(--on-ink-strong);
    font-weight: 600;
}
.site-topbar__separator { color: var(--on-ink-faint); }
.site-topbar__meta {
    color: var(--on-ink-muted);
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-topbar__contacts {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: var(--space-5);
    flex-shrink: 0;
}

.site-topbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--on-ink);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}
.site-topbar__cta::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--d-fast) var(--ease);
}
a.site-topbar__cta:hover { color: var(--on-ink-strong); }
a.site-topbar__cta:hover::after { transform: scaleX(1); }
.site-topbar__cta svg { width: 12px; height: 12px; }

@media (max-width: 768px) {
    :root { --topbar-h: 0px; }
    .site-topbar { display: none; }
}

.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    transition: height var(--d-base) var(--ease);
}
.site-header.is-scrolled .site-header__inner {
    height: var(--header-h-scrolled);
}

/* Brand - logó-jel (inc/chrome.php whitel_brand_mark) + szöveges logó (Lora a kitből). */
.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--color-text);
    transition: color var(--d-fast) var(--ease);
    flex-shrink: 0;
}
.site-header__brand:hover { color: var(--color-accent-deep); }
/* A jel okker (a Figma-terv színe); hoverre a felirattal együtt mélyül.
   Görgetve a sáv alacsonyabb - a jel is kisebb. */
.site-header__brand-mark {
    display: block;
    width: auto;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-accent);
    transition: color var(--d-fast) var(--ease), height var(--d-base) var(--ease);
}
.site-header__brand:hover .site-header__brand-mark { color: var(--color-accent-deep); }
.site-header.is-scrolled .site-header__brand-mark { height: 34px; }
.site-header__brand-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}
.site-header__brand-wordmark {
    font-size: 1.15rem;
    white-space: nowrap;
    color: inherit;
}
.site-header__brand-tagline {
    font-size: var(--fs-tiny);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-subtle);
    white-space: nowrap;
}

/* Forgó sor a név alatt - FÜGGETLEN / KERESZTÉNY / GYÜLEKEZET (A koncepció,
   user 2026-10-10: "minden passzoljon mindennel"). A sor PONTOSAN a név
   szélességét kapja: width 0 + min-width 100% - így a sor nem szélesíti az
   oszlopot, a szélességet a "Sion hegye" adja. A szó betűnként sorkizárt
   (flex, space-between): a bal és a jobb szél is a névvel egy vonalban.
   Csak CSS: EGY sornyi ablak, benne a szavak oszlopa (+ az első szó
   ismétlése a varratmentes hurokhoz); a kulcsképkockák 3 szóra írva
   (4 sor: lépésenként -25%) - más szószámnál igazítandók.
   Csökkentett mozgásnál az első szó áll. Markup: template-parts/chrome/header.php. */
.tagline-rotor {
    display: block;
    width: 0;
    min-width: 100%;
    height: 1.3em;
    margin-top: 0.2em;
    overflow: hidden;
}
.tagline-rotor__track {
    display: flex;
    flex-direction: column;
    animation: tagline-roll 9s infinite;
}
.tagline-rotor__word {
    display: flex;
    justify-content: space-between;
    height: 1.3em;
    line-height: 1.3em;
    font-weight: 600;
    text-transform: uppercase;
}
@keyframes tagline-roll {
    0%, 28%   { transform: translateY(0); animation-timing-function: var(--ease-out); }
    33%, 61%  { transform: translateY(-25%); animation-timing-function: var(--ease-out); }
    66%, 94%  { transform: translateY(-50%); animation-timing-function: var(--ease-out); }
    100%      { transform: translateY(-75%); }
}
@media (prefers-reduced-motion: reduce) {
    .tagline-rotor__track { animation: none; }
}

/* ------------------------------------------------------------
   MENÜ - BIBLIA-SZALAG
   A menü a logóhoz tapad (margin-right: auto a maradék helyet a nav UTÁN
   nyeli el). Hoverre / fókuszra okker könyvjelző-szalag ereszkedik a
   fejléc-sáv felső széléről a menüpont fölé (V-kivágott vég, mint a Biblia
   selyemszalagja); az aktuális oldal fölött lent marad.
   ------------------------------------------------------------ */
.site-header__nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    gap: var(--space-5);
    margin-right: auto;
}
/* Elválasztó a logó és a menü közt: két végén elhalványuló hajszálvonal. */
.site-header__nav::before {
    content: '';
    align-self: center;
    flex-shrink: 0;
    width: 1px;
    height: 26px;
    margin-left: calc(var(--space-5) - var(--space-4));
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-border-strong) 30%,
        var(--color-border-strong) 70%,
        transparent
    );
}
.site-header__nav > a {
    display: inline-flex;
    align-items: center;
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    /* A sáv fölé tolt, nyugalmi szalagot rejti. */
    overflow: hidden;
    line-height: 1;
    transition: color var(--d-fast) var(--ease);
}
.site-header__nav > a:hover,
.site-header__nav > a:focus-visible,
.site-header__nav > a.is-active { color: var(--color-text); }

.site-header__nav > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 18px;
    margin-left: -5px;
    background: var(--color-accent);
    /* V-kivágott szalagvég. */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
    transform: translateY(-100%);
    transition: transform var(--d-base) var(--ease-out),
                height var(--d-base) var(--ease);
    pointer-events: none;
}
.site-header__nav > a:hover::before,
.site-header__nav > a:focus-visible::before,
.site-header__nav > a.is-active::before {
    transform: none;
}
/* Görgetve a sáv alacsonyabb - a szalag is rövidebb. */
.site-header.is-scrolled .site-header__nav > a::before {
    height: 14px;
}
@media (prefers-reduced-motion: reduce) {
    .site-header__nav > a::before { transition: none; }
}

/* ------------------------------------------------------------
   === KERESŐ-TÁLCA ===
   Süllyesztett vályú, benne EMELT sziget: a feliratos kereső-gomb
   (nagyító + Keresés + Ctrl K). A vályú színe a szöveg-tokenből kevert,
   így a krém papír meleg tónusát veszi át. Görgetve a gomb összébb húzódik,
   a billentyű-jelzés átmenettel eltűnik. Törlési recept: inc/search-index.php.
   ------------------------------------------------------------ */
.chrome-tray {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);
    /* A sarok a sziget gomb-sarkát (--radius-btn) követi, a 3px réssel koncentrikusan
       (user-választás 2026-10-23, "A": a sarkok a gombokéhoz, Lora felirat). */
    border-radius: calc(var(--radius-btn) + 3px);
    background: color-mix(in srgb, var(--color-text-muted) 10%, transparent);
    box-shadow: var(--shadow-trough);
    flex-shrink: 0;
}
.site-header__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 32px;
    padding: 0 9px 0 10px;
    border-radius: var(--radius-btn);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text-muted);
    cursor: pointer;
    box-shadow: var(--shadow-island);
    transition: border-color var(--d-fast) var(--ease),
                background var(--d-fast) var(--ease),
                color var(--d-fast) var(--ease),
                height var(--d-base) var(--ease);
    flex-shrink: 0;
}
.site-header__search:hover {
    border-color: var(--color-border-strong);
    background: var(--color-base);
    color: var(--color-text);
}
.site-header__search svg {
    width: 17px;
    height: 17px;
    transition: width var(--d-base) var(--ease), height var(--d-base) var(--ease);
}
.site-header.is-scrolled .site-header__search { height: 28px; }
.site-header.is-scrolled .site-header__search svg { width: 16px; height: 16px; }
.site-header__search-label {
    /* Lora, mint a menüpontok és a gombok felirata. */
    font-family: var(--ff-display);
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}
/* Billentyű-jelzés. Görgetve átmenettel tűnik el: a szélessége húzódik össze
   és közben elhalványul (a display: none egy kockán vágná ki a mozgásból). */
.site-header__search-kbd {
    padding: 2px 5px;
    border: 1px solid var(--color-border-strong);
    border-radius: 2px;
    background: var(--color-base);
    font-family: var(--ff-mono);
    font-size: 0.62rem;
    line-height: 1.4;
    color: var(--color-text-subtle);
    white-space: nowrap;
    overflow: hidden;
    max-width: 60px;
    /* Visszatéréskor előbb a hely nyílik, a jelzés csak utána úszik be. */
    transition: max-width var(--d-base) var(--ease),
                margin-left var(--d-base) var(--ease),
                transform var(--d-base) var(--ease),
                opacity var(--d-fast) var(--ease) var(--d-fast);
}
.site-header.is-scrolled .site-header__search-kbd {
    max-width: 0;
    margin-left: -7px;
    opacity: 0;
    transform: scale(0.9);
    transition: max-width var(--d-base) var(--ease),
                margin-left var(--d-base) var(--ease),
                transform var(--d-base) var(--ease),
                opacity var(--d-fast) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
    .site-header__search-kbd,
    .site-header.is-scrolled .site-header__search-kbd { transition: none; }
}
/* === /KERESŐ-TÁLCA === */

/* Diszkrét burger (user, 2026-10-10: "nem kell külön kockába tenni"): doboz,
   keret és árnyék nélkül, vékonyabb, halkabb vonalak; hoverre okker. A 40px-es
   érintési felület marad (a gomb maga átlátszó). */
.site-header__burger {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color var(--d-fast) var(--ease);
}
.site-header__burger:hover,
.site-header__burger[aria-expanded="true"] {
    color: var(--color-accent-deep);
}
.site-header__burger-line {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.2s ease;
}
.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.site-header__burger[aria-expanded="true"] .site-header__burger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MOBIL DRAWER - jobbról beúszó panel (880px alatt, responsive.css)
   ============================================================ */
/* A panel a fejléc ALJÁHOZ tapad: --drawer-top = topbar + fejléc-sáv
   (+ admin-sáv). Görgetve a fejléc összehúzódik (a topbar 0, a sáv
   --header-h-scrolled), ezért a panel teteje is vele megy - különben üres
   csík maradna a kettő között (user-lelet, 2026-10-10). A fejléc után álló
   testvérelem (header.php: header -> drawer), ezért a ~ szelektor. */
.site-drawer {
    --drawer-top: calc(var(--topbar-h) + var(--header-h) + var(--admin-bar-h));
    display: none;
    position: fixed;
    top: var(--drawer-top);
    right: 0;
    left: auto;
    width: min(86vw, 420px);
    height: calc(100vh - var(--drawer-top));
    height: calc(100dvh - var(--drawer-top));
    /* A fejléc tejes-üvege, sűrűbb fátyollal (több a szöveg). */
    background: var(--glass-veil-strong);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
    border-left: 1px solid var(--color-border);
    transform: translateX(110%);
    /* A tető a fejléc magasság-váltásával együtt mozog (ugyanaz az idő). */
    transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
                top var(--d-base) var(--ease),
                height var(--d-base) var(--ease);
    z-index: 99;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    overflow: hidden;
}
.site-drawer.is-open { transform: translateX(0); }
/* Az overlay UGYANAHHOZ a tetőhöz igazodik, mint a panel (különben a
   sötétítés fölött maradna a csík - user-lelet, 2026-10-10). */
.site-header.is-scrolled ~ .site-drawer,
.site-header.is-scrolled ~ .site-drawer-overlay {
    --drawer-top: calc(var(--header-h-scrolled) + var(--admin-bar-h));
}

.site-drawer-overlay {
    --drawer-top: calc(var(--topbar-h) + var(--header-h) + var(--admin-bar-h));
    position: fixed;
    top: var(--drawer-top);
    left: 0; right: 0; bottom: 0;
    background: var(--overlay-veil);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms var(--ease),
                top var(--d-base) var(--ease);
    z-index: 98;
}
.site-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* backdrop-filter nélküli böngészőben tömör háttér. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-drawer { background: var(--color-surface); }
}
@media (prefers-reduced-motion: reduce) {
    .site-drawer,
    .site-drawer-overlay { transition: none; }
}

.site-drawer__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: var(--space-3) var(--section-px) var(--space-2);
    -webkit-overflow-scrolling: touch;
}
.site-drawer__nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
}
/* Állapot-kártya a menü tetején (user-választás 2026-10-23, "A"): mobilon a
   topbar nem látszik, ez a párja - szén kártya arany bal szegéllyel, a pötty
   a topbar osztályaival. */
.site-drawer__status {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--sion-charcoal);
    border-left: 2px solid var(--sion-gold-line);
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    color: var(--sion-on-charcoal);
    font-size: var(--fs-small);
    line-height: 1.4;
}
.site-drawer__status .site-topbar__dot { margin-top: 0.4em; }
.site-drawer__status-text { display: flex; flex-direction: column; gap: 2px; }
.site-drawer__status strong { font-weight: 600; }
.site-drawer__status-meta { color: var(--sion-gold-on-charcoal); font-size: var(--fs-tiny); }
.site-drawer__nav a {
    --drawer-indent: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    padding: 0.6rem var(--space-2) 0.6rem var(--drawer-indent);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background var(--d-fast) var(--ease),
                color var(--d-fast) var(--ease),
                padding var(--d-base) var(--ease-out);
}
/* Nyilas hover - a menüpont elé úszó okker nyíl. */
.site-drawer__nav a::before {
    content: '\2192';
    position: absolute;
    left: var(--drawer-indent);
    top: 1.25rem; /* a felirat sorának közepe (a leírás alatta áll) */
    transform: translate(-6px, -50%);
    opacity: 0;
    color: var(--color-accent);
    font-weight: 700;
    line-height: 1;
    transition: opacity var(--d-fast) var(--ease),
                transform var(--d-base) var(--ease-out);
}
.site-drawer__nav a:hover,
.site-drawer__nav a:focus-visible {
    color: var(--color-accent-deep);
    padding-left: calc(var(--drawer-indent) + 1.1rem);
    outline: none;
}
.site-drawer__nav a:hover::before,
.site-drawer__nav a:focus-visible::before {
    opacity: 1;
    transform: translate(0, -50%);
}
.site-drawer__nav a:active { background: var(--color-accent-soft); }
/* Felirat (Lora, mint a fejléc menüje) + egysoros leírás (nav 'desc'). */
.site-drawer__label {
    font-family: var(--ff-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
}
.site-drawer__desc {
    font-size: var(--fs-tiny);
    color: var(--color-text-subtle);
    line-height: 1.35;
}
.site-drawer__nav a.is-active .site-drawer__label { color: var(--color-accent); }
@media (prefers-reduced-motion: reduce) {
    .site-drawer__nav a,
    .site-drawer__nav a::before { transition: none; }
}

/* Drawer lábrész: kereső (4. allépés) + hívás / e-mail. */
.site-drawer__footer {
    flex-shrink: 0;
    padding: var(--space-3) var(--section-px) calc(var(--space-4) + env(safe-area-inset-bottom));
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Drawer-kereső (a search-modal.js tölti a találatokat, a mező fölé nyílnak). */
.site-drawer__search { position: relative; }
.site-drawer__search-input {
    width: 100%;
    height: 44px;
    padding: 0 var(--space-3) 0 calc(var(--space-3) + 22px + 8px);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color var(--d-fast) var(--ease),
                box-shadow var(--d-fast) var(--ease);
}
.site-drawer__search-input::placeholder { color: var(--color-text-muted); }
.site-drawer__search-input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.site-drawer__search-icon {
    position: absolute;
    left: var(--space-3);
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    pointer-events: none;
}
.site-drawer__search-results {
    position: absolute;
    left: 0; right: 0;
    bottom: calc(100% + var(--space-2));
    max-height: 50vh;
    overflow-y: auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    -webkit-overflow-scrolling: touch;
}
.site-drawer__search-results[hidden] { display: none; }

/* Osztott gomb: hívás | e-mail. */
.site-drawer__multi {
    display: flex;
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--color-accent-deep);
    box-shadow: inset 0 1px 0 var(--on-ink-sheen);
}
.site-drawer__multi-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: 0.6rem var(--space-2);
    color: var(--color-on-accent);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background var(--d-fast) var(--ease);
}
a.site-drawer__multi-btn:hover,
a.site-drawer__multi-btn:focus-visible {
    background: var(--color-accent-deep-hover);
    color: var(--color-on-accent);
    outline: none;
}
.site-drawer__multi-btn + .site-drawer__multi-btn {
    border-left: 1px solid var(--on-ink-sep);
}
.site-drawer__multi-btn svg { flex-shrink: 0; }

/* Arculati zárás: arany vonal, közepén a logó-jel (a panelnek legyen alja). */
.site-drawer__seal {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-2);
    color: var(--sion-gold-line);
}
.site-drawer__seal::before,
.site-drawer__seal::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
}
.site-drawer__seal-mark { height: 24px; width: auto; flex: none; }

/* Görgetés-zár nyitott drawernél. */
body.drawer-open { overflow: hidden; }

/* Illusztrációs (még nem valódi) elérhetőség: látszik, de nem kattintható. */
.is-placeholder { cursor: default; }

/* ============================================================
   FOOTER - szén lábléc (a gyülekezet korábbi oldalának sötét lábléce)
   ============================================================ */
.site-footer {
    /* SZÉN SZKÓP: a szín-tokenek a lábléc szintjén átállnak, így minden gyerek
       magától világos szövegű, az accent-szöveg arany (7,45:1). */
    --color-surface: var(--sion-charcoal);
    --color-surface-raised: var(--sion-charcoal);
    --color-text: var(--sion-on-charcoal);
    --color-text-muted: var(--sion-on-charcoal-muted);
    --color-text-subtle: var(--sion-on-charcoal-muted);
    --color-border: var(--sion-charcoal-line);
    --color-border-strong: var(--sion-charcoal-line);
    --color-accent-deep: var(--sion-gold-on-charcoal);
    --color-accent-deep-hover: var(--sion-on-charcoal);

    background: var(--sion-charcoal);
    border-top: 1px solid var(--sion-charcoal-line);
    padding-top: var(--space-7);
    padding-bottom: var(--space-5);
    color: var(--color-text);
    /* Footer-reveal: a viewport aljához tapad a tartalom (main) mögött. */
    position: sticky;
    bottom: 0;
    z-index: 0;
}
/* Ha a lábléc magasabb a viewportnál (common.js méri), statikusra vált. */
.site-footer--static { position: static; }
body:has(.site-footer--static) main { box-shadow: none; }

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr 1.2fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-5);
}
.site-footer__col { min-width: 0; }

/* Oszlopcím: h2 (Lighthouse címsor-sorrend, 2026-10-23 - a lap utolsó h2-je
   után h4 szintet ugrott). A kinézet a régi h4-é: az osztály felülírja a kit
   h1-h3 szabályának Lora-betűjét és betűközét. */
.site-footer__title {
    font-family: var(--ff-sans);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--ls-eyebrow);
    color: var(--color-text-subtle);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

/* Brand - logó-jel + szöveges logó (Lora a kitből). A jel a szénen arany. */
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.site-footer__brand-mark {
    display: block;
    width: auto;
    height: 48px;
    flex-shrink: 0;
    color: var(--sion-gold-on-charcoal);
}
.site-footer__brand-wordmark {
    display: block;
    font-size: 1.4rem;
    color: var(--color-text);
}
.site-footer__brand-tagline {
    display: block;
    font-size: var(--fs-tiny);
    font-weight: 500;
    color: var(--color-text-subtle);
    margin-top: 2px;
}

/* Kövess minket - ikon-sor a brand-oszlopban. A link nélküli (placeholder)
   tétel NEM kap hover-választ: az kattinthatóságot hazudna. */
/* Állapot-sor a brand alatt (a topbar párja, footer.php): a pötty a topbar
   osztályaival, a szöveg a szén szkóp színeivel. Alatta a YouTube-blokk
   felső vonala választja el. */
.site-footer__status {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-5) 0 0;
    font-size: var(--fs-small);
    line-height: 1.5;
    color: var(--sion-on-charcoal);
}
.site-footer__status strong { font-weight: 600; }
.site-footer__status-meta { color: var(--sion-on-charcoal-muted); }

.site-footer__social {
    margin-top: var(--space-5);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}
.site-footer__social-title {
    margin: 0 0 var(--space-3);
    font-size: var(--fs-tiny);
    letter-spacing: var(--ls-eyebrow);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-subtle);
}
.site-footer__social-list {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    list-style: none;
}
.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}
a.site-footer__social-link:hover,
a.site-footer__social-link:focus-visible {
    color: var(--color-accent-deep);
    border-color: var(--color-accent-deep);
}

/* Gyors-linkek - a fejléc mozgásnyelve: becsúszó nyíl + szöveg-tolás. */
.site-footer__links-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    list-style: none;
}
.site-footer__links-list a {
    display: inline-block;
    position: relative;
    font-size: var(--fs-small);
    color: var(--color-text-muted);
    transition: color var(--d-fast) var(--ease),
                padding var(--d-base) var(--ease-out);
}
.site-footer__links-list a::before {
    content: '\2192';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-6px, -50%);
    opacity: 0;
    color: var(--color-accent-deep);
    font-weight: 700;
    line-height: 1;
    transition: opacity var(--d-fast) var(--ease),
                transform var(--d-base) var(--ease-out);
}
.site-footer__links-list a:hover,
.site-footer__links-list a:focus-visible {
    color: var(--color-accent-deep);
    padding-left: 1.2rem;
}
.site-footer__links-list a:hover::before,
.site-footer__links-list a:focus-visible::before {
    opacity: 1;
    transform: translate(0, -50%);
}
@media (prefers-reduced-motion: reduce) {
    .site-footer__links-list a,
    .site-footer__links-list a::before { transition: opacity var(--d-fast), color var(--d-fast); }
    .site-footer__links-list a::before { transform: translate(0, -50%); }
}

/* Kapcsolat */
.site-footer__contact {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}
.site-footer__contact dt {
    font-weight: 700;
    color: var(--color-text);
    margin-top: var(--space-4);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.site-footer__contact dt:first-child { margin-top: 0; }
.site-footer__contact dd { margin-top: var(--space-2); }
a.site-footer__contact-link {
    color: var(--color-accent-deep);
    border-bottom: 1px dotted var(--color-accent-medium);
    transition: color var(--d-fast) var(--ease),
                border-color var(--d-fast) var(--ease);
}
a.site-footer__contact-link:hover {
    color: var(--color-accent-deep-hover);
    border-bottom-color: var(--color-accent-deep);
}

/* Alkalmaink - heti lista (az állapot-motor whitel_status_week_rows sorai). */
.hours {
    display: flex;
    flex-direction: column;
    list-style: none;
}
.hours__item {
    position: relative;
    padding: var(--space-3) 0 var(--space-3) var(--space-5);
    border-bottom: 1px solid var(--color-border);
}
.hours__item:first-child { padding-top: 0; }
.hours__item:first-child::before { top: 0.45rem; }
.hours__item:last-child { border-bottom: 0; padding-bottom: 0; }
.hours__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: calc(var(--space-3) + 0.45rem);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--status-ok-dot);
    box-shadow: 0 0 0 3px var(--status-ok-ring);
}
.hours__item--closed::before {
    background: transparent;
    border: 1.5px solid var(--color-text-subtle);
    box-shadow: none;
}
/* A mai nap sora. */
.hours__item--today .hours__days {
    color: var(--color-accent-deep);
    font-weight: 700;
}
.hours__days {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 2px;
}
.hours__time {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
}
.hours__time--closed {
    color: var(--color-text-subtle);
    font-weight: 500;
}

/* Alsó sáv - rács 1fr|auto|1fr: a made-blokk a szélektől függetlenül középen. */
.site-footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
    font-size: var(--fs-tiny);
    color: var(--color-text-muted);
    line-height: 1.5;
}
.site-footer__bottom .site-footer__links  { justify-self: start; }
.site-footer__bottom .site-footer__made   { justify-self: center; }
.site-footer__bottom .site-footer__credit { justify-self: end; text-align: right; }
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
}
.site-footer__links a {
    color: var(--color-text-muted);
    transition: color var(--d-fast) var(--ease);
}
.site-footer__links a:hover { color: var(--color-accent-deep); }

.site-footer__made {
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.site-footer__made-mark { width: 16px; height: 16px; flex-shrink: 0; }
/* A rotátor-szó JOBBRA zárt; a min-width-et a JS rögzíti a leghosszabb szóhoz. */
.site-footer__made-word {
    display: inline-block;
    text-align: right;
    font-weight: 600;
    color: var(--color-text);
}
/* 1px lefelé: a betűk optikai közepe így igazodik a 16px-es jel közepéhez. */
.site-footer__made-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    top: 1px;
}
.site-footer__made-link {
    display: inline-flex;
    align-items: center;
}

.site-footer__credit { font-size: 0.7rem; }
.site-footer__credit strong { color: var(--color-accent-deep); font-weight: 700; }

/* Görgetés a tetejére */
.scroll-top {
    position: fixed;
    right: var(--space-5);
    bottom: var(--space-5);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent-deep);
    color: var(--color-on-accent);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--d-base) var(--ease),
                visibility var(--d-base) var(--ease),
                transform var(--d-base) var(--ease-out),
                background var(--d-fast) var(--ease);
    z-index: 90;
}
.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { background: var(--color-accent-deep-hover); }
.scroll-top svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
    .scroll-top { transition: opacity var(--d-base), visibility var(--d-base); transform: none; }
}
