
/* =========================
   HEDNA — BADGES AUTEURS
========================= */

.hedna-author-card__media,
.hedna-author-hero-full__media {
    position: relative !important;
    overflow: hidden !important;
}

.hedna-badge {
    position: absolute !important;
    top: 22px !important;
    right: -52px !important;
    width: 190px !important;
    padding: 10px 0 !important;
    transform: rotate(45deg) !important;
    text-align: center !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    z-index: 999 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.25) !important;
}

.badge-prix {
    background: #c62828 !important;
}

.badge-top-ventes {
    background: #f57c00 !important;
}

.badge-participation-active {
    background: #2e7d32 !important;
}

.badge-forte-participation {
    background: #1565c0 !important;
}

.badge-prolifique {
    background: #7b1fa2 !important;
}

.badge-archives {
    background: #424242 !important;
}

/* =========================
   BLOG AUTEUR
========================= */

.author-blog-page {
    padding: 34px 0 70px;
    background: #f5f5f5;
}

/* HERO */
.author-blog-hero {
    margin-bottom: 24px;
    padding: 70px 56px 62px;
    background: #efede8;
    border: 1px solid #e2ddd4;
}

.author-blog-hero .section-kicker {
    margin: 0 0 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
}

.author-blog-hero h1 {
    margin: 0;
    max-width: 820px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 6vw, 86px);
    line-height: 0.95;
    font-weight: 500;
    color: #111;
}

.author-blog-slogan {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
}

/* GRILLE HAUT */
.author-blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.85fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 0;
}

/* CARTE PRINCIPALE */
.author-blog-main-card {
    min-height: 430px;
    padding: 38px 34px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.author-blog-main-image {
    display: block;
    margin: 0 0 26px;
    overflow: hidden;
    background: #eee;
}

.author-blog-main-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.author-blog-main-card .section-kicker,
.author-blog-box .section-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
}

.author-blog-main-card h2 {
    margin: 0 0 16px;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    font-weight: 500;
    color: #111;
}

.author-blog-main-card p {
    max-width: 700px;
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}

/* COLONNE DROITE */
.author-blog-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.author-blog-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 230px;
    padding: 30px 26px;
    border: 1px solid #e8e8e8;
}

.author-blog-book {
    background: #43e58c;
}

.author-blog-agenda {
    background: #c7c6d2;
}

.author-blog-box h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.05;
    font-weight: 500;
    color: #111;
}

.author-blog-box p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.72);
}

/* BOUTONS */
.hedna-btn,
.author-blog-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hedna-btn:hover,
.author-blog-links a:hover {
    background: #111;
    color: #fff;
}

/* LIENS BAS */
.author-blog-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

/* BILLETS */
.author-blog-posts {
    margin-top: 24px;
    padding: 44px 34px;
    background: #fff;
    border: 1px solid #e8e8e8;
}

.author-blog-posts .section-head h2 {
    margin: 0 0 32px;
}

.author-blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.author-blog-post-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    padding-top: 24px;
    border-top: 1px solid #ddd;
}

.author-blog-post-image {
    display: block;
    overflow: hidden;
    background: #eee;
}

.author-blog-post-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}

.author-blog-post-content h3 {
    margin: 4px 0 8px;
    font-size: 22px;
    line-height: 1.18;
    color: #111;
}

.author-blog-post-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}

.post-date {
    margin: 0 0 6px;
    font-size: 13px;
    color: #777;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #111;
    text-decoration: underline;
    font-weight: 600;
}

/* MOBILE */
@media (max-width: 800px) {
    .author-blog-page {
        padding: 0 0 42px;
    }

    .author-blog-hero {
        padding: 42px 24px 36px;
        margin-bottom: 18px;
    }

    .author-blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .author-blog-main-card,
    .author-blog-box,
    .author-blog-posts {
        padding: 24px 20px;
    }

    .author-blog-main-image img {
        height: auto;
    }

    .author-blog-side {
        grid-template-rows: auto;
        gap: 18px;
    }

    .author-blog-links {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 10px;
    }

    .author-blog-links a {
        width: 100%;
    }

    .author-blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .author-blog-post-card {
        grid-template-columns: 1fr;
    }

    .author-blog-post-image img {
        height: auto;
    }
}