.tabs > nav {
    position: sticky;
    top: 3rem;
    display: flex;
    overflow-x: scroll;
    align-items: stretch;
}

.tabs > nav::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.tabs > nav a {
    padding: 0.5rem;
    flex: 1 1 0;
    text-align: center;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--cor-bege);
    border: 1px solid var(--cor-bege-mais);
}

body.alto-contraste .tabs > nav a {
    background: black;
    border-color: white;
}

.tabs > nav a:hover {
    background: var(--cor-bege-mais);
}

.tabs > nav a.sel {
    background: white;
    color: var(--cor-link-hover);
    border-bottom: none;
}

body.alto-contraste .tabs > nav a.sel {
    color: white;
}

@media (min-width: 1024px) {
    .tabs > nav {
        overflow: visible;
    }

    .tabs > nav a {
        flex: 0 0 auto;
    }
}

.tabs > nav a.disabled, .tabs > nav a.disabled:hover {
    background: white;
    color: lightgray;
}

.tabs > section > div {
    margin-top: 1rem;
    display: none;
}

.tabs > section > div.sel {
    display: block;
}