/* =========================
   HERO ACCUEIL — VERSION PROPRE COMPLÈTE
========================= */

.hero-banner {
    padding: 28px 0 24px;
}

.hedna-book-media {
    background: #fff;
    overflow: hidden;
}

.hero-bis {
    max-width: 1240px;
    margin: 0 auto;
}

.hero-bis__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* =========================
   COLONNE GAUCHE
========================= */

.hero-bis__left {
    display: grid;
    grid-template-rows: minmax(430px, auto) auto;
    gap: 16px;
    min-width: 0;
}

.hero-bis__main {
    border: 1px solid #e8e8e8;
    background: #fff;
    min-width: 0;
    min-height: 430px;
    overflow: hidden;
}

.hero-bis__main-inner {
    display: grid;
    grid-template-columns: 58% 42%;
    align-items: center;
    min-height: 430px;
    height: 100%;
    gap: 0;
}

.hero-bis__text {
    display: flex;
    flex-direction: column;
    padding: 38px 32px 30px;
    min-width: 0;
}

.hero-bis__eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.hero-bis__title {
    margin: 0 0 20px;
    max-width: 92%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 0.95;
    font-weight: 500;
    color: #111;
}

.hero-bis__desc {
    margin: 0;
    max-width: 78%;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.hero-bis__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 128px;
    min-height: 50px;
    margin-top: auto;
    padding: 12px 18px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-bis__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 24px 10px;
    min-width: 0;
    overflow: hidden;
}

.hero-bis__visual img {
    display: block;
    width: 100%;
    max-width: 340px;
    max-height: 360px;
    height: auto;
    object-fit: contain;
}

/* =========================
   VERSION VIDÉO
========================= */

.hero-bis__main--video {
    position: relative;
    width: 100%;
    height: 700px;
    min-height: 700px;
    border: 1px solid #e8e8e8;
    background: transparent;
    overflow: hidden;
}

.hero-bis__main--video .hero-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}

.hero-bis__main--video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================
   BANDEAU MANUSCRIT
========================= */

.hero-bis__left > .hero-bis__strip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 14px 18px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.hero-bis__strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    width: 100%;
}

.hero-bis__strip-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.2;
    color: #111;
    white-space: nowrap;
    text-align: center;
}

.hero-bis__strip-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-bis__strip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 124px;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

/* =========================
   COLONNE DROITE
========================= */

.hero-bis__right {
    display: grid;
    grid-template-rows: 1fr 1fr auto;
    gap: 16px;
    min-width: 0;
}

.hero-bis__card {
    border: 1px solid #e8e8e8;
    min-width: 0;
    overflow: hidden;
}

.hero-bis__card--one {
    background: #edf3f5;
}

.hero-bis__card--two {
    background: #39c1bb;
}

.hero-bis__card-inner {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 250px;
    height: 100%;
}

.hero-bis__card-text {
    display: flex;
    flex-direction: column;
    padding: 28px 24px 20px;
    min-width: 0;
}

.hero-bis__card-eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.3;
    color: rgba(17, 17, 17, 0.72);
}

.hero-bis__card-title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 0.98;
    font-weight: 500;
    color: #111;
}

.hero-bis__card-desc {
    margin: 0;
    max-width: 92%;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
}

.hero-bis__card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 10px 0 14px;
}

.hero-bis__card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 104px;
    min-height: 46px;
    margin-top: auto;
    padding: 11px 18px;
    border: 1px solid #111;
    background: transparent;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
}

.hero-bis__card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-width: 0;
    overflow: hidden;
}

.hero-bis__card-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

/* =========================
   CARTE 1 — IMAGE PROPRE
========================= */

.hero-bis__card--one .hero-bis__card-inner {
    grid-template-columns: 52% 48%;
    align-items: center;
    min-height: 250px;
    gap: 0;
}

.hero-bis__card--one .hero-bis__card-text {
    padding: 28px 20px 22px;
}

.hero-bis__card--one .hero-bis__card-image {
    padding: 18px;
}

.hero-bis__card--one .hero-bis__card-image img {
    max-height: 220px;
}

/* =========================
   CARTE ÉVÉNEMENT
========================= */

.hero-bis__card--two .hero-bis__card-inner {
    display: flex;
    align-items: stretch;
    min-height: 310px;
}

.hero-bis__card--two .hero-bis__card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 50%;
    padding: 28px 22px;
}

.hero-bis__card--two .hero-bis__card-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.15;
}

.hero-bis__card--two .hero-bis__card-meta {
    gap: 6px;
    margin: 8px 0 12px;
}

.hero-bis__card--two .hero-bis__card-meta span {
    display: block;
}

.hero-bis__card--two .hero-bis__card-btn {
    margin-top: 6px;
    align-self: flex-start;
}

.hero-bis__card--two .hero-bis__card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    padding: 16px;
    overflow: hidden;
}

.hero-bis__card--two .hero-bis__card-image img {
    display: block;
    width: 100%;
    max-width: 220px;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}

/* =========================
   EVENT META
========================= */

.hero-bis__card-meta .event-date {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
}

.hero-bis__card-meta .event-time {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
}

.hero-bis__card-meta .event-place {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.72);
}

/* =========================
   RECHERCHE
========================= */

.hero-bis__right > .hero-bis__strip {
    display: flex;
    align-items: center;
    min-height: 92px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.hero-bis__search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.hero-bis__search-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #dcdcdc;
    background: #fff;
    font-size: 15px;
    color: #111;
}

