/* -------------------- BODY -------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0a1b2f;
    color: white;
}

/* -------------------- BANNER -------------------- */
.banner img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: 0 -3cm;
    display: block;
}

/* -------------------- HERO -------------------- */
.hero {
    height: 500px;
    background: url("/static/images/hero.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h2 {
    font-size: 60px;
}

/* -------------------- NEWS -------------------- */
.news {
    padding: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background: #112b4a;
    border-radius: 10px;
    overflow: hidden;
}

.news-card img {
    width: 100%;
}

/* -------------------- EVENTS -------------------- */
.events {
    padding: 60px;
    background: #081523;
}

/* -------------------- SPONSOR -------------------- */
.sponsor-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 40px;
}

.sponsor-grid img {
    height: 80px;
}

/* -------------------- HEADER -------------------- */
header {
    background: #002f5f;
    position: relative;
}

/* Header container: logo + titolo + burger */
.header-container {
    display: flex;
    align-items: center;          /* centro verticale */
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo */
.logo img {
    height: 60px;
}

/* Titolo centrato */
.site-title {
    flex: 1;                     /* occupa tutto lo spazio disponibile tra logo e burger */
    text-align: center;           /* centrato orizzontalmente */
    font-size: 28px;
    font-weight: bold;
    color: white;
}

/* Burger menu */
.burger {
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* Nav menu a tendina (solo burger) */
nav ul {
    list-style: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* sotto header */
    right: 0;
    background-color: #002f5f;
    width: 220px;
    display: none;
    padding: 10px 0;
    z-index: 1000;
}

nav ul.active {
    display: flex;
}

nav ul li {
    margin: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 900px) {
    nav ul {
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: #002f5f;
        width: 220px;
        display: none;
        padding: 10px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 20px;
        text-align: right;
    }

    .burger {
        display: block;
    }
}

/* Su desktop, menu resta chiuso ma il burger è visibile */
@media (min-width: 901px) {
    nav ul {
        display: none; /* menu solo tramite burger */
    }
}

/* -------------------- TESSERAMENTO --------------------------- */
.tesseramento-container{
max-width:900px;
margin:auto;
padding:60px 20px;
line-height:1.8;
}

.tessere-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
margin-top:40px;
}

.tessera-card{
background:#112b4a;
padding:30px;
border-radius:10px;
text-align:center;
}

.tessera-card h3{
margin-bottom:10px;
}

.tessera-btn{
display:inline-block;
margin-top:15px;
padding:12px 20px;
background:#1e4a7a;
color:white;
text-decoration:none;
border-radius:6px;
font-weight:bold;
}

.tessera-btn:hover{
background:#2f6cb0;
}

/* -------------------- MODULO TESSERAMENTO -------------------- */

.form-section{
max-width:700px;
margin:auto;
padding:60px 20px;
}

form{
display:flex;
flex-direction:column;
gap:10px;
}

input, select{
padding:10px;
border-radius:5px;
border:none;
}

button{
margin-top:20px;
padding:15px;
background:#1e4a7a;
color:white;
font-weight:bold;
border:none;
border-radius:6px;
cursor:pointer;
}

button:hover{
background:#2f6cb0;
}

\* ---------------- STORIA ----------------- */
/* STORIA */

.storia-container{
max-width:1100px;
margin:auto;
padding:60px 20px;
}

.storia-container h1{
text-align:center;
margin-bottom:40px;
}

.intro{
max-width:900px;
margin:0;
margin-bottom:20px;
}

.timeline{
margin-top:60px;
display:flex;
flex-direction:column;
gap:70px;
}

.timeline-item{
display:flex;
flex-direction:column;
gap:20px;
}

.timeline-text{
max-width:700px;
}

.archivio{
font-size:14px;
opacity:0.7;
}

/* GALLERIA */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:10px;
}

.gallery img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
transition:transform 0.3s;
}

.gallery img:hover{
transform:scale(1.05);
}

/* UNIVERSIADI highlight */

