/* Základní nastavení a přístupnost sdílené napříč stránkami. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #a98157;
    outline-offset: 3px;
}

input[type="checkbox"] {
    accent-color: #b32025;
    box-shadow: none !important;
}

input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: none !important;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