.hero-bis__search-btn {
    min-width: 108px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

/* =========================
   MENU
========================= */

.main-navigation .menu > li:first-child > a::before {
    content: "☰";
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

/* =========================
   NEWSLETTER
========================= */

.submission-strip__text {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    color: #111;
    text-align: center;
}

/* =========================
   ACTUALITÉS — SÉPARATEURS
========================= */

.news-list {
    border-left: 1px solid #d9d9d9;
    padding-left: 22px;
}

.news-item {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    align-items: start;
}

.news-item + .news-item {
    border-top: 1px solid #d9d9d9;
}

.news-list .news-item:first-child {
    padding-top: 0;
}

.news-item__content,
.news-item__content h4,
.news-item__content p {
    min-width: 0;
}

/* =========================
   SORTIE LITTÉRAIRE — DATE
========================= */

.soon-label {
    font-size: 20px;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

/* =========================
   TITRES DE SECTION + PLUME
========================= */

.section-head {
    text-align: left;
}

.section-head h2,
.authors-section .section-head h2,
.news-section .section-head h2,
.soon-section .section-head h2,
.catalogue-section .section-head h2 {
    position: relative;
    display: inline-block;
    padding-left: 44px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.section-head h2::before,
.authors-section .section-head h2::before,
.news-section .section-head h2::before,
.soon-section .section-head h2::before,
.catalogue-section .section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: url('https://heditions.com/wp-content/uploads/2026/04/PLUME2-scaled.png') no-repeat center;
    background-size: contain;
    opacity: 0.85;
}

/* =========================
   AUTEURS — CARTES PROPRES
========================= */

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin-bottom: 14px;
}

.author-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-card__content {
    max-width: 220px;
}

.author-card__content h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.author-card__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 1100px) {
    .hero-bis__grid {
        grid-template-columns: 1fr;
    }

    .hero-bis__right {
        grid-template-rows: auto auto auto;
    }

    .hero-bis__main-inner,
    .hero-bis__card-inner {
        grid-template-columns: 58% 42%;
    }
}

@media (max-width: 1024px) {
    .hero-bis__main-inner {
        grid-template-columns: 56% 44%;
    }

    .hero-bis__visual img {
        max-width: 300px;
        max-height: 320px;
    }

    .hero-bis__card--one .hero-bis__card-inner {
        grid-template-columns: 56% 44%;
    }

    .hero-bis__card--one .hero-bis__card-image img {
        max-height: 190px;
    }

    .hero-bis__card--two .hero-bis__card-inner {
        min-height: 280px;
    }

    .hero-bis__card--two .hero-bis__card-text {
        padding: 22px 18px;
    }

    .hero-bis__card--two .hero-bis__card-title {
        font-size: 21px;
    }

    .hero-bis__card--two .hero-bis__card-image img {
        max-width: 190px;
    }

    .news-list {
        border-left: 1px solid #d9d9d9;
        padding-left: 18px;
    }

    .news-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .hero-banner > .site-shell,
    .news-section.site-shell,
    .soon-section.site-shell,
    .authors-section.site-shell,
    .submission-strip--newsletter.site-shell,
    .catalogue-section.site-shell {
        width: min(calc(100% - 24px), var(--h-shell));
        margin-left: auto;
        margin-right: auto;
    }

    .hero-banner {
        padding-top: 0;
        background: #fff;
        overflow: hidden;
    }

    .hero-bis {
        margin-top: 0;
    }

    .hero-bis__left {
        grid-template-rows: auto auto;
    }

    .hero-bis__main,
    .hero-bis__main-inner,
    .hero-bis__card-inner {
        min-height: auto;
    }

    .hero-bis__main-inner,
    .hero-bis__card-inner,
    .hero-bis__card--one .hero-bis__card-inner {
        grid-template-columns: 1fr;
    }

    .hero-bis__main--video {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
        background: transparent;
        overflow: hidden;
    }

    .hero-bis__main--video .hero-video,
    .hero-bis__main--video iframe {
        position: absolute;
        inset: 0;
        background: transparent;
    }

    .hero-bis__text,
    .hero-bis__card-text {
        padding: 24px 20px 18px;
    }

    .hero-bis__text {
        padding-bottom: 14px;
    }

    .hero-bis__visual,
    .hero-bis__card-image {
        padding: 0 20px 20px;
    }

    .hero-bis__title {
        max-width: 100%;
        font-size: 48px;
    }

    .hero-bis__desc,
    .hero-bis__card-desc {
        max-width: 100%;
    }

    .hero-bis__visual img {
        width: 100%;
        max-width: 240px;
        max-height: none;
        margin: 0 auto;
    }

    .hero-bis__strip-inner {
        flex-direction: column;
        gap: 14px;
    }

    .hero-bis__strip-title {
        white-space: normal;
    }

    .hero-bis__strip-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-bis__strip-btn {
        width: 100%;
    }

    .hero-bis__search-form {
        grid-template-columns: 1fr;
    }

    .hero-bis__search-btn {
        width: 100%;
    }

    .hero-bis__card--one .hero-bis__card-text {
        padding: 22px 18px 12px;
    }

    .hero-bis__card--one .hero-bis__card-image {
        padding: 0 18px 18px;
    }

    .hero-bis__card--one .hero-bis__card-image img {
        width: 100%;
        max-width: 220px;
        max-height: none;
        margin: 0 auto;
    }

    .hero-bis__card--two .hero-bis__card-inner {
        flex-direction: column;
        min-height: auto;
    }

    .hero-bis__card--two .hero-bis__card-text,
    .hero-bis__card--two .hero-bis__card-image {
        width: 100%;
    }

    .hero-bis__card--two .hero-bis__card-text {
        padding: 22px 18px 10px;
    }

    .hero-bis__card--two .hero-bis__card-image {
        padding: 10px 18px 18px;
    }

    .hero-bis__card--two .hero-bis__card-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .site-header__inner,
    .header-right,
    .header-actions--labels,
    .header-left {
        flex-wrap: wrap;
    }

    .header-search {
        width: 100%;
        order: 3;
        margin-top: 12px;
    }

    .header-search form,
    .header-search input,
    .search-form,
    .search-field {
        width: 100%;
    }

    .catalogue-grid,
    .catalogue-list,
    .products,
    ul.products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .catalogue-card,
    .product,
    ul.products li.product {
        width: 100%;
        margin: 0;
        min-width: 0;
    }

    .catalogue-card img,
    .product img,
    ul.products li.product img {
        width: 100%;
        height: auto;
        display: block;
    }

    .catalogue-card__title,
    .woocommerce-loop-product__title,
    ul.products li.product h2 {
        font-size: 16px;
        line-height: 1.25;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .news-main,
    .news-main__content,
    .news-item,
    .news-item__content,
    .news-list {
        min-width: 0;
        overflow: hidden;
    }

    .news-main__image,
    .news-main__image img {
        display: block;
        width: 100%;
    }

    .news-main__image img {
        height: auto;
        min-height: 180px;
        object-fit: cover;
    }

    .news-main__content h3,
    .news-item__content h4,
    .news-excerpt,
    .news-excerpt--main,
    .news-excerpt--small {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .news-list {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #d9d9d9;
        padding-top: 18px;
    }

    .news-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .news-item__image {
        width: 56px;
    }

    .news-item__image img {
        width: 56px;
        height: 56px;
        object-fit: cover;
        display: block;
    }

    .news-excerpt--small {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .soon-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .soon-image {
        text-align: center;
    }

    .soon-image img {
        max-width: 220px;
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .news-section,
    .soon-section,
    .authors-section,
    .submission-strip--newsletter {
        padding-left: 18px;
        padding-right: 18px;
    }
}
/* =========================
   CATÉGORIES — VERSION ÉDITORIALE FORTE
========================= */

.home-categories {
    padding: 26px 0 30px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8; /* 🔥 ferme le bloc */
}

/* grille */
.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: start;
    text-align: center;
}

/* item */
.home-categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    min-width: 0;
    transform: translateY(2px);
    transition: all 0.25s ease;
}

.home-categories__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 86px;
    height: 86px;

    border-radius: 50%;

    background: #faf8f4;
    border: 1px solid #e2dbd1;

    box-shadow: 0 2px 6px rgba(0,0,0,0.04);

    font-size: 26px; /* 🔥 légèrement réduit */
    line-height: 1;

    transition: all 0.25s ease;
}

/* label */
.home-categories__label {
    font-size: 15px;
    line-height: 1.3;
    color: #222;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

/* hover subtil mais net */
.home-categories__item:hover {
    transform: translateY(-6px);
}

.home-categories__item:hover .home-categories__icon {
    border-color: #111;
    background: #fafafa;
}

.home-categories__item:hover .home-categories__label {
    color: #000;
}

/* =========================
   TABLETTE
========================= */

@media (max-width: 1024px) {
    .home-categories__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px 16px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .home-categories {
        padding: 18px 0 24px;
    }

    .home-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 14px;
    }

    .home-categories__icon {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .home-categories__label {
        font-size: 14px;
    }
}
/* =========================
   AJUSTEMENT ESPACE AVANT FOOTER — VERSION PROPRE
========================= */

/* supprime l'espace sous la newsletter */
.submission-strip--newsletter {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* évite tout espace inutile sur la dernière section */
section:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* colle le footer */
.site-footer {
    margin-top: 0 !important;
}

/* réduit le padding haut du footer pour rapprocher visuellement */
.site-footer .site-shell {
    padding-top: 24px; /* ajuste si besoin : 20px ou 16px */
}
/* =========================
   PAGE MANUSCRIT — VERSION PROPRE
========================= */

.contact-page {
    background: #fff;
}

/* HERO */
.contact-hero {
    padding: 34px 0 26px;
}

.contact-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: stretch;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.contact-hero__eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #666;
}

.contact-hero__title {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 0.96;
    font-weight: 500;
    color: #111;
}

.contact-hero__text {
    margin: 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.contact-hero__visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 1px solid #e8e8e8;
    background: #f8f8f8;
    overflow: hidden;
}

.contact-hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero__placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #f5f2ec 0%, #ece7de 100%);
}

/* LAYOUT */
.contact-section {
    padding: 0 0 34px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-box,
.contact-sidebox {
    border: 1px solid #e8e8e8;
    background: #fff;
}

.contact-box {
    padding: 32px 28px;
}

.contact-box__title {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 500;
    color: #111;
}

.contact-box__intro {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-sidebox {
    padding: 24px 22px;
}

.contact-sidebox h3 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 500;
    color: #111;
}

.contact-sidebox p {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.contact-sidebox a {
    color: #111;
    text-decoration: none;
}

.contact-links {
    margin: 0;
    padding-left: 18px;
}

.contact-links li {
    margin: 0 0 8px;
    color: #666;
}

/* MESSAGES */
.contact-message {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    line-height: 1.5;
}

.contact-message--success {
    background: #f5f8f3;
    border-color: #d8e4d2;
    color: #2f5a2f;
}

.contact-message--error {
    background: #fbf2f2;
    border-color: #ead3d3;
    color: #7a2e2e;
}

/* FORM */
.hedna-form {
    position: relative;
}

.hedna-form__trap {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.hedna-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hedna-form__field {
    margin-bottom: 18px;
}

.hedna-form__field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
}

.required {
    color: #111;
}

.optional {
    color: #777;
    font-size: 13px;
}

.hedna-form__field input[type="text"],
.hedna-form__field input[type="email"],
.hedna-form__field select,
.hedna-form__field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    background: #fff;
    color: #111;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 0;
    box-sizing: border-box;
    appearance: none;
}

.hedna-form__field input[type="text"]:focus,
.hedna-form__field input[type="email"]:focus,
.hedna-form__field select:focus,
.hedna-form__field textarea:focus {
    outline: none;
    border-color: #111;
}

.hedna-form__field textarea {
    min-height: 180px;
    resize: vertical;
}

.hedna-form__field input::placeholder,
.hedna-form__field textarea::placeholder {
    color: #9a9a9a;
    font-style: italic;
}

/* FILE INPUTS */
.hedna-form__field input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    background: #fafafa;
    color: #111;
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

.hedna-form__field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.hedna-form__field input[type="file"]:hover::file-selector-button {
    background: #111;
    color: #fff;
}

/* RADIOS */
.hedna-form__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 10px;
}

.hedna-radio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.hedna-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hedna-radio__box {
    width: 20px;
    height: 20px;
    border: 1px solid #111;
    background: #fff;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.hedna-radio input:checked + .hedna-radio__box::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: #111;
}

.hedna-radio__label {
    font-size: 14px;
    line-height: 1.4;
    color: #111;
}

/* HELPERS */
.hedna-form__help,
.hedna-form__note {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.hedna-form__note--editorial {
    margin-top: 14px;
    color: #444;
}

.hedna-form__actions {
    margin-top: 24px;
}

.hedna-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hedna-form__submit:hover {
    background: #111;
    color: #fff;
}

/* IMAGE MAIL — VERSION ÉDITORIALE */
.contact-mail-image {
    margin: 8px 0 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.contact-mail-image img {
    display: block;
    max-width: 185px;
    width: auto;
    height: auto;
}
/* TABLETTE */
@media (max-width: 1024px) {
    .contact-hero__grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-hero__visual {
        min-height: 260px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-hero {
        padding: 24px 0 18px;
    }

    .contact-hero__content,
    .contact-box,
    .contact-sidebox {
        padding: 24px 18px;
    }

    .contact-box__title {
        font-size: 30px;
    }

    .contact-hero__title {
        font-size: 44px;
    }

    .hedna-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hedna-form__radio-group {
        gap: 18px;
    }

    .hedna-form__submit {
        width: 100%;
    }
}


.contact-video {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: #000;
}

.contact-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========================================
   PAGE AUTEUR — NOUVELLE VERSION
======================================== */

.hedna-author-page--new {
    padding: 28px 0 48px;
    background: #ffffff;
}

.hedna-author-page--new *,
.hedna-author-page--new *::before,
.hedna-author-page--new *::after {
    box-sizing: border-box;
}

/* ========================================
   BOUTONS
======================================== */

.hedna-author-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
}

.hedna-author-btn:hover {
    background: #111111;
    color: #ffffff;
}

.hedna-author-btn--small {
    min-height: 40px;
    padding: 0 15px;
    font-size: 12px;
}

/* ========================================
   HERO PLEIN LARGEUR
======================================== */

.hedna-author-hero-full {
    margin-bottom: 26px;
}

.hedna-author-hero-full__box {
    border: 1px solid #e8e8e8;
    background: #ffffff;
    overflow: hidden;
}

.hedna-author-hero-full__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    align-items: stretch;
    min-height: 560px;
}

.hedna-author-hero-full__content {
    padding: 62px 54px 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.hedna-author-hero-full__eyebrow {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b7b7b;
}

.hedna-author-hero-full__title {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(50px, 6vw, 86px);
    line-height: 0.94;
    font-weight: 500;
    color: #111111;
    word-break: break-word;
}

.hedna-author-hero-full__excerpt {
    max-width: 680px;
    font-size: 17px;
    line-height: 1.8;
    color: #505050;
}

.hedna-author-hero-full__excerpt p {
    margin: 0 0 14px;
}

.hedna-author-hero-full__excerpt p:last-child {
    margin-bottom: 0;
}

.hedna-author-hero-full__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    background: #f7f7f7;
    min-width: 0;
    min-height: 560px;
}

.hedna-author-hero-full__media img {
    display: block;
    width: 100%;
    max-width: 460px;
    max-height: 460px;
    height: auto;
    object-fit: contain;
}

.hedna-author-hero-full__media-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    background: #ececec;
}

/* ========================================
   HERO VIDEO
======================================== */

.hedna-author-hero-full__video-wrap {
    position: relative;
    background: #111111;
}

.hedna-author-hero-full__video {
    position: relative;
    width: 100%;
    min-height: 560px;
    background: #111111;
}

.hedna-author-hero-full__video iframe,
.hedna-author-hero-full__video video,
.hedna-author-hero-full__video embed,
.hedna-author-hero-full__video object {
    display: block;
    width: 100%;
    height: 560px;
}

.hedna-author-hero-full__overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(760px, 100%);
    padding: 46px 50px 42px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
    color: #ffffff;
}

.hedna-author-hero-full__overlay .hedna-author-hero-full__eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.hedna-author-hero-full__overlay .hedna-author-hero-full__title {
    color: #ffffff;
}

.hedna-author-hero-full__overlay .hedna-author-hero-full__excerpt {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   BANDEAU RÉSEAUX
======================================== */

.hedna-author-social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 22px;
    border-top: 1px solid #e8e8e8;
    background: #fcfcfc;
}

/* ========================================
   BLOC MILIEU
======================================== */

.hedna-author-topblocks {
    margin-bottom: 26px;
}

.hedna-author-topblocks__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.hedna-author-topblocks__main,
.hedna-author-topblocks__side {
    min-width: 0;
}

.hedna-author-topblocks__side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ========================================
   SECTIONS GÉNÉRALES
======================================== */

.hedna-author-section {
    border: 1px solid #e8e8e8;
    background: #ffffff;
    padding: 32px 30px;
}

.hedna-author-section__title {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3vw, 58px);
    line-height: 1.02;
    font-weight: 500;
    color: #111111;
}

