/*
 * Takashimadaira Marche: internal-page design system.
 * Scope: shop listing (191), contact (103), archive placeholder (452), privacy (1531).
 * Layout and branding match the homepage. Gutenberg content and forms stay intact.
 */
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531){
 --marche-green:#25483F;
 --marche-text:#344C41;
 --marche-cream:#F5F0E7;
 --marche-paper:#FBF8F2;
 --marche-terra:#A24D39;
 --marche-border:#E1DCD3;
}

/* G3 and legacy Lightning page headers. Do not add duplicate page titles. */
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) :is(.page-header,.pageHeader){
 background:var(--marche-cream)!important;
 border-bottom:1px solid var(--marche-border);
}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) :is(.page-header_pageTitle,.page-header-title,.pageHeader_title){
 color:var(--marche-green)!important;
 font-size:clamp(25px,2.8vw,34px)!important;
 font-weight:750;
 letter-spacing:-.02em;
 line-height:1.4;
}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) .entry-body{
 color:var(--marche-text);
 line-height:1.72;
 overflow-wrap:break-word;
}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) .entry-body :is(p,li){line-height:1.72;}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) .entry-body :is(h2,h3){
 color:var(--marche-green);
 line-height:1.4;
}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) .entry-body a:not(.wp-block-button__link):not(.wp-element-button){
 text-underline-offset:3px;
}
body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) .entry-body a:focus-visible{
 outline:2px solid var(--marche-green);outline-offset:3px;
}

/* Shop listing: retain category palette and the existing two-column mobile layout. */
body.page-id-191 .entry-body > .wp-block-group:first-child.wp-block-group{
 background:var(--marche-cream)!important;
 border-radius:12px!important;
 padding:clamp(20px,2.8vw,30px)!important;
}
body.page-id-191 .entry-body > .wp-block-group:first-child h2{
 color:var(--marche-green)!important;
 font-size:clamp(24px,2.7vw,34px)!important;
 line-height:1.4!important;
 letter-spacing:-.02em;
}
body.page-id-191 .entry-body > .wp-block-group:first-child > p.has-small-font-size{
 color:var(--marche-terra)!important;
 font-weight:700;
 letter-spacing:.09em;
}
body.page-id-191 .entry-body .marche-shop-index details{
 border-color:var(--marche-border);border-radius:12px;
 background:#fff;
}
body.page-id-191 .entry-body .marche-shop-index summary{color:var(--marche-green);}
body.page-id-191 .entry-body :is(h2#food,h2#goods,h2#workshop){
 color:var(--marche-green)!important;
 font-size:clamp(23px,2.5vw,30px)!important;
 letter-spacing:-.015em;
}
body.page-id-191 .entry-body .marche-mobile-tiles .wp-block-column{
 border-radius:12px;
}

/* Contact: informative intro, separate application-status notice, calm form surface. */
body.page-id-103 .entry-body{max-width:920px;margin-inline:auto;}
body.page-id-103 .entry-body > p:first-child{
 padding:clamp(18px,2.7vw,28px)!important;
 margin:0 0 20px!important;
 background:var(--marche-cream);
 border-radius:12px;
 font-size:clamp(15px,1.4vw,17px);
}
body.page-id-103 .entry-body > p:nth-of-type(2){
 padding:15px 18px;
 margin:0 0 16px!important;
 border-left:3px solid var(--marche-terra);
 background:var(--marche-paper);
 border-radius:0 8px 8px 0;
}
body.page-id-103 .entry-body > p:nth-of-type(3){
 color:#59675E;
 font-size:13px;
 line-height:1.8;
 margin:0 0 22px!important;
}
body.page-id-103 .entry-body .wpforms-container{
 background:var(--marche-paper);
 border:1px solid var(--marche-border);
 border-radius:12px;
 padding:clamp(16px,3vw,28px);
 margin:0 0 30px!important;
}
body.page-id-103 .entry-body .wpforms-container button.wpforms-submit{
 background:var(--marche-green)!important;
 color:#fff!important;
 border:1px solid var(--marche-green)!important;
 border-radius:999px!important;
 padding:11px 26px!important;
 font-weight:700!important;
}
body.page-id-103 .entry-body .wpforms-container button.wpforms-submit:focus-visible{
 outline:2px solid var(--marche-green);outline-offset:3px;
}

/* Archive: this page currently holds only a placeholder; do not invent past events. */
body.page-id-452 .entry-body{max-width:900px;margin-inline:auto;}
body.page-id-452 .entry-body > p:first-child{
 margin:0 0 28px!important;
 padding:clamp(40px,7vw,68px) 20px!important;
 text-align:center;
 background:var(--marche-cream);
 color:var(--marche-green);
 border-radius:12px;
 font-size:clamp(18px,2.2vw,24px);
 font-weight:700;
 letter-spacing:.04em;
}
body.page-id-452 .entry-body > p:empty{display:none!important;}

/* Privacy policy: readable editorial rhythm for long-form text. */
body.page-id-1531 .entry-body{max-width:900px;margin-inline:auto;}
body.page-id-1531 .entry-body > p:first-child{
 background:var(--marche-cream);
 border-radius:12px;
 padding:clamp(18px,2.8vw,28px);
 margin:0 0 25px!important;
 font-size:clamp(15px,1.35vw,16px);
}
body.page-id-1531 .entry-body > h2.wp-block-heading{
 border-top:1px solid var(--marche-border);
 margin:30px 0 12px!important;
 padding-top:22px;
 color:var(--marche-green)!important;
 font-size:clamp(20px,2vw,25px)!important;
 letter-spacing:-.015em;
}
body.page-id-1531 .entry-body > p{margin-bottom:16px;}
body.page-id-1531 .entry-body .wp-block-list{
 margin:0 0 18px;
 padding-left:1.5em;
}
body.page-id-1531 .entry-body .wp-block-list li{margin-bottom:7px;}
body.page-id-1531 .entry-body > p:last-of-type{
 color:#657268;font-size:13px;margin-top:24px;
}

@media(max-width:781px){
 body:is(.page-id-191,.page-id-103,.page-id-452,.page-id-1531) :is(.page-header_pageTitle,.page-header-title,.pageHeader_title){font-size:25px!important;}
 body.page-id-191 .entry-body > .wp-block-group:first-child.wp-block-group{padding:18px 14px!important;}
 body.page-id-191 .entry-body > .wp-block-group:first-child h2{font-size:26px!important;}
 body.page-id-103 .entry-body > p:first-child{padding:18px!important;}
 body.page-id-103 .entry-body .wpforms-container{padding:16px!important;}
 body.page-id-1531 .entry-body > h2.wp-block-heading{margin-top:25px!important;padding-top:18px;font-size:20px!important;}
}
