/* ============================================
   HERO
   ============================================ */

/* ----- Portrait ----- */
.monparcours-hero-portrait {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 500px;
}

/* Portrait hero */
.monparcours-hero-portrait img {
    border-radius: 220px 220px 120px 120px;
    box-shadow: 0 40px 80px rgba(93, 78, 71, 0.15);
    height: 600px;
    width: 100%;
    object-fit: cover;
    object-position: 25%;
    display: block;
}


/* Cercle bas-gauche */
.monparcours-hero-portrait::before {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 130px;
    height: 130px;
    border: 1px solid var(--wp--preset--color--rose-poudre);
    border-radius: 50%;
    opacity: 0.55;
    z-index: 5;
    pointer-events: none;
}


/* MON HISTOIRE */

.parcours-sticky {
    position: sticky;
    top: 120px; /* hauteur du header + marge */
    align-self: flex-start;
}

.timeline-entry {
    position: relative;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--wp--preset--color--terracotta);
    border-radius: 50%;
}

.timeline-entry {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-entry::before {
    left: -5px;
    top: 4px;
}

/* ============
   RESPONSIVE 
   ============*/

/* ----- Mobile standard (369 – 768px) ----- */
@media (max-width: 768px) {
    .monparcours img {
        width: 70% !important;
        height: 300px !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* ============================================================
   MON HISTOIRE — Désactivation du sticky sur mobile
   ============================================================ */
@media (max-width: 768px) {
    .parcours-sticky {
        position: static !important;
        top: auto !important;
    }
}