/* ========================================================================== 
   L’ATELIER DE VIRGINIE DEL — FINITIONS GLOBALES v3.3
   Référence décorative de la page Contact : or doux #b89a68 / #d7bc8a
   Le menu Astra conserve intégralement son apparence et son animation.
   ========================================================================== */
:root{
  --avd-contact-gold:#b89a68;
  --avd-contact-gold-light:#d7bc8a;
  --avd-hover-green:#638449;
  --avd-hover-green-light:#7fa35f;
}

/* --------------------------------------------------------------------------
   1. Décorations : traits, cœurs, feuilles et contours dans l’or de Contact
   -------------------------------------------------------------------------- */
.vd-home__ornament,
.vd-home__ornament b,
.vd-home__ornament span,
.vd-about-divider,
.vd-about-divider span,
.vd-about-books-line,
.vd-about-books-line span,
.vd-about-thanks span,
.vd-about-value-icon,
.vd-contact-divider,
.vd-contact-divider span,
.vd-contact-decoration,
.vd-contact-icon,
.vdml-ornament,
.vdml-ornament b,
.vdml-ornament span,
.vdml-mini-ornament,
.vdml-brand-heart,
.vdml-leaf,
.avd-blog-ornament,
.avd-blog-ornament b,
.avd-blog-ornament span,
.avd-blog-leaf,
.avd-category-card__icon,
.avd-single-ornament,
.avd-single-ornament b,
.avd-single-ornament span,
.avd-single-signoff>span,
.avd-trace-section>div>header>span,
.avd-guestbook-entry .avd-paw,
.avd-guestbook-empty>span{
  color:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}

.vd-home__ornament > span,
.vd-about-divider::before,
.vd-about-divider::after,
.vd-about-books-line::before,
.vd-about-books-line::after,
.vd-contact-divider::before,
.vd-contact-divider::after,
.vdml-ornament > span,
.avd-blog-ornament > span,
.avd-single-ornament > span{
  background:linear-gradient(90deg,transparent,var(--avd-contact-gold-light),transparent)!important;
  background-color:transparent!important;
  border-color:var(--avd-contact-gold)!important;
}

/* --------------------------------------------------------------------------
   2. Boutons : contour or au repos, fond vert au survol comme Mes livres
   -------------------------------------------------------------------------- */
.vd-home__button,
.vd-about-home-link,
.vd-contact-submit,
.vdml-button,
.vdml-buy-link,
.avd-blog-button,
.avd-post-card__link,
.avd-guestbook-link a,
.avd-single-navigation a,
.avd-guestbook-back a,
.avd-single-page .comment-form .submit,
.avd-guestbook-page .comment-form .submit,
body[class*="vd-"] input[type="submit"],
body.avd-single-post-active input[type="submit"],
body.avd-guestbook-active input[type="submit"]{
  border-color:var(--avd-contact-gold)!important;
}

.vd-home__button::before,
.vd-home__button::after,
.vd-home__button span::before,
.vd-home__button span::after{
  border-color:var(--avd-contact-gold-light)!important;
}

.vd-home__button:hover,
.vd-home__button:focus-visible,
.vd-about-home-link:hover,
.vd-about-home-link:focus-visible,
.vd-contact-submit:hover,
.vd-contact-submit:focus-visible,
.vdml-button:hover,
.vdml-button:focus-visible,
.vdml-buy-link:hover,
.vdml-buy-link:focus-visible,
.avd-blog-button:hover,
.avd-blog-button:focus-visible,
.avd-post-card__link:hover,
.avd-post-card__link:focus-visible,
.avd-guestbook-link a:hover,
.avd-guestbook-link a:focus-visible,
.avd-single-navigation a:hover,
.avd-single-navigation a:focus-visible,
.avd-guestbook-back a:hover,
.avd-guestbook-back a:focus-visible,
.avd-single-page .comment-form .submit:hover,
.avd-single-page .comment-form .submit:focus-visible,
.avd-guestbook-page .comment-form .submit:hover,
.avd-guestbook-page .comment-form .submit:focus-visible,
body[class*="vd-"] input[type="submit"]:hover,
body[class*="vd-"] input[type="submit"]:focus-visible,
body.avd-single-post-active input[type="submit"]:hover,
body.avd-guestbook-active input[type="submit"]:hover{
  color:#fff!important;
  background:var(--avd-hover-green)!important;
  border-color:var(--avd-hover-green-light)!important;
  box-shadow:none!important;
}