.hedna-author-section__content {
    font-size: 15px;
    line-height: 1.82;
    color: #3f3f3f;
}

.hedna-author-section__content p {
    margin: 0 0 16px;
}

.hedna-author-section__content p:last-child {
    margin-bottom: 0;
}

.hedna-author-section__content img {
    max-width: 100%;
    height: auto;
}

.hedna-author-section--bio .hedna-author-section__content {
    max-width: 900px;
}

/* ========================================
   CARTES AGENDA / BLOG
======================================== */

.hedna-author-card {
    min-width: 0;
}

.hedna-author-card__body {
    min-width: 0;
}

.hedna-author-card__title {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 600;
    color: #111111;
}

.hedna-author-card__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4a;
}

.hedna-author-card__media {
    display: block;
    overflow: hidden;
    background: #f7f7f7;
    border: 1px solid #efefef;
}

.hedna-author-card__media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   AGENDA
======================================== */

.hedna-author-section--agenda {
    padding-bottom: 26px;
}

.hedna-author-card--agenda {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hedna-author-event {
    margin: 0 0 20px;
}

.hedna-author-event__meta {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
    color: #2d2d2d;
}

.hedna-author-event__meta:last-child {
    margin-bottom: 0;
}

.hedna-author-event__meta--date {
    font-weight: 600;
}

.hedna-author-event__meta--time {
    font-weight: 500;
}

.hedna-author-event__meta--location {
    color: #5b5b5b;
}

.hedna-author-card--agenda .hedna-author-card__media {
    margin-top: 6px;
}

.hedna-author-card--agenda .hedna-author-card__media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

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

.hedna-author-card--blog {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hedna-author-card--blog .hedna-author-card__media img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ========================================
   BAS DE PAGE
======================================== */

.hedna-author-bottom {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* ========================================
   PRESSE AUTEUR
======================================== */

.hedna-author-press-list {
    display: grid;
    gap: 18px;
}

.hedna-author-press-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8e8e8;
}

.hedna-author-press-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.hedna-author-press-card__image {
    display: block;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hedna-author-press-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hedna-author-press-card__placeholder {
    width: 100%;
    height: 100%;
    background: #eeeeee;
}

.hedna-author-press-card__content {
    min-width: 0;
}

.hedna-author-press-card__date {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
}

.hedna-author-press-card__title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", serif;
}

.hedna-author-press-card__title a {
    color: #111111;
    text-decoration: none;
}

.hedna-author-press-card__title a:hover {
    text-decoration: underline;
}

.hedna-author-press-card__excerpt {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.72;
    color: #4a4a4a;
}

/* ========================================
   LIVRES AUTEUR
======================================== */

.hedna-author-books-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 18px;
}

.hedna-author-book-card {
    min-width: 0;
}

.hedna-author-book-card__image {
    display: block;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 3 / 4;
}

.hedna-author-book-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hedna-author-book-card__placeholder {
    width: 100%;
    height: 100%;
    background: #eeeeee;
}

.hedna-author-book-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.38;
    font-weight: 600;
}

