/**
 * Zsengezöld – fejléc, lábléc és globális segédosztályok
 *
 * A korábbi, lecserélt sablonokhoz tartozó szabályok (post-card, entry-*,
 * widget, sidebar, .container, régi nav és footer stb.) el lettek távolítva:
 * egyetlen aktív sablon sem használta őket. A régi fájl a scratchpadben
 * megmaradt (style.css.regi).
 *
 * Az oldalspecifikus stílusok helye:
 *   - pages.css  ... aloldal-alapok (.zs-page)
 *   - blog.css   ... bloglista, archívum, keresés (.zs-blog)
 *   - a sablonok saját <style> blokkja (.zs-home, .zs-fogl, .zs-kapcs, ...)
 */

/* ==================== Űrlap alapok ====================
   Nem a CF7-hez kell (azt a pages.css stílusozza), hanem tartalékként
   bármilyen később hozzáadott űrlaphoz, hogy ne maradjon csupasz. */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--color-neutral-light);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    transition: all var(--transition-fast);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 142, 111, 0.1);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-neutral-dark);
}

/* ==========================================================================
   Képernyőolvasónak szánt, vizuálisan rejtett szöveg

   A Gutenberg blokk-CSS is definiálja, de az nem tölt be minden oldalon,
   ezért a téma is kimondja – különben a "Menü" / "Keresés" feliratok
   láthatóvá válnának.
   ========================================================================== */
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.screen-reader-text:focus {
    position: static !important;
    width: auto; height: auto;
    margin: 0; overflow: visible;
    clip: auto; clip-path: none;
    white-space: normal;
}

/* ==========================================================================
   FEJLÉC + LÁBLÉC (Figma terv szerint)
   Saját "zs-" névtér, hogy a fenti régi szabályok ne szóljanak bele.
   ========================================================================== */

.zs-header,
.zs-footer {
    --gold:      #7A5C33;
    --gold-soft: #B89362;
    /*
     * Arany a SÖTÉT ZÖLD felületekhez (lábléc, „Kinek szól" sáv).
     * Ugyanaz az érték, mint a home.css-ben – így a lábléc oszlopcímei és
     * hover-állapotai ugyanazt az aranyat idézik, mint a főoldali sáv.
     * A sötét zöldön 3,14 kontrasztot ad.
     */
    --gold-on-dark: #D2AC77;
    /* Sotetebb valtozatok a vilagos beige fejlechez: az eredeti arany
       csak 2,12, a zold 2,97 kontrasztot ad rajta. */
    --gold-dark:  #7A5C33;
    --green-dark: #556049;
    --light: #E6DDD1;
    --green:      #556049;
    --green-soft: #78836A;
    --brown: #5A473B;
    --cream: #F9F7F2;
}

/* ---------- FEJLÉC ---------- */
.zs-header {
    background: var(--light);
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

/*
 * Bejelentkezve a WordPress admin sávja fixen ül a képernyő tetején,
 * ezért a ragadós fejlécnek alá kell csúsznia – különben az admin sáv
 * takarja el. Csak a bejelentkezett nézetet érinti, a látogatók
 * továbbra is top: 0-t kapnak.
 *
 * Az admin sáv magassága 32px, 782px alatt 46px, 600px alatt pedig
 * position: absolute lesz (elgörög), ott tehát megint 0 a helyes érték.
 */
.admin-bar .zs-header { top: 32px; }

@media screen and (max-width: 782px) {
    .admin-bar .zs-header { top: 46px; }
}

@media screen and (max-width: 600px) {
    .admin-bar .zs-header { top: 0; }
}

.zs-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.zs-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.zs-header .custom-logo-link { display: block; line-height: 0; }
.zs-header .custom-logo { max-height: 40px; width: auto; }
.zs-header__title {
    display: flex; flex-direction: column; gap: 3px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px; font-weight: 700; color: var(--green-dark); text-decoration: none;
}
.zs-header__name { line-height: 1.1; }
/* Szlogen a név alatt: kicsi, ritkított nagybetűs sor, mint egy logó alá írt jelmondat */
.zs-header__tagline {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px; font-weight: 600; line-height: 1.2;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--gold);
}

