/**
 * JAUREA Reset
 *
 * @package JAUREA_Child
 */

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

/* Document */
html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Body */
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--jaurea-bg-primary);
    color: var(--jaurea-text-primary);
    font-family: var(--jaurea-font-body);
    font-size: var(--jaurea-text-base);
    font-weight: var(--jaurea-weight-regular);
    line-height: var(--jaurea-leading-normal);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Images */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
}

/* Buttons */
button,
input,
select,
textarea {
    margin: 0;
    font: inherit;
}

button {
    cursor: pointer;
}

/* Lists */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}

/* Paragraphs */
p {
    margin: 0;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

/* Blockquotes */
blockquote {
    margin: 0;
}

/* Form elements */
input,
textarea,
select {
    max-width: 100%;
}

/* Remove default search decoration */
input[type="search"] {
    -webkit-appearance: none;
    appearance: none;
}

/* Focus accessibility */
:focus-visible {
    outline: 2px solid var(--jaurea-gold);
    outline-offset: 3px;
}

/* Selection */
::selection {
    background: var(--jaurea-black);
    color: var(--jaurea-white);
}

/* Reduced motion */
@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;
    }
}