.hedna-author-book-card__title a {
    color: #111111;
    text-decoration: none;
}

.hedna-author-book-card__title a:hover {
    text-decoration: underline;
}

/* ========================================
   ÉTATS VIDES
======================================== */

.hedna-author-empty {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
}

/* ========================================
   TABLETTE
======================================== */

@media (max-width: 1180px) {
    .hedna-author-hero-full__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hedna-author-hero-full__media {
        min-height: 360px;
    }

    .hedna-author-topblocks__grid {
        grid-template-columns: 1fr;
    }

    .hedna-author-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 768px) {
    .hedna-author-page--new {
        padding: 18px 0 30px;
    }

    .hedna-author-hero-full,
    .hedna-author-topblocks,
    .hedna-author-bottom {
        margin-bottom: 18px;
    }

    .hedna-author-hero-full__content {
        padding: 30px 20px 24px;
    }

    .hedna-author-hero-full__title {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 0.98;
    }

    .hedna-author-hero-full__excerpt {
        font-size: 15px;
        line-height: 1.72;
    }

    .hedna-author-hero-full__media {
        min-height: 240px;
        padding: 20px;
    }

    .hedna-author-hero-full__media img {
        max-width: 280px;
        max-height: 280px;
    }

    .hedna-author-hero-full__video,
    .hedna-author-hero-full__video iframe,
    .hedna-author-hero-full__video video,
    .hedna-author-hero-full__video embed,
    .hedna-author-hero-full__video object {
        min-height: 260px;
        height: 260px;
    }

    .hedna-author-hero-full__overlay {
        position: relative;
        width: 100%;
        padding: 24px 20px;
        background: #111111;
    }

    .hedna-author-social-strip {
        padding: 14px 14px;
        gap: 8px;
    }

    .hedna-author-section {
        padding: 24px 18px;
    }

    .hedna-author-section__title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 16px;
    }

    .hedna-author-card__title {
        font-size: 24px;
    }

    .hedna-author-press-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hedna-author-press-card__image {
        max-width: 240px;
    }

    .hedna-author-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 14px;
    }
}

/* ========================================
   PETIT MOBILE
======================================== */

@media (max-width: 520px) {
    .hedna-author-books-grid {
        grid-template-columns: 1fr;
    }

    .hedna-author-social-strip .hedna-author-btn {
        width: 100%;
    }

    .hedna-author-btn,
    .hedna-author-btn--small {
        width: 100%;
    }
}

/* ========================================
   PAGE ACCÈS AUTEUR
======================================== */

.hedna-author-access-page {
    padding: 40px 0 60px;
    background: #ffffff;
}

.hedna-author-access__box {
    max-width: 620px;
    margin: 0 auto;
    padding: 40px 34px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
}

.hedna-author-access__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b7b7b;
}

.hedna-author-access__title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.96;
    font-weight: 500;
    color: #111111;
}

.hedna-author-access__intro {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.8;
    color: #4f4f4f;
}

.hedna-author-access__message {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #e8e8e8;
    font-size: 14px;
    line-height: 1.6;
}

.hedna-author-access__message--error {
    border-color: #d9b7b7;
    background: #fbf4f4;
    color: #7a1f1f;
}

.hedna-author-access__message--success {
    border-color: #c9dcc9;
    background: #f5faf5;
    color: #245224;
}

.hedna-author-access .login-username,
.hedna-author-access .login-password,
.hedna-author-access .login-remember,
.hedna-author-access .login-submit {
    margin: 0 0 18px;
}

.hedna-author-access label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #111111;
}

.hedna-author-access input[type="text"],
.hedna-author-access input[type="password"] {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
}

.hedna-author-access input[type="text"]:focus,
.hedna-author-access input[type="password"]:focus {
    outline: none;
    border-color: #111111;
}

.hedna-author-access .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: #4f4f4f;
}

.hedna-author-access input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.hedna-author-access input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hedna-author-access input[type="submit"]:hover {
    background: #111111;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hedna-author-access-page {
        padding: 22px 0 34px;
    }

    .hedna-author-access__box {
        padding: 26px 18px;
    }

    .hedna-author-access__title {
        font-size: clamp(30px, 9vw, 44px);
    }
}

/* ========================================
   ESPACE AUTEUR — FORMULAIRE
======================================== */

.hedna-author-space-page {
    padding: 40px 0 60px;
    background: #ffffff;
}

.hedna-author-space__box {
    max-width: 860px;
    margin: 0 auto;
    padding: 38px 34px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
}

.hedna-author-space__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b7b7b;
}

.hedna-author-space__title {
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 0.96;
    font-weight: 500;
    color: #111111;
}

.hedna-author-space__intro {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.8;
    color: #4f4f4f;
}

.hedna-author-space__message {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #c9dcc9;
    background: #f5faf5;
    color: #245224;
    font-size: 14px;
    line-height: 1.6;
}

.hedna-author-space__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hedna-author-space__field label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #111111;
}

.hedna-author-space__field input[type="text"],
.hedna-author-space__field input[type="file"],
.hedna-author-space__field textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-family: inherit;
}

.hedna-author-space__field input[type="text"] {
    min-height: 52px;
    padding: 0 14px;
}

.hedna-author-space__field input[type="file"] {
    padding: 12px 14px;
}

.hedna-author-space__field textarea {
    padding: 14px;
    min-height: 320px;
    line-height: 1.8;
    resize: vertical;
}

.hedna-author-space__field input[type="text"]:focus,
.hedna-author-space__field textarea:focus {
    outline: none;
    border-color: #111111;
}

.hedna-author-space__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hedna-author-space__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #111111;
    background: transparent;
    color: #111111;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hedna-author-space__submit:hover {
    background: #111111;
    color: #ffffff;
}

.hedna-author-space__logout {
    color: #111111;
    text-decoration: none;
    font-size: 14px;
}

