/* STILI BARRA ROSSA HERO
------------------------------------ */
.page-hero {
    padding: 60px 0;
    text-align: center;
    background-color: var(--rosso-unipd);
    color: var(--text-light);
}

.page-hero h1 {
    font-size: 3rem;
    margin: 0;
}

.page-hero .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* STRUTTURA A DUE COLONNE
------------------------------------ */
.campioni-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Colonna destra leggermente più grande */
    gap: 50px;
    text-align: left;
}

/* COLONNA SINISTRA: INFO BOX */
.colonna-info .info-box {
    background-color: #f9f9f9;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 120px;
}

.colonna-info .info-box h2 {
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--rosso-unipd);
}

.colonna-info .info-box p {
    margin-bottom: 25px;
}

.colonna-info .info-box .btn i {
    margin-right: 8px;
}

/* COLONNA DESTRA: DOWNLOAD LIST */
.colonna-download h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--rosso-unipd);
    padding-bottom: 10px;
}

.sezione-download {
    margin-bottom: 35px;
}

.sezione-download h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.sottotitolo-gruppo {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
}

.download-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.download-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.download-list li:last-child {
    border-bottom: none;
}

.download-list li span {
    font-weight: 600;
}

/* --- STILI PASSWORD BOX --- */
#password-entry {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.password-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.password-icon {
    font-size: 2.5rem;
    color: var(--rosso-unipd);
    margin-bottom: 15px;
}

.password-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

.password-box p {
    margin-bottom: 20px;
    color: #666;
}

#password-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 1rem;
}

#password-input:focus {
    outline: none;
    border-color: var(--rosso-unipd);
}

.error-message {
    color: #d93025;
    margin-top: 10px;
    min-height: 1.2em;
}

/* RESPONSIVE DESIGN
------------------------------------ */
@media (max-width: 991px) {
    .campioni-layout {
        grid-template-columns: 1fr; /* Le colonne si impilano */
    }

    .colonna-info .info-box {
        position: static; /* Rimuove l'effetto sticky su mobile */
        margin-bottom: 40px;
    }
}