/*
Theme Name: NEMT Help - Northeast Montana Resource Hub
Author: NEMT Help Project
Description: Fully editable WordPress block theme for northeast Montana's community resource directory and county landing pages. Includes native Site Editor, three launch communities, searchable provider directory, public 988 download library, county-specific restricted campaign rooms and private placement tracker.
Version: 4.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: nemt-help-blocks
License: GPL-2.0-or-later
*/
:root{--dc-forest:#173e39;--dc-deep:#10332e;--dc-cream:#f8f6f0;--dc-paper:#fffefa;--dc-ink:#243d38;--dc-muted:#5c716c;--dc-rust:#b85e43;--dc-gold:#f1ce86;--dc-sage:#eaf0e8}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--dc-paper);color:var(--dc-ink);margin:0;overflow-x:hidden}
a{transition:color .18s ease,background-color .18s ease}
a:hover{text-decoration:underline}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid #cb9346;outline-offset:3px}
.wp-site-blocks{overflow:hidden}
.wp-site-blocks>*{margin-block-start:0}
.wp-block-post-content{margin-block-start:0}
.wp-block-post-content>:first-child{margin-block-start:0}
.wp-block-post-content>.alignfull{margin-block-start:0;margin-block-end:0}
.wp-block-template-part{margin-block-start:0}
.wp-block-buttons{gap:12px}
.wp-block-button .wp-block-button__link{display:inline-flex;gap:8px;align-items:center;min-height:44px;justify-content:center;line-height:1.25;text-decoration:none}
.wp-block-button .wp-block-button__link:hover{background:#285d54;text-decoration:none}
.wp-block-button.is-style-outline .wp-block-button__link{border-color:var(--dc-forest);color:var(--dc-forest);background:transparent}
.wp-block-button.is-style-outline .wp-block-button__link:hover{background:#e2e9dd}
.dc-btn-text .wp-block-button__link{background:transparent!important;color:var(--dc-forest)!important;padding-left:3px!important;padding-right:3px!important}
.dc-btn-text .wp-block-button__link:hover{background:transparent!important;text-decoration:underline}
/* Editable emergency strip, header, navigation */
.dc-topbar{background:var(--dc-deep);color:#eef4ec;padding:10px 24px}
.dc-topbar-inner{max-width:1170px;margin:auto;display:flex;justify-content:space-between;gap:12px;align-items:center}
.dc-topbar p{margin:0;font-size:12px;color:#e8f2eb;line-height:1.55}
.dc-topbar strong{color:var(--dc-gold)}
.dc-topbar a{color:#fff;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap}
.dc-topbar a:hover{text-decoration:underline}
.dc-emergency-links{gap:16px!important;white-space:nowrap}
.dc-header{background:var(--dc-paper);padding:19px 24px;border-bottom:1px solid #e6ebe4;position:relative;z-index:10}
.dc-header-inner{max-width:1170px;margin:auto;gap:22px;justify-content:space-between!important}
.dc-brand{gap:12px!important;flex-shrink:0}
.dc-brand-symbol{background:var(--dc-forest);color:var(--dc-gold)!important;width:49px;height:49px;border-radius:12px;margin:0!important;display:flex;align-items:center;justify-content:center;font-size:30px;line-height:1}
.dc-brand-name{font:800 15px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important;letter-spacing:1.1px;color:var(--dc-forest);margin:0!important;text-transform:uppercase}
.dc-brand-subtitle{color:var(--dc-forest);font-size:9px;font-weight:750;letter-spacing:.8px;text-transform:uppercase;margin:3px 0 0!important;line-height:1.32}
.dc-header .wp-block-navigation{font-size:12px;font-weight:700;gap:19px}
.dc-header .wp-block-navigation a{color:var(--dc-ink);text-decoration:none}
.dc-header .wp-block-navigation a:hover{color:var(--dc-rust);text-decoration:none}
.dc-header .wp-block-navigation .current-menu-item>a{color:var(--dc-rust)}
.dc-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px;background:var(--dc-paper);color:var(--dc-forest);z-index:9999}
.dc-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:17px}
/* Front page */
.dc-kicker{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--dc-rust)!important;font-weight:800;margin:0 0 20px!important}
.dc-kicker:before{content:'';display:inline-block;width:26px;height:1px;background:currentColor;margin:0 12px 3px 0}
.dc-hero{background:var(--dc-cream);padding:65px 24px 70px}
.dc-hero-inner{gap:5%!important;margin:auto;align-items:center!important}
.dc-hero-copy{flex-basis:49%!important}
.dc-hero-title{font-family:Georgia,serif!important;font-size:clamp(43px,5vw,68px)!important;line-height:1.09;letter-spacing:-1.8px;margin:0 0 26px!important;font-weight:400}
.dc-hero-copy .dc-lead{margin-bottom:22px}
.dc-lead{color:var(--dc-muted);font-size:16px;line-height:1.85;max-width:790px}
.dc-hero-footnote{color:#71827a;font-size:12px;margin:22px 0 0!important}
.dc-hero-footnote strong{color:var(--dc-rust);font-size:20px;vertical-align:middle}
.dc-hero-media{flex-basis:48%!important;position:relative}
.dc-hero-image{margin:0!important;height:467px;box-shadow:0 20px 38px rgba(23,62,57,.13);overflow:hidden;border-radius:6px;background:#b2bdad}
.dc-hero-image img{display:block;width:100%;height:100%;object-fit:cover}
.dc-image-sticker{position:absolute;bottom:25px;left:24px;background:#faf7ec;padding:15px 22px;transform:rotate(-3deg);box-shadow:4px 7px 0 rgba(21,44,37,.20);font:800 23px/1.03 Georgia,serif;color:var(--dc-forest);width:172px;margin:0!important}
.dc-image-sticker:before{content:'✳   WE ARE';display:block;font:800 11px/2 Arial,sans-serif;letter-spacing:1.1px;color:var(--dc-rust)}
.dc-section{padding:73px 24px 77px}
.dc-section>*{max-width:1170px}
.dc-section h2,.dc-light-section h2,.dc-dark-section h2{font-size:clamp(33px,4vw,50px);letter-spacing:-1.4px;line-height:1.15;margin:0 0 20px;font-weight:400}
.dc-section h3{font-size:clamp(25px,3vw,33px);margin:35px 0 19px;line-height:1.25;font-weight:400}
.dc-cards{margin-top:30px;gap:17px!important;align-items:stretch!important}
.dc-cards>.wp-block-column{display:flex;min-width:0}
.dc-card{background:#f1f5ef;border:1px solid #e1e9dd;border-radius:6px;padding:28px 26px 27px;min-width:0;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.dc-card.dc-white{background:white}
.dc-card .dc-card-tag{color:var(--dc-rust);font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:900;margin:0 0 29px!important}
.dc-card h3{font-size:26px;margin:0 0 14px!important;line-height:1.18}
.dc-card p:not(.dc-card-tag){color:var(--dc-muted);font-size:13px;line-height:1.75;margin-bottom:19px}
.dc-card .wp-block-buttons{margin-top:auto}
.dc-card .wp-block-button .wp-block-button__link{background:transparent!important;color:var(--dc-forest)!important;font-size:12px;padding:0!important;min-height:25px;text-align:left;justify-content:flex-start}
.dc-card .wp-block-button .wp-block-button__link:hover{text-decoration:underline!important}
.dc-card a[href^="tel:"]{font-weight:800;color:var(--dc-forest)}
.dc-sage{background:#eaf0e8}
.dc-soft{background:#f3f5ee}
.dc-prairie{background:#f2eada}
.dc-dark-section{background:var(--dc-forest);color:#e4eee5;padding:70px 24px 76px}
.dc-dark-section h2{color:white}
.dc-dark-section .dc-lead{color:#d1e0d5}
.dc-dark-section .dc-kicker{color:var(--dc-gold)!important}
.dc-dark-section .wp-block-button:not(.is-style-outline) .wp-block-button__link{background:#faf7ed;color:var(--dc-forest)}
.dc-dark-section .wp-block-button.is-style-outline .wp-block-button__link{border-color:#bbcfc6;color:white;background:transparent}
.dc-dark-section a:not(.wp-block-button__link){color:white}
.dc-audience{margin:24px 0 0!important;gap:11px!important}
.dc-audience>.wp-block-column{background:var(--dc-paper);border-radius:4px;padding:14px}
.dc-audience p{font-size:12px;font-weight:700;color:var(--dc-forest);margin:0!important}
.dc-audience p:before{content:'✳';color:var(--dc-rust);margin-right:8px}
.dc-page-banner{background:var(--dc-cream);padding:54px 24px 58px}
.dc-page-banner h1{font-size:clamp(44px,6vw,72px);letter-spacing:-2.2px;line-height:1.09;margin:0}
.dc-page-banner .dc-kicker{margin-bottom:16px!important}
.dc-page-body{padding:63px 24px 90px}
.dc-page-body>*{max-width:1170px}
.dc-page-body h2{font-size:clamp(30px,3.7vw,46px);margin:0 0 22px}
.dc-page-body h3{font-size:30px;margin:45px 0 20px}
.dc-page-body p{line-height:1.8}
.dc-page-body .dc-card p{line-height:1.7}
.dc-divider{border-top:1px solid #e0e8df;margin-top:60px!important;padding-top:38px}
.dc-callout{background:var(--dc-sage);padding:26px 30px;border-radius:6px;margin:30px auto}
.dc-callout h3{margin-top:0}
.dc-warning{background:#f9ece1;border-left:4px solid #c06e4d;padding:22px 28px;margin:26px auto;color:#61483e}
.dc-smallprint{font-size:12px;color:#6e8078;line-height:1.65}
.dc-news-grid{gap:18px!important}
.dc-news-card{background:#f1f5ef;padding:22px;border-radius:5px}
.dc-news-card .wp-block-post-title{font:400 25px/1.25 Georgia,serif}
.dc-news-card .wp-block-post-date{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--dc-rust)}
.dc-article-title{font-size:clamp(38px,5vw,63px);margin:0}
.dc-article{padding:60px 24px 90px}
.dc-article>.wp-block-post-content{max-width:820px}
/* Footer always editable in Appearance > Editor */
.dc-footer{background:var(--dc-deep);color:#dbe5dc;padding:55px 24px 22px}
.dc-footer .dc-footer-inner{max-width:1170px;gap:5%!important}
.dc-footer h3{font:800 15px/1.35 Arial,sans-serif;letter-spacing:1px;color:white;margin:0 0 15px}
.dc-footer h4{font:800 12px/1.3 Arial,sans-serif;letter-spacing:1.1px;text-transform:uppercase;color:var(--dc-gold);margin:0 0 16px}
.dc-footer p{font-size:12px;line-height:1.8;color:#bbccc3;margin-bottom:12px}
.dc-footer a{color:white;text-decoration:none;font-size:12px}
.dc-footer a:hover{text-decoration:underline}
.dc-footer .dc-footer-link{margin-bottom:6px!important}
.dc-footer .dc-footer-big{font:400 56px Georgia,serif;color:var(--dc-gold);margin:0!important;line-height:1.1}
.dc-footer-bottom{border-top:1px solid #426259;max-width:1170px;margin:35px auto 0;padding-top:18px}
.dc-footer-bottom p{font-size:11px;color:#b5cbbf}
/* Form shortcode is configured from Dashboard > Daniels Site */
.dc-form-wrap{max-width:900px!important;margin:30px auto;background:#f2f5ef;padding:28px;border:1px solid #e1e9de;border-radius:6px}
.dc-form-wrap label{display:block;color:var(--dc-forest);font-weight:800;font-size:12px;margin:0 0 7px}
.dc-form-wrap input[type=text],.dc-form-wrap input[type=email],.dc-form-wrap textarea,.dc-form-wrap select{width:100%;max-width:100%;padding:13px;border:1px solid #c7d6cc;border-radius:4px;background:white;font:14px Arial,sans-serif;color:#263e35}
.dc-form-wrap .dc-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dc-form-field{margin-bottom:18px}
.dc-form-wrap textarea{min-height:145px;resize:vertical}
.dc-form-wrap input[type=checkbox]{width:auto}
.dc-form-wrap .dc-check{display:flex;gap:10px;align-items:flex-start;line-height:1.5;margin:10px 0 20px;font-size:12px;color:var(--dc-muted)}
.dc-form-wrap .dc-check label{font-weight:400}
.dc-form-wrap button{background:var(--dc-forest);border:0;border-radius:4px;color:white;font-weight:800;font-size:13px;padding:15px 24px;cursor:pointer}
.dc-form-wrap button:hover{background:#285d54}
.dc-form-wrap .dc-honeypot{position:absolute;left:-99999px;opacity:0;pointer-events:none}
.dc-form-status{padding:15px;border-left:4px solid var(--dc-rust);background:#fbf2e9;color:#60452e;margin-bottom:22px}
.dc-form-status.success{border-left-color:#527e59;background:#eaf3e6;color:#245132}
.dc-form-wrap .dc-smallprint{margin-top:18px}
/* Keyboard jump link */
.dc-skip{position:absolute;left:-9999px;top:0;z-index:99999}
.dc-skip:focus{left:10px;top:10px;background:#fff;padding:10px}
/* Phone and tablet */
@media(max-width:1030px){.dc-header .wp-block-navigation{gap:10px;font-size:11px}.dc-header-inner{flex-wrap:wrap}.dc-brand{margin-right:auto}}
@media(max-width:800px){
 .dc-hero{padding:52px 23px 45px}.dc-hero-inner{display:flex!important;flex-direction:column;align-items:stretch!important;gap:27px!important}.dc-hero-copy,.dc-hero-media{flex-basis:auto!important;width:100%}.dc-hero-title{font-size:clamp(43px,9vw,60px)!important;letter-spacing:-1.7px}.dc-hero-image{height:360px}
 .dc-topbar-inner{flex-wrap:wrap;justify-content:center;text-align:center}.dc-topbar p{font-size:11px}.dc-header{padding:13px 23px}.dc-header-inner{flex-wrap:nowrap}.dc-brand-name{font-size:13px}.dc-brand-subtitle{font-size:8px}.dc-brand-symbol{width:42px;height:42px}
 .dc-section,.dc-page-body,.dc-dark-section{padding:54px 23px 64px}.dc-page-banner{padding:48px 23px}.dc-cards{flex-wrap:wrap!important}.dc-cards>.wp-block-column{flex-basis:100%!important}.dc-footer{padding:45px 23px 22px}.dc-footer-inner{flex-direction:column!important;gap:22px!important}
 .dc-form-wrap .dc-form-row{grid-template-columns:1fr}.dc-form-wrap{padding:20px}.dc-audience>.wp-block-column{flex-basis:calc(50% - 12px)!important}
}
@media(max-width:440px){.dc-brand-name{font-size:11.5px}.dc-brand-subtitle{font-size:7px}.dc-brand{gap:7px!important}.dc-header .wp-block-navigation{margin-left:auto}.dc-hero-image{height:315px}.dc-image-sticker{transform:rotate(-3deg) scale(.84);transform-origin:bottom left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* NEMT Help regional hub refinements */
.dc-brand-name{font-size:22px!important;letter-spacing:-.6px!important;text-transform:none!important;font-weight:850!important}
.dc-brand-subtitle{font-size:9px!important;letter-spacing:1.25px!important}
.nemt-county-cards{gap:18px!important;margin-top:26px}
.nemt-county-card{background:#f0f4ee;border:1px solid #dbe7db;border-radius:10px;padding:30px 29px;height:100%;display:flex;flex-direction:column}
.nemt-county-card h3{font-size:33px;margin:0 0 13px;font-weight:400}
.nemt-county-card .dc-kicker{margin-bottom:18px!important}
.nemt-county-card p{color:#506a61;font-size:14px;line-height:1.8}
.nemt-county-card .wp-block-buttons{margin-top:auto}
.nemt-link-button a{min-height:42px;display:inline-block;padding:10px 18px;background:#173e39;border-radius:4px;color:white!important;text-decoration:none;font-size:13px;font-weight:750}
.nemt-link-button a:hover{background:#275d55;text-decoration:none}
.nemt-offline{font-size:13px;background:#fff6e8;padding:12px 15px;border-left:3px solid #ad7843;color:#654a30;border-radius:3px;display:block}
.nemt-resource-wrap{max-width:1170px!important;margin:26px auto 10px}
.nemt-resource-form{background:#f3f6ef;border:1px solid #dce5db;padding:22px 24px;border-radius:8px;display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:14px;align-items:end}
.nemt-resource-form label{font-size:11px;font-weight:850;display:block;margin-bottom:6px;color:#2c5044}
.nemt-resource-form input,.nemt-resource-form select{padding:12px 10px;border:1px solid #becfc3;width:100%;border-radius:4px;background:white;min-height:44px;color:#203d33;font-size:13px}
.nemt-resource-form button{height:44px;background:#173e39;border:0;border-radius:4px;color:white;padding:0 17px;font-weight:800;font-size:13px;cursor:pointer}
.nemt-resource-form button:hover{background:#286359}
.nemt-resource-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:23px}
.nemt-resource-card{border:1px solid #dfe8df;background:white;border-radius:7px;padding:24px 26px;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.nemt-resource-card .nemt-tags{font-size:10px;line-height:1.4;letter-spacing:1px;text-transform:uppercase;color:#ac6248;font-weight:850;margin:0 0 12px}
.nemt-resource-card h3{font-size:26px!important;line-height:1.25;margin:0 0 12px!important}
.nemt-resource-card p{font-size:13px;line-height:1.73;color:#5c716c;margin:0 0 12px}
.nemt-resource-card .nemt-address{font-size:12px;color:#62736b}
.nemt-resource-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:13px;align-items:center;padding-top:13px}
.nemt-resource-actions a{font-weight:800;color:#20483d;font-size:12px;text-decoration:none}
.nemt-resource-actions a:hover{text-decoration:underline}
.nemt-resource-actions a:first-child{background:#e9efe7;padding:9px 12px;border-radius:4px}
.nemt-resource-count{color:#66786f;font-size:12px;margin:15px 0 0}
.nemt-no-results{padding:30px;background:#f3f6ef;border:1px solid #dce5db;border-radius:8px;margin-top:20px}
.nemt-page-navigation{display:flex;gap:10px;align-items:center;justify-content:center;padding:25px}
.nemt-page-navigation a,.nemt-page-navigation span{display:inline-block;padding:8px 13px;border-radius:4px;background:#edf2ea;color:#1a4638;text-decoration:none}
.nemt-page-navigation .current{background:#173e39;color:white}
.dc-resource-small{font-size:11px;color:#72857d;line-height:1.7}
.dc-header .wp-block-navigation a{font-weight:750}
.dc-header .wp-block-navigation a[href$="/find-help/"]{color:#b65e43}
@media(max-width:850px){.nemt-resource-form{grid-template-columns:1fr 1fr}.nemt-resource-results{grid-template-columns:1fr}.nemt-county-cards{flex-direction:column}}
@media(max-width:530px){.nemt-resource-form{grid-template-columns:1fr}.nemt-county-card{padding:23px}.nemt-resource-card{padding:22px}.dc-brand-name{font-size:19px!important}}

/* Correct the tagline on the prairie illustration for the regional hub. */
.dc-image-sticker:before{content:"NEMT HELP"}

/* Phase 1: three locations, material library, partner pages */
.dc-feature-section{background:#f0f4eb}
.dc-feature-section .wp-block-column{min-width:0}
.dc-card .dc-card-eyebrow{font:800 10px Arial,sans-serif;color:var(--dc-rust);letter-spacing:1.4px;text-transform:uppercase;margin-bottom:17px}
.dc-card h3 a{text-decoration:none}
.dc-card h3 a:hover{text-decoration:underline}
.dc-feature-grid{gap:16px!important}
.dc-feature-grid>.wp-block-column{display:flex;flex-basis:0;min-width:0}
.dc-steps{padding:25px 25px 12px;border:1px solid #e2e8df;background:#f4f7f0;border-radius:7px}
.dc-steps p{line-height:1.75}
.dc-pills{display:flex;flex-wrap:wrap;gap:10px!important}
.dc-pills a{display:inline-block;background:#ebf1ea;border:1px solid #dbe7dd;border-radius:40px;text-decoration:none;padding:10px 15px;font-size:13px;color:var(--dc-forest);font-weight:750}
.dc-pills a:hover{background:#d5e2d5}
.dc-local-links{padding:18px 24px;background:#edf3eb;border:1px solid #d8e5d8;border-radius:6px}
.dc-local-links p{font-size:14px;line-height:1.7}
.dc-location-hero{background:var(--dc-cream)}
.dc-location-hero .dc-kicker{margin-bottom:18px}
.dc-small-link{font-size:12px;color:var(--dc-muted)}
.nemt-download-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:23px 0 20px}
.nemt-download-card{background:#f2f6ef;border:1px solid #dae7db;border-radius:7px;padding:24px;display:flex;flex-direction:column;min-width:0}
.nemt-material-label{font-size:10px;font-weight:850;letter-spacing:1.5px;text-transform:uppercase;color:var(--dc-rust)}
.nemt-download-card h3{font:400 23px/1.23 Georgia,serif;margin:17px 0 13px;color:var(--dc-forest)}
.nemt-download-card p{font-size:13px;line-height:1.7;color:var(--dc-muted);margin:0 0 18px}
.nemt-download-card a{font-size:12px;font-weight:850;margin-top:auto;text-decoration:none;color:var(--dc-forest)}
.nemt-download-card a:hover{text-decoration:underline}
.nemt-library-summary{font-size:12px;color:#5b7068;margin:15px 0 4px}
.nemt-library-filters{display:grid;grid-template-columns:1.4fr 1fr 1.1fr .9fr auto;gap:12px;align-items:end;margin:23px 0 20px;padding:18px;background:#f0f3ed;border-radius:5px}
.nemt-library-filters>div{min-width:0}
.nemt-library-filters label{display:block;font-size:11px;font-weight:800;color:var(--dc-forest);margin-bottom:7px}
.nemt-library-filters input,.nemt-library-filters select{width:100%;border:1px solid #c9d7cb;border-radius:4px;background:white;padding:11px;font:13px Arial,sans-serif;min-height:43px}
.nemt-library-filters button{border:0;border-radius:4px;padding:12px 17px;background:var(--dc-forest);color:white;font-size:12px;font-weight:800;min-height:43px;cursor:pointer}
.dc-qa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.dc-qa-grid>div{border:1px solid #dfe9e0;background:#f5f7f1;border-radius:5px;padding:20px}
.dc-qa-grid strong{color:var(--dc-forest);font-size:15px}
.dc-qa-grid p{font-size:13px;color:var(--dc-muted);margin-bottom:0}
.dc-location-jump{padding:15px 24px 25px;margin-top:28px;background:#f0f4ec;border-radius:6px}
.dc-location-jump ul{margin:0;display:flex;flex-wrap:wrap;gap:12px 26px;list-style:none;padding:0}
.dc-location-jump a{font-size:13px;font-weight:800;color:var(--dc-forest)}
.dc-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.65;margin-top:22px}
.dc-table th,.dc-table td{text-align:left;border-bottom:1px solid #d9e3da;padding:14px;vertical-align:top}
.dc-table th{background:var(--dc-forest);color:white}
.dc-table tr:nth-child(even){background:#f4f7f1}
.dc-placement-note{background:#faf0e4;border-left:4px solid var(--dc-rust);padding:20px 25px}
.dc-placement-note p{font-size:13px}
@media(max-width:960px){.nemt-library-filters{grid-template-columns:repeat(2,1fr)}.nemt-download-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.dc-feature-grid>.wp-block-column{flex-basis:100%;}.dc-qa-grid{grid-template-columns:1fr}.dc-location-jump ul{display:block;}.dc-location-jump li{margin:8px 0}}
@media(max-width:610px){.nemt-library-filters{grid-template-columns:1fr}.nemt-download-grid{grid-template-columns:1fr}.dc-table{display:block;overflow-x:auto;white-space:normal}.dc-table th,.dc-table td{min-width:130px}}

/* Version 4: restricted campaign review portal */
.nemt-group-files{margin:24px 0 30px;padding:23px;background:#e9f0e8;border:1px solid #c8d9cc;border-radius:8px}
.nemt-group-files>h3{margin:0 0 9px!important;font:400 27px/1.2 Georgia,serif;color:#173e39}
.nemt-group-files>p{font-size:13px;line-height:1.7;color:#4b695c;margin:0 0 15px}
.nemt-group-files .nemt-download-grid{margin-bottom:0}
.nemt-group-login{color:#fff!important;background:#173e39;padding:11px 16px;display:inline-block;border-radius:5px;font-weight:800;text-decoration:none}
.nemt-group-login:hover{background:#286456}
.nemt-waiting{display:block;margin-top:auto;color:#6b6559;font-size:12px;font-weight:750}

/* Optional per-poster browser: no broken links before file upload / approvals */
.nemt-poster-browser{margin:16px 0 30px;background:#f1f5ed;border:1px solid #d5e3d8;border-radius:7px}
.nemt-poster-browser summary{display:flex;flex-direction:column;gap:6px;cursor:pointer;padding:17px 21px;color:#173e39;font-size:14px}
.nemt-poster-browser summary span{font-size:12px;font-weight:400;color:#556d60}
.nemt-poster-list{padding:4px 18px 16px;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.nemt-poster-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid #dae5d9;border-radius:4px;padding:11px 13px;font-size:12px;color:#234637}
.nemt-poster-row span{overflow-wrap:anywhere}
.nemt-poster-row a{white-space:nowrap;font-size:12px;font-weight:800;color:#173e39;text-decoration:none}
@media(max-width:700px){.nemt-poster-list{grid-template-columns:1fr}.nemt-poster-row{flex-wrap:wrap}}