.zs-header .zs-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    position: static;
    background: none;
    padding: 0;
    box-shadow: none;
}
.zs-header .zs-nav__list {
    display: flex; align-items: center; gap: 28px;
    list-style: none; margin: 0; padding: 0;
}
.zs-header .zs-nav__list li { position: relative; }
.zs-header .zs-nav__list a {
    display: block; padding: 6px 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px; font-weight: 600; color: var(--green-dark);
    text-decoration: none; white-space: nowrap;
    transition: color .2s ease;
}
.zs-header .zs-nav__list a:hover,
.zs-header .zs-nav__list .current-menu-item > a { color: var(--gold-dark); }
.zs-header .zs-nav__list a::after { display: none; }

/* almenü */
.zs-header .zs-nav__list .menu-item-has-children > a::before {
    content: '';
    display: inline-block; vertical-align: middle;
    width: 6px; height: 6px; margin-left: 6px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}
.zs-header .zs-nav__list .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    display: none; flex-direction: column; gap: 4px;
    list-style: none; margin: 0; padding: 12px 0;
    background: var(--cream); border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.zs-header .zs-nav__list li:hover > .sub-menu,
.zs-header .zs-nav__list li:focus-within > .sub-menu { display: flex; }
.zs-header .zs-nav__list .sub-menu a { padding: 8px 20px; }

/* kereső */
.zs-header__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    /* mindig a jobb szélre, akkor is ha a menü ki van kapcsolva (mobil/tablet) */
    margin-left: auto;
}

.zs-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--cream);
    border: 1px solid rgba(120, 131, 106, .35);
    border-radius: 999px;
    padding: 8px 16px;
}
.zs-search__icon { color: var(--green); flex: 0 0 auto; }
.zs-search input[type="search"] {
    border: none; background: none; outline: none;
    width: 130px; min-width: 0;
    font-family: 'Inter', sans-serif; font-size: 14px; color: var(--brown);
}
.zs-search input::placeholder { color: rgba(90, 71, 59, .55); }
.zs-search--mobile { display: none; }

/* CTA gomb */
.zs-header__cta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold-dark); color: var(--cream);
    padding: 12px 24px; border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: .03em;
    text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transition: background .25s ease;
}
.zs-header__cta:hover { background: var(--green); color: var(--cream); }

/* hamburger */
.zs-header .zs-burger {
    display: none;
    /* a régi .menu-toggle szabály position:absolute-ot ad 768px alatt – ezt semlegesítjük */
    position: static;
    flex: 0 0 auto;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.zs-header .zs-burger .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    width: 26px; height: auto;
}
.zs-header .zs-burger .hamburger span {
    display: block; width: 100%; height: 2px; border-radius: 2px;
    background: var(--green); transition: transform .3s ease, opacity .3s ease;
}
.zs-header .zs-burger.open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zs-header .zs-burger.open .hamburger span:nth-child(2) { opacity: 0; }
.zs-header .zs-burger.open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- LÁBLÉC ---------- */
.zs-footer { background: var(--green); color: var(--cream); }

/*
 * Oszlopok a látványterv arányai szerint: a szöveges hasáb és a térkép
 * nagyjából egyforma széles (a terven 397 : 411), a két linkoszlop
 * ezeknél jóval keskenyebb. A tartalom függőlegesen középre kerül,
 * ahogy a terven is – a hasábok eltérő magasságúak.
 */
.zs-footer__inner {
    max-width: 1440px; margin: 0 auto;
    padding: 80px 90px 48px;
    display: grid;
    grid-template-columns: 1.7fr 1.8fr 1fr 1fr;
    gap: 40px;
    /*
     * Felülről indulnak a hasábok, hogy a bal oldali leírás, a térkép
     * teteje és az oszlopcímek egy vonalból kezdődjenek. Középre igazítva
     * – miután a márkanév lekerült – a leírás feljebb csúszott, mint az
     * oszlopcímek.
     */
    align-items: start;
}

.zs-footer .custom-logo-link { display: block; line-height: 0; margin-bottom: 16px; }
.zs-footer .custom-logo { max-height: 34px; width: auto; }
.zs-footer__title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px; font-weight: 700; color: var(--cream); margin: 0 0 16px;
}
.zs-footer__desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px; line-height: 1.7; color: var(--light);
    margin: 0 0 20px;
}
.zs-footer__email {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'Inter', sans-serif; font-size: 14px;
    color: var(--cream); text-decoration: none;
    transition: color .2s ease;
}
.zs-footer__email:hover { color: var(--gold-on-dark); text-decoration: underline; }

