/* W11r18 — deliberate page layouts, original CellarMemo hero and compact footers. */
body main[data-site-layout="w11r18"]{--page-gutter:clamp(22px,4.5vw,64px);box-sizing:border-box;width:100%;max-width:1440px;margin-inline:auto;padding:0}
/* Hero and page-hero retain their original background, type and internal padding. */
body main[data-site-layout="w11r18"]>:is(.consumer-section,.consumer-band,.consumer-intro,.jwp-articles,.cm-newsletter,.editorial){box-sizing:border-box;min-width:0;width:calc(100% - 2*var(--page-gutter));max-width:1328px;margin-inline:auto}
body main[data-site-layout="w11r18"]>.consumer-section:not(.jwp-partner){padding-inline:0}
body main[data-site-layout="w11r18"]>.consumer-intro{max-width:1040px;padding-inline:0}
body main[data-site-layout="w11r18"]>.consumer-band{padding:clamp(24px,3vw,40px)}
body main[data-site-layout="w11r18"]>.editorial{max-width:980px;padding-inline:0}
body main[data-site-layout="w11r18"]>.editorial[data-magazine="w11r18"]{max-width:1328px}
body main[data-site-layout="w11r18"] :is(.consumer-band,.jwp-app-context)>p{max-width:none}
body main[data-site-layout="w11r18"] :is(.jwp-person-hero,.consumer-split)>div{min-width:0}
body main[data-site-layout="w11r18"] .consumer-split p{max-width:none}
/* Photographic stories use the full editorial surface; prose-only sections stay readable. */
body article[data-magazine="w11r18"]{font-size:17px;line-height:1.8}
body article[data-magazine="w11r18"]>:is(h2,h3,p,ul,ol,.actions){max-width:88ch;margin-inline:auto}
body article[data-magazine="w11r18"]>.answer-first{max-width:none;padding:28px 32px;background:#f0e5d6;border-left:3px solid #b49052;border-radius:0 14px 14px 0}
body article[data-magazine="w11r18"] :is(.magazine-feature,.magazine-lead){display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(26px,4vw,56px);align-items:center;margin-block:36px;min-width:0}
body article[data-magazine="w11r18"] .magazine-copy{min-width:0}
body article[data-magazine="w11r18"] .magazine-copy>:first-child,body article[data-magazine="w11r18"] .magazine-heading>:first-child{margin-top:0}
body article[data-magazine="w11r18"] :is(.magazine-copy,.magazine-heading)>:last-child{margin-bottom:0}
body article[data-magazine="w11r18"] .magazine-copy p{max-width:none;font-size:17px;line-height:1.8}
body article[data-magazine="w11r18"] .magazine-photo-story{padding-block:26px;border-block:1px solid #d5b881}
body article[data-magazine="w11r18"] .magazine-photo-story>figure{width:100%;max-width:none;margin:0}
body article[data-magazine="w11r18"] .magazine-photo-story>figure>img{width:100%;height:auto;max-height:430px;object-fit:contain;background:#eee4d8;border-radius:14px}
body article[data-magazine="w11r18"] .magazine-photo-story:nth-of-type(even)>.magazine-copy{order:2}
body article[data-magazine="w11r18"] .magazine-photo-story:nth-of-type(even)>figure{order:1}
body article[data-magazine="w11r18"] :is(.wouter-monthly-club,.wouter-mosel,.wouter-provence-visit,.wouter-planes){margin-block:44px;padding-top:30px;border-top:1px solid #d5b881}
body article[data-magazine="w11r18"] :is(.wouter-monthly-club,.wouter-provence-visit)>.magazine-feature{align-items:start;margin-block:0 24px}
body article[data-magazine="w11r18"] :is(.wouter-club-pictures,.provence-visit-gallery){margin:0;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
body article[data-magazine="w11r18"] .wouter-club-pictures img{max-height:390px;object-fit:contain}
body article[data-magazine="w11r18"] .provence-visit-gallery img{height:auto;object-fit:contain}
body article[data-magazine="w11r18"] .magazine-lead{align-items:start;margin-top:0}
body article[data-magazine="w11r18"] .wouter-mosel-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block:28px}
body article[data-magazine="w11r18"] :is(.wouter-mosel-note,.provence-rose-note,.planes-grapes)>p{max-width:none}
body article[data-magazine="w11r18"] .wouter-mosel>:is(h3,p){max-width:88ch;margin-inline:auto}
body article[data-magazine="w11r18"] .wouter-planes>p{max-width:none}
body article[data-magazine="w11r18"] .planes-compare{gap:28px}
body article[data-magazine="w11r18"] .planes-compare>div{background:#fffdf9;border:1px solid #decdb7;border-radius:16px;padding:22px}
body article[data-magazine="w11r18"] .planes-compare img{height:320px;object-fit:contain}
body article[data-magazine="w11r18"] .planes-gallery img{height:340px;object-fit:contain;background:#eee4d8}
body article[data-magazine="w11r18"] .wouter-provence{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:40px}
body article[data-magazine="w11r18"] .wouter-provence p{max-width:none}
body article[data-magazine="w11r18"] .jwp-dennis-video{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;padding:30px}
body article[data-magazine="w11r18"] .jwp-dennis-video video{width:100%;max-height:460px;background:#211914;object-fit:contain}
body article[data-magazine="w11r18"] .jwp-old-bottles .magazine-feature{margin-top:0;align-items:start}
body article[data-magazine="w11r18"] .jwp-old-bottles-pair{margin-top:0;gap:16px}
body article[data-magazine="w11r18"] .jwp-old-bottles-pair img{height:300px;object-fit:contain}
body article[data-magazine="w11r18"] .jwp-book-card{max-width:100%;margin-block:30px}
/* Both footers align to the same content grid without changing page backgrounds. */
html body footer.jwp-footer{box-sizing:border-box;max-width:none;width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:start;gap:22px 56px;margin-inline:0;padding:32px max(24px,calc((100% - 1312px)/2)) 24px}
html body footer.jwp-footer>div{max-width:none}
html body footer.jwp-footer .jwp-footer-brand{font-size:clamp(24px,2vw,30px);margin-bottom:12px;gap:14px}
html body footer.jwp-footer .jwp-c1-footer-mark{width:64px;height:64px}
html body footer.jwp-footer .jwp-footer-brand>span{min-width:0}
html body footer.jwp-footer p{max-width:none;margin:0 0 8px;font-size:14px;line-height:1.65}
html body footer.jwp-footer nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 22px;align-items:start;width:100%;padding:4px 0 0}
html body footer.jwp-footer nav>a,html body footer.jwp-footer nav>button{display:block;min-height:30px;overflow-wrap:anywhere;line-height:1.6;font-size:14px}
html body footer.jwp-footer nav>a[href^="mailto:"]{grid-column:1/-1}
html body footer.jwp-footer>p.jwp-fine{grid-column:1/-1;display:block;min-height:0;margin:0;padding:14px 18px;font-size:18px;line-height:1.5;border-radius:8px;max-width:none;width:100%}
html body footer.site-footer{box-sizing:border-box;max-width:none;width:100%;padding:32px max(24px,calc((100% - 1312px)/2)) 24px}
html body footer.site-footer .footer-main{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.5fr) minmax(0,1fr);gap:32px;align-items:start}
html body footer.site-footer .footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px}
html body footer.site-footer .footer-links>a{display:block;min-height:28px;overflow-wrap:anywhere}
html body footer.site-footer .responsible-footer{margin-top:22px;padding-block:16px}
html body footer.site-footer .responsible-footer p{max-width:none}
html body footer.site-footer .footer-bottom{margin-top:8px;padding-top:12px}
@media(max-width:1000px){
 body article[data-magazine="w11r18"] .wouter-mosel-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body footer.jwp-footer nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body footer.site-footer .footer-main{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
 html body footer.site-footer .footer-brand{grid-column:1/-1}
}
@media(max-width:760px){
 body main[data-site-layout="w11r18"]{--page-gutter:22px}
 body article[data-magazine="w11r18"] :is(.magazine-feature,.magazine-lead,.wouter-provence,.jwp-dennis-video){grid-template-columns:minmax(0,1fr);gap:24px}
 body article[data-magazine="w11r18"] .magazine-photo-story:nth-of-type(even)>.magazine-copy,body article[data-magazine="w11r18"] .magazine-photo-story:nth-of-type(even)>figure{order:initial}
 body article[data-magazine="w11r18"] .magazine-photo-story>figure>img{max-height:500px}
 body article[data-magazine="w11r18"] .planes-compare{grid-template-columns:minmax(0,1fr)}
 body article[data-magazine="w11r18"] .planes-compare img{height:auto;max-height:460px}
 body article[data-magazine="w11r18"] .planes-gallery img{height:auto;max-height:460px}
 body article[data-magazine="w11r18"] .jwp-old-bottles-pair img{height:auto;max-height:420px}
 body article[data-magazine="w11r18"] .jwp-dennis-video{padding:22px}
 body article[data-magazine="w11r18"]>.answer-first{padding:22px}
 html body footer.jwp-footer{grid-template-columns:minmax(0,1fr);gap:22px;padding:28px 22px 22px}
 html body footer.jwp-footer nav{gap:12px 20px}
 html body footer.jwp-footer nav>a,html body footer.jwp-footer nav>button{min-height:36px}
 html body footer.site-footer{padding-inline:22px}
 html body footer.site-footer .footer-main{grid-template-columns:minmax(0,1fr);gap:22px}
 html body footer.site-footer .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:400px){body article[data-magazine="w11r18"] :is(.wouter-club-pictures,.provence-visit-gallery,.planes-gallery){grid-template-columns:minmax(0,1fr)}html body footer.jwp-footer nav{grid-template-columns:minmax(0,1fr)}}

/* W11r20 — Jouw Wijnproeverij homepage as a personal magazine. */
body main[data-home-magazine="w11r20"] .jwp-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;padding-block:38px;gap:clamp(32px,5vw,72px)}
body main[data-home-magazine="w11r20"] .jwp-hero .intro{max-width:none;font-size:19px;line-height:1.8}
body main[data-home-magazine="w11r20"] .jwp-hero-photo{position:relative;min-height:0;max-width:390px;width:100%;justify-self:end;background:#eee4d8;border:1px solid #d5b881;border-radius:18px;overflow:hidden}
body main[data-home-magazine="w11r20"] .jwp-hero-photo img{position:static;inset:auto;width:100%;height:auto;max-height:none;object-fit:contain;display:block}
body main[data-home-magazine="w11r20"] .jwp-hero-photo::after{display:none}
body main[data-home-magazine="w11r20"] .jwp-hero-photo figcaption{position:static;color:#6b1730;font:italic 20px/1.5 Georgia,serif;padding:16px 20px;margin:0}
body main[data-home-magazine="w11r20"]>[data-jwp-home-host]{padding-block:32px}
body main[data-home-magazine="w11r20"] [data-jwp-home-host] .consumer-split{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:48px}
body main[data-home-magazine="w11r20"] [data-jwp-home-host] .consumer-split>img{height:auto;max-height:360px;object-fit:contain;background:#eee4d8;border-radius:16px}
body main[data-home-magazine="w11r20"] .jwp-home-offer{padding-block:28px}
body main[data-home-magazine="w11r20"] .jwp-offer-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:20px}
body main[data-home-magazine="w11r20"] .jwp-offer-image{padding:22px}
body main[data-home-magazine="w11r20"] .jwp-offer-image img{height:auto;min-height:0;max-height:420px;object-fit:contain;border-radius:12px}
body main[data-home-magazine="w11r20"]>.jwp-home-columns{box-sizing:border-box;width:calc(100% - 2*var(--page-gutter));max-width:1328px;margin:28px auto 40px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;align-items:stretch}
body main[data-home-magazine="w11r20"] .jwp-home-columns>.consumer-section{box-sizing:border-box;padding:28px;margin:0;min-width:0;width:100%;background:#fffdf9;border:1px solid #d5b881;border-radius:18px}
body main[data-home-magazine="w11r20"] .jwp-home-columns h2{font:normal 30px/1.25 Georgia,serif;margin-top:0}
body main[data-home-magazine="w11r20"] .jwp-home-columns p{font-size:17px;line-height:1.8;max-width:none}
body main[data-home-magazine="w11r20"] .jwp-home-columns .cm-choice-grid{grid-template-columns:1fr;gap:18px;margin-top:22px}
body main[data-home-magazine="w11r20"] .jwp-home-columns .cm-choice-grid>article{padding:0 0 16px;border:0;border-bottom:1px solid #dfcdb7;background:transparent;border-radius:0}
body main[data-home-magazine="w11r20"] .jwp-home-columns .cm-choice-grid h3{font-size:23px}
body main[data-home-magazine="w11r20"] .jwp-home-agenda-photo{margin:20px 0;max-width:100%}
body main[data-home-magazine="w11r20"] .jwp-home-agenda-photo img{display:block;width:100%;height:auto;border-radius:12px}
body main[data-home-magazine="w11r20"] .jwp-memory-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
body main[data-home-magazine="w11r20"] .jwp-memory-card>img{height:auto;max-height:360px;object-fit:contain}
@media(max-width:760px){
 body main[data-home-magazine="w11r20"] :is(.jwp-hero,.jwp-offer-grid,.jwp-home-columns,.jwp-memory-card),body main[data-home-magazine="w11r20"] [data-jwp-home-host] .consumer-split{grid-template-columns:minmax(0,1fr);gap:24px}
 body main[data-home-magazine="w11r20"] .jwp-hero-photo{justify-self:center;max-width:340px}
 body main[data-home-magazine="w11r20"] .jwp-hero{padding-block:24px 36px}
 body main[data-home-magazine="w11r20"] .jwp-offer-image{order:initial;padding-top:0}
 body main[data-home-magazine="w11r20"] .jwp-home-columns>.consumer-section{padding:24px}
}
