/* Stile generale per la pagina contatti */
.layout-body-contatti {
    min-height: 0px;
}

.layout-main-contatti {
    max-width: 1040px;
    margin: 10px auto;
    background-color: transparent !important;
    box-shadow: none;
    min-height: auto;
}

/* Sezioni card con hover animato */
section {
    background-color: white;
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

section h2 {
    color: #004080;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.2s;
}

section:hover h2 {
    color: #0066cc;
}

section p {
    margin-bottom: 1rem;
}

.email-list {
    list-style: none;
    padding-left: 0;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0rem;
    column-count: 3;
}

.email-list li {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

a.email-link {
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
}

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