@charset "utf-8";

/*
 * Base styles and site-wide design tokens.
 *
 * The objective is to preserve the original visual identity while replacing
 * fragile legacy defaults with a clearer and more maintainable baseline.
 */

:root {
    --color-text: #804040;
    --color-background: #E6DFD7;
    --color-blue: #0B2F53;
    --color-lightblue: #004080;
    --color-accent-soft: #aba18b;
    --color-border: #804040;

    --sidebar-width: 260px;
    --page-padding-y: 30px;
    --page-padding-x: 24px;
    --content-gap: 0px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-background);
    font-family: Arial, sans-serif;
    line-height: 1.45;
    text-align: justify;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: justify;
}

h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

blockquote {
    margin: 0;
}

footer > p {
    text-align: right;
    font-weight: bold;
    margin-right: 40px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem 1rem;
    background: #ffffff;
    color: #000000;
    border: 2px solid var(--color-blue);
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}
