/* ==========================================================================
   PAGE AUTEUR : HERO SECTION (Couverture et Avatar)
========================================================================== */
.author-hero-section {
    position: relative;
    width: 100%;
    background-color: #0f1117;
    margin-bottom: 60px;
}

.author-cover-wrapper {
    position: relative;
    width: 100%;
    height: 350px; /* Hauteur de la couverture */
    overflow: hidden;
}

.author-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.author-cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, #0f1117 0%, transparent 100%);
}

.author-header-content {
    position: relative;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -80px; /* Fait remonter l'avatar sur la couverture */
    z-index: 2;
}

.author-avatar-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 5px solid #0f1117;
    box-shadow: 0 10px 30px rgba(255, 0, 107, 0.3); /* Ombre rose[cite: 4] */
    overflow: hidden;
    background: var(--la-orange);
    margin-bottom: 15px;
}

.author-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.author-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--la-orange); /* Couleur orange dynamique[cite: 4] */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* ==========================================================================
   PAGE AUTEUR : ARTICLES RÉCENTS (Liste Horizontale)
========================================================================== */
.author-recent-articles {
    margin-bottom: 50px;
}

.author-horizontal-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    flex-direction: row; /* Écrase le flex-direction: column de list_article.css[cite: 4] */
}

.author-horizontal-list .la-latest-item {
    padding: 20px;
    align-items: flex-start;
}

.author-horizontal-list .la-latest-img {
    width: 120px;
    height: 100px;
}

/* ==========================================================================
   PAGE AUTEUR : GRILLE 2 COLONNES (Bio et Sidebar)
========================================================================== */
.author-details-section {
    margin-bottom: 60px;
}

.author-details-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

.author-vertical-img-wrap {
    width: 100%;
    aspect-ratio: 4/5; /* Force un format portrait / vertical */
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-bio-col {
    padding: 40px;
}

.author-bio-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.author-bio-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */
@media (max-width: 992px) {
    .author-details-grid {
        grid-template-columns: 1fr; /* Passe à 1 colonne sur mobile/tablette */
    }
    
    .author-vertical-img-wrap {
        aspect-ratio: 1/1; /* Devient carré sur mobile */
        max-width: 400px;
        margin: 0 auto;
    }
}