/* A terven az ikonok középtávolsága kb. a saját méretük kétszerese */
.zs-footer__social {
    display: flex; gap: 22px; align-items: center;
    list-style: none; margin: 22px 0 0; padding: 0;
}
.zs-footer__social a { line-height: 0; }
.zs-footer__social svg { display: block; }
.zs-footer__social a { color: var(--cream); display: block; transition: color .2s ease; }
/* Ikon, nem szöveg: a világos arany jól elválik a sötét zöldtől. */
.zs-footer__social a:hover { color: var(--gold-on-dark); }

/*
 * A láblécben a térkép fekvő. A terv 39:20-at mutat, de akkor az iframe
 * 190 px magas lenne, és a Google ilyen kis kereten elrejti a nagyítás
 * gombjait. A 16:10 még fekvő arány, de már marad hely a vezérlőknek.
 */
.zs-footer .zs-map { aspect-ratio: 16 / 10; }

/*
 * Oszlopcímek aranyban – ez a szín köszön vissza a főoldali „Kinek szól"
 * sávból. A méret 17-ről 19 px-re nő: félkövéren 18,66 px fölött a WCAG
 * nagy szövegnek számít, amire 3,0 a küszöb, és ez az arany 3,14-et ad a
 * sötét zöldön. 17 px-en 4,5 kellene, amit nem érne el – a két pixel tehát
 * nem trükk, hanem a szín ára, és az oszlopcímeknek amúgy is jót tesz.
 */
.zs-footer__col-title {
    font-family: 'Inter', sans-serif;
    font-size: 19px; font-weight: 700; color: var(--gold-on-dark); margin: 0 0 16px;
}
.zs-footer__links { list-style: none; margin: 0; padding: 0; }
.zs-footer__links li { margin-bottom: 10px; }
.zs-footer__links a {
    font-family: 'Inter', sans-serif; font-size: 15px;
    color: var(--light); text-decoration: none;
    transition: color .2s ease;
}
.zs-footer__links a:hover { color: var(--gold-on-dark); text-decoration: underline; }

/* térkép facade */
.zs-map {
    position: relative;
    width: 100%; aspect-ratio: 4 / 3;
    border-radius: 12px; overflow: hidden;
    background: var(--light);
    /* halvány rácsminta, hogy térképszerű legyen betöltés előtt */
    background-image:
        linear-gradient(rgba(120, 131, 106, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 131, 106, .16) 1px, transparent 1px);
    background-size: 34px 34px;
}
.zs-map__trigger {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 100%;
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
    color: var(--green);
    transition: background .2s ease;
}
/*
 * Statikus előnézeti kép: kitölti a dobozt, a gomb fölé kerül.
 * Ha van kép, a gomb csak egy halvány fátylat kap, hogy a felirat
 * olvasható maradjon a térkép fölött.
 */
