/* Milky Daisy : lecture, sidebar et footer communs. */
body.md-editorial-layout { --md-ed-wine:#4d242b; --md-ed-cream:#fffdf8; --md-ed-text:#514a46; --md-ed-line:#e4dbd1; }
body.md-editorial-layout.right-sidebar .site-content { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:56px; align-items:start; }
body.md-editorial-layout.left-sidebar .site-content { display:grid; grid-template-columns:280px minmax(0,1fr); gap:56px; align-items:start; }
body.md-editorial-layout .site-content > .content-area,body.md-editorial-layout .site-content > .widget-area { width:100%; min-width:0; float:none; }
body.md-editorial-layout.separate-containers.right-sidebar .site-main,body.md-editorial-layout.separate-containers.left-sidebar .site-main { margin-left:0; margin-right:0; }
body.md-editorial-layout .inside-right-sidebar,body.md-editorial-layout .inside-left-sidebar { margin:22px 0 56px; }
body.md-editorial-layout .entry-header { margin:0 0 28px; }
body.md-editorial-layout.md-shell h1.entry-title { font-size:clamp(34px,4.2vw,52px); line-height:1.12; letter-spacing:-.035em; }
body.md-editorial-layout .md-ed-featured { margin:0 0 32px; overflow:hidden; border-radius:12px; background:#f2eee7; }
body.md-editorial-layout .md-ed-featured img { display:block; width:auto; max-width:100%; height:auto; max-height:480px; object-fit:contain; margin:0 auto; }
body.md-editorial-layout .md-ed-featured + .entry-content { margin-top:0; }
body.md-editorial-layout .entry-content img { max-width:100%; height:auto; }
body.md-editorial-layout .entry-content figure:not(.wp-block-table) { max-width:100%; }
body.md-editorial-layout .entry-content div[style*="position:sticky"][style*="bottom:10px"],body.md-editorial-layout .entry-content div[style*="position: sticky"][style*="bottom: 10px"] { position:static!important; max-width:none!important; margin:30px 0!important; border-radius:6px!important; background:var(--md-ed-wine)!important; box-shadow:none!important; }

body.md-editorial-layout .md-aside { display:flex; flex-direction:column; gap:20px; font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--md-ed-text); }
body.md-editorial-layout .md-aside-card { box-sizing:border-box; padding:24px; border:1px solid var(--md-ed-line); border-radius:12px; background:#fffdfb; margin:0; }
body.md-editorial-layout .md-aside-support { background:#eaf0e7; border-color:#d7e1d3; }
body.md-editorial-layout .md-aside h2 { margin:0 0 12px; padding:0; font:400 26px/1.15 Georgia,"Times New Roman",serif; letter-spacing:-.025em; color:var(--md-ed-wine); text-transform:none; }
body.md-editorial-layout .md-aside .md-aside-eyebrow { display:block; margin:0 0 16px; font:650 10px/1.5 system-ui,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:#64534b; }
body.md-editorial-layout .md-aside p { margin:0 0 18px; font:inherit; }
body.md-editorial-layout .md-aside a { text-decoration:none; color:var(--md-ed-wine); }
body.md-editorial-layout .md-aside a:focus-visible,body.md-editorial-layout .md-site-footer a:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
body.md-editorial-layout a.md-aside-button { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; min-height:48px; box-sizing:border-box; border:1px solid var(--md-ed-wine); border-radius:5px; background:var(--md-ed-wine); color:var(--md-ed-cream); font-size:13px; font-weight:600; }
body.md-editorial-layout a.md-aside-button:hover { background:#67353d; }
body.md-editorial-layout .md-aside-guides { padding-bottom:14px; }
body.md-editorial-layout .md-aside-guides ul { margin:0; padding:0; list-style:none; }
body.md-editorial-layout .md-aside-guides li { margin:0; padding:0; border-top:1px solid var(--md-ed-line); }
body.md-editorial-layout .md-aside-guides li a { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; font-size:14px; line-height:1.45; }
body.md-editorial-layout .md-aside-guides li a span,body.md-editorial-layout .md-aside-text-link span { flex-shrink:0; }
body.md-editorial-layout .md-aside-guides li a:hover,body.md-editorial-layout .md-aside-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
body.md-editorial-layout .md-aside-journal { background:#f5eee4; }
body.md-editorial-layout .md-aside-text-link { display:flex; justify-content:space-between; gap:14px; font-weight:600; font-size:14px; }
body.md-editorial-layout .md-aside-newsletter h2 { font-size:25px; }
body.md-editorial-layout .md-aside .md-nl { margin:0; }
body.md-editorial-layout .md-aside .md-nl-row { display:flex; flex-direction:column; gap:9px; }
body.md-editorial-layout .md-aside .md-nl-row input[type=email] { box-sizing:border-box; min-width:0; width:100%; min-height:46px; padding:11px 12px; border:1px solid #cec4b9; border-radius:5px; background:#fff; color:var(--md-ed-text); font:14px/1.4 system-ui,sans-serif; }
body.md-editorial-layout .md-aside .md-nl-row button { width:100%; min-height:46px; padding:11px 12px; margin:0; border-radius:5px; background:var(--md-ed-wine)!important; color:#fffdf8; font:600 14px/1.4 system-ui,sans-serif; box-sizing:border-box; }
body.md-editorial-layout .md-aside .md-nl-note { display:block; margin:12px 0 0; font-size:12px; line-height:1.5; color:#6e635a; }
body.md-editorial-layout .md-aside .md-nl label { font-size:13px; }

/* Le composant ne dépend pas du .site-info masqué par l'ancienne personnalisation. */
body.md-editorial-layout .site-footer { display:block!important; clear:both; padding:0!important; margin:0!important; background:var(--md-ed-wine)!important; }
body.md-editorial-layout .site-footer .site-info,body.md-editorial-layout .site-footer .custom-footer,body.md-editorial-layout .social-footer-bar { display:none!important; }
body.md-editorial-layout .md-site-footer { display:block; margin:0; padding:0; background:var(--md-ed-wine); color:#fff9ef; font:14px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif; text-align:left; }
body.md-editorial-layout .md-site-footer a { color:#fff9ef; text-decoration:none; }
body.md-editorial-layout .md-site-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
body.md-editorial-layout .md-footer-inner { max-width:1248px; box-sizing:border-box; margin:0 auto; padding:0 32px; }
body.md-editorial-layout .md-footer-intro { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:44px 0 38px; border-bottom:1px solid #ffffff30; }
body.md-editorial-layout .md-footer-intro p { margin:8px 0 0; color:#e7d9d3; max-width:590px; }
body.md-editorial-layout .md-footer-intro .md-footer-heading { margin:0; color:#fff9ef; font:400 clamp(28px,3vw,36px)/1.2 Georgia,"Times New Roman",serif; letter-spacing:-.02em; }
body.md-editorial-layout a.md-footer-button { display:inline-flex; justify-content:space-between; align-items:center; gap:24px; flex-shrink:0; padding:14px 20px; min-height:50px; box-sizing:border-box; border:1px solid #fff9ef; border-radius:5px; background:#fff9ef; color:var(--md-ed-wine); font-weight:600; }
body.md-editorial-layout .md-footer-columns { display:grid; grid-template-columns:1.4fr 1fr 1.1fr .75fr; gap:40px; padding:38px 0; }
body.md-editorial-layout .md-footer-brand > a { display:inline-flex; align-items:center; gap:6px; font:400 31px/1.2 Georgia,"Times New Roman",serif; letter-spacing:-.04em; white-space:nowrap; }
body.md-editorial-layout .md-footer-flower { font-size:31px; color:#e8bfa9; }
body.md-editorial-layout .md-footer-brand p { max-width:240px; margin:14px 0 0; font-size:13px; color:#e0ccc5; }
body.md-editorial-layout .md-footer-columns h2 { font:650 10px/1.5 system-ui,sans-serif; text-transform:uppercase; letter-spacing:.13em; color:#e3c9c0; margin:0 0 16px; }
body.md-editorial-layout .md-footer-columns ul { list-style:none; margin:0; padding:0; }
body.md-editorial-layout .md-footer-columns li { margin:0 0 9px; padding:0; }
body.md-editorial-layout .md-footer-columns li a { display:inline-flex; gap:12px; align-items:center; min-height:26px; }
body.md-editorial-layout .md-footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:21px 0 25px; border-top:1px solid #ffffff30; color:#e0ccc5; font-size:12px; }
body.md-editorial-layout .md-footer-bottom p { margin:0; }
body.md-editorial-layout .md-footer-bottom nav { display:flex; flex-wrap:wrap; gap:18px; }

@media(max-width:1024px) and (min-width:769px) {
 body.md-editorial-layout.right-sidebar .site-content { grid-template-columns:minmax(0,1fr) 250px; gap:30px; }
 body.md-editorial-layout.left-sidebar .site-content { grid-template-columns:250px minmax(0,1fr); gap:30px; }
 body.md-editorial-layout .md-aside-card { padding:20px; }
 body.md-editorial-layout .md-footer-columns { gap:25px; }
}
@media(max-width:1100px) and (min-width:769px) {
 body.md-editorial-layout .inside-header { flex-direction:column; align-items:center; gap:12px; padding-top:22px; padding-bottom:22px; }
 body.md-editorial-layout .main-navigation { margin-left:0!important; }
 body.md-editorial-layout .main-navigation .main-nav ul li a { padding-left:10px; padding-right:10px; font-size:13px; line-height:42px; }
}
@media(max-width:768px) {
 body.md-editorial-layout.right-sidebar .site-content,body.md-editorial-layout.left-sidebar .site-content { display:flex; flex-direction:column; gap:0; }
 body.md-editorial-layout .site-content > .content-area { order:0; }
 body.md-editorial-layout .site-content > .widget-area { order:1; }
 body.md-editorial-layout .inside-right-sidebar,body.md-editorial-layout .inside-left-sidebar { margin:0 0 40px; }
 body.md-editorial-layout .md-aside { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 body.md-editorial-layout .md-footer-inner { padding:0 22px; }
 body.md-editorial-layout .md-footer-intro { align-items:flex-start; flex-direction:column; gap:22px; padding:32px 0; }
 body.md-editorial-layout .md-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 24px; padding:30px 0; }
 body.md-editorial-layout .md-footer-brand { grid-column:1 / -1; }
 body.md-editorial-layout .md-footer-brand p { max-width:none; }
 body.md-editorial-layout .md-footer-bottom { flex-direction:column; align-items:flex-start; }
 body.md-editorial-layout .md-footer-bottom nav { gap:12px 18px; }
}
@media(max-width:520px) {
 body.md-editorial-layout .md-aside { grid-template-columns:1fr; }
 body.md-editorial-layout .md-ed-featured { border-radius:9px; margin-bottom:26px; }
 body.md-editorial-layout .md-footer-columns { grid-template-columns:1fr; gap:26px; }
 body.md-editorial-layout .md-footer-brand { grid-column:auto; }
 body.md-editorial-layout a.md-footer-button { width:100%; }
}
