/*
 * MTWM — The Open Page 1.9 | audited editorial composition system
 * 70/30 is a hierarchy of PURPOSE, not literal screen coverage:
 * 70% calm editorial framework (readability, predictable layouts, spacing)
 * 30% human expression (copy, authored perspectives, curated documentary imagery).
 * The functional layer stays familiar across differing cognitive needs.
 * This file is loaded last to unify legacy MTWM plugin presentation without
 * rewriting or deleting the underlying forum, directory or editorial data.
 */
body.mtwm-editorial-view .mtwm-shell {
 --op-text:#20312b;--op-secondary:#4a5b53;--op-paper:#faf9f6;--op-rule:#d7ddd7;
 --op-clay:#995440;--op-surface:#f0f2ec;--op-outer:1184px;--op-article:72ch;
 --op-step-1:clamp(1.2rem,1.5vw,1.42rem);--op-step-2:clamp(1.65rem,2.45vw,2.25rem);
 --op-step-3:clamp(2.35rem,3.7vw,3.75rem);
 --op-s1:8px;--op-s2:16px;--op-s3:24px;--op-s4:40px;--op-s5:64px;
 color:var(--op-text);background:var(--op-paper);font-family:var(--sans,system-ui,sans-serif);
}
/* 1. Editorial page frame: uniform horizontal alignment on ALL pages. */
body.mtwm-editorial-view .mtwm-shell .mtwm-page-main>.container,
body.mtwm-editorial-view .mtwm-shell .mtwm-page-main .mtwm-editorial-page,
body.mtwm-editorial-view .mtwm-shell .mtwm-page-main .mtwm-page-content {min-width:0;}
body.mtwm-editorial-view .mtwm-shell .mtwm-page-main>.container{max-width:var(--op-outer);padding-block:clamp(38px,5vw,72px) clamp(75px,9vw,125px);}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page:not(.mtwm-editorial-page--standard)>.mtwm-page-content,
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page:not(.mtwm-editorial-page--standard)>.mtwm-page-content>.article-body{max-width:100%;width:100%;margin-inline:auto;}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page--standard>.mtwm-page-content,
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page--standard .article-body{max-width:var(--op-article);margin-inline:auto;}
body.mtwm-editorial-view .mtwm-shell .mtwm-page-heading{border-bottom:1px solid var(--op-rule);margin:0 0 clamp(27px,4vw,55px);padding:0 0 clamp(24px,3vw,38px);max-width:100%;}
body.mtwm-editorial-view .mtwm-shell .mtwm-kicker{color:var(--op-secondary);font:650 .82rem/1.4 var(--sans);letter-spacing:.085em;text-transform:uppercase;margin:0 0 clamp(15px,2vw,23px);}
body.mtwm-editorial-view .mtwm-shell .mtwm-page-heading h1{
 font:400 var(--op-step-3)/1.11 var(--serif,Georgia,serif);letter-spacing:-.043em;
 max-width:19ch;margin:0;color:var(--op-text);text-wrap:balance;overflow-wrap:break-word;
}
/* 2. Headline hierarchy is a contract, not a per-plugin preference. */
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body :is(h1,.mtwm-place-hero h1,.ndh-h1,.mtwm-title,.mtwm-full-hero h2,.mtwm-hero h1) {
 font:400 var(--op-step-3)/1.12 var(--serif,Georgia,serif)!important;
 letter-spacing:-.043em!important;color:var(--op-text)!important;
 max-width:25ch;margin:0 0 var(--op-s3)!important;text-transform:none!important;text-wrap:balance;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body :is(h2,.mtwm-section-title,.ndh-h2) {
 font:400 var(--op-step-2)/1.23 var(--serif,Georgia,serif)!important;
 letter-spacing:-.02em!important;color:var(--op-text)!important;
 margin:0 0 var(--op-s2)!important;text-transform:none!important;text-wrap:pretty;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body :is(h3,h4,.mtwm-card-title,.ndh-tile-title){
 font:600 var(--op-step-1)/1.34 var(--sans,system-ui,sans-serif)!important;
 letter-spacing:-.012em!important;color:var(--op-text)!important;
 margin:0 0 12px!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body :is(p,li){line-height:1.68;}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body > p{max-width:var(--op-article);}
/* No underlines on whole editorial cards: reserve underlines for text links in prose. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-card-link,.mtwm-place-card,.ndh-tile,.mtwm-journal__entry h3 a,.mtwm-cf-thread-inner,.mtwm-cf-card-inner),
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-card-link,.mtwm-place-card,.ndh-tile,.mtwm-journal__entry h3 a,.mtwm-cf-thread-inner,.mtwm-cf-card-inner) *{
 text-decoration:none!important;
}
body.mtwm-editorial-view .mtwm-shell :is(.article-body p a:not([class]),.article-body li a:not([class])){
 color:var(--op-text)!important;text-decoration:underline!important;text-underline-offset:.22em;
 text-decoration-thickness:1px!important;
}
body.mtwm-editorial-view .mtwm-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--op-clay)!important;outline-offset:3px!important;}
/* 3. Legacy hero panels become type-first editorial sections, not boxes inside boxes. */
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-full-hero,.mtwm-place-hero,.mtwm-region-hero,.ndh-cover,.mtwm-hub-page>.mtwm-hero,.mtwm-refhub .mtwm-hero) {
 border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;
 box-shadow:none!important;max-width:100%!important;margin:0 0 clamp(32px,5vw,60px)!important;
 padding:0 0 clamp(28px,3vw,42px)!important;border-bottom:1px solid var(--op-rule)!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-full-hero,.mtwm-place-hero,.mtwm-region-hero,.ndh-cover,.mtwm-hub-page>.mtwm-hero) :is(.inner,.title-row,.ndh-cover-copy) {
 padding:0!important;margin:0!important;max-width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-full-hero,.mtwm-place-hero,.mtwm-region-hero,.ndh-cover) :is(p,.lead,.ndh-deck){max-width:70ch;font:400 1.07rem/1.66 var(--sans)!important;color:var(--op-secondary)!important;margin:0 0 13px!important;}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-full-hero,.mtwm-place-hero,.mtwm-region-hero,.ndh-cover) :is(.kicker,.ndh-cover-kicker){font:650 .8rem/1.5 var(--sans)!important;color:var(--op-clay)!important;letter-spacing:.065em!important;text-transform:uppercase!important;margin:0 0 17px!important;}
/* 4. Strip visual stacking without breaking form/accordion/grid behaviour. */
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-full-block,.mtwm-place-page,.mtwm-wrap,.mtwm-hub-page,.mtwm-region-results,.mtwm-place-sections,.mtwm-section-card,.mtwm-mini-card,.ndh-card,.ndh-block,.ndh-railcard){
 border-radius:0!important;box-shadow:none!important;max-width:100%;min-width:0;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-place-sections,.mtwm-region-results,.mtwm-full-block,.mtwm-place-page){
 background:transparent!important;background-image:none!important;border:0!important;padding-inline:0!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-section-card,.mtwm-mini-card,.ndh-block,.ndh-railcard){
 background:transparent!important;background-image:none!important;border:0!important;border-bottom:1px solid var(--op-rule)!important;
 margin:0!important;padding:var(--op-s3) 0!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-region-results,.mtwm-place-sections,.mtwm-place-gallery,.mtwm-place-grid,.ndh-article){margin-top:var(--op-s4)!important;}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-region-results,.mtwm-place-grid,.ndh-article){gap:clamp(18px,3vw,40px)!important;}
