/* Nomadeer editorial interior layouts. All selectors are scoped to the plugin's shell. */
body.nm-editorial-body {margin:0; padding:0; background:#fff;}
#nm-page {min-height:100vh; display:flex; flex-direction:column;}
#nm-page #nm-main {flex:1; min-width:0;}
#nm-page .nm-interior-hero {padding-top:76px; padding-bottom:68px; border-bottom:1px solid var(--nm-line);}
#nm-page .nm-interior-hero--about {padding-top:100px; padding-bottom:83px;}
#nm-page .nm-interior-hero--contact {padding-bottom:54px;}
#nm-page .nm-interior-hero--compact {padding-block:71px 61px;}
#nm-page .nm-interior-hero .nm-section-kicker {font-size:11px; margin-bottom:21px;}
#nm-page .nm-interior-hero h1 {font-size:clamp(40px,5.25vw,76px); line-height:1.09; letter-spacing:-.065em; max-width:900px;}
#nm-page .nm-interior-hero--compact h1 {font-size:clamp(37px,4.2vw,62px);}
#nm-page .nm-interior-deck {max-width:710px; margin-top:23px; font-size:clamp(16px,1.45vw,20px); line-height:1.75; color:var(--nm-muted);}
#nm-page .nm-about-principles-wrap {background:var(--nm-warm); border-bottom:1px solid #ecebe4;}
#nm-page .nm-about-principles {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding-block:37px 42px; gap:38px;}
#nm-page .nm-about-principles > div {padding-right:26px; border-right:1px solid #e2e1da;}
#nm-page .nm-about-principles > div:last-child {border-right:0;}
#nm-page .nm-about-principles span, #nm-page .nm-sidebar-eyebrow {display:block; color:var(--nm-orange); font-size:10px; font-weight:800; letter-spacing:.11em; margin-bottom:13px;}
#nm-page .nm-about-principles strong {display:block; font-size:18px; font-family:Manrope,'DM Sans',sans-serif; letter-spacing:-.04em;}
#nm-page .nm-about-principles p {font-size:13px; line-height:1.75; color:var(--nm-muted); margin-top:7px;}
#nm-page .nm-interior-layout {display:grid; grid-template-columns:minmax(0,760px) minmax(245px,1fr); gap:clamp(46px,6vw,110px); align-items:start; padding-block:75px 90px;}
#nm-page .nm-interior-sidebar {position:sticky; top:125px; min-width:0;}
#nm-page .nm-sidebar-panel {padding:27px 25px; border:1px solid var(--nm-line); margin-bottom:18px; background:#fff;}
#nm-page .nm-sidebar-panel h2 {font-size:19px; line-height:1.32; letter-spacing:-.04em;}
#nm-page .nm-sidebar-panel p {color:var(--nm-muted); font-size:13px; line-height:1.78; margin-top:14px;}
#nm-page .nm-sidebar-panel--links {background:var(--nm-warm); border:0;}
#nm-page .nm-sidebar-panel--links h2 {margin-bottom:16px;}
#nm-page .nm-sidebar-panel--links a {display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12px; font-weight:700; border-bottom:1px solid #dddcd5; padding:12px 0;}
#nm-page .nm-sidebar-panel--links a:last-child {border-bottom:0;}
#nm-page .nm-sidebar-panel--links a:hover {color:var(--nm-orange);}
#nm-page .nm-sidebar-action {display:inline-block; margin-top:18px; padding-bottom:5px; border-bottom:1px solid var(--nm-orange); font-weight:800; font-size:12px;}
#nm-page .nm-standard-page {max-width:950px; padding-block:60px 100px;}
/* Article / Gutenberg content. Keep blocks editable in WordPress, but give them a common editorial typographic system. */
#nm-page .nm-article-content {color:#333a36; font-size:16px; line-height:1.85; overflow-wrap:anywhere;}
#nm-page .nm-article-content p {margin:0 0 23px; line-height:1.86;}
#nm-page .nm-article-content > p:first-child {font-size:18px; line-height:1.76; color:#3c4540;}
#nm-page .nm-article-content h2 {font-size:clamp(25px,2.6vw,35px); line-height:1.22; margin:49px 0 18px; padding-top:21px; border-top:1px solid var(--nm-line); letter-spacing:-.045em;}
#nm-page .nm-article-content h3 {font-size:clamp(20px,2.2vw,25px); line-height:1.32; margin:33px 0 14px;}
#nm-page .nm-article-content h4 {font-family:Manrope,'DM Sans',sans-serif; font-size:19px; margin:23px 0 12px;}
#nm-page .nm-article-content h2:first-child, #nm-page .nm-article-content h3:first-child {margin-top:0; padding-top:0; border:0;}
#nm-page .nm-article-content ul, #nm-page .nm-article-content ol {padding-left:26px; margin:9px 0 28px;}
#nm-page .nm-article-content li {margin-bottom:9px; padding-left:4px;}
#nm-page .nm-article-content li ul, #nm-page .nm-article-content li ol {margin:10px 0;}
#nm-page .nm-article-content a {color:#b93c17; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px;}
#nm-page .nm-article-content a:hover {color:var(--nm-orange);}
#nm-page .nm-article-content blockquote, #nm-page .nm-article-content .wp-block-quote {border-left:3px solid var(--nm-orange); margin:28px 0; padding:11px 0 11px 26px; color:#394a40; background:transparent;}
#nm-page .nm-article-content blockquote p {font-size:19px; font-weight:500; margin-bottom:8px;}
#nm-page .nm-article-content hr {border:0; border-top:1px solid var(--nm-line); margin:36px 0;}
#nm-page .nm-article-content :is(img,video,iframe) {max-width:100%; height:auto;}
#nm-page .nm-article-content figure {max-width:100%; margin:29px 0;}
#nm-page .nm-article-content figure img {width:auto; height:auto; border-radius:3px;}
#nm-page .nm-article-content figcaption {font-size:12px; color:var(--nm-muted); line-height:1.6; text-align:center; margin:9px 0 0;}
#nm-page .nm-article-content .wp-block-image.aligncenter img {margin-inline:auto;}
#nm-page .nm-article-content .alignleft {float:left; margin:6px 25px 20px 0;}
#nm-page .nm-article-content .alignright {float:right; margin:6px 0 20px 25px;}
#nm-page .nm-article-content .wp-block-columns {display:flex; flex-wrap:wrap; gap:22px; margin-bottom:22px;}
#nm-page .nm-article-content .wp-block-column {flex:1 1 220px; min-width:0;}
#nm-page .nm-article-content .wp-block-group {max-width:100%;}
#nm-page .nm-article-content .wp-block-buttons {display:flex; gap:12px; margin-bottom:25px; flex-wrap:wrap;}
#nm-page .nm-article-content .wp-block-button__link {display:inline-block; background:var(--nm-green); color:#fff; padding:11px 20px; text-decoration:none; border-radius:3px;}
#nm-page .nm-article-content table {border-collapse:collapse; width:100%; font-size:14px; margin:25px 0;}
#nm-page .nm-article-content th, #nm-page .nm-article-content td {padding:12px 13px; border:1px solid #dfe4dd; text-align:left; vertical-align:top;}
#nm-page .nm-article-content th {background:var(--nm-warm); font-weight:700;}
#nm-page .nm-article-content .wp-block-table {overflow-x:auto;}
#nm-page .nm-article-content pre {overflow:auto; padding:22px; background:#f3f4f1; border-radius:3px; font-size:13px; line-height:1.6;}
#nm-page .nm-article-content code {overflow-wrap:anywhere;}
#nm-page .nm-article-content .wp-block-embed iframe {width:100%;}
#nm-page .nm-interior-cta {background:var(--nm-green); color:#fff;}
#nm-page .nm-interior-cta-inner {padding-block:52px; display:flex; align-items:center; justify-content:space-between; gap:24px;}
#nm-page .nm-interior-cta h2 {font-size:clamp(25px,2.8vw,39px); color:#fff;}
#nm-page .nm-interior-cta .nm-section-kicker {color:#fac0a7; font-size:10px; margin-bottom:13px;}
#nm-page .nm-interior-cta-inner > a {border:1px solid rgba(255,255,255,.7); padding:15px 21px; font-size:12px; font-weight:800; flex-shrink:0;}
#nm-page .nm-interior-cta-inner > a:hover {background:rgba(255,255,255,.12);}
/* Contact */
#nm-page .nm-contact-layout {padding:65px 0 110px; display:grid; grid-template-columns:minmax(0,760px) minmax(255px,1fr); gap:clamp(45px,6vw,105px);}
#nm-page .nm-contact-intro {margin-bottom:31px;}
#nm-page .nm-contact-intro > p:first-child {font-size:16px;}
#nm-page .nm-contact-form {display:flex; flex-direction:column; gap:22px;}
#nm-page .nm-form-row {display:grid; grid-template-columns:1fr 1fr; gap:19px;}
#nm-page .nm-contact-form label {display:flex; flex-direction:column; font-size:12px; font-weight:800; letter-spacing:.01em; gap:9px;}
#nm-page .nm-contact-form label span {color:var(--nm-orange); display:inline;}
#nm-page .nm-contact-form :is(input:not([type=hidden]),textarea,select) {display:block; width:100%; border:1px solid #dadfd8; border-radius:2px; background:#fff; color:#222; font-size:15px; font-weight:400; padding:14px 15px; min-height:50px; outline-offset:2px;}
#nm-page .nm-contact-form :is(input,textarea,select):focus {border-color:var(--nm-orange); outline:1px solid var(--nm-orange);}
#nm-page .nm-contact-form textarea {min-height:170px; resize:vertical;}
#nm-page .nm-form-honeypot {position:absolute!important; width:1px!important; height:1px!important; left:-10000px!important; overflow:hidden!important;}
#nm-page .nm-form-privacy {font-size:12px; color:var(--nm-muted); max-width:520px; margin-top:-5px; line-height:1.7;}
#nm-page .nm-form-submit {align-self:flex-start; display:inline-flex; gap:22px; background:var(--nm-orange); border:1px solid var(--nm-orange); color:#fff; padding:14px 22px; font-size:13px; font-weight:800; line-height:1.45; border-radius:2px;}
#nm-page .nm-form-submit:hover {background:#dc481a;}
#nm-page .nm-form-notice {padding:16px 18px; border-left:3px solid; font-size:14px; line-height:1.6; margin-bottom:24px;}
#nm-page .nm-form-notice--success {background:#e7f5ed; border-color:#267946; color:#19492d;}
#nm-page .nm-form-notice--error {background:#fff1ed; border-color:#bb4d2d; color:#793721;}
#nm-page .nm-contact-aside-card {background:var(--nm-green); color:#fff; padding:30px 28px; margin-bottom:18px;}
#nm-page .nm-contact-aside-card--neutral {background:var(--nm-warm); color:var(--nm-ink);}
#nm-page .nm-contact-aside-card .nm-sidebar-eyebrow {color:#ffc1a6;}
#nm-page .nm-contact-aside-card--neutral .nm-sidebar-eyebrow {color:var(--nm-orange);}
#nm-page .nm-contact-aside-card h2 {font-size:21px; line-height:1.3;}
#nm-page .nm-contact-aside-card p {font-size:13px; line-height:1.9; color:#d2dfd7; margin-top:14px;}
#nm-page .nm-contact-aside-card--neutral p {color:var(--nm-muted);}
#nm-page .nm-contact-aside-card a {display:inline-block; font-size:12px; font-weight:800; border-bottom:1px solid var(--nm-orange); margin-top:18px; padding-bottom:4px;}
/* Single posts */
#nm-page .nm-article-head {padding-top:45px; padding-bottom:43px; max-width:980px;}
#nm-page .nm-article-breadcrumb {display:flex; align-items:center; gap:10px; font-size:11px; color:var(--nm-muted); padding-bottom:41px;}
#nm-page .nm-article-breadcrumb a {color:var(--nm-orange);}
#nm-page .nm-article-head .nm-section-kicker {margin-bottom:16px;}
#nm-page .nm-article-head h1 {max-width:940px; font-size:clamp(36px,4.6vw,66px); line-height:1.13; letter-spacing:-.061em;}
#nm-page .nm-article-deck {color:var(--nm-muted); font-size:clamp(16px,1.5vw,20px); line-height:1.75; margin-top:19px;}
#nm-page .nm-article-byline {display:flex; flex-wrap:wrap; gap:11px; align-items:center; font-size:12px; color:var(--nm-muted); margin-top:24px;}
#nm-page .nm-article-byline a {color:var(--nm-ink); font-weight:700;}
#nm-page .nm-single-cover {max-width:1100px;}
#nm-page .nm-single-cover > img {width:100%; max-height:590px; object-fit:cover; background:#e6e7e2;}
#nm-page .nm-photo-caption {font-size:11px; color:var(--nm-muted); margin-top:10px; text-align:right;}
#nm-page .nm-single-content-layout {display:grid; grid-template-columns:minmax(0,760px) minmax(225px,1fr); gap:clamp(35px,5.5vw,96px); padding-block:61px 100px; align-items:start;}
#nm-page .nm-article-sidebar {top:125px;}
#nm-page .nm-post-body > p:first-child {font-size:18px;}
#nm-page .nm-article-tags {display:flex; gap:8px; flex-wrap:wrap; margin-top:50px;}
#nm-page .nm-article-tags a {background:var(--nm-warm); font-size:11px; font-weight:700; padding:7px 13px; text-decoration:none; color:var(--nm-muted);}
#nm-page .nm-post-neighbor {display:flex; gap:30px; justify-content:space-between; margin-top:32px; padding-top:28px; border-top:1px solid var(--nm-line); font-size:12px; line-height:1.6;}
#nm-page .nm-page-links {margin-block:24px;}
#nm-page .comment-respond, #nm-page .comments-area {margin-top:55px; padding-top:22px; border-top:1px solid var(--nm-line);}
#nm-page .comments-area :is(input,textarea) {max-width:100%;}
/* Archives / search */
#nm-page .nm-archive-wrap {padding-top:52px; padding-bottom:100px;}
#nm-page .nm-archive-wrap .nm-latest-card h2 {font-size:22px; line-height:1.35;}
#nm-page .nm-archive-wrap .nm-latest-card h2 a:hover {color:var(--nm-orange);}
#nm-page .nm-pagination {display:flex; justify-content:center; margin-top:68px;}
#nm-page .nm-pagination .nav-links {display:flex; flex-wrap:wrap; align-items:center; gap:8px;}
#nm-page .nm-pagination .page-numbers {font-size:13px; display:inline-block; padding:9px 14px; border:1px solid var(--nm-line); font-weight:700;}
#nm-page .nm-pagination .current, #nm-page .nm-pagination a:hover {background:var(--nm-green); color:#fff;}
#nm-page .nm-empty-state {padding:60px 0;}
#nm-page .nm-empty-state h2 {font-size:27px;}
#nm-page .nm-empty-state p {margin-top:12px; color:var(--nm-muted);}
#nm-page .nm-not-found {padding-block:110px 140px;}
#nm-page .nm-not-found h1 {font-size:clamp(39px,5vw,70px);}
#nm-page .nm-not-found > p:not(.nm-section-kicker) {color:var(--nm-muted); font-size:18px; line-height:1.7; max-width:620px; margin:20px 0 35px;}
@media(max-width:900px){
 #nm-page .nm-interior-layout, #nm-page .nm-contact-layout, #nm-page .nm-single-content-layout {grid-template-columns:minmax(0,1fr); gap:30px;}
 #nm-page .nm-interior-sidebar, #nm-page .nm-article-sidebar {position:static; max-width:660px;}
 #nm-page .nm-interior-layout {padding-block:53px 70px;}
 #nm-page .nm-contact-layout {padding-block:50px 75px;}
 #nm-page .nm-single-content-layout {padding-block:40px 80px;}
 #nm-page .nm-about-principles {gap:22px;}
}
@media(max-width:610px){
 #nm-page .nm-interior-hero, #nm-page .nm-interior-hero--about, #nm-page .nm-interior-hero--contact {padding-top:52px; padding-bottom:46px;}
 #nm-page .nm-interior-hero--compact {padding-block:51px 42px;}
 #nm-page .nm-interior-hero .nm-section-kicker {margin-bottom:15px;}
 #nm-page .nm-interior-hero h1 {font-size:clamp(36px,10vw,50px);}
 #nm-page .nm-interior-deck {font-size:15px; margin-top:17px;}
 #nm-page .nm-about-principles {grid-template-columns:1fr; padding-block:26px 32px; gap:18px;}
 #nm-page .nm-about-principles > div {border-right:0; padding:0 0 18px; border-bottom:1px solid #e2e1da;}
 #nm-page .nm-about-principles > div:last-child {border-bottom:0; padding-bottom:0;}
 #nm-page .nm-about-principles span {margin-bottom:6px;}
 #nm-page .nm-article-content {font-size:15px; line-height:1.82;}
 #nm-page .nm-article-content > p:first-child, #nm-page .nm-post-body > p:first-child {font-size:16px;}
 #nm-page .nm-article-content h2 {margin-top:36px; padding-top:18px; font-size:25px;}
 #nm-page .nm-article-content h3 {font-size:21px;}
 #nm-page .nm-article-content .alignleft, #nm-page .nm-article-content .alignright {float:none; margin:20px 0;}
 #nm-page .nm-interior-cta-inner {display:block; padding-block:42px;}
 #nm-page .nm-interior-cta-inner > a {display:inline-block; margin-top:22px;}
 #nm-page .nm-form-row {grid-template-columns:1fr; gap:20px;}
 #nm-page .nm-article-head {padding-top:26px; padding-bottom:28px;}
 #nm-page .nm-article-head h1 {font-size:clamp(32px,9vw,47px);}
 #nm-page .nm-article-breadcrumb {padding-bottom:24px;}
 #nm-page .nm-article-byline {gap:8px;}
 #nm-page .nm-single-cover > img {max-height:370px;}
 #nm-page .nm-single-content-layout {padding-top:31px;}
 #nm-page .nm-post-neighbor {display:block;}
 #nm-page .nm-post-neighbor > div {margin-bottom:16px;}
 #nm-page .nm-archive-wrap {padding-bottom:80px;}
 #nm-page .nm-standard-page {padding-block:42px 70px;}
 #nm-page .nm-not-found {padding-block:75px;}
}
