/* KARIGAR 1.34 — policy/content readability + accessibility hardening. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.skip-link:focus {
    position: fixed;
    inset: .75rem auto auto .75rem;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: .75rem 1rem;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.cms-prose {
    overflow-wrap: anywhere;
}

.cms-prose :where(h2,h3,h4) {
    scroll-margin-top: 7rem;
}

.cms-prose :where(ul,ol) {
    padding-inline-start: 1.4rem;
}

.cms-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cms-prose :where(a,button) {
    min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