.hedna-author-space__logout:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hedna-author-space-page {
        padding: 22px 0 34px;
    }

    .hedna-author-space__box {
        padding: 26px 18px;
    }

    .hedna-author-space__title {
        font-size: clamp(30px, 9vw, 44px);
    }

    .hedna-author-space__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hedna-author-space__submit {
        width: 100%;
    }
}

/* ========================================
   SINGLE POST
======================================== */

.hedna-single-post-page {
    padding: 36px 0 60px;
    background: #ffffff;
}

.hedna-single-post__article {
    max-width: 860px;
    margin: 0 auto;
}

.hedna-single-post__header {
    margin-bottom: 26px;
}

.hedna-single-post__meta {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #6b6b6b;
}

.hedna-single-post__title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 500;
    color: #111111;
}

.hedna-single-post__featured {
    margin: 0 0 28px;
}

.hedna-single-post__featured img {
    display: block;
    width: 100%;
    height: auto;
}

.hedna-single-post__content {
    font-size: 17px;
    line-height: 1.9;
    color: #2f2f2f;
}

.hedna-single-post__content p {
    margin: 0 0 18px;
}

.hedna-single-post__content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hedna-single-post-page {
        padding: 24px 0 36px;
    }

    .hedna-single-post__title {
        font-size: clamp(30px, 9vw, 46px);
    }

    .hedna-single-post__content {
        font-size: 16px;
        line-height: 1.8;
    }
}

/* ========================================
   IMAGES ARTICLES — CADRAGE PROPRE
======================================== */

.hedna-single-post__featured {
    width: 100%;
    aspect-ratio: 16 / 9; /* format éditorial */
    overflow: hidden;
    margin-bottom: 28px;
    background: #f2f2f2;
}

.hedna-single-post__featured img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 recadre automatiquement */
    object-position: center;
}

/* images dans le texte */

.hedna-single-post__content img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    margin: 20px 0;
}

/* ========================================
   BANDEAU AUTEUR
======================================== */

.hedna-author-banner {
    padding: 28px 0;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.hedna-author-banner__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* IMAGE RONDE */
.hedna-author-banner__avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.hedna-author-banner__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXTE */
.hedna-author-banner__text {
    display: flex;
    flex-direction: column;
}

.hedna-author-banner__eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    margin-bottom: 6px;
}

.hedna-author-banner__name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
    color: #111;
    margin-bottom: 6px;
}

.hedna-author-banner__tagline {
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    .hedna-author-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hedna-author-banner__avatar {
        width: 70px;
        height: 70px;
    }

    .hedna-author-banner__name {
        font-size: 28px;
    }
}

/* =========================
   PAGE PROFESSIONNELS — BOUTONS
========================= */

.hedna-pro__actions {
    margin-top: 20px;
}

.hedna-pro__submit,
.hedna-pro__submit:link,
.hedna-pro__submit:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    background: #111;
    color: #fff;
    border: 1px solid #111;
    border-radius: 0;

    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
}

.hedna-pro__submit:hover,
.hedna-pro__submit:focus {
    background: #fff;
    color: #111;
    border-color: #111;
    text-decoration: none;
}

button.hedna-pro__submit {
    border: 1px solid #111;
}

a.hedna-pro__submit--link {
    width: auto;
}

/* =========================
   FOND PAGE ARTICLE
========================= */

body {
    background: #f5f5f5;
}

.hedna-single-post {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
}

.hedna-single-post-page {
    background: transparent;
}

/* =========================
   CHOIX PROFIL (PRO / AUTEUR)
========================= */

.hedna-form__radio {
    display: flex;
    gap: 12px;
}

/* cacher les vrais radios */
.hedna-form__radio input[type="radio"] {
    display: none;
}

/* style des blocs */
.hedna-form__radio label {
    flex: 1;
    padding: 14px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* effet hover */
.hedna-form__radio label:hover {
    border-color: #111;
}

/* état sélectionné */
.hedna-form__radio input[type="radio"]:checked + span {
    display: block;
}

/* hack pour cibler le label sélectionné */
.hedna-form__radio input[type="radio"]:checked + span,
.hedna-form__radio input[type="radio"]:checked {
}

/* version propre avec structure label > input + texte */
.hedna-form__radio label input:checked + span {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* IMPORTANT : structure du texte */
.hedna-form__radio label span {
    display: block;
}

/* HERO */
.hedna-authors-hero {
    margin-bottom: 40px;
}

.hedna-authors-hero h1 {
    font-size: 40px;
}

/* FEATURED */
.hedna-authors-featured__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* ALPHABET */
.hedna-authors-alpha {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hedna-authors-alpha a {
    text-decoration: none;
    font-weight: 500;
}

/* GRID */
.hedna-authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* CARD */
.hedna-author-card {
    text-align: center;
}

.hedna-author-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hedna-author-card h3 {
    margin-top: 10px;
    font-size: 16px;
}

/* =========================
   AUTEURS — GRILLE PROPRE
========================= */

.hedna-authors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
    width: 100%;
    margin-bottom: 48px;
}

.hedna-author-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 14px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hedna-author-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.hedna-author-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hedna-author-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 240px;
    overflow: hidden;
    background: #efefef;
    border: 1px solid #e3e3e3;
    margin-bottom: 12px;
}

.hedna-author-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.hedna-author-card:hover .hedna-author-card__media img {
    transform: scale(1.04);
}

/* le nom sort de l’ancien overlay et redevient un simple bloc texte */
.hedna-author-card__overlay,
.hedna-author-card__content {
    display: block;
    margin: 0;
    padding: 0;
    background: transparent;
    text-align: left;
}

/* titre auteur */
.hedna-author-card__overlay h2,
.hedna-author-card__overlay h3,
.hedna-author-card__content h2,
.hedna-author-card__content h3,
.hedna-author-card__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
    text-align: left;
    text-shadow: none;
}

.hedna-author-card__title a,
.hedna-author-card__content a,
.hedna-author-card__overlay a {
    color: #111;
    text-decoration: none;
}

.hedna-author-card__title a:hover,
.hedna-author-card__content a:hover,
.hedna-author-card__overlay a:hover {
    text-decoration: underline;
}

.hedna-author-card__content p {
    margin: 6px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.45;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .hedna-authors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hedna-authors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .hedna-author-card__media {
        min-height: 210px;
    }
}

@media (max-width: 480px) {
    .hedna-authors-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   BLOC ALPHABÉTIQUE BAS
========================= */

.hedna-authors-alpha-block {
    margin-top: 44px;
}

.hedna-authors-alpha-block__title {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    color: #111;
}

.hedna-authors-alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 24px;
    align-items: center;
}

.hedna-authors-alpha-nav a,
.hedna-authors-alpha-nav .is-disabled {
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

.hedna-authors-alpha-nav a {
    color: #111;
    font-weight: 700;
}

.hedna-authors-alpha-nav a:hover {
    opacity: 0.65;
}

.hedna-authors-alpha-nav .is-disabled {
    color: #bdbdbd;
}

.hedna-authors-letter-group {
    max-width: 900px;
    margin: 0 auto 30px;
}

.hedna-authors-letter-title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: #111;
}

.hedna-authors-letter-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
}

.hedna-authors-letter-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 12px;
    border: 1px solid #dddddd;
    border-radius: 999px;
    background: #f5f5f5;
    text-decoration: none;
    color: #111;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hedna-authors-letter-card:hover {
    border-color: #bdbdbd;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.hedna-authors-letter-card__thumb {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f1f1;
    display: block;
}

.hedna-authors-letter-card__thumb img,
.hedna-authors-letter-card__placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hedna-authors-letter-card__content {
    min-width: 0;
    display: flex;
    align-items: center;
}

.hedna-authors-letter-card__name {
    display: block;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hedna-authors-alpha-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    justify-content: center;
}

.hedna-authors-alpha-pagination a,
.hedna-authors-alpha-pagination span {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    color: #111;
    background: #fff;
}

