html,
body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* contenitore articoli */
#notizie {
    height: 100svh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

.label-red {
    background-color: red;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 3px;
}

/* singolo articolo */
/* .news-section {
    height: 94svh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    overflow: auto;
} */
.news-section {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    /* o 100vh come fallback */
    max-height: 100svh;
    overflow: hidden;
}

@supports (height: 100svh) {
    .news-section {
        min-height: calc(100svh - 78px);
        max-height: calc(100svh - 78px);
    }
}

@supports not (height: 100svh) {
    .news-section {
        min-height: 100vh;
        max-height: 100vh;
    }
}

.news-content {
    flex: 1 1 auto;
    overflow-y: auto;
}

.section-banner {
    flex-shrink: 0;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
	width: 100%;
}

.logo-img {
    width: 200px;
}

.custom-toggler {
    background: transparent;
    border: none;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
    width: 40px;
}

.line {
    display: block;
    height: 3px;
    background-color: #000;
    border-radius: 1px;
}

.line-1 {
    width: 20px;
    align-self: flex-start;
}

.line-2 {
    width: 20px;
    align-self: flex-start;
}

.line-3 {
    width: 14px;
    /* più corta come da immagine */
    align-self: flex-start;
}

.custom-toggler:focus {
    outline: none;
    box-shadow: none;
}

body#articolo-singolo {
    overflow: scroll !important;
    height: 100% !important;
}

.accordion-button {
    color: #CC0000;
}

#accordionRiassunto button.accordion-button {
    color: #CC0000;
    font-weight: 600;
    box-shadow: none;
}

#accordionRiassunto .accordion-body,
#accordionRiassunto button.accordion-button,
#allegati {
    background: #E7E7E7;
}

#allegati-list a,
#allegati-list a::after {
    color: black;
}

footer {
    background-color: #333;
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #ccc;
    font-weight: 600;
    text-decoration: none;
}

/* COLORI PERSONALIZATI */
.bg-custom-secondary {
    background-color: #666666;
}

.bg-custom-red {
    background-color: #CC0000;
}

.text-custom-red {
    color: #CC0000;
}

.bg-marche {
    background-color: #E4F6FA;
}

.bg-nazionale {
    background-color: #E9F3FF;
}