/*
 * Přístupnost – doplňkové styly (2UP Creative, 10/2026)
 * Samostatný soubor, aby ho nepřepsala kompilace SCSS (style.css, custom-style.css).
 */

/* Viditelný fokus při ovládání klávesnicí; style.css obrys ruší u všech prvků (:focus { outline: 0 }) */
:focus-visible {
    outline: 3px solid #2e2d2c !important;
    outline-offset: 3px !important;
}

/* Tmavá patička: světlý obrys */
.site-footer :focus-visible {
    outline-color: #fff8f9 !important;
}

/* Odkaz „Přeskočit na obsah“, vidět jen při fokusu */
.skip-link {
    position: absolute;
    top: -10em;
    left: 1em;
    z-index: 10000;
    padding: .75em 1.25em;
    border-radius: 24px;
    background: #2e2d2c;
    color: #fff8f9 !important;
    font-weight: 700;
    text-decoration: none !important;
}
.skip-link:focus {
    top: 1em;
}

/* Text jen pro čtečky obrazovky */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Nadpisy se změněnou úrovní (např. h4 → h3) si drží původní vzhled */
.benefits .benefit .h4 {
    margin: 1em 0;
}
.news .new .h4 {
    transition: all .15s ease-in-out;
}
.news .new:hover .h4,
.news .new:focus .h4 {
    color: #fff8f9;
}
.h4.nomar-b {
    margin-bottom: 0;
}

/* Odesílací tlačítko formulářů: jediný input type="submit" se vzhledem .btn
   (dřív <button> a v něm průhledný input = dva vnořené ovládací prvky).
   Přebíjí styl formulářových polí (.contact-form input: šedé pozadí, plná šířka). */
.contact-form input[type="submit"].btn {
    width: auto;
    min-width: 200px;
    margin: 1em 0 0;
    padding: .7em 3.4em;
    border: none;
    background: #2e2d2c;
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.4em;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.contact-form input[type="submit"].btn:hover,
.contact-form input[type="submit"].btn:focus {
    background: #000 !important;
}
