.page-hero {
    background: linear-gradient(to bottom, #f7e0ea, #f3d2e2);
    padding: 20px 0;
    text-align: center;
}

.page-hero h1 {
    font-family: "Quicksand", sans-serif;
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.2rem;
    color: #444;
}

.insegnanti-content {
    padding: 60px 0;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

.teacher-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(231, 177, 200, 0.45);

    /* Ombra 3D premium */
    box-shadow:
        0 3px 6px rgba(0, 0, 0, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.10),
        0 14px 28px rgba(0, 0, 0, 0.08);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.18),
        0 14px 28px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.12);
}

.teacher-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 15px;
}

.teacher-card h3 {
    font-family: "Quicksand", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.teacher-card .role {
    font-weight: 600;
    color: #c05a7a;
    margin-bottom: 15px;
}

.teacher-card .bio {
    text-align: justify;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.more-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 16px;
    background: #c05a7a;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.more-btn:hover {
    background: #a74866;
    transform: translateY(-2px);
}