/* ==========================================================================
   KidsDoctor - Base & CSS Reset (reset.css)
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
    margin: 0;
}

body {
    min-width: 320px;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent;
}

button,
summary {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
}

em {
    font-style: normal;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid #be9349;
    outline-offset: 5px;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