.zs-map__preview {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.zs-map.is-loaded .zs-map__preview { display: none; }

.zs-map__pill { display: inline-flex; align-items: center; gap: 10px; }

/*
 * Előnézeti képpel a felirat egy pirulába kerül a kép aljára: középen
 * ütközne a képre rajzolt jelölővel, a térkép fölött pedig a sima szöveg
 * nehezen olvasható.
 *
 * A .zs-page-es párhuzam azért kell, mert a pages.css .zs-page .zs-map__trigger
 * szabálya később tölt be és azonos erősségű – nélküle a Kapcsolat oldalon
 * más színnel jelenne meg ugyanaz a gomb, mint a láblécben.
 */
.zs-map--kepes .zs-map__trigger,
.zs-page .zs-map--kepes .zs-map__trigger {
    justify-content: flex-end;
    padding-bottom: 14px;
    background: transparent;
    color: #F9F7F2;
}
.zs-map--kepes .zs-map__pill,
.zs-page .zs-map--kepes .zs-map__pill {
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(90, 71, 59, .85);
    font-family: 'Inter', sans-serif;
    font-size: 14px; font-weight: 600;
    box-shadow: 0 2px 10px rgba(28, 24, 20, .25);
    transition: background .2s ease;
}
.zs-map--kepes .zs-map__trigger:hover,
.zs-page .zs-map--kepes .zs-map__trigger:hover { background: transparent; color: #F9F7F2; }
.zs-map--kepes .zs-map__trigger:hover .zs-map__pill,
.zs-page .zs-map--kepes .zs-map__trigger:hover .zs-map__pill { background: rgba(184, 147, 98, .95); }

.zs-map__trigger:hover { background: rgba(184, 147, 98, .12); color: var(--gold); }
.zs-map.is-loaded { background: none; }
.zs-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* alsó sáv */
.zs-footer__bottom {
    max-width: 1440px; margin: 0 auto;
    padding: 24px 90px 40px;
    border-top: 1px solid rgba(249, 247, 242, .2);
    display: flex; flex-wrap: wrap; gap: 12px 32px;
    align-items: center; justify-content: space-between;
}
.zs-footer__copy {
    margin: 0; font-family: 'Inter', sans-serif;
    font-size: 13px; color: var(--light);
}
.zs-footer__legal-list {
    display: flex; flex-wrap: wrap; gap: 20px;
    list-style: none; margin: 0; padding: 0;
}
/*
 * Ugyanaz a szín és hover, mint a lábléc többi linkjénél – korábban
 * aranyszínű volt, ami a zöld háttéren alig olvasható (1,41 kontraszt).
 */
.zs-footer__legal-list a {
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    color: var(--light); text-decoration: none;
    transition: color .2s ease;
}
.zs-footer__legal-list a:hover { color: var(--gold-on-dark); text-decoration: underline; }

/* ---------- TABLET / MOBIL ---------- */
@media (max-width: 1199px) {
    .zs-header__inner { padding: 14px 60px; gap: 16px; }

    /*
     * Menü a hamburger mögött: a fejléc alatti teljes képernyőt kitölti.
     * A --zs-header-h-t a main.js méri be (az admin sáv miatt is), így
     * pontosan a fejléc alsó éléhez igazodik.
     */
    .zs-header .zs-nav {
        display: none;
        position: fixed;
        top: var(--zs-header-h, 72px);
        left: 0; right: 0; bottom: 0;
        flex-direction: column; justify-content: flex-start;
        gap: 20px;
        background: var(--light);
        padding: 28px 60px 40px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    /* Nyitott menü mellett a háttér ne görögjön. */
    body.zs-menu-open { overflow: hidden; }
    .zs-header .zs-nav.active { display: flex; }

    /*
     * A lenyitott menüben a sorok teljes szélességűek, hogy egyértelmű
     * legyen, melyiken áll az egér / ujj. Csak a szövegszín váltása
     * túl halvány visszajelzés volt egy ekkora panelen.
     */
    .zs-header .zs-nav__list {
        flex-direction: column; align-items: stretch;
        gap: 4px; width: 100%;
    }
    .zs-header .zs-nav__list li { width: 100%; }
    .zs-header .zs-nav__list a {
        display: block; width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        border-left: 3px solid transparent;
        font-size: 17px;
        transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    }
    .zs-header .zs-nav__list a:hover,
    .zs-header .zs-nav__list a:focus-visible,
    .zs-header .zs-nav__list a:active {
        background-color: rgba(184, 147, 98, .16);
        border-left-color: var(--gold);
        color: var(--gold);
    }
    /* Az aktuális oldal jelölése maradjon megkülönböztethető a hovertől:
       ott csak a bal sáv és a szín arany, háttér nélkül. */
    .zs-header .zs-nav__list .current-menu-item > a {
        border-left-color: var(--gold);
    }
    .zs-header .zs-nav__list .sub-menu {
        position: static; display: flex; box-shadow: none;
        background: transparent; padding: 8px 0 0 16px;
    }
    .zs-header .zs-burger { display: block; }
    .zs-search--desktop { display: none; }
    .zs-search--mobile { display: flex; width: 100%; }
    .zs-search--mobile input[type="search"] { width: 100%; }
    .zs-search--mobile button { background: none; border: none; cursor: pointer; color: var(--green); padding: 0; }

    .zs-footer__inner {
        grid-template-columns: 1fr 1fr;
        padding: 60px 60px 40px;
        gap: 40px;
    }
    .zs-footer__bottom { padding: 24px 60px 32px; }
}

@media (max-width: 767px) {
    .zs-header__inner { padding: 12px 20px; gap: 12px; }
    .zs-header .zs-nav { padding: 20px; }
    .zs-header .custom-logo { max-height: 30px; }
    .zs-header__cta { padding: 9px 14px; font-size: 12px; }

    .zs-footer__inner {
        grid-template-columns: 1fr;
        padding: 40px 20px 32px;
        gap: 32px;
    }
    .zs-map { aspect-ratio: 16 / 10; }
    .zs-footer__bottom {
        padding: 20px 20px 32px;
        flex-direction: column; align-items: flex-start;
    }
}

/* ==========================================================================
   Süti-hozzájárulás sáv

   Alapból rejtett: a JavaScript csak akkor mutatja meg, ha a látogató
   még nem döntött. Így a már döntést hozó visszatérőknél nem villan fel.
   ========================================================================== */

.zs-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: 12px;
    background: #F9F7F2;
    box-shadow: 0 8px 30px rgba(28, 24, 20, .22);
}
.zs-consent[hidden] { display: none; }

.zs-consent__text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5A473B;
}
.zs-consent__link {
    color: #7A5C33;
    text-decoration: underline;
    white-space: nowrap;
}
.zs-consent__link:hover { color: #556049; }

.zs-consent__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.zs-consent__btn {
    padding: 11px 22px;
    border: 2px solid #7A5C33;
    border-radius: 6px;
    background: #7A5C33;
    color: #F9F7F2;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.zs-consent__btn:hover { background: #556049; border-color: #556049; }
.zs-consent__btn:focus-visible { outline: 2px solid #5A473B; outline-offset: 2px; }

.zs-consent__btn--ghost {
    background: transparent;
    color: #556049;
    border-color: #556049;
}
.zs-consent__btn--ghost:hover { background: #556049; color: #F9F7F2; }

@media (max-width: 767px) {
    .zs-consent {
        left: 10px; right: 10px; bottom: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }
    .zs-consent__actions { flex-direction: column-reverse; }
    .zs-consent__btn { width: 100%; }
}

/* ==========================================================================
   Billentyűzetes fókusz

   WCAG 2.4.7: aki Tab-bal navigál, lássa, hol jár. A :focus-visible csak
   billentyűzetes fókusznál lép életbe, egérkattintásnál nem – így a gombok
   kattintáskor nem kapnak keretet.

   Két szín kell: a világos hátterekre sötétbarna, a zöld láblécre és a
   sötét szakaszokra krém – ugyanaz a keret az egyiken vagy a másikon
   olvashatatlan lenne.
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid #5A473B;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Sötét hátterű részek: lábléc, barna „fontos tudnivaló" sáv, képnagyító */
.zs-footer a:focus-visible,
.zs-footer button:focus-visible,
.zs-fogl-note a:focus-visible,
.zs-fogl-note button:focus-visible,
.zs-lightbox button:focus-visible,
.zs-map--kepes .zs-map__trigger:focus-visible {
    outline-color: #F9F7F2;
}

/*
 * A fejléc keresőmezője: az input maga outline: none-t kap (a kerek doboz
 * miatt), ezért a fókuszt a körülötte lévő dobozra rajzoljuk.
 */
.zs-search:has(input:focus-visible) {
    outline: 3px solid #5A473B;
    outline-offset: 2px;
}

/*
 * Az űrlapmezők aranyszínű alsó vonalat kapnak fókuszra – az önmagában
 * kevés jelzés, ezért mellé kerül a keret is.
 */
.zs-page .zs-form input:focus-visible,
.zs-page .zs-form textarea:focus-visible,
.zs-home .zs-form input:focus-visible,
.zs-home .zs-form textarea:focus-visible,
.zs-fogl .zs-form input:focus-visible,
.zs-fogl .zs-form textarea:focus-visible {
    outline: 3px solid #5A473B;
    outline-offset: 2px;
}

/* ==========================================================================
   LETILTOTT KÜLDÉS GOMB

   A Contact Form 7 magától letiltja a küldés gombot, amíg az elfogadó
   jelölőnégyzet nincs bepipálva – ez jó viselkedés. A gomb viszont eddig
   pontosan ugyanúgy nézett ki, mint aktív állapotban: teli arany háttér,
   mutató kurzor. A látogató rákattintott, és nem történt semmi, jelzés
   nélkül. Ez a szabály teszi láthatóvá az állapotot.

   A szín a paletta semleges árnyalata (--placeholder), a felirat a sötét
   barna: kontrasztja 5,5 – letiltott elemre a WCAG nem ír elő küszöböt,
   de olvashatónak lenni akkor is jobb.
   ========================================================================== */
.zs-page .zs-form input[type="submit"]:disabled,
.zs-home .zs-form input[type="submit"]:disabled,
.zs-fogl .zs-form input[type="submit"]:disabled {
    background: #D5CCC0;
    color: #5A473B;
    cursor: not-allowed;
    box-shadow: none;
}

/* Letiltva ne emelkedjen meg és ne színeződjön át hoverre. */
.zs-page .zs-form input[type="submit"]:disabled:hover,
.zs-home .zs-form input[type="submit"]:disabled:hover,
.zs-fogl .zs-form input[type="submit"]:disabled:hover {
    background: #D5CCC0;
    transform: none;
}