/* --------------------------------------------------
   BREADCRUMB
-------------------------------------------------- */
.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    padding: 20px 0;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb a {
    color: #a74866;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #7d3550;
}

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

.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    color: #222;
    margin-bottom: 10px;
}

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

/* Linea decorativa */
.page-hero::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #c05a7a;
    margin: 20px auto 0 auto;
    border-radius: 2px;
}

/* --------------------------------------------------
   LAYOUT DUE COLONNE
-------------------------------------------------- */
.teacher-profile {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
    align-items: flex-start;
    position: relative;
}

/* Bordo verticale rosa */
.teacher-profile::before {
    content: "";
    position: absolute;
    left: 445px;
    /* 420px immagine + 25px spazio */
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(231, 177, 200, 0.6);
    border-radius: 2px;
}

/* --------------------------------------------------
   IMMAGINE PREMIUM + HOVER
-------------------------------------------------- */
.teacher-profile img {
    width: 420px;
    border-radius: 14px;
    background: #fff;
    padding: 6px;
    border: 1px solid rgba(231, 177, 200, 0.45);

    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;
    cursor: zoom-in;
}

.teacher-profile img:hover {
    transform: translateY(-10px) scale(1.03);
    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);
}

/* --------------------------------------------------
   CURRICULUM
-------------------------------------------------- */
.teacher-cv {
    flex: 1;
    min-width: 300px;
    padding-top: 10px;
}

.teacher-cv h2 {
    font-family: "Quicksand", sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.teacher-cv p {
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --------------------------------------------------
   MOBILE
-------------------------------------------------- */
@media (max-width: 768px) {

    /* Hero */
    .page-hero {
        padding: 40px 20px;
        margin-bottom: 20px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    /* Layout: impilato */
    .teacher-profile {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    /* Rimuovere bordo verticale */
    .teacher-profile::before {
        display: none;
    }

    /* Immagine */
    .teacher-profile img {
        width: 90%;
        max-width: 360px;
        margin: 0 auto;
    }

    /* Curriculum */
    .teacher-cv {
        padding: 0 20px;
        text-align: left;
        width: 100%;
    }

    .teacher-cv p {
        text-align: justify;
        line-height: 1.6;
    }
}