.highlight{
background:#112b4a;
padding:30px;
border-radius:10px;
}

/* LIGHTBOX */

#lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.universiadi-link{
margin-top:15px;
font-weight:bold;
}

.universiadi-link a{
color:#add8e6;
text-decoration:none;
}

.universiadi-link a:hover{
text-decoration:underline;
}

/* STORIA */

.storia-container{
max-width:1100px;
margin:auto;
padding:80px 20px;
}

.storia-title{
text-align:center;
font-size:42px;
margin-bottom:30px;
}

.intro{
text-align:center;
max-width:750px;
margin:auto;
margin-bottom:20px;
opacity:0.9;
}

/* TIMELINE */

.timeline{
position:relative;
margin-top:80px;
}

/* linea */

.timeline::before{
content:"";
position:absolute;
left:50%;
top:0;
width:4px;
height:100%;
background:#1e4a7a;
transform:translateX(-50%);
}

/* ITEM */

.timeline-item{
position:relative;
width:50%;
padding:40px;
box-sizing:border-box;
opacity:0;
transform:translateY(50px);
transition:all .8s ease;
}

.timeline-item.visible{
opacity:1;
transform:translateY(0);
}

/* sinistra */

.timeline-item:nth-child(odd){
left:0;
text-align:right;
}

/* destra */

.timeline-item:nth-child(even){
left:50%;
}

/* pallino */

.timeline-item::before{
content:"";
position:absolute;
top:40px;
width:18px;
height:18px;
background:white;
border:4px solid #1e4a7a;
border-radius:50%;
z-index:10;
}

.timeline-item:nth-child(odd)::before{
right:-9px;
}

.timeline-item:nth-child(even)::before{
left:-9px;
}

/* box */

.timeline-content{
background:#112b4a;
padding:25px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.35);
}

/* immagini */

.gallery{
display:grid;
grid-template-columns:1fr 1fr;
gap:10px;
margin-top:15px;
}

.gallery img{
width:100%;
height:220px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
transition:all .3s ease;
}

.gallery img:hover{
transform:scale(1.05);
filter:brightness(1.1);
}

/* singola immagine */

.timeline-content img{
width:100%;
height:220px;
object-fit:cover;
border-radius:8px;
margin-top:15px;
cursor:pointer;
transition:.3s;
}

.timeline-content img:hover{
transform:scale(1.05);
}

/* archivio */

.archivio{
font-size:14px;
opacity:.7;
margin-top:10px;
}

/* MOBILE */

@media(max-width:900px){

.timeline::before{
left:20px;
}

.timeline-item{
width:100%;
padding-left:60px;
padding-right:20px;
text-align:left;
}

.timeline-item:nth-child(even){
left:0;
}

.timeline-item::before{
left:12px;
}

}

/* universiadi highlight */

.highlight .timeline-content{
background:#112b4a;
}

/* link */

.universiadi-link a{
color:#add8e6;
font-weight:bold;
text-decoration:none;
}

.universiadi-link a:hover{
text-decoration:underline;
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:15px;
margin-top:20px;
}

.gallery img{
width:100%;
height:200px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
transition:all 0.3s ease;
}

.gallery img:hover{
transform:scale(1.05);
box-shadow:0 10px 20px rgba(0,0,0,0.4);
}

#lightbox{
display:none;
position:fixed;
z-index:9999;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
align-items:center;
justify-content:center;
}

#lightbox img{
max-width:90%;
max-height:85%;
border-radius:8px;
}

.close{
position:absolute;
top:20px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

.lightbox-prev,
.lightbox-next{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:50px;
color:white;
background:none;
border:none;
cursor:pointer;
padding:20px;
}

.lightbox-prev{ left:30px; }
.lightbox-next{ right:30px; }

/* SLIDER UNIVERSIADI */

.slider{
position:relative;
overflow:hidden;
margin-top:20px;
background:#112b4a;
padding:10px;
border-radius:8px;
}

.slider-track{
display:flex;
transition:transform 0.4s ease;
gap:15px;
}

.slider-track img{
width:260px;
height:180px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
transition:transform 0.3s;
}

.slider-track img:hover{
transform:scale(1.05);
}

.slider-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.6);
border:none;
color:white;
font-size:28px;
padding:8px 12px;
cursor:pointer;
border-radius:6px;
z-index:10;
}

