/* Milky Daisy : coquille commune à toutes les pages (28/09/2026).
   Reprend l'en-tête, le fond, les titres et le pied de l'accueil (3945) et du hub Allaitement (18649),
   qui étaient réservés à ces deux pages. Les sélecteurs de contenu passent par :where() pour
   rester moins prioritaires que les composants (annuaire, carnet, actualités, hub). */
:root{--md-cream:#fffdf8;--md-wine:#4d242b;--md-text:#594e4c;--md-muted:#71645e;--md-line:#ddd6cd;--md-link:#7d5952;--md-sage:#e9eddf}

/* Fond et texte */
body.md-shell{background:var(--md-cream);color:var(--md-text)}
body.md-shell,body.md-shell button,body.md-shell input,body.md-shell select,body.md-shell textarea{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}

/* En-tête et navigation, identiques à l'accueil */
body.md-shell .site-header,body.md-shell .main-navigation,body.md-shell .main-navigation ul ul{background:var(--md-cream)}
body.md-shell .main-navigation{border:0}
body.md-shell .inside-header{max-width:1248px;margin:auto;padding:26px 32px;box-sizing:border-box}
body.md-shell .main-navigation .main-nav ul li a{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px;font-weight:500;color:var(--md-wine)}
body.md-shell .main-navigation .main-nav ul li a:hover,body.md-shell .main-navigation .main-nav ul li[class*=current-menu-] > a{color:#935e5e}
body.md-shell .menu-toggle{background:transparent;color:var(--md-wine)}

/* Contenu : plus de carte blanche posée sur un fond rosé */
body.md-shell .site.grid-container{max-width:1248px;margin:0 auto;padding-left:32px;padding-right:32px;box-sizing:border-box}
body.md-shell.separate-containers .inside-article,body.md-shell.separate-containers .comments-area,body.md-shell.separate-containers .page-header,body.md-shell.separate-containers .paging-navigation{background:transparent;border:0;border-radius:0;padding:0}
body.md-shell.separate-containers .site-main{margin:0 0 56px}
body.md-shell.separate-containers.right-sidebar .site-main{margin-right:48px}
body.md-shell.separate-containers.left-sidebar .site-main{margin-left:48px}
body.md-shell .md-inside-featured{margin-bottom:28px}
body.md-shell .md-inside-featured img{border-radius:6px}

/* Fil d'Ariane et titre de page, comme sur le hub Allaitement */
body.md-shell .site-main>.breadcrumb{padding:20px 0 0;margin:0 0 26px;font-size:13px;color:var(--md-muted)}
body.md-shell .site-main>.breadcrumb a{color:var(--md-link);text-underline-offset:3px}
body.md-shell .entry-header{margin-bottom:28px}
body.md-shell h1.entry-title{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--md-wine);letter-spacing:-.04em;line-height:1.08;font-size:clamp(36px,4.6vw,58px);margin:0;text-wrap:balance}

/* Titres et liens du contenu éditorial. Spécificité 0,1,1 : au-dessus des réglages du thème (h2 nu),
   à égalité avec les composants (.mdd h2, .mdc h2) qui se chargent après et gardent la main. */
:where(body.md-shell) .entry-content :where(h2,h3){font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--md-wine);letter-spacing:-.025em;text-wrap:balance}
:where(body.md-shell) .entry-content h2{font-size:clamp(28px,3vw,36px);line-height:1.15;margin:1.6em 0 .6em}
:where(body.md-shell) .entry-content h3{font-size:clamp(22px,2.2vw,25px);line-height:1.25;margin:1.4em 0 .5em}
:where(body.md-shell) .entry-content :where(h4,h5,h6){font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:650;color:var(--md-wine);letter-spacing:0}
:where(body.md-shell) .entry-content{font-size:17px;line-height:1.7;color:var(--md-text)}
:where(body.md-shell) .entry-content a{color:var(--md-wine);text-underline-offset:3px}
:where(body.md-shell) .entry-content blockquote{border-left:3px solid var(--md-line);color:var(--md-text)}

/* Barre latérale : filets plutôt que cartes. Les widgets HTML portent leurs propres styles en ligne. */
body.md-shell.separate-containers .widget-area .widget,body.md-shell .sidebar .widget{background:transparent;padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid var(--md-line)}
body.md-shell .widget-area .sidebar-block,body.md-shell .widget-area .newsletter-content{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 34px!important;text-align:left!important;font-family:inherit!important}
body.md-shell .widget-area .sidebar-block.sidebar-note{padding:14px 0 0!important;border-top:1px solid var(--md-line)!important;color:var(--md-muted);text-align:left}
body.md-shell .widget-area .widget-title,body.md-shell .widget-area .sidebar-block h3{font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:11px!important;font-weight:650!important;letter-spacing:.17em;text-transform:uppercase;color:var(--md-link)!important;border:0!important;padding:0!important;margin:0 0 16px!important}
body.md-shell .widget-area .newsletter-content h3{font-family:Georgia,"Times New Roman",serif!important;font-weight:400!important;font-size:24px!important;line-height:1.15;color:var(--md-wine)!important;letter-spacing:-.02em}
body.md-shell .widget-area .newsletter-content p{color:var(--md-text)!important}
body.md-shell .widget-area a,body.md-shell .widget-area .sidebar-block ul li a{color:var(--md-wine)}
body.md-shell .widget-area .sidebar-block ul li a:hover{color:#935e5e}
body.md-shell .md-nl-row button,body.md-shell .newsletter-widget input[type=submit]{background:var(--md-wine)!important;border-radius:4px;font-family:inherit}
body.md-shell .md-nl-row button:hover,body.md-shell .newsletter-widget input[type=submit]:hover{background:#6d3a40!important}
body.md-shell .md-nl-row input[type=email]{background:#fff;border-color:var(--md-line);border-radius:4px}

/* Annuaire : même fond que le reste du site, sans cadre blanc */
body.md-shell.md-directory-page{background:var(--md-cream)}
body.md-shell.md-directory-page .site-content{max-width:none}
body.md-shell.md-directory-page .inside-article{padding:0;background:transparent}

/* Actualités : les sections gardent leur fond mais s'alignent sur le fil d'Ariane */
body.md-shell.md-news-hub .mdn-hero,body.md-shell.md-news-hub .mdn-section{padding-left:0;padding-right:0}

/* Pied de page de l'accueil */
body.md-shell .site-info{background:var(--md-wine);color:var(--md-cream);margin-top:0}
body.md-shell .site-info a{color:var(--md-cream)}

@media(max-width:768px){
 body.md-shell .site.grid-container{padding-left:22px;padding-right:22px}
 body.md-shell.separate-containers.right-sidebar .site-main,body.md-shell.separate-containers.left-sidebar .site-main{margin-left:0;margin-right:0}
 body.md-shell.separate-containers .widget-area{margin-top:8px}
}
@media(max-width:480px){body.md-shell .inside-header{padding:19px 22px}}