.hedna-authors-alpha-pagination .is-active {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* =========================
   CATALOGUE — VERSION FINALE PROPRE
========================= */

.hedna-catalogue .site-shell,
.hedna-catalogue-layout.site-shell,
.hedna-catalogue-header.site-shell {
    max-width: 1320px;
    width: min(calc(100% - 48px), 1320px);
    margin-left: auto;
    margin-right: auto;
}

.hedna-catalogue {
    padding-top: 26px;
    padding-bottom: 40px;
}

.hedna-catalogue-header {
    margin-bottom: 0;
}

.hedna-catalogue-header h1 {
    margin: 0 0 14px;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;
    color: #111;
}

.hedna-catalogue-header p {
    margin: 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.65;
    color: #666;
}

.hedna-catalogue-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 295px;
    gap: 46px;
    align-items: start;
    margin-top: 56px;
}

.hedna-catalogue-main {
    min-width: 0;
}

.hedna-catalogue-sidebar {
    min-width: 0;
    padding: 26px 0 0 30px;
    border-left: 1px solid #dddddd;
    position: sticky;
    top: 24px;
}

.hedna-block {
    margin-bottom: 54px;
}

.hedna-block h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 28px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.hedna-block h2::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dddddd;
    transform: translateY(1px);
}

.hedna-separator {
    display: none;
}

.hedna-books-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 22px;
}

.hedna-book-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 16px 16px 18px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hedna-book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.hedna-book-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 320px;
    background: #efefef;
    border: 1px solid #e3e3e3;
    overflow: hidden;
    margin-bottom: 14px;
}

.hedna-book-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
}

.hedna-book-meta {
    padding-top: 0;
}

.hedna-book-meta h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.32;
    font-weight: 700;
    color: #111;
}

.hedna-book-price {
    font-size: 15px;
    line-height: 1.4;
    color: #8a8a8a;
}

.hedna-catalogue-sidebar h3 {
    margin: 0 0 16px;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.hedna-catalogue-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0 0 34px;
}

.hedna-catalogue-sidebar li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.45;
    color: #666;
    transition: color 0.18s ease, transform 0.18s ease;
}

.hedna-catalogue-sidebar li:hover {
    color: #111;
    transform: translateX(2px);
}

.hedna-catalogue-sidebar h3 + ul {
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
}

.hedna-promo {
    margin-top: 26px;
    padding: 32px 34px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
    border: 1px solid #e3e3e3;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    position: relative;
}

.hedna-promo::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 34px;
    width: 90px;
    height: 3px;
    background: #111;
}

.hedna-promo-inner {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 22px;
    align-items: center;
}

.hedna-promo-text h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
    color: #111;
}

.hedna-promo-text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #555;
}

.hedna-promo-book {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hedna-promo-book img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 240px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .hedna-authors-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hedna-authors-letter-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hedna-authors-alpha-block__title {
        font-size: 30px;
    }

    .hedna-catalogue-layout {
        grid-template-columns: 1fr 250px;
        gap: 30px;
    }
}

@media (max-width: 960px) {
    .hedna-catalogue-layout {
        grid-template-columns: 1fr;
    }

    .hedna-catalogue-sidebar {
        position: static;
        padding: 28px 0 0;
        border-left: none;
        border-top: 1px solid #dddddd;
    }

    .hedna-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hedna-authors-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hedna-author-card__media {
        min-height: 190px;
    }

    .hedna-authors-alpha-block {
        margin-top: 34px;
    }

    .hedna-authors-alpha-block__title {
        font-size: 26px;
    }

    .hedna-authors-letter-title {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .hedna-authors-letter-items {
        grid-template-columns: 1fr;
    }

    .hedna-authors-alpha-nav {
        gap: 8px 10px;
    }

    .hedna-authors-alpha-block__title {
        font-size: 24px;
    }

    .hedna-catalogue {
        padding-top: 18px;
    }

    .hedna-catalogue-layout {
        margin-top: 36px;
    }

    .hedna-catalogue-header h1 {
        font-size: 38px;
    }

    .hedna-books-grid {
        grid-template-columns: 1fr;
    }

    .hedna-catalogue .site-shell,
    .hedna-catalogue-layout.site-shell,
    .hedna-catalogue-header.site-shell {
        width: min(calc(100% - 28px), 1320px);
    }
}

/* =========================
   FICHE DE LECTURE — VERSION INTÉGRÉE PROPRE
========================= */

.hedna-book-card {
    position: relative;
}

.hedna-book-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* =========================
   MARQUE-PAGE VERTICAL (PERPENDICULAIRE)
========================= */

.hedna-bookmark-toggle {
    position: absolute;
    top: -6px;
    right: 18px;
    z-index: 8;

    border: 0;
    cursor: pointer;

    width: 22px;
    height: 90px;

    padding: 6px 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.95);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;

    writing-mode: vertical-rl;
    text-orientation: mixed;

    border-radius: 2px;

    box-shadow: 0 3px 8px rgba(0,0,0,0.12);

    transform: translateY(0);
    transition: transform 0.2s ease, opacity 0.2s ease;

    opacity: 0.9;
}

/* encoche propre */
.hedna-bookmark-toggle::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 6px solid currentColor;
}

/* hover */
.hedna-book-card:hover .hedna-bookmark-toggle {
    transform: translateY(2px);
    opacity: 1;
}
/* =========================
   COULEURS PAR CATÉGORIE
========================= */

/* 🔥 ROMAN → VERT (comme demandé) */
.hedna-book-card.bookmark-roman .hedna-bookmark-toggle {
    background: #5e8f5e;
}

/* ESSAI */
.hedna-book-card.bookmark-essai .hedna-bookmark-toggle {
    background: #6f8d63;
}

/* POÉSIE */
.hedna-book-card.bookmark-poesie .hedna-bookmark-toggle {
    background: #7d6a96;
}

/* FORMAT */
.hedna-book-card.bookmark-papier .hedna-bookmark-toggle {
    background: #b58a63;
}

.hedna-book-card.bookmark-numerique .hedna-bookmark-toggle {
    background: #6d8fa8;
}

.hedna-book-card.bookmark-audio .hedna-bookmark-toggle {
    background: #7a8870;
}

/* fallback */
.hedna-book-card.bookmark-default .hedna-bookmark-toggle {
    background: #9b846f;
}

/* =========================
   PANNEAU FICHE (PROPRE)
========================= */

.hedna-bookmark-panel {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    z-index: 20;

    display: none;

    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 14px 26px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.hedna-book-card.is-reading-open .hedna-bookmark-panel {
    display: block;
}

.hedna-bookmark-panel__inner {
    padding: 16px;
    font-size: 13px;
    line-height: 1.55;
    color: #444;

    max-height: 170px;
    overflow-y: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* fermer */
.hedna-bookmark-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #999;
    font-size: 20px;
    cursor: pointer;
}

/* CTA */
.hedna-book-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .hedna-bookmark-toggle {
        font-size: 8px;
        padding: 5px 8px 12px;
        right: 10px;
    }

    .hedna-bookmark-panel {
        left: 12px;
        right: 12px;
    }

    .hedna-bookmark-panel__inner {
        max-height: 140px;
        font-size: 12px;
    }
}

/* =========================
   META LIVRE — AUTEUR
========================= */

.hedna-book-author {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #777;
}

/* =========================
   ACTIONS LIVRE
========================= */

.hedna-book-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

/* =========================
   BOUTONS (STYLE ACCUEIL)
========================= */

.hedna-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 42px;
    padding: 0 16px;

    border: 1px solid #111;
    background: #fff;
    color: #111;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    transition: all 0.18s ease;
}

/* bouton prix */
.hedna-book-btn--price {
    cursor: default;
    border-color: #ddd;
    color: #555;
}

/* bouton voir */
.hedna-book-btn--view:hover {
    background: #111;
    color: #fff;
}

.hedna-book-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {

    .hedna-book-actions {
        gap: 8px;
    }

    .hedna-book-btn {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }
}