.slider-btn.prev{
left:10px;
}

.slider-btn.next{
right:10px;
}

#lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.95);
justify-content:center;
align-items:center;
z-index:9999;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.lightbox-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:40px;
background:none;
border:none;
color:white;
cursor:pointer;
}

.lightbox-btn.prev{
left:40px;
}

.lightbox-btn.next{
right:40px;
}



\* ----------- NEWS ------------*/
.news-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.news-card {
    background: #112b4a;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ccc;
}

.news-card .btn {
    align-self: flex-start;
    padding: 8px 12px;
    background-color: #002f5f;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.news-card .btn:hover {
    background-color: #0050a0;
}

\* ---------- ORGANIGRAMMA ---------------*/
.organigramma-section{
max-width:1100px;
margin:auto;
padding:40px 20px;
}

.page-title{
text-align:center;
margin-bottom:30px;
}

.associazione-descrizione{
margin-bottom:40px;
line-height:1.7;
}

.section-title{
text-align:center;
margin-bottom:30px;
}

.organigramma-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
}

.organigramma-card{
background:#002f5f;
padding:25px;
border-radius:12px;
text-align:center;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.foto-membro{
width:120px;
height:120px;
object-fit:cover;
border-radius:50%;
margin-bottom:15px;
}

.nome{
font-weight:bold;
font-size:18px;
}


\* ------------- LINK UTILI ---------------- */
.link-section{
max-width:900px;
margin:auto;
padding:40px 20px;
}

.page-title{
text-align:center;
margin-bottom:30px;
}

.link-list{
list-style:none;
padding:0;
margin-bottom:25px;
}

.link-list li{
margin:8px 0;
}

.link-list a{
text-decoration:none;
color:#add8e6;
font-weight:500;
}

.link-list a:hover{
text-decoration:underline;
}

\* -------------- ARCHIVIO ------------- */
.archivio-container{
max-width:1200px;
margin:auto;
padding:60px 20px;
}

.intro-text{
max-width:900px;
margin:auto;
margin-bottom:50px;
line-height:1.6;
font-size:18px;
}

.archives-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
margin-top:40px;
}

.archive-card{
background:#112b4a;
border-radius:10px;
overflow:hidden;
text-align:center;
text-decoration:none;
color:white;
transition:transform .3s ease, box-shadow .3s ease;
}

.archive-card img{
width:100%;
height:220px;
object-fit:cover;
}

.archive-card h3{
padding:20px;
font-size:20px;
}

.archive-card:hover{
transform:translateY(-6px);
box-shadow:0 10px 30px rgba(0,0,0,0.4);
}



.photo-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.photo-card{
background:#112b4a;
padding:15px;
border-radius:10px;
text-align:center;
}

.photo-card img{
width:100%;
height:200px;
object-fit:cover;
border-radius:8px;
cursor:pointer;
}

.photo-year{
color:#aaa;
font-size:14px;
}

/* lightbox */

.lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
z-index:9999;
}

.lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}

.ig-gallery-container{
max-width:1200px;
margin:auto;
padding:60px 20px;
}

.intro-text{
max-width:800px;
margin:auto;
margin-bottom:40px;
line-height:1.6;
font-size:18px;
text-align:left;
}

/* instagram grid */

.ig-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:6px;
}

.ig-item{
aspect-ratio:1/1;
overflow:hidden;
}

.ig-item img{
width:100%;
height:100%;
object-fit:cover;
cursor:pointer;
transition:transform .3s ease;
}

.ig-item img:hover{
transform:scale(1.08);
}


/* LIGHTBOX */

#lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.95);
justify-content:center;
align-items:center;
z-index:9999;
animation:fadeIn .3s ease;
}

#lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
animation:zoom .3s ease;
}

.close{
position:absolute;
top:25px;
right:40px;
font-size:45px;
color:white;
cursor:pointer;
}

.prev,.next{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:60px;
color:white;
cursor:pointer;
padding:20px;
user-select:none;
}

.prev{ left:20px; }
.next{ right:20px; }


@keyframes zoom{
from{transform:scale(.8);opacity:0;}
to{transform:scale(1);opacity:1;}
}

@keyframes fadeIn{
from{opacity:0;}
to{opacity:1;}
}


/* ---------------- CONTATTI ---------------- */
.contact-container{
max-width:700px;
margin:auto;
padding:80px 20px;
}

.contact-container h1{
font-size:42px;
margin-bottom:20px;
}

.contact-intro{
margin-bottom:40px;
color:#ddd;
}

.contact-form{
display:flex;
flex-direction:column;
gap:20px;
}

.contact-form input,
.contact-form textarea{
padding:15px;
border:none;
border-radius:6px;
background:#112b4a;
color:white;
font-size:16px;
}

.contact-form button{
padding:15px;
background:#1e4a7a;
border:none;
border-radius:6px;
color:white;
font-size:16px;
cursor:pointer;
transition:.3s;
}

.contact-form button:hover{
background:#2f6cb0;
}

.success-message{
background:#1f6f43;
padding:15px;
border-radius:6px;
margin-bottom:20px;
}

/* =====================================
   UNIVERSIADI PAGE
===================================== */

.universiadi-container,
.universiadi-section,
.universiadi-gallery,
.universiadi-videos,
.universiadi-cta{
max-width:1100px;
margin:auto;
padding:70px 20px;
}

/* titolo */

.page-title{
text-align:center;
font-size:42px;
margin-bottom:40px;
}

/* testo */

.universiadi-text{
max-width:900px;
margin:0;
font-size:18px;
line-height:1.7;
}




/* =====================================
   GALLERY
===================================== */

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
margin-top:30px;
}

.gallery-grid img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
transition:all .3s ease;
}

.gallery-grid img:hover{
transform:scale(1.05);
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}


/* =====================================
   ARCHIVE NOTE
===================================== */

.archive-note{
text-align:center;
font-size:14px;
opacity:.7;
margin-bottom:20px;
}


/* =====================================
   SECTIONS
===================================== */

.universiadi-section h2,
.universiadi-gallery h2,
.universiadi-videos h2{
font-size:30px;
margin-bottom:20px;
text-align:center;
}

.universiadi-section p{
max-width:900px;
margin:auto;
margin-bottom:20px;
line-height:1.7;
font-size:17px;
}


/* =====================================
   VIDEO
===================================== */

.video-grid{
display:flex;
justify-content:center;
margin-top:30px;
}

.video-box{
max-width:700px;
width:100%;
text-align:center;
}

.video-box iframe{
width:100%;
height:400px;
border-radius:10px;
}


/* =====================================
   CALL TO ACTION
===================================== */

.universiadi-cta{
text-align:center;
background:#112b4a;
border-radius:12px;
margin-top:60px;
}

.universiadi-cta h2{
font-size:32px;
margin-bottom:20px;
}

.universiadi-cta p{
font-size:18px;
margin-bottom:30px;
}

.cta-button{
display:inline-block;
background:#1e4a7a;
padding:14px 28px;
border-radius:8px;
color:white;
font-weight:bold;
text-decoration:none;
transition:.3s;
}

.cta-button:hover{
background:#2f6cb0;
}


/* =====================================
   MOBILE
===================================== */

@media(max-width:800px){

.page-title{
font-size:34px;
}

.video-box iframe{
height:250px;
}

}


/*-------------BACINO UTENZA --------------*/
/* MAPPE */

.map-section{
max-width:1100px;
margin:60px auto;
text-align:center;
}

.map-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:30px;
}