/* 5. Directory cards are editorial rows, not bright pill/button blocks. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-grid,.mtwm-place-grid,.mtwm-results,.ndh-grid){min-width:0;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 clamp(25px,4vw,52px)!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card{
 margin:0!important;border:0!important;border-bottom:1px solid var(--op-rule)!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;padding:24px 0!important;min-width:0;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link{display:grid!important;grid-template-columns:minmax(0,116px) minmax(0,1fr)!important;gap:20px!important;color:var(--op-text)!important;align-items:start;}
/* Media occupancy is determined by a REAL usable image, never an empty media wrapper.
   The original :empty test fails when a score chip remains inside the media node. */
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))){grid-template-columns:minmax(0,1fr)!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-media{width:116px!important;max-width:100%;aspect-ratio:4/3!important;min-height:0!important;background:none!important;border:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-media img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px!important;}
/* CRITICAL FIX: actual plugin element is .mtwm-body, NOT .mtwm-card-body.
   Explicit grid-column prevents CSS grid auto-placement into the now-empty photo track. */
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link > .mtwm-body{
 grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;
 padding:0!important;max-width:none!important;box-sizing:border-box;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link > .mtwm-media{
 grid-column:1!important;grid-row:1!important;min-width:0!important;
}
/* Preserve the numeric MTWM score when no image exists: show it as plain metadata. */
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) > .mtwm-body{
 grid-column:1/-1!important;grid-row:auto!important;min-width:0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) > .mtwm-media{
 display:block!important;grid-column:1/-1!important;grid-row:auto!important;
 width:auto!important;height:auto!important;aspect-ratio:auto!important;
 min-height:0!important;max-height:none!important;padding:0 0 8px!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) > .mtwm-media:empty{display:none!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) .mtwm-thumb-fallback{display:none!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) .mtwm-pill-score{
 position:static!important;display:inline-flex!important;min-height:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;margin:0!important;padding:0!important;
 font:650 .85rem/1.4 var(--sans)!important;color:var(--op-secondary)!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-body :is(.mtwm-meta,.mtwm-sensory){
 display:flex!important;flex-wrap:wrap!important;gap:5px 12px!important;width:100%!important;min-width:0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-body :is(.mtwm-meta,.mtwm-sensory)>*{max-width:100%!important;overflow-wrap:normal!important;word-break:normal!important;}

body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-title{font:400 clamp(1.2rem,1.9vw,1.56rem)/1.31 var(--serif)!important;margin:0 0 10px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-excerpt{font:.96rem/1.65 var(--sans)!important;color:var(--op-secondary)!important;max-width:55ch;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory :is(.mtwm-card-meta,.mtwm-badge){background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory :is(.mtwm-card-meta,.mtwm-badge,.mtwm-muted){font:.84rem/1.55 var(--sans)!important;color:var(--op-secondary)!important;}
/* Place Photos legacy JSON cards - retain accessible click/link behaviour and venue data. */
body.mtwm-editorial-view .mtwm-shell .mtwm-place-card{
 background:transparent!important;border:0!important;border-bottom:1px solid var(--op-rule)!important;
 border-radius:0!important;box-shadow:none!important;transform:none!important;padding:23px 0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-place-card>.inner{background:transparent!important;border:0!important;padding:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-place-card :is(.top,.badge,.why,.tags){box-shadow:none!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-place-card :is(.badge,.tag,.mtwm-chip){background:transparent!important;border:0!important;border-radius:0!important;padding:3px 8px 3px 0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-place-card :is(.why,p){font-size:1rem!important;line-height:1.65!important;max-width:67ch;}
/* 6. Filter forms, tabs and actionable information: consistent size and predictable states. */
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-filter-wrap,.mtwm-filter-bar,.mtwm-cf-form){
 border:0!important;border-radius:0!important;box-shadow:none!important;background:var(--op-surface)!important;
 padding:clamp(17px,3vw,28px)!important;margin:0 0 var(--op-s4)!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-filter-grid,.mtwm-cf-field-inline){gap:12px!important;}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(label,.mtwm-field label,.mtwm-cf-field label){font:650 .93rem/1.4 var(--sans)!important;color:var(--op-text)!important;margin-bottom:7px!important;}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(input:not([type=checkbox]):not([type=radio]),select,textarea){
 min-height:48px!important;background:#fff!important;color:var(--op-text)!important;border:1px solid #829087!important;
 border-radius:2px!important;box-shadow:none!important;font:400 1rem/1.5 var(--sans)!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(button,.mtwm-button,.mtwm-btn,.mtwm-pill,.ndh-btn,.mtwm-cf-submit){
 min-height:44px!important;box-shadow:none!important;transform:none!important;
 border-radius:3px!important;font-family:var(--sans)!important;text-decoration:none!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-button,.ndh-btn-primary,.mtwm-cf-submit){
 background:var(--op-text)!important;color:#fff!important;border:1px solid var(--op-text)!important;
}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-chips,.mtwm-pills,.mtwm-cf-chip,.mtwm-filter-tags){gap:8px!important;box-shadow:none!important;}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-nav,.mtwm-place-tabs,.mtwm-toc,.ndh-pager){
 border:0!important;border-bottom:1px solid var(--op-rule)!important;background:transparent!important;
 border-radius:0!important;box-shadow:none!important;margin-bottom:var(--op-s4)!important;
}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-nav,.mtwm-place-tabs,.mtwm-toc,.ndh-pager) a{
 border:0!important;border-radius:0!important;background:transparent!important;text-decoration:none!important;
 font:.95rem/1.5 var(--sans)!important;min-height:44px;display:inline-flex;align-items:center;
}
/* 7. Photos and sections follow editorial rhythm, and absent media consumes NO space. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-gallery,.mtwm-curated-gallery){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-gallery .ph,.mtwm-curated-gallery figure){border:0!important;box-shadow:none!important;background:transparent!important;}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-gallery img,.mtwm-curated-gallery img){object-fit:cover;border:0!important;border-radius:2px!important;box-shadow:none!important;}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-place-gallery .ph:empty,.mtwm-place-gallery .grid:empty,.mtwm-curated-gallery__grid:empty){display:none!important;}
/* 8. Learning content: quick answer, explanation, action and sources feel like one publication. */
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap :is(.ndh-cover,.ndh-article-main,.ndh-article-rail){min-width:0;}
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap .ndh-article{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(260px,.75fr)!important;gap:clamp(28px,5vw,70px)!important;align-items:start;}
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap :is(.ndh-article-main,.ndh-articlebody){max-width:var(--op-article);}
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap .ndh-railcard{padding:20px 0!important;background:transparent!important;border-radius:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap .ndh-sectionhead{padding-block:0 24px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap .ndh-tile{border-radius:0!important;box-shadow:none!important;background:transparent!important;}
/* 9. Community: distinction between submitting and reading, with no double-card shells. */
body.mtwm-editorial-view .mtwm-shell .mtwm-cf-wrap{max-width:var(--op-outer)!important;margin-inline:auto!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-cf-wrap :is(.mtwm-cf-module,.mtwm-cf-thread-card,.mtwm-cf-card){border:0!important;border-bottom:1px solid var(--op-rule)!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-cf-wrap :is(.mtwm-cf-heading,.mtwm-cf-head-title){font:400 var(--op-step-2)/1.24 var(--serif)!important;margin:0 0 var(--op-s2)!important;}
/* 10. Journal and story reading widths, author/date readability. */
body.mtwm-editorial-view .mtwm-shell .mtwm-journal__heading :is(h1,h2){font:400 var(--op-step-3)/1.12 var(--serif)!important;letter-spacing:-.043em!important;margin:0 0 18px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-story .content-heading{font:400 clamp(2.25rem,3.55vw,3.45rem)/1.12 var(--serif)!important;max-width:22ch;letter-spacing:-.043em!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-story .mtwm-editorial-prose{max-width:var(--op-article)!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-story .reading-meta{font:.9rem/1.6 var(--sans)!important;color:var(--op-secondary)!important;}
/* Disambiguate texture from decoration: one subtle rule, one photo when authored. */
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub> :is(div,section)[style*="border"]{border:0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub :is(.mtwm-place-card,.mtwm-card,.ndh-tile,.mtwm-cf-card):hover{box-shadow:none!important;transform:none!important;}
@media(max-width:900px){
 body.mtwm-editorial-view .mtwm-shell .mtwm-page-main>.container{padding-block:34px 78px;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-ndhub-wrap .ndh-article{grid-template-columns:minmax(0,1fr)!important;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-grid{grid-template-columns:minmax(0,1fr)!important;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-page-heading{margin-bottom:27px;padding-bottom:25px;}
}
@media(max-width:520px){
 body.mtwm-editorial-view .mtwm-shell{--op-step-3:clamp(2.05rem,9vw,2.9rem);--op-step-2:clamp(1.45rem,6.2vw,1.9rem);--op-step-1:1.14rem;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link{grid-template-columns:96px minmax(0,1fr)!important;gap:15px!important;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-media{width:96px!important;}
 body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-filter-wrap,.mtwm-filter-bar,.mtwm-cf-form){padding:17px!important;}
}
@media(prefers-reduced-motion:reduce){body.mtwm-editorial-view .mtwm-shell *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important;}}
/* Plugin-owned venue/service single routes may bypass page.php. They still use
   WordPress get_header()/get_footer(), so they receive this same publication frame. */
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > :is(.mtwm-place-page,.mtwm-single,.mtwm-hub-page,.mtwm-wrap){
 width:min(var(--op-outer),calc(100% - 44px))!important;margin:clamp(38px,5vw,72px) auto 95px!important;
 padding:0!important;max-width:var(--op-outer)!important;min-width:0;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page>.mtwm-place-hero{
 background:transparent!important;border:0!important;border-bottom:1px solid var(--op-rule)!important;
 box-shadow:none!important;border-radius:0!important;padding:0 0 35px!important;margin:0 0 40px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page>.mtwm-place-hero h1{
 font:400 var(--op-step-3)/1.12 var(--serif)!important;letter-spacing:-.043em!important;
 color:var(--op-text)!important;max-width:22ch!important;margin:0 0 20px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page :is(.mtwm-section-card,.mtwm-mini-card){
 border:0!important;border-bottom:1px solid var(--op-rule)!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;padding:24px 0!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page :is(h2,.mtwm-section-card h2){
 font:400 var(--op-step-2)/1.24 var(--serif)!important;letter-spacing:-.02em!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page :is(.mtwm-place-grid,.mtwm-place-sections){gap:clamp(18px,3vw,40px)!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-content-start > .mtwm-place-page :is(.mtwm-place-gallery,.mtwm-place-grid,.mtwm-place-sections){margin-block:35px!important;}
/* The user can always locate the relationship between an interactive control and its label. */
body.mtwm-editorial-view .mtwm-shell .article-body--hub [class*="scorecard"] :is(h2,h3),
body.mtwm-editorial-view .mtwm-shell .article-body--hub [class*="review"] :is(h2,h3){margin-bottom:16px!important;}
body.mtwm-editorial-view .mtwm-shell .article-body--hub :is(.mtwm-pill,.mtwm-chip,.mtwm-badge){font-size:.88rem!important;letter-spacing:0!important;}
/* Final structural authority over original MTWM selectors: intentionally more
 * specific than old imported plugin !important declarations. */
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-hub-directory .mtwm-card,
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card {
 background:transparent!important;border:0!important;border-bottom:1px solid var(--op-rule)!important;
 border-radius:0!important;box-shadow:none!important;outline:0!important;margin:0!important;
 padding:clamp(23px,3vw,35px) 0!important;transform:none!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-hub-directory .mtwm-card :is(.mtwm-media,.mtwm-card-body),
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card>.inner{
 background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:0 clamp(28px,4vw,55px)!important;align-items:start;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub :is(.mtwm-filter-grid,.mtwm-field,.mtwm-cf-field){min-width:0;}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub :is(.mtwm-field,.mtwm-cf-field) label{display:block!important;position:static!important;margin:0 0 9px!important;}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub :is(.mtwm-field,.mtwm-cf-field) :is(input,select){width:100%!important;max-width:100%!important;}
@media(max-width:780px){
 body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-grid{grid-template-columns:minmax(0,1fr)!important;}
 body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:520px){body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-filter-grid{grid-template-columns:minmax(0,1fr)!important;}}
/* Long-form comprehension: space after one thought before introducing another. */
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body :is(p,ul,ol,blockquote) + h2{margin-top:clamp(32px,4vw,54px)!important;}
/* Empty images or their wrappers disappear, without orphaned decorative boxes. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-photo-wrapper,.mtwm-media,.ndh-cover-media):empty {display:none!important;}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-gallery-no-images,.mtwm-media-unavailable,.mtwm-empty-media){display:none!important;}
/* Place Photos imported callouts should read as editorial text, not a second card
   inside each result. Link affordance is preserved on the actual action only. */
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card .why,
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card .mtwm-review{
 background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;padding:0!important;margin:14px 0 16px!important;text-align:left!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card .tag{
 border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
 padding:2px 12px 2px 0!important;margin:0!important;font:.85rem/1.55 var(--sans)!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-editorial-page .article-body--hub .mtwm-full-block .mtwm-place-card .mtwm-pills{
 display:flex!important;justify-content:flex-start!important;gap:10px!important;flex-wrap:wrap;margin:16px 0 0!important;
}

/* Audited 1.9: venue details, headings and practical information. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-single,.mtwm-place-page){
 width:min(100%,var(--op-outer))!important;min-width:0!important;overflow-wrap:normal!important;
}
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-single,.mtwm-place-page) :is(.mtwm-mag,.mtwm-layout,.mtwm-sidebar,.mtwm-main,.mtwm-prep-grid,.mtwm-advice-grid,.mtwm-place-grid,.mtwm-place-sections){min-width:0!important;max-width:100%;}
body.mtwm-editorial-view .mtwm-shell .mtwm-single .mtwm-prep-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:clamp(18px,3vw,34px)!important;align-items:start!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-single .mtwm-prep-grid > :is(.mtwm-card,div,section){
 min-width:0!important;width:auto!important;max-width:none!important;
 border:0!important;border-top:1px solid var(--op-rule)!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;padding:20px 0 0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-single .mtwm-prep-grid :is(h2,h3){
 font:400 clamp(1.3rem,2vw,1.75rem)/1.25 var(--serif)!important;
 letter-spacing:-.025em!important;max-width:24ch;margin:0 0 15px!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-single :is(.mtwm-section,.mtwm-scorecard,.mtwm-essentials,.mtwm-advice,.mtwm-research){
 min-width:0!important;box-shadow:none!important;border-radius:0!important;
 background:transparent!important;border:0!important;border-top:1px solid var(--op-rule)!important;
 padding:clamp(18px,2.5vw,27px) 0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-single :is(.mtwm-prep-grid,.mtwm-advice-grid) :is(li,p){
 line-height:1.65!important;overflow-wrap:normal!important;word-break:normal!important;
}
/* Ensure long venue URLs never create overflow; do not fracture ordinary words. */
body.mtwm-editorial-view .mtwm-shell :is(.mtwm-single,.mtwm-hub-directory) :is(a[href^="http"],.mtwm-long-url){overflow-wrap:anywhere;}
/* Accessibility and reading: preserve controls, but remove button-on-button visual stacking. */
body.mtwm-editorial-view .mtwm-shell .mtwm-single :is(summary,.mtwm-tab,.mtwm-jump a){
 min-height:44px;box-shadow:none!important;border-radius:0!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link .mtwm-body :is(h3,p){
 overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
@media(max-width:680px){
 body.mtwm-editorial-view .mtwm-shell .mtwm-single .mtwm-prep-grid{grid-template-columns:minmax(0,1fr)!important;}
 /* In narrow viewports, an image is placed above the whole text column. */
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:has(> .mtwm-media img:not(.mtwm-image-unavailable)){
  grid-template-columns:minmax(0,1fr)!important;
 }
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:has(> .mtwm-media img:not(.mtwm-image-unavailable)) > .mtwm-media{
  grid-column:1/-1!important;grid-row:1!important;width:100%!important;max-height:none!important;aspect-ratio:16/9!important;
 }
 body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:has(> .mtwm-media img:not(.mtwm-image-unavailable)) > .mtwm-body{
  grid-column:1/-1!important;grid-row:2!important;
 }
}
/* Final audited no-photo state: score is informational text, not an orphan button. */
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) {
 row-gap:6px!important;
}
body.mtwm-editorial-view .mtwm-shell .mtwm-hub-directory .mtwm-card-link:not(:has(> .mtwm-media img:not(.mtwm-image-unavailable))) > .mtwm-media .mtwm-pill-score {
 border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;
 padding:0!important;min-height:0!important;height:auto!important;line-height:1.4!important;
}