/* --------------------------------------------------------------------------
   3. Liens textuels du contenu : trait vert + petite feuille au survol.
      Les menus principal et mobile sont expressément exclus.
   -------------------------------------------------------------------------- */
.avd-category-card a,
.avd-post-card__link,
.vd-about-page a:not(.vd-about-home-link):not(.menu-link),
.vd-contact-page a:not(.vd-contact-submit):not(.menu-link),
.vdml-page a:not(.vdml-button):not(.vdml-buy-link):not(.menu-link),
.avd-blog-page a:not(.avd-blog-button):not(.menu-link),
.avd-single-page a:not(.menu-link),
.avd-guestbook-page a:not(.menu-link){
  --avd-leaf-svg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 14'%3E%3Cpath d='M14 12C10 8 10 3 17 2c0 5-1 8-3 10Zm0 0C18 8 18 4 24 4c-1 5-4 7-10 8ZM14 12c-3-3-6-4-10-3 2 4 6 5 10 3Z' fill='%23638449'/%3E%3C/svg%3E");
  border-bottom-color:transparent!important;
  background-image:none!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-position:center bottom,left bottom,right bottom!important;
  background-size:0 0,0 1px,0 1px!important;
  padding-bottom:7px!important;
  transition:color .25s ease,background-size .28s ease!important;
}

.avd-category-card a:hover,
.avd-category-card a:focus-visible,
.avd-post-card__link:hover,
.avd-post-card__link:focus-visible,
.vd-about-page a:not(.vd-about-home-link):not(.menu-link):hover,
.vd-about-page a:not(.vd-about-home-link):not(.menu-link):focus-visible,
.vd-contact-page a:not(.vd-contact-submit):not(.menu-link):hover,
.vd-contact-page a:not(.vd-contact-submit):not(.menu-link):focus-visible,
.vdml-page a:not(.vdml-button):not(.vdml-buy-link):not(.menu-link):hover,
.vdml-page a:not(.vdml-button):not(.vdml-buy-link):not(.menu-link):focus-visible,
.avd-blog-page a:not(.avd-blog-button):not(.menu-link):hover,
.avd-blog-page a:not(.avd-blog-button):not(.menu-link):focus-visible,
.avd-single-page a:not(.menu-link):hover,
.avd-single-page a:not(.menu-link):focus-visible,
.avd-guestbook-page a:not(.menu-link):hover,
.avd-guestbook-page a:not(.menu-link):focus-visible{
  background-image:var(--avd-leaf-svg),linear-gradient(var(--avd-hover-green),var(--avd-hover-green)),linear-gradient(var(--avd-hover-green),var(--avd-hover-green))!important;
  background-size:15px 8px,calc(50% - 12px) 1px,calc(50% - 12px) 1px!important;
}

/* Les vrais boutons ne reçoivent pas le petit trait interne. */
.vd-home__button,
.vd-about-home-link,
.vd-contact-submit,
.vdml-button,
.vdml-buy-link,
.avd-blog-button,
.avd-single-navigation a,
.avd-guestbook-back a,
.avd-guestbook-link a{
  background-image:none!important;
  padding-bottom:inherit!important;
}

/* --------------------------------------------------------------------------
   4. Livre d’or : pleine largeur et suppression du titre Astra parasite
   -------------------------------------------------------------------------- */
