.regulamentos article {
    margin: 0 auto;
    max-width: 50rem;
    text-align: justify;
}

.regulamentos article li {
    margin: 1em 0;
}

.regulamentos article li li {
    margin: 0.75em 0;
    font-size: 0.95em;
}

.regulamentos article section {
    padding: 0.5em 0;
    background-color: hsl(from var(--surface-color) h s l / 0.0);
    transition: background-color 0.5s ease;
}

.regulamentos article [data-secao-id].highlight-temporario {
    background-color: var(--color-emphasis-over);
    transition: background-color 0.5s ease;
}

.regulamentos article h3 {
    margin: 0.5em 0;
    font-size: 1.2em;
}

.regulamentos article h4 {
    font-size: 1.1em;
    margin: 1.5em 0 0.5em 0;
}

.regulamentos article h5 {
    font-size: 1em;
    color: hsl(from var(--text-color-title) h s calc(l + (10 * var(--i))) / 1);
}

.regulamentos article hr {
    margin: 1.5em 0;
    border: none;
}

.regulamentos article .requisitos {
    font-size: 0.96em;
    margin: 0.5em 0;
}

.regulamentos article .requisitos li {
    margin: 0.25em 0;
}

.regulamentos .box {
    margin: 1em 0;
    padding: 1em;
    border-radius: 0.75em;
    background-color: hsl(from var(--background-color) h s calc(l + 7 * var(--i)) / 0.75);
    border: 2px solid var(--border-color);
}

/* oculta elementos da impressão */
@media print {

    .breadcrumb,
    .regulamentos article button {
        display: none;
    }

    .regulamentos article .no-print {
        display: none;
    }

    /* oculta da impressão tudo que não estiver dentro do artigo */
    .regulamentos>header,
    .regulamentos>footer,
    .regulamentos>aside {
        display: none;
    }

    body:has(footer) {
        grid-template-rows: auto auto auto;
    }
    
    body > main {
        background-color: #fff;
        color: #000;
    }

    .regulamentos article {
        display: block;
    }
}