* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    color: #17243b;
    background: #f8fafc;
    line-height: 1.7;
}

.container {
    width: min(1160px, 92%);
    margin-inline: auto;
}

header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    color: #12376a;
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -1px;
    text-decoration: none;
}

.brand span {
    color: #087c43;
}

nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

a {
    color: #1751a0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

main {
    min-height: 65vh;
    padding-block: 45px;
}

h1, h2 {
    line-height: 1.25;
}

.hero {
    padding: 65px 40px;
    background: #edf4fb;
    border-radius: 18px;
}

.hero h1 {
    font-size: clamp(30px, 5vw, 52px);
    max-width: 820px;
}

.hero p {
    max-width: 750px;
}

.eyebrow {
    color: #087c43;
    font-weight: 700;
    letter-spacing: 2px;
}

.button {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 8px;
    background: #12376a;
    color: white;
    font-weight: 600;
}

.cards {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(250px, 100%), 1fr)
    );
    gap: 24px;
    margin-block: 35px;
}

.cards article,
.document {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
}

.document {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(22px, 5vw, 55px);
}

.document-content {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-block: 25px;
}

.categories a {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 14px;
}

.breadcrumb,
.article-date {
    font-size: 13px;
    color: #526078;
}

.breadcrumb {
    gap: 8px;
}

.pagination {
    justify-content: center;
    align-items: center;
    margin-block: 30px;
}

footer {
    padding-block: 35px;
    border-top: 1px solid #e2e8f0;
    background: white;
    font-size: 14px;
}

@media (max-width: 600px) {
    .navigation {
        padding-block: 16px;
    }

    .hero {
        padding: 30px 22px;
    }

    nav {
        gap: 15px;
    }
}


/* OTIMORA_GLOBAL_THEME */

body {
    background: var(--ot-bg);
    color: var(--ot-text);
}

header, footer {
    background: var(--ot-surface);
    border-color: var(--ot-border);
}

.brand {
    color: var(--ot-brand-oti);
}

.brand span {
    color: var(--ot-brand-mora);
}

a {
    color: var(--ot-link);
}

.hero {
    background: var(--ot-surface-alt);
}

.eyebrow {
    color: var(--ot-brand-mora);
}

.button {
    background: var(--ot-primary);
    color: var(--ot-primary-text);
}

.cards article,
.document,
.categories a {
    background: var(--ot-surface);
    border-color: var(--ot-border);
}

.breadcrumb,
.article-date {
    color: var(--ot-muted);
}

a:focus-visible {
    outline-color: var(--ot-focus);
}