body.avd-guestbook-active,
body.avd-guestbook-active #page,
body.avd-guestbook-active .site,
body.avd-guestbook-active .site-content,
body.avd-guestbook-active .ast-container,
body.avd-guestbook-active #primary,
body.avd-guestbook-active .content-area,
body.avd-guestbook-active .site-main,
body.avd-guestbook-active article,
body.avd-guestbook-active .entry-content,
body.avd-guestbook-active .wp-block-shortcode{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body.avd-guestbook-active .entry-header,
body.avd-guestbook-active .entry-title,
body.avd-guestbook-active .page-title,
body.avd-guestbook-active .ast-breadcrumbs-wrapper{
  display:none!important;
}
body.avd-guestbook-active .entry-content>*{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.avd-guestbook-page{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.avd-guestbook-page .avd-single-kicker{
  color:var(--avd-contact-gold-light)!important;
}

/* Accessibilité clavier, hors menu. */
.vd-about-page a:focus-visible,
.vd-contact-page a:focus-visible,
.vdml-page a:focus-visible,
.avd-blog-page a:focus-visible,
.avd-single-page a:focus-visible,
.avd-guestbook-page a:focus-visible{
  outline:2px solid var(--avd-contact-gold-light)!important;
  outline-offset:3px!important;
}


/* ========================================================================== 
   CORRECTIONS CIBLÉES v3.3 — OR DE LA PAGE CONTACT
   Toutes les décorations au repos utilisent l’or #d7bc8a / #b89a68.
   Le menu Astra et ses survols restent strictement inchangés.
   ========================================================================== */

/* À propos : trait de signature et séparateurs */
.vd-about-signature::after,
.vd-about-divider::before,
.vd-about-divider::after,
.vd-about-books-line::before,
.vd-about-books-line::after{
  background:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}
.vd-about-signature,
.vd-about-signature::before,
.vd-about-thanks,
.vd-about-thanks span{
  color:var(--avd-contact-gold-light)!important;
}

/* Accueil : cœur, traits, texte décoratif et bouton au repos */
.vd-home__ornament,
.vd-home__ornament b,
.vd-home__ornament span,
.vd-home__tagline,
.vd-home__signature,
.vd-home__button,
.vd-home__button *{
  color:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}
.vd-home__ornament span{
  background:var(--avd-contact-gold-light)!important;
}
.vd-home__button::before,
.vd-home__button::after,
.vd-home__button span::before,
.vd-home__button span::after{
  border-color:var(--avd-contact-gold-light)!important;
}
.vd-home__button:hover,
.vd-home__button:focus-visible,
.vd-home__button:hover *,
.vd-home__button:focus-visible *{
  color:#fff!important;
}

/* Mes livres : cœurs, feuilles, traits, textes cliquables et encadrements */
.vdml-page .vdml-ornament,
.vdml-page .vdml-ornament b,
.vdml-page .vdml-mini-ornament,
.vdml-page .vdml-brand-heart,
.vdml-page .vdml-leaf,
.vdml-page .vdml-quote span,
.vdml-page .vdml-section-heading > span,
.vdml-page .vdml-button,
.vdml-page .vdml-buy-link,
.vdml-page .vdml-modal-close{
  color:var(--avd-contact-gold-light)!important;
  -webkit-text-fill-color:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}
.vdml-page .vdml-ornament > span,
.vdml-page .vdml-section-heading > span{
  background:var(--avd-contact-gold-light)!important;
  background-image:none!important;
}
.vdml-page .vdml-button::before,
.vdml-page .vdml-button::after,
.vdml-page .vdml-buy-link::before,
.vdml-page .vdml-buy-link::after{
  border-color:var(--avd-contact-gold-light)!important;
}
.vdml-page .vdml-button:hover,
.vdml-page .vdml-button:focus-visible,
.vdml-page .vdml-buy-link:hover,
.vdml-page .vdml-buy-link:focus-visible{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  background:var(--avd-hover-green)!important;
  border-color:var(--avd-hover-green-light)!important;
}

/* Blog : décorations et liens au repos en or ; animation verte seulement au survol */
.avd-blog-page .avd-category-card__icon,
.avd-blog-page .avd-blog-leaf,
.avd-blog-page .avd-blog-quote span,
.avd-blog-page .avd-category-card a,
.avd-blog-page .avd-post-card__link,
.avd-single-page .avd-single-kicker,
.avd-single-page .avd-single-meta i,
.avd-single-page .avd-single-signoff > span{
  color:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}
.avd-blog-page .avd-category-card a:hover,
.avd-blog-page .avd-category-card a:focus-visible,
.avd-blog-page .avd-post-card__link:hover,
.avd-blog-page .avd-post-card__link:focus-visible{
  color:var(--avd-hover-green-light)!important;
}

/* Livre d’or devenu « À vos plumes » : plume et identité dans l’or Contact */
.avd-guestbook-page .avd-single-kicker,
.avd-guestbook-page .avd-feather,
.avd-guestbook-page .avd-feather-ornament,
.avd-guestbook-page .avd-feather-ornament b,
.avd-guestbook-page .avd-feather-ornament span,
.avd-guestbook-page .avd-paw,
.avd-guestbook-page .avd-guestbook-entry footer a{
  color:var(--avd-contact-gold-light)!important;
  border-color:var(--avd-contact-gold)!important;
}
.avd-guestbook-page .avd-feather-ornament > span{
  background:linear-gradient(90deg,transparent,var(--avd-contact-gold-light),transparent)!important;
}
.avd-guestbook-page .avd-feather{
  font-family:Georgia,"Times New Roman",serif!important;
  font-style:normal!important;
}

/* Ne jamais recolorer le menu principal ou mobile avec ces finitions. */
.main-header-menu .menu-link,
.ast-builder-menu .menu-link,
.ast-mobile-popup-drawer .menu-link,
#ast-hf-mobile-menu .menu-link{
  /* volontairement vide : priorité laissée aux styles du menu validé */
}

/* ==========================================================
   v3.5 — Accueil plein écran avec cadrage réglable par appareil
   ========================================================== */
@media (max-width:1024px){
  body.vd-accueil-v2-page,
  body.vd-accueil-v2-page #page,
  body.vd-accueil-v2-page #content,
  body.vd-accueil-v2-page .site-content{
    overflow-x:hidden!important;
  }
  .vd-home{
    min-height:100svh!important;
    height:auto!important;
    overflow:hidden!important;
    background-size:cover!important;
    background-position:var(--vd-pos-tablet)!important;
  }
  .vd-home__hero{
    min-height:100svh!important;
    height:auto!important;
  }

  .vd-about-image-panel{
    height:auto!important;
    min-height:clamp(280px,66vw,650px)!important;
    aspect-ratio:3 / 2!important;
    background-size:contain!important;
    background-position:center center!important;
    background-color:#140c08!important;
  }
  .vdml-hero{
    grid-template-rows:auto auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .vdml-hero.has-image::before{
    display:block!important;
    width:100%!important;
    min-height:clamp(280px,66vw,650px)!important;
    aspect-ratio:3 / 2!important;
    background-image:linear-gradient(to bottom,rgba(0,0,0,.06),rgba(0,0,0,.16)),var(--vdml-hero-image)!important;
    background-size:contain!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
    background-color:#160f0b!important;
  }
  .vdml-hero-content{padding-top:clamp(42px,7vw,64px)!important;}
}

@media (max-width:767px){
  .vd-home{
    min-height:100svh!important;
    background-size:cover!important;
    background-position:var(--vd-pos-mobile)!important;
  }
  .vd-home__hero{
    min-height:100svh!important;
    justify-content:flex-start!important;
    padding:96px 18px 150px!important;
  }
  .vd-home__content{margin-top:0!important;}
  .vd-home__atelier{font-size:clamp(3rem,16vw,4.7rem)!important;line-height:.92!important;}
  .vd-home__name{margin-top:14px!important;font-size:clamp(1.9rem,9.5vw,3rem)!important;}
  .vd-home__ornament{margin:20px auto 17px!important;}
  .vd-home__subtitle{margin-bottom:24px!important;font-size:clamp(.92rem,4.4vw,1.08rem)!important;}
  .vd-home__button{width:min(88vw,310px)!important;min-width:0!important;}
  .vd-home__signature{
    position:absolute!important;
    left:50%!important;
    bottom:18px!important;
    width:calc(100% - 28px)!important;
    margin:0!important;
    padding:0!important;
    transform:translateX(-50%)!important;
  }
  .vd-home__motto{font-size:clamp(1.05rem,5.5vw,1.45rem)!important;line-height:1.2!important;}
  .vd-home__quote{font-size:.72rem!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;}
  .vd-home__quote span{display:none!important;}

  .vd-about-image-panel,
  .vdml-hero.has-image::before{
    min-height:0!important;
    aspect-ratio:3 / 2!important;
    background-size:contain!important;
  }
  .vdml-hero-content{padding:42px 22px 58px!important;}
  .vdml-hero h1{font-size:clamp(2.55rem,12vw,4.2rem)!important;line-height:1!important;}
}

.vd-home,.vd-about-page,.vdml-page,.vdml-hero{max-height:none!important;}

/* v4.0 — cadrage réellement appliqué aux images portées par des pseudo-éléments. */
.vdml-hero.has-image.avd-media-promoted::before,
.avd-single-hero.has-image.avd-media-promoted::before { background-image:none !important; opacity:0 !important; }
.vdml-hero.has-image.avd-media-promoted { background-color:#160d09 !important; }

/* v4.0 — les quatre valeurs de la page À propos sont de vrais boutons. */
.vd-about-value { text-decoration:none !important; color:inherit !important; cursor:pointer; transition:transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.vd-about-value:hover,.vd-about-value:focus-visible { transform:translateY(-5px); border-color:#b89a68 !important; background:rgba(184,154,104,.08) !important; box-shadow:0 12px 28px rgba(0,0,0,.18); outline:none; }
.vd-about-value:hover .vd-about-value-icon,.vd-about-value:focus-visible .vd-about-value-icon { transform:scale(1.06); }
.vd-about-value-icon { transition:transform .25s ease; }

/* v4.0 — formulaire À vos plumes. */
.avd-guestbook-form-card{max-width:900px;margin:0 auto 54px;padding:clamp(24px,4vw,46px);border:1px solid rgba(184,154,104,.48);background:rgba(24,14,10,.88);text-align:center}
.avd-guestbook-form-card>h2{margin:8px 0 12px;font-family:"Cormorant Garamond",serif;font-size:clamp(2rem,4vw,3rem);color:#ead7b7}
.avd-guestbook-form-card>p{max-width:720px;margin:0 auto 28px;color:#e8ddcf;line-height:1.7}
.avd-guestbook-form{text-align:left}.avd-form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.avd-guestbook-form label{display:block;margin:0 0 18px;color:#ead7b7;font-weight:600}.avd-guestbook-form small{font-weight:400;color:#cdbb9f}
.avd-guestbook-form input[type=text],.avd-guestbook-form input[type=email],.avd-guestbook-form textarea{box-sizing:border-box;width:100%;margin-top:8px;padding:13px 14px;border:1px solid rgba(184,154,104,.52);border-radius:0;background:rgba(255,255,255,.055);color:#fff;font:inherit;outline:none}
.avd-guestbook-form input:focus,.avd-guestbook-form textarea:focus{border-color:#8fa85b;box-shadow:0 0 0 2px rgba(143,168,91,.15)}
.avd-form-consent{display:flex!important;align-items:flex-start;gap:10px;font-weight:400!important}.avd-form-consent input{margin-top:5px}
.avd-guestbook-submit{display:block;margin:8px auto 0;padding:14px 30px;border:1px solid #b89a68;background:transparent;color:#ead7b7;font-family:"Cormorant Garamond",serif;font-size:1.2rem;cursor:pointer;transition:.25s ease}
.avd-guestbook-submit:hover,.avd-guestbook-submit:focus{border-color:#8fa85b;background:#6f823d;color:#fff}
.avd-guestbook-success{margin:0 auto 26px;padding:15px 18px;border:1px solid rgba(143,168,91,.55);background:rgba(111,130,61,.18);color:#f5efe6}
@media(max-width:767px){.avd-form-row{grid-template-columns:1fr}.avd-guestbook-form-card{margin-bottom:38px}.vd-about-value{display:block}}

/* v4.3 — sécurité visuelle : aucun bloc de commentaires natif sur À vos plumes. */
body.avd-guestbook-active .comments-area,
body.avd-guestbook-active #comments,
body.avd-guestbook-active .comment-respond,
body.avd-guestbook-active .comments-title,
body.avd-guestbook-active .comment-list,
body.avd-guestbook-active .logged-in-as,
body.avd-guestbook-active .comment-form {
    display: none !important;
}


/* ========================================================================== 
   v4.9 — Correction ferme des aperçus natifs Astra + retour des 3 encadrés
   ========================================================================== */
body.avd-native-blog-archive,
body.avd-native-blog-archive #page,
body.avd-native-blog-archive .site,
body.avd-native-blog-archive .site-content,
body.avd-native-blog-archive .ast-container,
body.avd-native-blog-archive #primary,
body.avd-native-blog-archive .content-area,
body.avd-native-blog-archive .site-main{
  background:#1c0f0a!important;
}
body.avd-native-blog-archive .site-content>.ast-container{
  width:min(1180px,calc(100% - 40px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:42px 0 72px!important;
  display:block!important;
}
body.avd-native-blog-archive #primary,
body.avd-native-blog-archive .content-area{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

/* Les trois encadrés illustrés toujours présents au-dessus des articles. */
.avd-native-category-section{
  width:100%!important;
  margin:0 0 38px!important;
  padding:0!important;
  background:transparent!important;
}
.avd-native-category-shell{width:100%;margin:0 auto}
.avd-native-category-section .avd-category-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  width:100%!important;
  margin:0!important;
}
.avd-native-category-section .avd-category-card{
  min-height:245px!important;
  margin:0!important;
  border:1px solid rgba(184,154,104,.68)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background-color:#3c2117!important;
  background-size:cover!important;
  background-position:center!important;
  box-shadow:none!important;
}
.avd-native-category-section .avd-category-card__inner{
  min-height:245px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  padding:24px!important;
  color:#f5e8d5!important;
}
.avd-native-category-section .avd-category-card h3,
.avd-native-category-section .avd-category-card p,
.avd-native-category-section .avd-category-card a{
  color:#f5e8d5!important;
  -webkit-text-fill-color:#f5e8d5!important;
}
.avd-native-category-section .avd-category-card a:hover,
.avd-native-category-section .avd-category-card a:focus-visible{
  color:#8fa85b!important;
  -webkit-text-fill-color:#8fa85b!important;
}

/* Carte d'aperçu Astra : plus aucun fond blanc ni texte bleu. */
body.avd-native-blog-archive article.post,
body.avd-native-blog-archive article.ast-article-post,
body.avd-native-blog-archive .ast-row article,
body.avd-native-blog-archive .site-main>article{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0 0 30px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(184,154,104,.62)!important;
  border-radius:22px!important;
  background:linear-gradient(145deg,#4a291d 0%,#2d1811 100%)!important;
  box-shadow:none!important;
}
body.avd-native-blog-archive article.post .post-thumb,
body.avd-native-blog-archive article.ast-article-post .post-thumb{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body.avd-native-blog-archive article.post .post-thumb img,
body.avd-native-blog-archive article.ast-article-post .post-thumb img{
  display:block!important;
  width:100%!important;
  height:clamp(220px,32vw,410px)!important;
  object-fit:cover!important;
  border-radius:0!important;
}
body.avd-native-blog-archive article.post .entry-header,
body.avd-native-blog-archive article.post .entry-content,
body.avd-native-blog-archive article.post .entry-summary,
body.avd-native-blog-archive article.post .entry-footer,
body.avd-native-blog-archive article.ast-article-post .entry-header,
body.avd-native-blog-archive article.ast-article-post .entry-content,
body.avd-native-blog-archive article.ast-article-post .entry-summary,
body.avd-native-blog-archive article.ast-article-post .entry-footer{
  margin:0!important;
  padding-left:clamp(24px,4vw,44px)!important;
  padding-right:clamp(24px,4vw,44px)!important;
  background:transparent!important;
  color:#f2e4d1!important;
}
body.avd-native-blog-archive article.post .entry-header,
body.avd-native-blog-archive article.ast-article-post .entry-header{padding-top:30px!important}
body.avd-native-blog-archive article.post .entry-content,
body.avd-native-blog-archive article.post .entry-summary,
body.avd-native-blog-archive article.ast-article-post .entry-content,
body.avd-native-blog-archive article.ast-article-post .entry-summary{padding-bottom:34px!important}

body.avd-native-blog-archive article.post a,
body.avd-native-blog-archive article.post a:visited,
body.avd-native-blog-archive article.ast-article-post a,
body.avd-native-blog-archive article.ast-article-post a:visited,
body.avd-native-blog-archive .entry-title a,
body.avd-native-blog-archive .entry-meta a,
body.avd-native-blog-archive .cat-links a,
body.avd-native-blog-archive .read-more a{
  color:#d7bc8a!important;
  -webkit-text-fill-color:#d7bc8a!important;
  text-decoration:none!important;
}
body.avd-native-blog-archive article.post a:hover,
body.avd-native-blog-archive article.post a:focus-visible,
body.avd-native-blog-archive article.ast-article-post a:hover,
body.avd-native-blog-archive article.ast-article-post a:focus-visible{
  color:#8fa85b!important;
  -webkit-text-fill-color:#8fa85b!important;
}
body.avd-native-blog-archive .entry-title,
body.avd-native-blog-archive .entry-title a{
  color:#f8ecdc!important;
  -webkit-text-fill-color:#f8ecdc!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:clamp(2rem,3.5vw,3rem)!important;
  line-height:1.08!important;
}
body.avd-native-blog-archive .entry-meta,
body.avd-native-blog-archive .entry-meta *,
body.avd-native-blog-archive .posted-on,
body.avd-native-blog-archive .byline{
  color:#d7bc8a!important;
  -webkit-text-fill-color:#d7bc8a!important;
}
body.avd-native-blog-archive .entry-content,
body.avd-native-blog-archive .entry-summary,
body.avd-native-blog-archive .entry-content p,
body.avd-native-blog-archive .entry-summary p{
  color:#f2e4d1!important;
  -webkit-text-fill-color:#f2e4d1!important;
  font-family:"Cormorant Garamond",Georgia,serif!important;
  font-size:1.25rem!important;
  line-height:1.65!important;
}

@media(max-width:900px){
  .avd-native-category-section .avd-category-grid{grid-template-columns:1fr!important}
  .avd-native-category-section .avd-category-card,
  .avd-native-category-section .avd-category-card__inner{min-height:210px!important}
}
@media(max-width:767px){
  body.avd-native-blog-archive .site-content>.ast-container{width:calc(100% - 24px)!important;padding-top:24px!important}
  body.avd-native-blog-archive article.post .post-thumb img,
  body.avd-native-blog-archive article.ast-article-post .post-thumb img{height:230px!important}
}


/* ========================================================================== 
   CORRECTIONS DÉFINITIVES v5.1 — Blog principal et catégories
   - Les trois encadrés de rubriques restent uniquement sur Le Blog.
   - Dans une catégorie : uniquement les articles, puis leurs commentaires.
   - Aucun aperçu d’article blanc ou bleu, même avec les styles Astra.
   ========================================================================== */

/* Sécurité : ne jamais montrer les 3 rubriques dans une archive de catégorie. */
body.category .avd-native-category-section,
body.category .avd-blog-categories,
body.category .avd-category-grid:not(.avd-post-grid--category){
  display:none!important;
}

/* Page principale du Blog native Astra : structure générale. */
body.avd-native-blog-archive:not(.category) #primary,
body.avd-native-blog-archive:not(.category) .site-main,
body.avd-native-blog-archive:not(.category) .ast-row,
body.avd-native-blog-archive:not(.category) .ast-article-post,
body.avd-native-blog-archive:not(.category) .post,
body.avd-native-blog-archive:not(.category) .entry-content-wrap{
  background:transparent!important;
}

/* L’aperçu natif d’un article ne doit jamais conserver le blanc d’Astra. */
body.avd-native-blog-archive article.ast-article-post,
body.avd-native-blog-archive article.post,
body.blog article.ast-article-post,
body.blog article.post{
  box-sizing:border-box!important;
  overflow:hidden!important;
  width:min(1320px,calc(100% - 48px))!important;
  max-width:1320px!important;
  margin:34px auto!important;
  padding:0!important;
  border:1px solid #b89a68!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,#4a2b1f 0%,#321b14 58%,#24120e 100%)!important;
  box-shadow:none!important;
  color:#f8ead7!important;
}

body.avd-native-blog-archive article.ast-article-post .post-thumb,
body.avd-native-blog-archive article.ast-article-post .ast-blog-featured-section,
body.avd-native-blog-archive article.post .post-thumb,
body.blog article.ast-article-post .post-thumb,
body.blog article.post .post-thumb{
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

body.avd-native-blog-archive article.ast-article-post .post-thumb img,
body.avd-native-blog-archive article.ast-article-post .ast-blog-featured-section img,
body.avd-native-blog-archive article.post .post-thumb img,
body.blog article.ast-article-post .post-thumb img,
body.blog article.post .post-thumb img{
  display:block!important;
  width:100%!important;
  height:clamp(280px,38vw,520px)!important;
  object-fit:cover!important;
  margin:0!important;
  border:0!important;
}

body.avd-native-blog-archive article.ast-article-post .entry-content-wrap,
body.avd-native-blog-archive article.ast-article-post .entry-header,
body.avd-native-blog-archive article.ast-article-post .entry-content,
body.avd-native-blog-archive article.ast-article-post .entry-summary,
body.avd-native-blog-archive article.post .entry-content-wrap,
body.avd-native-blog-archive article.post .entry-header,
body.avd-native-blog-archive article.post .entry-content,
body.avd-native-blog-archive article.post .entry-summary,
body.blog article.ast-article-post .entry-content-wrap,
body.blog article.post .entry-content-wrap{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:20px clamp(24px,5vw,64px) 42px!important;
  background:transparent!important;
  text-align:center!important;
  color:#ead9c5!important;
}

body.avd-native-blog-archive article.ast-article-post .entry-header,
body.avd-native-blog-archive article.ast-article-post .entry-content,
body.avd-native-blog-archive article.ast-article-post .entry-summary,
body.avd-native-blog-archive article.post .entry-header,
body.avd-native-blog-archive article.post .entry-content,
body.avd-native-blog-archive article.post .entry-summary{
  padding-left:0!important;
  padding-right:0!important;
}

/* Suppression absolue du bleu Astra dans les aperçus. */
body.avd-native-blog-archive article.ast-article-post a,
body.avd-native-blog-archive article.post a,
body.blog article.ast-article-post a,
body.blog article.post a{
  color:#d7bc8a!important;
  -webkit-text-fill-color:#d7bc8a!important;
  text-decoration:none!important;
}
body.avd-native-blog-archive article.ast-article-post .entry-title,
body.avd-native-blog-archive article.ast-article-post .entry-title a,
body.avd-native-blog-archive article.post .entry-title,
body.avd-native-blog-archive article.post .entry-title a,
body.blog article.ast-article-post .entry-title,
body.blog article.ast-article-post .entry-title a{
  margin:10px auto 16px!important;
  color:#fff4e4!important;
  -webkit-text-fill-color:#fff4e4!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(2rem,4vw,3.35rem)!important;
  line-height:1.05!important;
  text-align:center!important;
}
body.avd-native-blog-archive article.ast-article-post .entry-meta,
body.avd-native-blog-archive article.ast-article-post .entry-meta a,
body.avd-native-blog-archive article.post .entry-meta,
body.avd-native-blog-archive article.post .entry-meta a,
body.blog article.ast-article-post .entry-meta,
body.blog article.ast-article-post .entry-meta a{
  justify-content:center!important;
  color:#d7bc8a!important;
  -webkit-text-fill-color:#d7bc8a!important;
  text-align:center!important;
}
body.avd-native-blog-archive article.ast-article-post p,
body.avd-native-blog-archive article.post p,
body.blog article.ast-article-post p,
body.blog article.post p{
  max-width:1040px!important;
  margin:16px auto!important;
  color:#ead9c5!important;
  -webkit-text-fill-color:#ead9c5!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(1.12rem,2vw,1.35rem)!important;
  line-height:1.6!important;
  text-align:center!important;
}
body.avd-native-blog-archive article.ast-article-post a:hover,
body.avd-native-blog-archive article.ast-article-post a:focus-visible,
body.avd-native-blog-archive article.post a:hover,
body.avd-native-blog-archive article.post a:focus-visible,
body.blog article.ast-article-post a:hover,
body.blog article.post a:hover{
  color:#8fa85b!important;
  -webkit-text-fill-color:#8fa85b!important;
}

/* Catégorie personnalisée : uniquement le titre de rubrique et les articles. */
body.category .avd-category-page,
body.category .avd-category-archive,
body.category .avd-category-archive .avd-blog-shell{
  background:transparent!important;
}
body.category .avd-category-archive__header{
  text-align:center!important;
}
body.category .avd-post-grid--category{
  width:100%!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:34px!important;
}
body.category .avd-post-grid--category .avd-post-card{
  max-width:1180px!important;
  margin:0 auto!important;
}
body.category .avd-post-grid--category .avd-post-card__body,
body.category .avd-post-grid--category .avd-post-card__meta,
body.category .avd-post-grid--category .avd-post-card h2,
body.category .avd-post-grid--category .avd-post-card p{
  text-align:center!important;
  justify-content:center!important;
}

@media(max-width:767px){
  body.avd-native-blog-archive article.ast-article-post,
  body.avd-native-blog-archive article.post,
  body.blog article.ast-article-post,
  body.blog article.post{
    width:calc(100% - 28px)!important;
    margin:24px auto!important;
    border-radius:22px!important;
  }
  body.avd-native-blog-archive article.ast-article-post .entry-content-wrap,
  body.avd-native-blog-archive article.post .entry-content-wrap,
  body.blog article.ast-article-post .entry-content-wrap,
  body.blog article.post .entry-content-wrap{
    padding:18px 20px 30px!important;
  }
}


/* v6.0 : le rendu des cartes Blog est piloté par atelier-blog.css chargé avant ce fichier. */
.avd-blog-page--v12 .avd-post-card,.avd-category-page--clean .avd-post-card{background:linear-gradient(145deg,#4b2b20 0%,#321a13 60%,#24120e 100%)!important;}
.avd-blog-page--v12 .avd-post-card__body,.avd-category-page--clean .avd-post-card__body{background:linear-gradient(145deg,rgba(99,59,42,.96),rgba(45,24,17,.98))!important;text-align:center!important;}