/* =========================
   HEDNA — FIX PRIX CATALOGUE
========================= */

/* Supprime tous les cadres moches autour du prix */
.hedna-book-actions .price,
.hedna-book-actions span,
.hedna-book-actions bdi {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Aligne prix + bouton proprement */
.hedna-book-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* Style prix normal */
.hedna-book-actions .price {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

/* Ancien prix (barré) */
.hedna-book-actions del {
    color: #999;
    font-size: 14px;
    margin-right: 6px;
}

/* Nouveau prix */
.hedna-book-actions ins {
    text-decoration: none;
    font-weight: 600;
    color: #111;
}

/* Harmonisation du texte prix (7 € / 20 €) */
.hedna-book-actions .price {
    letter-spacing: 0.02em;
}

/* Nettoie les marges parasites */
.hedna-book-actions * {
    margin: 0;
}

/* Petit effet hover subtil sur carte */
.hedna-book-card:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* =========================
   HEDNA — BOOST VISUEL
========================= */

/* Cartes plus blanches et propres */
.hedna-book-card {
    background: #fff;
    border: 1px solid #eee;
}

/* Prix plus présent */
.hedna-book-actions .price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

/* Ancien prix plus discret */
.hedna-book-actions del {
    opacity: 0.5;
}

/* Bouton plus éditorial */
.hedna-book-btn {
    border: none;
    background: #111;
    color: #fff;
}

.hedna-book-btn:hover {
    background: #333;
}

/* Auteur plus léger */
.hedna-book-author {
    font-size: 14px;
    color: #888;
}

/* Titre plus impactant */
.hedna-book-title {
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* =========================
   HEDNA — MOBILE CATALOGUE FIX
========================= */

@media (max-width: 768px) {

    /* Grille catalogue en une seule colonne */
    .hedna-books-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Cartes plus propres sur mobile */
    .hedna-book-card {
        width: 100%;
        padding: 0 0 18px;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    /* Image */
    .hedna-book-media {
        margin-bottom: 16px;
        aspect-ratio: auto;
        background: transparent;
    }

    .hedna-book-media img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

    /* Bloc texte */
    .hedna-book-meta {
        padding: 0;
    }

    .hedna-book-title,
    .hedna-book-meta h2,
    .hedna-book-meta h3 {
        font-size: 26px;
        line-height: 1.2;
        margin: 0 0 10px;
    }

    .hedna-book-author,
    .hedna-book-meta p {
        font-size: 16px;
        margin: 0 0 18px;
        color: #555;
    }

    /* Ligne prix + bouton devient verticale */
    .hedna-book-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 0;
    }

    /* Prix */
    .hedna-book-actions .price {
        font-size: 18px;
        line-height: 1.3;
        white-space: normal;
    }

    .hedna-book-actions del,
    .hedna-book-actions ins,
    .hedna-book-actions bdi,
    .hedna-book-actions span {
        font-size: inherit;
    }

    /* Bouton */
    .hedna-book-btn,
    .hedna-book-btn--view {
        width: auto;
        min-width: 110px;
        height: 42px;
        padding: 0 18px;
    }

    /* Sidebar catalogue sous la grille */
    .hedna-catalogue-sidebar {
        border-left: 0 !important;
        padding-left: 0 !important;
        margin-top: 32px;
    }

    /* Évite les débordements */
    .hedna-catalogue,
    .site-shell,
    .hedna-book-card,
    .hedna-book-meta,
    .hedna-book-actions {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

/* =========================
   HEDNA — MOBILE ÉQUILIBRÉ
   image + titre + auteur + bouton
========================= */

@media (max-width: 768px) {

    .hedna-books-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .hedna-book-card {
        padding: 0 0 18px !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .hedna-book-media {
        margin: 0 0 12px !important;
        background: transparent !important;
    }

    .hedna-book-media img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .hedna-book-title,
    .hedna-book-meta h2,
    .hedna-book-meta h3 {
        font-size: 22px !important;
        font-weight: 700 !important;
        margin: 0 0 6px !important;
        line-height: 1.2 !important;
    }

    .hedna-book-author,
    .hedna-book-meta p {
        font-size: 15px !important;
        color: #666 !important;
        margin: 0 0 12px !important;
    }

    .hedna-book-actions .price,
    .hedna-book-actions del,
    .hedna-book-actions ins,
    .hedna-book-actions bdi,
    .hedna-book-actions span {
        display: none !important;
    }

    .hedna-book-actions {
        display: block !important;
        margin-top: 6px !important;
    }

    .hedna-book-btn,
    .hedna-book-btn--view {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 110px !important;
        height: 42px !important;
        padding: 0 18px !important;
        border: 1px solid #111 !important;
        background: #111 !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
    }

    .hedna-catalogue-sidebar {
        display: none !important;
    }

    .hedna-book-card .tab,
    .hedna-book-card .tabs,
    .hedna-book-card .fiche,
    .hedna-book-card .close,
    .hedna-book-card .popup,
    .hedna-book-card .modal,
    .hedna-book-card button,
    .hedna-book-card .woocommerce-tabs,
    .hedna-book-card .panel {
        display: none !important;
    }
}

/* =========================
   HEDNA — FICHE PRODUIT + ÉDITIONS
   VERSION NETTOYÉE
========================= */

.single-product .site-main,
.single-product .content-area,
.single-product .woocommerce,
.single-product .product,
.single-product .site-content {
    background: transparent !important;
}

.single-product div.product {
    display: grid !important;
    grid-template-columns: minmax(320px, 420px) minmax(420px, 1fr) !important;
    gap: 56px !important;
    max-width: 1360px !important;
    margin: 0 auto 56px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    align-items: start !important;
}

.single-product .product_title,
.single-product h1.product_title {
    grid-column: 1 / -1 !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.03em !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 8px !important;
    max-width: 760px !important;
}

.single-product div.product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 !important;
    float: none !important;
}

.single-product div.product .woocommerce-product-gallery__wrapper,
.single-product div.product .woocommerce-product-gallery__image {
    background: #fff !important;
}

.single-product div.product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.single-product div.product .summary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

.single-product .summary > p:first-of-type {
    font-size: 16px !important;
    color: #555 !important;
    margin: 0 0 18px !important;
}

.single-product div.product p.price,
.single-product div.product span.price {
    font-size: 40px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin: 0 0 26px !important;
}

.single-product div.product p.price del,
.single-product div.product span.price del {
    opacity: 0.45 !important;
    font-size: 0.65em !important;
    margin-right: 10px !important;
}

.single-product div.product p.price ins,
.single-product div.product span.price ins {
    text-decoration: none !important;
    color: #111 !important;
}

.single-product form.variations_form {
    margin: 0 0 24px !important;
}

.single-product table.variations {
    width: 100% !important;
    margin: 0 0 16px !important;
    border: 0 !important;
}

.single-product table.variations td,
.single-product table.variations th {
    padding: 0 0 12px 0 !important;
    vertical-align: middle !important;
    display: block !important;
    width: 100% !important;
}

.single-product table.variations label {
    display: block !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111 !important;
    margin-bottom: 8px !important;
}

.single-product table.variations select {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid #d3d3d3 !important;
    background: #fff !important;
    color: #111 !important;
}

.single-product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin: 0 0 26px !important;
}

.single-product .quantity .qty {
    width: 68px !important;
    height: 44px !important;
    border: 1px solid #d3d3d3 !important;
    background: #fff !important;
}

.single-product button.single_add_to_cart_button,
.single-product .single_add_to_cart_button.button {
    height: 44px !important;
    padding: 0 20px !important;
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    transition: all 0.18s ease !important;
}

.single-product button.single_add_to_cart_button:hover,
.single-product .single_add_to_cart_button.button:hover {
    background: #fff !important;
    color: #111 !important;
}

.single-product .product_meta {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #555 !important;
    border-top: 1px solid #eee !important;
    padding-top: 18px !important;
    margin-top: 10px !important;
}

.single-product .product_meta a {
    color: #333 !important;
    text-decoration: none !important;
}

.single-product .woocommerce-tabs {
    grid-column: 1 / -1 !important;
    clear: both !important;
    margin-top: 10px !important;
    padding-top: 34px !important;
    border-top: 1px solid #eee !important;
}

.single-product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
    border: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after {
    display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #ddd !important;
    background: #f7f7f7 !important;
    border-radius: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    display: block !important;
    padding: 12px 18px !important;
    color: #111 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
    background: #fff !important;
    border-color: #111 !important;
}

.single-product .woocommerce-tabs .panel {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    max-width: 860px !important;
}

.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-Tabs-panel p,
.single-product .woocommerce-Tabs-panel li,
.single-product .woocommerce-Tabs-panel div {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.single-product .woocommerce-Tabs-panel p {
    font-size: 17px !important;
    line-height: 1.75 !important;
    color: #222 !important;
    margin: 0 0 18px !important;
}

.single-product .woocommerce-Tabs-panel img,
.single-product .entry-summary img,
.single-product .summary img {
    max-width: 100% !important;
    height: auto !important;
}

.single-product .product *,
.single-product .summary *,
.single-product .woocommerce-tabs * {
    box-sizing: border-box !important;
}

.single-product .related,
.single-product .up-sells,
.single-product .products.columns-4,
.single-product .products.columns-3 {
    grid-column: 1 / -1 !important;
    margin-top: 36px !important;
}

/* =========================
   HEDNA — ÉDITIONS FINALES
========================= */

.single-product .hedna-editions-wrap {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 56px !important;
    padding-top: 0 !important;
    border-top: 0 !important;
    clear: both !important;
    display: block !important;
}

.single-product .hedna-editions-title {
    display: none !important;
}

.single-product .hedna-editions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: stretch !important;
}

.single-product .hedna-edition-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 430px !important;
    background: #fff !important;
    border: 1px solid #e4e4e4 !important;
    padding: 32px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.single-product .hedna-edition-cover {
    display: none !important;
}

.single-product .hedna-edition-inner {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 100% !important;
    width: 100% !important;
}

.single-product .hedna-edition-kicker {
    display: none !important;
}

.single-product .hedna-edition-card h3 {
    position: relative !important;
    margin: 0 0 16px !important;
    padding-top: 58px !important;
    font-size: 32px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    color: #111 !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

.single-product .hedna-edition-paper h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 32px;
    border: 2px solid #111;
    border-radius: 2px;
    background:
        linear-gradient(to right,
            transparent 0,
            transparent 47%,
            #111 47%,
            #111 53%,
            transparent 53%,
            transparent 100%);
    box-sizing: border-box;
}

.single-product .hedna-edition-digital h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 42px;
    border: 2px solid #111;
    border-radius: 6px;
    box-sizing: border-box;
    background:
        linear-gradient(to bottom,
            transparent 0,
            transparent 84%,
            #111 84%,
            #111 86%,
            transparent 86%,
            transparent 100%);
}

.single-product .hedna-edition-price {
    margin: 0 0 22px !important;
    font-size: 30px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    color: #111 !important;
}

.single-product .hedna-edition-meta {
    display: grid !important;
    gap: 12px !important;
    margin: 0 0 26px !important;
    flex: 1 1 auto !important;
}

.single-product .hedna-edition-meta p {
    margin: 0 !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.single-product .hedna-edition-meta span {
    display: block !important;
    margin: 0 0 4px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #8b8b8b !important;
}

.single-product .hedna-edition-meta strong {
    display: block !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #222 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

.single-product .hedna-edition-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 190px !important;
    width: 100% !important;
    height: 46px !important;
    padding: 0 18px !important;
    margin-top: auto !important;
    align-self: stretch !important;
    border: 1px solid #111 !important;
    background: #111 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
}

.single-product .hedna-edition-btn:hover {
    background: #fff !important;
    color: #111 !important;
}

/* Mobile */
@media (max-width: 900px) {
    .single-product div.product {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        padding: 0 !important;
    }

    .single-product .product_title,
    .single-product h1.product_title {
        font-size: 42px !important;
        line-height: 1.06 !important;
        margin-bottom: 4px !important;
    }

    .single-product div.product .woocommerce-product-gallery {
        max-width: 100% !important;
    }

    .single-product div.product p.price,
    .single-product div.product span.price {
        font-size: 30px !important;
    }

    .single-product form.cart {
        align-items: stretch !important;
    }

    .single-product .single_add_to_cart_button.button,
    .single-product button.single_add_to_cart_button {
        width: 100% !important;
        justify-content: center !important;
    }

    .single-product .quantity .qty {
        width: 100% !important;
    }

    .single-product .woocommerce-tabs ul.tabs {
        flex-direction: column !important;
    }

    .single-product .woocommerce-tabs ul.tabs li {
        width: 100% !important;
    }

    .single-product .hedna-editions {
        grid-template-columns: 1fr !important;
    }

    .single-product .hedna-edition-card {
        min-height: auto !important;
    }

    .single-product .hedna-edition-card h3 {
        font-size: 28px !important;
        padding-top: 54px !important;
    }
}

/* =========================
   HEDNA — ESPACE GALERIE SOUS PHOTO PRODUIT
========================= */

.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 20px !important;
}

.single-product div.product .flex-control-thumbs,
.single-product div.product ol.flex-control-nav,
.single-product div.product .woocommerce-product-gallery__wrapper + .flex-control-thumbs {
    margin-top: 12px !important;
    padding-top: 0 !important;
}

/* =========================
   HEDNA — ESPACE ENTRE MINIATURES GALERIE
========================= */

.single-product div.product .flex-control-thumbs li {
    margin-right: 8px !important;
}

.single-product div.product .flex-control-thumbs li:last-child {
    margin-right: 0 !important;
}

/* =========================
   HEDNA — FINITIONS FICHE PRODUIT
========================= */

/* auteur */
.single-product .product-author {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.5;
    color: #444;
}

.single-product .product-author a {
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.single-product .product-author a:hover {
    text-decoration: underline;
}

/* galerie */
.single-product div.product .woocommerce-product-gallery {
    margin-bottom: 22px;
}

.single-product div.product .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 0;
}

.single-product div.product .flex-control-thumbs li {
    margin: 0;
    float: none;
}

/* =========================
   HEDNA — BOUTON EXTRAIT + CITATION
========================= */

.hedna-product-extrait {
    margin-top: 20px;
}

.hedna-product-extrait__button,
.hedna-product-extrait-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #111;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.hedna-product-extrait__button:hover,
.hedna-product-extrait-btn:hover {
    background: #fff;
    color: #111;
}

.hedna-product-extrait__quote,
.hedna-extrait-court {
    margin-top: 28px;
    max-width: 460px;
}

.hedna-product-extrait__text p,
.hedna-extrait-court p {
    margin: 0;
}

.hedna-product-extrait__author,
.hedna-extrait-court cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #777;
}

/* =========================
   HEDNA — MODAL PDF
========================= */

.hedna-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.hedna-pdf-modal.is-open {
    display: block;
}

.hedna-pdf-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.hedna-pdf-modal__dialog {
    position: relative;
    width: min(1100px, 92vw);
    height: min(88vh, 900px);
    margin: 4vh auto 0;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.hedna-pdf-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    background: #111;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.hedna-pdf-modal__viewer {
    width: 100%;
    height: 100%;
}

.hedna-pdf-modal__viewer iframe,
#hednaPdfFrame {
    width: 100%;
    height: 100%;
    border: 0;
}

body.hedna-pdf-open {
    overflow: hidden;
}

/* mobile */
@media (max-width: 768px) {
    .hedna-pdf-modal__dialog {
        width: 96vw;
        height: 90vh;
        margin-top: 2vh;
    }

    .hedna-pdf-modal__close {
        top: 8px;
        right: 8px;
    }
}