* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

input,
select,
textarea,
button {
    font: inherit;
}

@media (min-width: 1024px) {
    .bovaz-sidebar {
        position: relative;
        width: 18rem;
        flex: 0 0 18rem;
        overflow: visible;
        transition: width 240ms ease, flex-basis 240ms ease, border-color 240ms ease;
    }

    .bovaz-sidebar__conteudo {
        overflow: hidden;
        opacity: 1;
        transform: translateX(0);
        transition: opacity 160ms ease, transform 240ms ease;
    }

    .bovaz-sidebar__alternador {
        position: absolute;
        top: 5.25rem;
        left: calc(100% - 1.125rem);
        z-index: 40;
        display: grid;
        width: 2.25rem;
        height: 2.25rem;
        place-items: center;
        border: 2px solid #e5c15a;
        border-radius: 9999px;
        background: #263119;
        color: #fff;
        box-shadow: 0 4px 12px rgb(31 39 24 / 28%);
        transition: left 240ms ease, background-color 160ms ease, color 160ms ease;
    }

    .bovaz-sidebar__alternador:hover,
    .bovaz-sidebar__alternador:focus-visible {
        background: #e5c15a;
        color: #263119;
        outline: none;
    }

    .bovaz-sidebar__legenda {
        position: absolute;
        left: calc(100% + 0.6rem);
        top: 50%;
        width: max-content;
        max-width: 12rem;
        transform: translateY(-50%) translateX(-0.25rem);
        border-radius: 0.375rem;
        background: #17200f;
        padding: 0.4rem 0.6rem;
        color: #fff;
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1.2;
        opacity: 0;
        pointer-events: none;
        transition: opacity 140ms ease, transform 140ms ease;
    }

    .bovaz-sidebar__alternador:hover .bovaz-sidebar__legenda,
    .bovaz-sidebar__alternador:focus-visible .bovaz-sidebar__legenda {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    .menu-lateral-recolhido .bovaz-sidebar {
        width: 0;
        flex-basis: 0;
        border-color: transparent;
    }

    .menu-lateral-recolhido .bovaz-sidebar__conteudo {
        opacity: 0;
        transform: translateX(-100%);
        pointer-events: none;
    }

    .menu-lateral-recolhido .bovaz-sidebar__alternador {
        left: 0.5rem;
    }
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pagination li a,
.pagination li span {
    display: inline-flex;
    min-width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9ddcf;
    border-radius: 0.375rem;
    background: #fff;
    color: #263119;
    font-weight: 700;
}

.pagination li.active span {
    background: #263119;
    color: #fff;
}

@media print {
    aside,
    nav,
    header,
    form,
    button {
        display: none !important;
    }

    main,
    section {
        padding: 0 !important;
    }

    body {
        background: #fff !important;
    }
}
