﻿.doc-header {
    text-align: center;
    margin: 20px auto 50px auto;
}

.doc-header h1 {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 5px;
}

.doc-autore {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.doc-fonte {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

    .doc-fonte a {
        color: #5b95bf;
    }

.doc-curatore,
.doc-editore {
    font-size: 1.1rem;
}

.testimonianza {
    white-space: pre-wrap;
    margin: 0 0 0.8em 0;
    font-family: inherit;
    font-size: 1.2rem;
    line-height: 1.0;
    text-align: justify;
}

.autore-note {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 40px 0;
    text-align: justify;
}
.autorizzazione {
    font-size: 0.95rem;
    line-height: 1.3;
    text-align: left;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    background: #f8f6ef;
}
.autore-foto {
    text-align: center;
    margin: 30px 0;
}

    .autore-foto img {
        display: block;
        width: 220px;
        height: auto;
        margin: 0 auto;
    }
.separatore {
    border: 0;
    border-top: 1px solid #b8b0a0;
    margin: 40px 0;
}
.autori-foto {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.autore-foto img {
    width: 220px;
    height: auto;
}
.citazione {
    font-style: italic;
    text-align: center;
    line-height: 0.9;
}

.elenco-uomini {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

    .elenco-uomini th {
        background: #30556d;
        color: white;
        padding: 10px;
        text-align: left;
    }

    .elenco-uomini td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .elenco-uomini tr:hover {
        background: #f8f8f8;
    }

.btn-leggi {
    display: inline-block;
    padding: 6px 14px;
    background: #30556d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

    .btn-leggi:hover {
        background: #203a4b;
    }

.sezione-squali {
    margin: 40px 0 20px 0;
    text-align: center;
    color: #30556d;
}

.tabella-squali {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
}

    .tabella-squali th {
        background: #30556d;
        color: #fff;
        padding: 12px;
        text-align: left;
    }

    .tabella-squali td {
        padding: 12px;
        border-bottom: 1px solid #d8d8d8;
    }

    .tabella-squali tr:hover {
        background: #f6f3ed;
    }

.btn-leggi {
    display: inline-block;
    padding: 6px 14px;
    background: #30556d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

    .btn-leggi:hover {
        background: #1f3b4b;
    }

.tabella-squali tbody tr:nth-child(even) {
    background-color: #f6f3ed;
}

.tabella-squali tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.tabella-squali tbody tr:hover {
    background-color: #ece6d8;
}
.tabella-squali {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
    .tabella-squali th:nth-child(1),
    .tabella-squali td:nth-child(1) {
        width: 55%;
    }

    .tabella-squali th:nth-child(2),
    .tabella-squali td:nth-child(2) {
        width: 25%;
    }

    .tabella-squali th:nth-child(3),
    .tabella-squali td:nth-child(3) {
        width: 20%;
        text-align: center;
    }
.btn-leggi {
    min-width: 50px;
    text-align: center;
}

.titolo-testimonianza {
    text-align: center;
    margin-bottom: 30px;
}

.scheda-autore {
    max-width: 850px;
    margin: 0 auto;
}

    .scheda-autore p {
        margin: 0 0 12px 0;
        line-height: 1.5;
    }

    .scheda-autore em {
        font-style: italic;
    }
    .scheda-autore p {
        font-size: 18px;
        line-height: 1.6;
    }
.galleria-foto {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 20px;
    margin: 40px 0;
}

    .galleria-foto img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border: 4px solid #fff;
        box-shadow: 0 3px 10px rgba(0,0,0,.25);
        transition: .2s;
    }

        .galleria-foto img:hover {
            transform: scale(1.03);
        }