.map-box img{
width:100%;
border-radius:10px;
cursor:pointer;
box-shadow:0 5px 15px rgba(0,0,0,0.2);
}


/* GRAFICO BACINI */

.chart-section{
max-width:900px;
margin:80px auto;
}

.chart-container{
margin-top:30px;
}

.bar{
margin-bottom:18px;
}

.bar span{
display:block;
font-weight:bold;
margin-bottom:6px;
}

.bar-fill{
background:#4a6fa5;
color:white;
padding:8px 12px;
border-radius:6px;
}

.bar-fill.belluno{
background:#0c3c78;
}

.report-container{
max-width:1100px;
margin:auto;
padding:60px 80px;
line-height:1.8;
color:white;
}

.content-section{
margin-bottom:60px;
}

.figure{
margin:50px 0;
text-align:center;
}

.figure img{
max-width:100%;
border-radius:6px;
}

.figure-caption{
font-size:0.9rem;
color:#ccc;
margin-top:10px;
font-style:italic;
}

.deep-dive-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:30px;
}

.chart-section{
margin-top:80px;
}


*/-----------------DISEGNI TECNICI --------------*/
.tecnico{
padding:60px;
max-width:1000px;
margin:auto;
line-height:1.8;
color:white;
}

.pdf-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:40px;
}

.pdf-card{
background:#112b4a;
padding:25px;
border-radius:10px;
text-align:center;
transition:0.3s;
}

.pdf-card:hover{
transform:translateY(-6px);
box-shadow:0 12px 25px rgba(0,0,0,0.45);
}

.pdf-desc{
font-size:14px;
color:#ccc;
}

.pdf-preview{
width:100%;
height:260px;
margin:20px 0;
overflow:hidden;
border-radius:6px;
cursor:pointer;
background:#0a1d33;
}

.pdf-preview iframe{
width:100%;
height:100%;
border:none;
pointer-events:none;
}

.download-btn{
display:inline-block;
background:#1e4a7a;
color:white;
padding:12px 22px;
border-radius:6px;
text-decoration:none;
font-weight:bold;
transition:0.2s;
}

.download-btn:hover{
background:#2f6cb0;
}

.pdf-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
justify-content:center;
align-items:center;
z-index:9999;
}

.pdf-modal-content{
width:90%;
height:90%;
background:#000;
position:relative;
border-radius:8px;
overflow:hidden;
}

.pdf-modal-content iframe{
width:100%;
height:100%;
border:none;
}

.pdf-close{
position:absolute;
top:10px;
right:20px;
color:white;
font-size:28px;
cursor:pointer;
z-index:10;
}


/*-------------------HOME TIMELINE-------------/*
/* NEWS */
.news-section {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
    color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background: #112b4a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3, .news-card p {
    padding: 10px 15px;
    text-align: left;
    color: white;
}

.news-card a.news-link {
    color: white;
    text-decoration: none;
}

.news-card a.news-link:hover {
    text-decoration: underline;
}

.news-section h2 a.news-link {
    color: white;
    text-decoration: none;
}

.timeline-section {
    padding: 60px 20px;
    background: #0a1b2f;
    color: white;
    max-width: 100%;
}

.timeline-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

.timeline-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.timeline-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.timeline-item {
    flex: 0 0 300px;
    background: #112b4a;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.timeline-item:hover {
    transform: scale(1.05);
}

.timeline-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.timeline-date {
    font-size: 14px;
    color: #add8e6;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* MOBILE */
@media (max-width: 900px) {
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 20px; text-align: left; }
    .timeline-item.even { left: 0; }
    .timeline-item::before { left: 12px; }
}



.news-section.dark-blue {
    width: 100%;
    background-color: #122337;
    color: white;
    padding: 60px 0; /* padding verticale */
}

.news-section.dark-blue .news-container {
    max-width: 1100px; /* contenuto centrato */
    margin: 0 auto;
    padding: 0 20px; /* padding orizzontale */
}

.news-section.dark-blue h2 a {
    color: white;
    text-decoration: none;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}