/*!
 * Reset y normalización de estilos base del tema AlexiaSoft.
 *
 * @package AlexiaSoft
 * @since   1.0.0
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: var(--line-height);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: 0.25rem; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; border: 1px solid var(--color-border); text-align: left; }
th { background: var(--color-bg-alt); font-weight: 600; }

.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    background: var(--color-bg);
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}
