/*
Theme Name: NHD Newsroom
Theme URI: https://nhdnew.com/
Author: nhdnew.com
Author URI: https://nhdnew.com/
Description: A responsive editorial WordPress theme for newspapers, magazines and online news portals. Features a breaking-news ticker, featured stories, category sections, sidebar widgets and advertising areas.
Version: 1.1.89
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nhdnew-newsroom
Tags: news, blog, grid-layout, custom-logo, custom-menu, featured-images, footer-widgets, right-sidebar, rtl-language-support, translation-ready
*/
:root{--ink:#17191d;--muted:#707780;--line:#e7e9ec;--paper:#fff;--soft:#f4f6f8;--accent:#c71920;--accent-dark:#a51218;--wrap:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto;display:block}button,input{font:inherit}.wrap{width:min(var(--wrap),calc(100% - 36px));margin-inline:auto}.topbar{background:#17191d;color:#d9dde2;font-size:12px}.topbar-inner{display:flex;justify-content:space-between;gap:18px;align-items:center;min-height:34px}.topbar a{color:#fff}.masthead{padding:23px 0 19px;border-bottom:1px solid var(--line)}.masthead-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.site-branding{min-width:0}.custom-logo{max-height:82px;width:auto}.site-title{font-family:Georgia,serif;font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.05;letter-spacing:-1.5px;margin:0}.site-title a{color:#16191e}.site-description{margin:5px 0 0;color:var(--muted);font-size:13px}.header-ad{width: min(480px,48%);min-height:74px;background:var(--soft);display:flex;align-items:center;justify-content:center;color:#9aa0a8;font-size:11px;letter-spacing:1px;border:1px dashed #d7dbe0}.main-nav{background:var(--accent);color:#fff;position:relative;z-index:10}.nav-inner{display:flex;align-items:center;min-height:48px}.menu-toggle{display:none;background:transparent;border:0;color:#fff;padding:12px 0;cursor:pointer}.primary-menu,.primary-menu ul{list-style:none;margin:0;padding:0}.primary-menu{display:flex;align-items:stretch;flex-wrap:wrap}.primary-menu>li{position:relative}.primary-menu a{display:block;padding:13px 14px;color:#fff;font-size:13px;font-weight:700;text-transform:uppercase}.primary-menu>li:hover>a,.primary-menu .current-menu-item>a{background:var(--accent-dark)}.primary-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#202329;box-shadow:0 8px 18px #0002}.primary-menu li:hover>.sub-menu,.primary-menu li:focus-within>.sub-menu{display:block}.primary-menu .sub-menu a{padding:10px 14px;border-bottom:1px solid #ffffff16}.nav-search{margin-left:auto;color:#fff;padding:10px 0 10px 14px;font-size:19px}.ticker{display:flex;align-items:stretch;border:1px solid var(--line);margin:18px auto 22px;min-height:42px;overflow:hidden}.ticker-label{background:var(--accent);color:#fff;font-size:12px;font-weight:800;text-transform:uppercase;padding:10px 14px;white-space:nowrap}.ticker-items{display:flex;align-items:center;gap:28px;padding:7px 14px;white-space:nowrap;overflow:hidden;font-size:13px;font-weight:700}.ticker-items a{overflow:hidden;text-overflow:ellipsis}.ticker-dot{color:var(--accent);padding-right:7px}.ad-slot{margin:18px auto 24px;min-height:90px;background:var(--soft);border:1px dashed #d5d9de;color:#9aa0a8;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px;letter-spacing:1px}.section-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid var(--ink);margin:0 0 16px;padding-bottom:8px}.section-heading h2{font-family:Georgia,serif;font-size:22px;margin:0;line-height:1.2}.section-heading h2:before{content:"";display:inline-block;width:5px;height:20px;background:var(--accent);margin-right:9px;vertical-align:-3px}.section-heading a{font-size:12px;color:var(--accent);font-weight:700}.home-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:30px}.lead-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,1fr);gap:18px;margin-bottom:30px}.story-card{min-width:0}.story-image{position:relative;background:#eceff2;overflow:hidden;aspect-ratio:16/10}.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.story-card:hover .story-image img{transform:scale(1.035)}.story-category{display:inline-block;color:var(--accent);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;margin:10px 0 4px}.story-title{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.28;margin:2px 0 8px;font-weight:700}.story-title a:hover{color:var(--accent)}.lead-story .story-image{aspect-ratio:16/10}.lead-story .story-title{font-size:clamp(25px,3vw,36px);line-height:1.15;margin-top:7px}.story-meta{font-size:11px;color:var(--muted);margin:7px 0}.story-excerpt{font-size:14px;color:#555d66;margin:8px 0}.side-leads{display:grid;gap:16px;align-content:start}.compact-story{display:grid;grid-template-columns:112px 1fr;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line)}.compact-story .story-image{aspect-ratio:4/3}.compact-story .story-title{font-size:16px;margin:0;line-height:1.3}.compact-story .story-category{margin:0 0 4px}.news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0 30px}.news-list .story-card{padding-bottom:15px;border-bottom:1px solid var(--line)}.news-list .story-title{font-size:18px}.content-sidebar{min-width:0}.widget{margin-bottom:28px}.widget-title{font-family:Georgia,serif;font-size:20px;border-bottom:2px solid var(--ink);padding-bottom:8px;margin:0 0 13px}.widget ul{list-style:none;margin:0;padding:0}.widget li{padding:9px 0;border-bottom:1px solid var(--line);font-size:14px;font-weight:700;line-height:1.4}.widget li a:hover{color:var(--accent)}.widget select,.widget input{max-width:100%;padding:9px;border:1px solid var(--line)}.category-section{margin:34px 0}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.category-grid .story-image{aspect-ratio:16/10}.category-grid .story-title{font-size:17px}.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;margin:25px auto 45px}.archive-intro{border-bottom:2px solid var(--ink);margin-bottom:20px}.archive-intro h1{font:700 30px Georgia,serif;margin:0 0 12px}.post-list{display:grid;gap:20px}.post-row{display:grid;grid-template-columns:220px 1fr;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.post-row .story-image{aspect-ratio:16/10}.post-row h2{font:700 23px/1.25 Georgia,serif;margin:0 0 8px}.nhd-article-content{max-width:850px;margin:28px auto 50px}.nhd-article-content h1{font:700 clamp(30px,4vw,44px)/1.15 Georgia,serif;letter-spacing:-.6px;margin:5px 0 12px}.single-featured{margin:20px 0}.single-featured img{width:100%;height:auto}.entry-content{font-family:Georgia,serif;font-size:19px;line-height:1.85;color:#292d32}.entry-content p{margin:0 0 1.25em}.entry-content h2,.entry-content h3{font-family:Arial,sans-serif;line-height:1.3}.entry-content img{margin:20px auto}.entry-content blockquote{border-left:4px solid var(--accent);padding:5px 18px;margin:22px 0;color:#555;background:var(--soft)}.post-tags{margin:25px 0}.post-tags a{display:inline-block;background:var(--soft);padding:5px 9px;margin:3px;font-size:12px}.pagination,.nav-links{display:flex;gap:7px;margin:25px 0}.page-numbers{padding:8px 12px;border:1px solid var(--line);font-size:13px}.page-numbers.current,.page-numbers:hover{background:var(--accent);color:#fff;border-color:var(--accent)}.site-footer{background:#17191d;color:#d9dde2;margin-top:45px;padding:35px 0 0}.footer-widgets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;padding-bottom:28px}.site-footer .widget-title{color:#fff;border-color:#555}.site-footer .widget li{border-color:#ffffff20}.site-footer a{color:#e7e9ec}.copyright{border-top:1px solid #ffffff20;padding:15px 0;font-size:12px;color:#aeb4bc}.copyright-inner{display:flex;justify-content:space-between;gap:15px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.no-thumb{background:#e9edf1;display:flex;align-items:center;justify-content:center;color:#9aa0a8;font-size:12px;min-height:100px}.search-form{display:flex;gap:6px}.search-form input[type=search]{min-width:0;flex:1;padding:9px;border:1px solid var(--line)}.search-form button{border:0;background:var(--accent);color:#fff;padding:0 13px;cursor:pointer}
@media(max-width:800px){.footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}.header-ad{display:none}.home-grid,.page-layout{grid-template-columns:1fr}.content-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.lead-grid{grid-template-columns:1.35fr 1fr}.primary-menu a{padding-inline:9px;font-size:11px}}
@media(max-width:600px){.wrap{width:calc(100% - 26px)}.topbar-inner{font-size:11px}.masthead{padding:16px 0}.masthead-inner{justify-content:center;text-align:center}.custom-logo{margin:auto}.site-title{font-size:34px}.site-description{font-size:11px}.nav-inner{display:block}.menu-toggle{display:block;width:100%;text-align:left;font-weight:700}.primary-menu{display:none;flex-direction:column;padding-bottom:8px}.primary-menu.is-open{display:flex}.primary-menu a{padding:10px 4px;border-top:1px solid #ffffff20;font-size:12px}.primary-menu .sub-menu{display:block;position:static;box-shadow:none;padding-left:15px}.nav-search{display:none}.ticker{margin:12px auto 16px}.ticker-label{padding:9px;font-size:10px}.ticker-items{font-size:11px;gap:18px}.ad-slot{min-height:65px;margin:14px auto 18px}.lead-grid{grid-template-columns:1fr}.lead-story .story-title{font-size:27px}.side-leads{grid-template-columns:1fr 1fr;gap:12px}.compact-story{display:block}.compact-story .story-image{margin-bottom:7px}.compact-story .story-title{font-size:14px}.news-list{gap:14px;grid-template-columns:1fr 1fr}.news-list .story-title{font-size:16px}.category-grid{grid-template-columns:1fr 1fr;gap:13px}.category-grid .story-title{font-size:15px}.content-sidebar{grid-template-columns:1fr}.post-row{grid-template-columns:115px 1fr;gap:12px}.post-row h2{font-size:17px}.post-row .story-excerpt{display:none}.nhd-article-content{margin:22px auto 35px}.nhd-article-content h1{font-size:30px}.entry-content{font-size:18px}.footer-widgets{grid-template-columns:1fr}.copyright-inner{display:block}.copyright-inner span{display:block;margin:4px 0}}

/* SEO/accessibility breadcrumbs */
.nhd-breadcrumbs{font-size:13px;color:#666;margin:18px 0 12px;line-height:1.6}.nhd-breadcrumbs a{color:var(--accent);text-decoration:none}.nhd-breadcrumbs a:hover{text-decoration:underline}.nhd-breadcrumbs [aria-current="page"]{color:#444}


/* Web Stories archive cards */
.web-stories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0 40px}
.web-story-card{min-width:0;border:1px solid var(--line);padding:10px;background:#fff}
.web-story-card img{width:100%;aspect-ratio:3/4;object-fit:cover}
.web-story-card h2{font:700 17px/1.3 Georgia,serif;margin:10px 0 4px}
@media(max-width:800px){.footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}.web-stories-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.web-stories-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
/* Reduce layout shifts and unnecessary motion. */
.story-image{contain:layout paint}
.story-image img{aspect-ratio:inherit}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* WooCommerce storefront, products, account, cart and checkout */
.nhd-shop-layout{margin-top:30px;margin-bottom:50px;min-height:45vh}
.nhd-shop-main{min-width:0}
.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:22px}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0 0 30px;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0;border:1px solid var(--line);padding:12px;text-align:left}
.woocommerce ul.products li.product a img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;margin-bottom:12px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font:700 19px/1.35 Georgia,serif;color:var(--ink)}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--accent);font-weight:700}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--accent);color:#fff;border-radius:3px;font-weight:700}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--accent-dark);color:#fff}
.woocommerce div.product{min-width:0}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding-left:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:3px}
.woocommerce .quantity .qty{padding:8px 4px;max-width:75px}
.woocommerce input.input-text,.woocommerce select,.woocommerce textarea,.woocommerce .select2-container .select2-selection{max-width:100%;border:1px solid var(--line);border-radius:3px;padding:9px}
.woocommerce table.shop_table{border-collapse:separate;width:100%;max-width:100%}
.woocommerce .cart-collaterals,.woocommerce .woocommerce-checkout,.woocommerce-account .woocommerce{max-width:100%}
.nhd-cart-link{color:#fff;font-size:13px;font-weight:700;padding:10px 12px;white-space:nowrap}
.nhd-cart-link:hover{color:#fff;text-decoration:underline}
@media(max-width:800px){.footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:8px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}.nhd-cart-link{display:inline-block;padding:12px 4px}.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%}.woocommerce table.shop_table_responsive tr td{overflow-wrap:anywhere}}

/* v1.0.5: Five selectable accent presets and complete light/dark palettes. */
:root{--topbar-bg:#17191d;--footer-bg:#17191d;--text-secondary:#555d66;--article-text:#292d32;--card-bg:#fff;--input-bg:#fff;--nav-dropdown:#202329;--heading-color:#16191e;--ad-text:#858c97}
.topbar{background:var(--topbar-bg)}
.site-footer{background:var(--footer-bg)}
.site-title a{color:var(--heading-color)}
.story-excerpt,.entry-content blockquote{color:var(--text-secondary)}
.entry-content{color:var(--article-text)}
.primary-menu .sub-menu{background:var(--nav-dropdown)}
.web-story-card{background:var(--card-bg)}
.header-ad,.ad-slot{color:var(--ad-text)}
.story-image,.no-thumb{background:var(--soft)}
.widget input,.widget select,.search-form input[type=search],.woocommerce input.input-text,.woocommerce select,.woocommerce textarea,.woocommerce .select2-container .select2-selection{background:var(--input-bg);color:var(--ink)}
.nhd-breadcrumbs,.nhd-breadcrumbs [aria-current="page"]{color:var(--muted)}
.woocommerce ul.products li.product,.woocommerce div.product .woocommerce-tabs .panel{background:var(--card-bg);color:var(--ink)}
.woocommerce .woocommerce-loop-product__title{color:var(--ink)!important}

body.nhdnew-dark{color-scheme:dark}
body.nhdnew-dark .site-footer,body.nhdnew-dark .topbar{color:#d9dde2}
body.nhdnew-dark .woocommerce table.shop_table,body.nhdnew-dark .woocommerce .woocommerce-tabs ul.tabs li{background:var(--card-bg);color:var(--ink)}
body.nhdnew-dark .woocommerce-message,body.nhdnew-dark .woocommerce-info,body.nhdnew-dark .woocommerce-error{background:var(--card-bg);color:var(--ink)}
body.nhdnew-dark .woocommerce a.button:not(.alt){color:#fff}

/* Front-end colour picker */
.nhd-color-control{position:relative;flex-shrink:0}
.nhd-color-toggle{display:flex;align-items:center;gap:.35rem;cursor:pointer;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;padding:.4rem .65rem;border-radius:4px;font:inherit}
.nhd-color-toggle:hover,.nhd-color-toggle:focus-visible{background:rgba(255,255,255,.15)}
.nhd-color-panel{position:absolute;z-index:9999;right:0;top:calc(100% + 8px);width:220px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.2);color:var(--ink)}
.nhd-color-panel[hidden]{display:none!important}
.nhd-color-panel label{display:block;font-size:13px;font-weight:600;margin-bottom:5px}
.nhd-color-panel select{display:block;width:100%;margin-bottom:12px;padding:7px;background:var(--input-bg);color:var(--ink);border:1px solid var(--line)}
.nhd-color-reset{width:100%;cursor:pointer;padding:8px;border:1px solid var(--line);border-radius:4px;background:var(--soft);color:var(--ink)}
@media(max-width:600px){.nhd-color-panel{right:-30px;width:min(220px,85vw)}.nhd-color-toggle span{display:none}}

.ticker{align-items:center}.ticker-items{flex:1;min-width:0;display:block;overflow:hidden;padding:8px 12px}.ticker-headline{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticker-headline[hidden]{display:none!important}.ticker-controls{display:flex;align-items:center;gap:2px;margin-left:auto;padding:0 5px}.ticker-controls button{cursor:pointer;background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:3px;min-width:29px;min-height:32px}.ticker-controls button[hidden]{display:none}@media(max-width:600px){.ticker-label{max-width:100px;white-space:normal;line-height:1.3;display:flex;align-items:center}.ticker-controls button{min-width:25px;min-height:30px}.ticker-items{padding:6px}}
.story-excerpt,.entry-content blockquote{color:var(--text-secondary)}.entry-content{color:var(--article-text)}.site-title a{color:var(--heading-color)}.topbar{background:var(--topbar-bg)}.site-footer{background:var(--footer-bg)}.primary-menu .sub-menu{background:var(--nav-dropdown)}
.nav-search{padding:4px 0 4px 10px}.nav-search .search-form{align-items:center}.nav-search .search-form input[type=search]{width:140px;min-width:0;padding:5px 8px;border-radius:3px}.nav-search .search-form button{padding:6px 9px;border-radius:3px}@media(max-width:600px){.nav-search{display:block;margin:6px 0 8px;padding:0}.nav-search .search-form input[type=search]{width:100%}}

/* Optional banners replace temporary advertising placeholders */
.nhd-banner img{display:block;width:100%;height:auto;object-fit:contain}
.nhd-banner-header{max-width:480px;flex:1 1 240px}
.nhd-banner-home{max-width:970px;margin:18px auto 24px}
@media(max-width:650px){.nhd-banner-header{max-width:100%;flex-basis:100%}}

/* Reporter portrait beside every single news article */
.nhd-article-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:30px;align-items:start;margin:25px auto 45px;max-width:1180px}
.nhd-article-layout .nhd-article-content{max-width:none;min-width:0;margin:0}
.nhd-reporter-panel{text-align:center;padding:10px 8px;border:1px solid var(--line);border-radius:5px;background:var(--soft);font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.nhd-reporter-photo img{width:100%;max-width:160px;aspect-ratio:1/1;object-fit:cover;border-radius:4px;margin:0 auto 9px;background:var(--paper)}
.nhd-reporter-name{display:block;color:var(--accent);font-size:17px;font-weight:700}
.nhd-reporter-role{color:var(--accent);font-size:14px}
.nhd-reporter-site{font-size:12px;color:var(--muted)}
.nhd-reporter-published{border-top:1px solid var(--line);margin-top:12px;padding-top:10px;font-size:12px;color:var(--ink)}
@media(max-width:700px){.nhd-article-layout{grid-template-columns:1fr;gap:16px}.nhd-reporter-panel{display:grid;grid-template-columns:78px 1fr;text-align:left;column-gap:12px;align-items:center}.nhd-reporter-photo{grid-row:1/5}.nhd-reporter-photo img{width:78px;height:78px;margin:0}.nhd-reporter-published{margin-top:5px;padding-top:5px}.nhd-article-layout .nhd-article-content h1{font-size:clamp(26px,6vw,36px)}}

/* v1.0.12: original Bangla newspaper-style homepage */
.nhd-home{padding-bottom:32px}
.nhd-lead-layout{display:grid;grid-template-columns:1fr 1.7fr 1fr;gap:20px;margin:24px 0 28px;align-items:start}
.nhd-lead-side,.nhd-lead-right{display:grid;gap:18px}
.nhd-top-card,.nhd-hero-card,.nhd-mini-story,.nhd-latest-card,.nhd-category-feature,.nhd-category-small{min-width:0}
.nhd-news-image{display:block;overflow:hidden;background:var(--soft);aspect-ratio:16/10}
.nhd-news-image img{display:block;width:100%;height:100%;object-fit:cover}
.nhd-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--muted);font-weight:700;letter-spacing:.08em;background:var(--soft)}
.nhd-home h1,.nhd-home h2,.nhd-home h3{line-height:1.35;margin:8px 0}
.nhd-home h1 a,.nhd-home h2 a,.nhd-home h3 a{color:var(--ink);text-decoration:none}
.nhd-home h1 a:hover,.nhd-home h2 a:hover,.nhd-home h3 a:hover{color:var(--accent)}
.nhd-top-card h2{font-size:1.05rem}.nhd-hero-card h1{font-size:1.75rem}
.nhd-hero-card p,.nhd-category-feature p{color:var(--muted);font-size:.9rem}
.nhd-story-tag{display:inline-block;margin-top:10px;color:var(--accent);font-weight:700}
.nhd-mini-heading{font-size:1.1rem;border-bottom:3px solid var(--accent);padding-bottom:8px}
.nhd-mini-story{padding-bottom:12px;border-bottom:1px solid var(--line)}
.nhd-mini-story h3{font-size:.97rem;margin:0 0 4px}.nhd-mini-story span{font-size:.75rem;color:var(--muted)}
.nhd-latest-section{margin:30px 0}.nhd-latest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nhd-latest-card h3{font-size:1rem}
.nhd-home-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.nhd-home-sections{min-width:0}.nhd-category-block{margin:0 0 28px}
.nhd-category-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}
.nhd-category-feature h3{font-size:1.12rem}.nhd-category-list{display:grid;align-content:start}
.nhd-category-small{padding:10px 0;border-bottom:1px solid var(--line)}
.nhd-category-small:first-child{padding-top:0}.nhd-category-small h3{font-size:.98rem;margin:0}
.nhd-category-block .section-heading{border-bottom:2px solid var(--accent)}
@media(max-width:950px){.nhd-lead-layout{grid-template-columns:1fr 1.5fr}.nhd-lead-right{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.nhd-mini-heading{grid-column:1/-1}.nhd-home-content{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:700px){.nhd-lead-layout{grid-template-columns:1fr}.nhd-lead-main{grid-row:1}.nhd-lead-side{grid-template-columns:repeat(2,minmax(0,1fr))}.nhd-lead-right{grid-column:auto}.nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nhd-home-content{grid-template-columns:1fr}.nhd-hero-card h1{font-size:1.45rem}}
@media(max-width:420px){.nhd-lead-side,.nhd-lead-right,.nhd-latest-grid,.nhd-category-layout{grid-template-columns:1fr}.nhd-mini-heading{grid-column:auto}}

/* v1.0.15: advertising slots with recommended pixel dimensions */
.nhd-banner{max-width:100%;min-width:0}
.nhd-banner-header{width:min(100%,728px)}
.nhd-banner-home{width:min(100%,970px);margin:18px auto}
.nhd-banner-sidebar{width:100%;max-width:300px;margin:0 auto 20px}
.nhd-banner img{display:block;width:100%;height:auto;object-fit:contain}
.nhd-ad-placeholder{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;border:1px dashed #a0a7b2;background:rgba(130,140,160,.08);color:var(--muted,#6b7280);text-align:center;font-size:11px;letter-spacing:.09em;padding:10px}
.nhd-ad-placeholder strong{font-size:15px;letter-spacing:0}
.nhd-banner-header .nhd-ad-placeholder{aspect-ratio:728/90;min-height:68px}
.nhd-banner-home .nhd-ad-placeholder{aspect-ratio:970/90;min-height:70px}
.nhd-banner-sidebar .nhd-ad-placeholder{aspect-ratio:300/250;min-height:180px}
@media(max-width:600px){.nhd-ad-placeholder strong{font-size:12px}.nhd-banner-header .nhd-ad-placeholder,.nhd-banner-home .nhd-ad-placeholder{min-height:56px}}

/* v1.0.16: independent admin-customizable footer colours, including dark mode */
.site-footer,body.nhdnew-dark .site-footer{background:var(--nhd-footer-bg);color:var(--nhd-footer-text)}
.site-footer .widget-title,body.nhdnew-dark .site-footer .widget-title{color:var(--nhd-footer-heading)}
.site-footer a,body.nhdnew-dark .site-footer a{color:var(--nhd-footer-link)}
.site-footer a:hover,body.nhdnew-dark .site-footer a:hover{color:var(--accent)}
.site-footer .copyright,body.nhdnew-dark .site-footer .copyright{background:var(--nhd-footer-bottom-bg);color:var(--nhd-footer-bottom-text)}
.site-footer .copyright a,body.nhdnew-dark .site-footer .copyright a{color:var(--nhd-footer-link)}

/* v1.0.17 reference-style editable top contact and social bar */
.topbar.nhd-contact-topbar,body.nhdnew-dark .topbar.nhd-contact-topbar{background:var(--nhd-top-bg);color:var(--nhd-top-text)}
.nhd-contact-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:37px;padding-block:6px}
.nhd-contact-items,.nhd-top-social{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.nhd-contact-items a{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.topbar.nhd-contact-topbar a,.topbar.nhd-contact-topbar a:hover{color:var(--nhd-top-text)}
.nhd-top-icon{color:var(--nhd-top-icon);font-size:17px;line-height:1}
.nhd-top-social{gap:14px}.nhd-top-social a{font-weight:800;font-size:14px;line-height:1.4}
.nhd-contact-topbar a:hover{text-decoration:underline}
@media(max-width:750px){.nhd-contact-inner{align-items:flex-start;flex-direction:column;gap:7px}.nhd-contact-items{gap:8px 18px}.nhd-contact-items a{white-space:normal;overflow-wrap:anywhere}.nhd-top-social{gap:18px}}

/* v1.0.19: category archive news list */
.nhd-category-page{padding-top:20px;padding-bottom:45px}
.nhd-category-header{border-bottom:3px solid var(--accent);padding:10px 0 14px;margin:0 0 22px}
.nhd-category-header h1{font-size:clamp(1.5rem,3vw,2rem);line-height:1.25;margin:0;color:var(--ink)}
.nhd-category-description{color:var(--muted);margin-top:8px}
.nhd-category-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}
.nhd-category-news-list{display:flex;flex-direction:column;gap:0}
.nhd-category-news-item{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px;border-bottom:1px solid var(--line);padding:16px 0;align-items:start}
.nhd-category-news-item:first-child{padding-top:0}
.nhd-category-news-thumb{display:block;aspect-ratio:16/10;background:var(--soft);overflow:hidden}
.nhd-category-news-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.nhd-category-no-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:14px;font-weight:700;color:var(--muted)}
.nhd-category-news-copy{min-width:0}
.nhd-category-news-copy h2{font-size:clamp(1.04rem,2vw,1.28rem);line-height:1.35;margin:0 0 8px}
.nhd-category-news-copy h2 a{color:var(--ink);text-decoration:none}
.nhd-category-news-copy h2 a:hover{color:var(--accent)}
.nhd-category-news-date{color:var(--muted);font-size:.8rem;margin:0 0 8px}
.nhd-category-news-copy p{color:var(--muted);font-size:.9rem;line-height:1.6;margin:0}
.nhd-category-pagination{padding:24px 0}
.nhd-category-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.nhd-category-pagination .page-numbers{display:inline-block;border:1px solid var(--line);padding:7px 12px;text-decoration:none;color:var(--ink)}
.nhd-category-pagination .page-numbers.current{background:var(--accent);border-color:var(--accent);color:#fff}
@media(max-width:850px){.nhd-category-page-grid{grid-template-columns:1fr}.nhd-category-sidebar{margin-top:16px}}
@media(max-width:520px){.nhd-category-news-item{grid-template-columns:120px minmax(0,1fr);gap:12px}.nhd-category-news-copy p{display:none}.nhd-category-news-copy h2{font-size:1rem}}

/* v1.0.20: category article Read More action */
.nhd-category-news-copy .nhd-read-more{display:inline-flex;align-items:center;gap:6px;margin-top:11px;color:var(--accent);font-size:.88rem;font-weight:700;text-decoration:none}
.nhd-category-news-copy .nhd-read-more:hover{text-decoration:underline}
.nhd-category-news-copy .nhd-read-more:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* v1.0.21: latest-news rail on full article pages */
.nhd-single-latest{max-width:1100px;margin:28px auto 42px;padding:18px 20px;border:1px solid var(--line);border-radius:8px;background:var(--card,transparent)}
.nhd-single-latest-title{margin:0 0 18px;padding-bottom:10px;border-bottom:3px solid var(--accent);font-size:1.35rem;color:var(--ink)}
.nhd-single-latest-item{display:flex;align-items:flex-start;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.nhd-single-latest-item:last-of-type{border-bottom:0}
.nhd-single-latest-image{display:block;flex:0 0 120px;width:120px;aspect-ratio:16/10;background:var(--soft);overflow:hidden;border-radius:4px}
.nhd-single-latest-image img{display:block;width:100%;height:100%;object-fit:cover}
.nhd-single-latest-noimage{display:flex;align-items:center;justify-content:center;height:100%;font-size:12px;font-weight:700;color:var(--muted)}
.nhd-single-latest-details{flex:1;min-width:0}
.nhd-single-latest-details h3{font-size:1.02rem;line-height:1.45;margin:0 0 7px}
.nhd-single-latest-details h3 a{color:var(--ink);text-decoration:none}
.nhd-single-latest-details h3 a:hover{color:var(--accent)}
.nhd-single-latest-details time{font-size:.8rem;color:var(--muted)}
.nhd-single-latest-widgets{margin-top:22px}
@media(min-width:1100px){.nhd-single-latest{max-width:320px;margin:0;grid-column:3;align-self:start}.nhd-single-latest-image{flex-basis:92px;width:92px}.nhd-single-latest-item{gap:10px}.nhd-single-latest-details h3{font-size:.9rem}main.wrap:has(>.nhd-article-layout + .nhd-single-latest){display:grid;grid-template-columns:minmax(0,1fr) 320px;column-gap:24px;align-items:start}main.wrap:has(>.nhd-article-layout + .nhd-single-latest)>.nhd-article-layout{grid-column:1;min-width:0}}
@media(max-width:500px){.nhd-single-latest{padding:14px}.nhd-single-latest-image{flex-basis:94px;width:94px}.nhd-single-latest-details h3{font-size:.93rem}}

/* v1.0.22: correct full-article grid, preserving reporter panel and content */
.nhd-single-page{padding-top:18px;padding-bottom:44px}
.nhd-single-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.nhd-single-columns>.nhd-article-layout{min-width:0;width:100%;max-width:none;margin:0;grid-column:auto}
.nhd-single-columns>.nhd-single-latest{grid-column:auto;max-width:none;width:100%;min-width:0;margin:0;box-sizing:border-box}
.nhd-single-columns .nhd-article-content{min-width:0;overflow-wrap:anywhere}
.nhd-single-columns .nhd-article-content .entry-content img,.nhd-single-columns .nhd-article-content .single-featured img{max-width:100%;height:auto}
.nhd-single-columns .nhd-single-latest-item{gap:10px}
.nhd-single-columns .nhd-single-latest-image{flex:0 0 88px;width:88px}
.nhd-single-columns .nhd-single-latest-details h3{font-size:.9rem;line-height:1.45}
@media(max-width:1050px){.nhd-single-columns{grid-template-columns:1fr}.nhd-single-columns>.nhd-single-latest{margin-top:24px}.nhd-single-columns .nhd-single-latest-image{flex-basis:120px;width:120px}}
@media(max-width:560px){.nhd-single-columns .nhd-single-latest-image{flex-basis:95px;width:95px}.nhd-single-columns .nhd-single-latest-details h3{font-size:.94rem}}

/* v1.0.23: stable reporter + article + latest-news desktop layout */
.nhd-single-page .nhd-single-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px;align-items:start}
.nhd-single-page .nhd-single-columns>.nhd-article-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:22px;align-items:start;max-width:none;width:100%;margin:0;min-width:0}
.nhd-single-page .nhd-single-columns>.nhd-single-latest{grid-column:2;grid-row:1;max-width:none;width:100%;margin:0;min-width:0}
.nhd-single-page .nhd-article-layout>.nhd-article-content{min-width:0;max-width:none;margin:0}
.nhd-single-page .nhd-article-content h1{font-size:clamp(26px,3vw,39px);overflow-wrap:anywhere}
.nhd-single-page .entry-content{overflow-wrap:anywhere}
.nhd-single-page .entry-content img,.nhd-single-page .entry-content iframe,.nhd-single-page .single-featured img{max-width:100%}
.nhd-single-page .nhd-single-latest-image{flex:0 0 88px;width:88px}
.nhd-single-page .nhd-single-latest-details h3{font-size:.92rem}
@media(max-width:1050px){
.nhd-single-page .nhd-single-columns{grid-template-columns:minmax(0,1fr) 270px;gap:18px}
.nhd-single-page .nhd-single-columns>.nhd-article-layout{grid-template-columns:110px minmax(0,1fr);gap:16px}
}
@media(max-width:800px){
.nhd-single-page .nhd-single-columns{grid-template-columns:1fr}
.nhd-single-page .nhd-single-columns>.nhd-single-latest{grid-column:1;grid-row:auto;margin-top:20px}
}
@media(max-width:600px){
.nhd-single-page .nhd-single-columns>.nhd-article-layout{grid-template-columns:1fr}
.nhd-single-page .nhd-article-layout>.nhd-reporter-panel{display:grid;grid-template-columns:78px 1fr}
}

/* v1.0.24 article ad positions and responsive pixel labels */
.nhd-banner-article_top,.nhd-banner-article_bottom{width:min(100%,728px);margin:16px auto 22px}
.nhd-banner-article_inline{width:min(100%,468px);margin:18px auto 24px}
.nhd-banner-article_sidebar{width:100%;max-width:300px;margin:0 auto 22px}
.nhd-banner-article_top .nhd-ad-placeholder,.nhd-banner-article_bottom .nhd-ad-placeholder{aspect-ratio:728/90;min-height:65px}
.nhd-banner-article_inline .nhd-ad-placeholder{aspect-ratio:468/60;min-height:56px}
.nhd-banner-article_sidebar .nhd-ad-placeholder{aspect-ratio:300/250;min-height:180px}
.nhd-single-page .nhd-banner img{max-width:100%;height:auto}

/* NHD Newsroom 1.0.25 — compact editorial front page */
.nhd-home{max-width:1240px}
.nhd-home .nhd-lead-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1.6fr) minmax(0,1fr);gap:22px;margin:25px 0 24px;align-items:start}
.nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right{min-width:0;display:flex;flex-direction:column;gap:0}
.nhd-home .nhd-lead-main{min-width:0}
.nhd-home .nhd-top-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start;padding:0 0 15px;margin:0 0 15px;border-bottom:1px solid var(--line,#ddd)}
.nhd-home .nhd-top-card .post-thumbnail,.nhd-home .nhd-top-card>a:first-child{display:block;min-width:0}
.nhd-home .nhd-top-card img{width:100%;height:76px;object-fit:cover;border-radius:3px;display:block}
.nhd-home .nhd-top-card h2{font-size:16px;line-height:1.45;margin:0;font-weight:700}
.nhd-home .nhd-hero-card img{width:100%;height:220px;object-fit:cover;display:block;border-radius:3px}
.nhd-home .nhd-hero-card h1{font-size:clamp(23px,2.25vw,31px);line-height:1.28;margin:9px 0}
.nhd-home .nhd-hero-card p{font-size:14px;line-height:1.65;margin:6px 0 0}
.nhd-home .nhd-mini-heading{font-size:19px;margin:0 0 12px;border-bottom:2px solid var(--accent);padding-bottom:9px}
.nhd-home .nhd-mini-story{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;align-items:start;padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid var(--line,#ddd)}
.nhd-home .nhd-mini-story img{width:76px;height:60px;object-fit:cover;border-radius:3px}
.nhd-home .nhd-mini-story h3{font-size:14px;line-height:1.4;margin:0}
.nhd-home .nhd-mini-story span{grid-column:2;font-size:11px;color:var(--muted)}
.nhd-home .nhd-latest-section{margin:20px 0 28px}
.nhd-home .nhd-latest-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.nhd-home .nhd-latest-card{min-width:0}
.nhd-home .nhd-latest-card img{width:100%;height:120px;object-fit:cover;border-radius:3px;display:block}
.nhd-home .nhd-latest-card h3{font-size:15px;line-height:1.45;margin:8px 0 5px}
.nhd-home .nhd-latest-card .story-meta{font-size:11px;color:var(--muted)}
.nhd-home .nhd-home-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.nhd-home .nhd-home-sections{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.nhd-home .nhd-category-block{min-width:0;margin:0;border-top:2px solid var(--accent);padding-top:9px}
.nhd-home .nhd-category-layout{display:grid;grid-template-columns:1fr;gap:12px}
.nhd-home .nhd-category-feature img{width:100%;height:145px;object-fit:cover;border-radius:3px;display:block}
.nhd-home .nhd-category-feature h3{font-size:17px;line-height:1.4;margin:8px 0 4px}
.nhd-home .nhd-category-feature p{font-size:13px;line-height:1.55;margin:0}
.nhd-home .nhd-category-list{display:grid;grid-template-columns:1fr;gap:0}
.nhd-home .nhd-category-small{padding:9px 0;border-top:1px solid var(--line,#ddd)}
.nhd-home .nhd-category-small h3{font-size:14px;line-height:1.4;margin:0}
.nhd-home .nhd-home-sidebar{min-width:0}
@media(max-width:1000px){.nhd-home .nhd-lead-layout{grid-template-columns:1fr 1.3fr}.nhd-home .nhd-lead-right{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nhd-home .nhd-mini-heading{grid-column:1/-1}.nhd-home .nhd-home-content{grid-template-columns:1fr}.nhd-home .nhd-latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.nhd-home .nhd-lead-layout{grid-template-columns:1fr;gap:14px}.nhd-home .nhd-lead-main{grid-row:1}.nhd-home .nhd-hero-card img{height:190px}.nhd-home .nhd-lead-right{grid-template-columns:1fr}.nhd-home .nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nhd-home .nhd-latest-card img{height:95px}.nhd-home .nhd-home-sections{grid-template-columns:1fr}.nhd-home .nhd-category-feature img{height:150px}}

/* eMagazine publishing and page reader */
.nhd-mag-home{margin:25px 0;padding:18px 0;border-top:3px solid var(--accent);border-bottom:1px solid var(--line,#ddd)}
.nhd-mag-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nhd-mag-card{min-width:0}.nhd-mag-card>a{color:inherit;text-decoration:none}
.nhd-mag-card img{display:block;width:100%;height:190px;object-fit:cover;object-position:top;border-radius:4px}
.nhd-mag-card h2,.nhd-mag-card h3{font-size:16px;line-height:1.4;margin:8px 0}
.nhd-mag-card small{color:var(--muted)}.nhd-mag-fallback{height:190px;background:var(--soft,#eee);display:flex;align-items:center;justify-content:center;font-weight:700;text-align:center}
.nhd-mag-single{max-width:1100px;padding-bottom:40px}.nhd-mag-heading{text-align:center;margin:25px 0}
.nhd-mag-reader{max-width:900px;margin:0 auto;background:var(--soft,#eee);border:1px solid var(--line,#ddd);border-radius:7px;overflow:hidden}
.nhd-mag-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px;background:var(--card,#fff)}
.nhd-mag-controls button{background:var(--accent,#c22);color:white;border:0;border-radius:4px;padding:10px 15px;cursor:pointer}
.nhd-mag-controls button:disabled{opacity:.4;cursor:not-allowed}
.nhd-mag-pages{padding:12px;text-align:center}.nhd-mag-page{margin:0}.nhd-mag-page[hidden]{display:none!important}
.nhd-mag-page img{display:block;max-width:100%;width:auto;height:auto;margin:auto;box-shadow:0 2px 10px #0002}
.nhd-mag-pdf{max-width:1000px;margin:auto}.nhd-mag-pdf object{display:block;min-height:550px;border:1px solid var(--line,#ddd)}
.nhd-mag-description{max-width:900px;margin:24px auto}
@media(max-width:700px){.nhd-mag-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nhd-mag-card img,.nhd-mag-fallback{height:150px}.nhd-mag-controls{gap:8px}.nhd-mag-controls button{padding:9px}.nhd-mag-pages{padding:4px}.nhd-mag-pdf object{height:75vh;min-height:380px}}

/* PDF to interactive page-flip reader */
.nhd-pdf-flip{max-width:970px;margin:22px auto;padding:14px;background:var(--soft,#f2f2f2);border:1px solid var(--line,#ddd);border-radius:9px;text-align:center}
.nhd-flip-toolbar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin:0 0 15px}
.nhd-flip-toolbar button{background:var(--accent,#c22);color:#fff;border:0;border-radius:5px;padding:10px 13px;cursor:pointer}
.nhd-flip-toolbar button:disabled{opacity:.4;cursor:not-allowed}
.nhd-flip-toolbar strong{min-width:110px}
.nhd-flip-stage{display:flex;justify-content:center;align-items:flex-start;overflow:auto;min-height:300px;perspective:1300px}
.nhd-flip-sheet{background:white;box-shadow:5px 7px 18px #0003;transform-origin:left center;max-width:100%}
.nhd-flip-sheet canvas{display:block;max-width:none}
.nhd-flip-sheet.nhd-turn{animation:nhd-page-turn .42s ease-out}
@keyframes nhd-page-turn{0%{transform:rotateY(-23deg);opacity:.72}100%{transform:rotateY(0);opacity:1}}
.nhd-flip-status{font-size:13px;color:var(--muted)}
.nhd-flip-fallback{font-size:14px}
.nhd-flip-download{font-size:13px;margin:12px 0 0}
.nhd-pdf-flip:fullscreen{overflow:auto;padding:24px}
@media(max-width:550px){.nhd-pdf-flip{padding:7px}.nhd-flip-toolbar{gap:6px}.nhd-flip-toolbar button{padding:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.nhd-flip-sheet.nhd-turn{animation:none}}

/* Paid video clip beneath individual articles */
.nhd-paid-video{margin:28px 0;padding:22px;border:1px solid var(--line,#ddd);border-top:4px solid var(--accent,#c22);border-radius:6px;background:var(--card,#fff)}
.nhd-paid-video h2{font-size:23px;margin:0 0 12px}
.nhd-paid-video video{display:block;width:100%;max-height:65vh;background:#111;border-radius:5px}
.nhd-video-price{font-size:20px;font-weight:700}
.nhd-video-buy{display:inline-block;padding:12px 20px;background:var(--accent,#c22);color:#fff!important;border-radius:5px;text-decoration:none;font-weight:700}
.nhd-video-unlocked{color:#16823b;font-weight:600}
.nhd-paid-video small{display:block;margin-top:12px;color:var(--muted)}

/* v1.0.29 multi-source news video embeds */
.nhd-video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#101010;overflow:hidden;border-radius:7px}
.nhd-video-frame iframe,.nhd-video-frame video{display:block;width:100%;height:100%;max-height:none;border:0;object-fit:contain}
.nhd-video-frame:has(iframe[src*="instagram.com"]){aspect-ratio:4/5;max-width:520px;margin:auto}
@media(max-width:600px){.nhd-video-frame:has(iframe[src*="instagram.com"]){aspect-ratio:3/4}}

/* Always-visible Watch Video Clip on every news article */
.nhd-video-empty-inner{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--soft,#f4f5f6);border-radius:5px;text-align:center;padding:18px}
.nhd-video-empty-inner p{margin:0;color:var(--muted,#666);font-size:14px}
.nhd-video-empty-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:var(--accent,#c22);color:#fff;font-size:23px;padding-left:3px}

/* v1.0.32: selectable logo positions and five breaking-news ticker styles */
.masthead.nhd-logo-left .masthead-inner{display:flex;flex-direction:row;justify-content:space-between;text-align:left}
.masthead.nhd-logo-center .masthead-inner{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:12px}
.masthead.nhd-logo-center .site-branding{margin-inline:auto}
.masthead.nhd-logo-center .custom-logo{margin-inline:auto}
.masthead.nhd-logo-center .header-ad,.masthead.nhd-logo-center .ad-slot{margin-inline:auto;max-width:100%}
.masthead.nhd-logo-right .masthead-inner{display:flex;flex-direction:row-reverse;justify-content:space-between;text-align:right}
.masthead.nhd-logo-right .site-branding{margin-left:auto}
.masthead.nhd-logo-right .header-ad{margin-right:auto}
.masthead.nhd-logo-right .custom-logo{margin-left:auto;margin-right:0}
.nhd-ticker-fade .ticker-headline:not([hidden]){animation:nhd-ticker-fade-in .6s ease-out}
@keyframes nhd-ticker-fade-in{from{opacity:0}to{opacity:1}}
.nhd-ticker-stacked{border-radius:7px;box-shadow:0 3px 12px #00000010;background:var(--soft,#f5f5f5);border-left:5px solid var(--accent)}
.nhd-ticker-stacked .ticker-label{border-radius:0 5px 5px 0}
.nhd-ticker-minimal{border:0;border-bottom:2px solid var(--accent);background:transparent}
.nhd-ticker-minimal .ticker-label{background:transparent;color:var(--accent);padding-left:0}
.nhd-ticker-minimal .ticker-controls button{background:transparent;border:0}
.nhd-ticker-scroll .ticker-items{display:flex;gap:25px;white-space:nowrap;overflow:hidden}
.nhd-ticker-scroll .ticker-headline{display:inline-block!important;flex:none;max-width:none;overflow:visible;white-space:nowrap;animation:nhd-ticker-move var(--nhd-scroll-duration,45s) linear infinite}
.nhd-ticker-scroll .ticker-headline[hidden]{display:inline-block!important}
.nhd-ticker-scroll.nhd-ticker-paused .ticker-headline,.nhd-ticker-scroll.nhd-ticker-hover .ticker-headline{animation-play-state:paused}
@keyframes nhd-ticker-move{from{transform:translateX(100vw)}to{transform:translateX(-150vw)}}
@media(max-width:650px){.masthead.nhd-logo-left .masthead-inner,.masthead.nhd-logo-right .masthead-inner{flex-wrap:wrap;gap:12px}.masthead.nhd-logo-left .site-branding,.masthead.nhd-logo-right .site-branding{max-width:100%}.masthead.nhd-logo-right .site-branding{margin-left:auto}.masthead.nhd-logo-left .header-ad,.masthead.nhd-logo-right .header-ad{max-width:100%;width:100%}.masthead.nhd-logo-center .masthead-inner{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.nhd-ticker-fade .ticker-headline:not([hidden]),.nhd-ticker-scroll .ticker-headline{animation:none!important}}

/* v1.0.33 comprehensive mobile-first layout refinements */
html,body{max-width:100%;overflow-x:clip}
body{overflow-wrap:break-word}
.wrap{max-width:100%}
main,section,article,aside,.site-branding,.entry-content,.nhd-home,.nhd-home-content,.nhd-article-layout{min-width:0}
.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object,.wp-block-embed iframe{max-width:100%}
.entry-content img,.single-featured img{max-width:100%;height:auto}
.wp-block-table,.entry-content table,.woocommerce table.shop_table{display:block;max-width:100%;overflow-x:auto}
pre,.entry-content pre{max-width:100%;overflow-x:auto}
.nhd-contact-items,.nhd-top-social{min-width:0}
.nhd-contact-items a,.nhd-contact-items span{overflow-wrap:anywhere}
.nhd-banner img,.header-ad img{max-width:100%;height:auto}
.nhd-video-frame{max-width:100%}
@media(max-width:1024px){
 .wrap{width:calc(100% - 30px)}
 .masthead-inner{gap:14px}
 .nhd-article-layout{grid-template-columns:135px minmax(0,1fr);gap:18px}
 .nhd-article-layout .nhd-article-content h1{font-size:clamp(26px,3.8vw,36px)}
 .nhd-home .nhd-home-content{grid-template-columns:minmax(0,1fr)}
 .nhd-home .nhd-home-sidebar{width:100%}
 .nhd-home .nhd-home-sections{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .wrap{width:calc(100% - 24px)}
 .masthead{padding:12px 0}
 .masthead-inner,.masthead.nhd-logo-left .masthead-inner,.masthead.nhd-logo-center .masthead-inner,.masthead.nhd-logo-right .masthead-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
 .masthead.nhd-logo-left .site-branding,.masthead.nhd-logo-right .site-branding{margin:0 auto;max-width:100%;text-align:center}
 .masthead .custom-logo{max-width:100%;height:auto;object-fit:contain}
 .masthead .site-description{line-height:1.35}
 .masthead .header-ad,.masthead .nhd-banner-header{display:flex;width:100%;max-width:100%;min-height:0;margin:0 auto}
 .masthead .nhd-banner-header img{max-height:90px;object-fit:contain}
 .nhd-contact-inner{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;padding:6px 0}
 .nhd-contact-items{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px}
 .nhd-top-social{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
 .nhd-contact-topbar{font-size:11px}
 .nav-inner{display:block}
 .menu-toggle{display:block;width:100%;text-align:left;min-height:44px;padding:10px 8px}
 .primary-menu{display:none;flex-direction:column;max-height:70vh;overflow-y:auto;padding-bottom:8px}
 .primary-menu.is-open{display:flex}
 .primary-menu>li{width:100%}
 .primary-menu a{font-size:14px;line-height:1.35;min-height:42px;padding:11px 12px}
 .primary-menu .sub-menu{position:static;display:block;box-shadow:none;width:100%;padding-left:15px}
 .nhd-cart-link{display:block;padding:10px 8px}
 .ticker{width:100%;min-width:0;margin:10px auto 14px}
 .ticker-label{font-size:10px;max-width:92px;padding:8px 7px;flex-shrink:0}
 .ticker-items{min-width:0;flex:1;font-size:12px;padding:6px}
 .ticker-controls{flex-shrink:0}
 .ticker-controls button{min-width:28px;min-height:34px}
 .nhd-home .nhd-lead-layout{display:flex;flex-direction:column;gap:14px}
 .nhd-home .nhd-lead-main{order:0;width:100%}
 .nhd-home .nhd-lead-side{order:1;width:100%}
 .nhd-home .nhd-lead-right{order:2;width:100%;display:block}
 .nhd-home .nhd-top-card{grid-template-columns:95px minmax(0,1fr)}
 .nhd-home .nhd-top-card img{height:74px}
 .nhd-home .nhd-hero-card img{height:auto;max-height:240px;aspect-ratio:16/10;object-fit:cover}
 .nhd-home .nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .nhd-home .nhd-latest-card img{height:auto;aspect-ratio:4/3;object-fit:cover}
 .nhd-home .nhd-home-sections{grid-template-columns:1fr;gap:22px}
 .nhd-home .nhd-category-feature img{height:auto;aspect-ratio:16/9;object-fit:cover}
 .nhd-article-layout{display:flex;flex-direction:column;gap:14px}
 .nhd-article-layout .nhd-article-content{order:0;width:100%;margin:0}
 .nhd-article-layout .nhd-reporter-panel{order:1;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;text-align:left}
 .nhd-reporter-photo img{width:65px;height:65px;margin:0}
 .nhd-article-content h1,.nhd-article-layout .nhd-article-content h1{font-size:clamp(25px,6vw,34px);line-height:1.3}
 .entry-content{font-size:17px;line-height:1.75}
 .page-layout,.home-grid{grid-template-columns:1fr;gap:18px}
 .post-row{grid-template-columns:110px minmax(0,1fr);gap:12px}
 .post-row h2{font-size:17px}
 .content-sidebar{display:block}
 .footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .nhd-mag-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nhd-flip-stage{max-width:100%;overflow:auto}
 .nhd-flip-toolbar{gap:6px}
 .nhd-flip-toolbar button{min-height:40px}
 .nhd-paid-video{padding:14px}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
 .wrap{width:calc(100% - 20px)}
 .nhd-home .nhd-top-card{grid-template-columns:85px minmax(0,1fr);gap:9px}
 .nhd-home .nhd-top-card img{height:65px}
 .nhd-home .nhd-top-card h2{font-size:14px}
 .nhd-home .nhd-hero-card h1{font-size:23px}
 .nhd-home .nhd-latest-card h3{font-size:14px}
 .nhd-home .nhd-mini-story{grid-template-columns:70px minmax(0,1fr)}
 .nhd-home .nhd-mini-story img{width:70px;height:56px}
 .footer-widgets{grid-template-columns:1fr}
 .nhd-mag-card img,.nhd-mag-fallback{height:130px}
 .nhd-flip-toolbar strong{min-width:80px}
 .nhd-flip-toolbar button{font-size:12px;padding:8px}
}
@media(min-width:768px){.menu-toggle{display:none}}

/* v1.0.34 — selectable ad animations, each slot independent */
.nhd-banner{overflow:hidden}
.nhd-banner a{display:block;max-width:100%}
.nhd-ad-anim-fade img{animation:nhdAdFade 1.2s ease-out both}
.nhd-ad-anim-slide img{animation:nhdAdSlide .9s ease-out both}
.nhd-ad-anim-zoom img{animation:nhdAdZoom 6s ease-in-out infinite alternate}
.nhd-ad-anim-pulse img{animation:nhdAdPulse 2.6s ease-in-out infinite}
@keyframes nhdAdFade{from{opacity:0}to{opacity:1}}
@keyframes nhdAdSlide{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:translateX(0)}}
@keyframes nhdAdZoom{from{transform:scale(1)}to{transform:scale(1.035)}}
@keyframes nhdAdPulse{0%,100%{opacity:1}50%{opacity:.78}}
@media(prefers-reduced-motion:reduce){.nhd-ad-anim-fade img,.nhd-ad-anim-slide img,.nhd-ad-anim-zoom img,.nhd-ad-anim-pulse img{animation:none!important}}

/* v1.0.35: image hover zoom for published editorial imagery, excluding ads, logos and controls. */
@media (hover: hover) and (pointer: fine) {
  :is(.story-image,.post-thumbnail,.nhd-hero-card,.nhd-top-card,.nhd-latest-card,.nhd-mini-story,.nhd-category-feature,.post-row,.nhd-mag-card,.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo) img:not(.custom-logo):not(.avatar),
  :is(.entry-content,.nhd-article-content,.post-content) > p > img {
    transition: transform .42s cubic-bezier(.2,.7,.2,1), filter .42s ease;
    transform-origin: center center;
    will-change: auto;
  }
  :is(.story-image,.post-thumbnail,.nhd-hero-card,.nhd-top-card,.nhd-latest-card,.nhd-mini-story,.nhd-category-feature,.post-row,.nhd-mag-card,.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo):hover img:not(.custom-logo):not(.avatar),
  :is(.story-image,.post-thumbnail,.nhd-hero-card,.nhd-top-card,.nhd-latest-card,.nhd-mini-story,.nhd-category-feature,.post-row,.nhd-mag-card,.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo):focus-within img:not(.custom-logo):not(.avatar),
  :is(.entry-content,.nhd-article-content,.post-content) > p > img:hover {
    transform: scale(1.075);
    filter: saturate(1.06);
  }
}
/* Crop the zoom within image frames instead of overlapping text. */
:is(.story-image,.post-thumbnail,.nhd-hero-card,.nhd-top-card,.nhd-latest-card,.nhd-mini-story,.nhd-category-feature,.post-row,.nhd-mag-card,.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo){isolation:isolate}
:is(.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo){overflow:hidden}
@media (prefers-reduced-motion: reduce) {
  :is(.story-image,.post-thumbnail,.nhd-hero-card,.nhd-top-card,.nhd-latest-card,.nhd-mini-story,.nhd-category-feature,.post-row,.nhd-mag-card,.entry-content figure,.wp-block-image,.single-featured,.nhd-reporter-photo) img {transition:none!important;transform:none!important;filter:none!important}
}

/* Homepage section builder: full-width sections can be moved independently. */
.nhd-home-builder{display:flex;flex-direction:column;gap:0}
.nhd-home-builder [data-nhd-block]{min-width:0;max-width:100%}
.nhd-home-builder [data-nhd-block][hidden]{display:none!important}
.nhd-home-builder .nhd-home-content{display:contents}
.nhd-home-builder .nhd-home-sections{width:100%;margin:18px 0}
.nhd-home-builder .nhd-home-sidebar{width:100%;max-width:100%;margin:18px 0}
.nhd-home-builder .nhd-home-sidebar .widget{max-width:100%}
@media(max-width:767px){.nhd-home-builder .nhd-home-sections{grid-template-columns:1fr}.nhd-home-builder .nhd-home-sidebar{width:100%}}

/* v1.0.38: menu and breaking ticker interactive color states */
.main-nav .primary-menu>li>a,.main-nav .primary-menu .sub-menu a,.ticker .ticker-headline,.ticker .ticker-controls button{transition:color .2s ease,background-color .2s ease,box-shadow .2s ease}
@media(max-width:767px){.main-nav .primary-menu>li+li{border-left:0!important}.ticker .ticker-headline{max-width:100%}}

/* v1.0.39 — homepage image auto-responsiveness. Keep crop consistent without distortion. */
.nhd-home img,.nhd-home picture,.nhd-home figure{max-width:100%;min-width:0}
.nhd-home .nhd-news-image{display:block;width:100%;min-width:0;max-width:100%;overflow:hidden;position:relative}
.nhd-home .nhd-news-image img{display:block;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center;aspect-ratio:inherit}
.nhd-home .nhd-hero-card .nhd-news-image{aspect-ratio:16/10}
.nhd-home .nhd-latest-card .nhd-news-image{aspect-ratio:4/3}
.nhd-home .nhd-category-feature .nhd-news-image{aspect-ratio:16/9}
.nhd-home .nhd-top-card .nhd-news-image,.nhd-home .nhd-mini-story .nhd-news-image{aspect-ratio:4/3}
.nhd-home .nhd-hero-card img,.nhd-home .nhd-latest-card img,.nhd-home .nhd-category-feature img,.nhd-home .nhd-top-card img,.nhd-home .nhd-mini-story img{width:100%;height:100%;max-height:none;object-fit:cover}
.nhd-home .nhd-lead-layout>*,.nhd-home .nhd-latest-grid>*,.nhd-home .nhd-home-sections>*,.nhd-home .nhd-top-card>*,.nhd-home .nhd-mini-story>*{min-width:0;max-width:100%}
.nhd-home .nhd-mag-card img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:top}
@media(max-width:767px){
 .nhd-home .nhd-hero-card .nhd-news-image{aspect-ratio:16/10}
 .nhd-home .nhd-latest-card .nhd-news-image{aspect-ratio:4/3}
 .nhd-home .nhd-top-card .nhd-news-image,.nhd-home .nhd-mini-story .nhd-news-image{aspect-ratio:4/3}
 .nhd-home .nhd-category-feature .nhd-news-image{aspect-ratio:16/9}
}
@media(max-width:420px){
 .nhd-home .nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nhd-home .nhd-hero-card .nhd-news-image{aspect-ratio:16/10}
}

/* v1.0.40: compact homepage category thumbnails, newspaper-style category pages */
.nhd-home .nhd-home-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
.nhd-home .nhd-category-block{min-width:0}
.nhd-home .nhd-category-feature{display:grid;grid-template-columns:minmax(105px,36%) minmax(0,1fr);align-items:start;gap:11px}
.nhd-home .nhd-category-feature .nhd-news-image{width:100%;aspect-ratio:4/3;max-height:135px;grid-row:1 / span 3}
.nhd-home .nhd-category-feature .nhd-news-image img{width:100%;height:100%;object-fit:cover}
.nhd-home .nhd-category-feature h3{margin:0;font-size:15px;line-height:1.4}
.nhd-home .nhd-category-feature p{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.nhd-home .nhd-category-list{margin-top:9px}
.nhd-category-newspaper .nhd-category-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}
.nhd-category-newspaper .nhd-category-news-item{display:block;min-width:0;padding:0 0 14px;border-bottom:1px solid var(--line)}
.nhd-category-newspaper .nhd-category-news-thumb{display:block;width:100%;aspect-ratio:4/3;max-height:160px;overflow:hidden}
.nhd-category-newspaper .nhd-category-news-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.nhd-category-newspaper .nhd-category-news-thumb:hover img{transform:scale(1.075)}}
.nhd-category-newspaper .nhd-category-news-copy{padding-top:9px}
.nhd-category-newspaper .nhd-category-news-copy h2{font-size:16px;line-height:1.4;margin:0 0 5px}
.nhd-category-newspaper .nhd-category-news-copy .nhd-read-more{margin-top:7px;font-size:12px}
.nhd-category-newspaper .nhd-category-featured-item{grid-column:span 2;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}
.nhd-category-newspaper .nhd-category-featured-item .nhd-category-news-thumb{aspect-ratio:16/10;max-height:250px}
.nhd-category-newspaper .nhd-category-featured-item .nhd-category-news-copy h2{font-size:clamp(19px,2vw,25px)}
.nhd-category-newspaper .nhd-category-featured-item .nhd-category-news-copy p{display:block;font-size:13px;line-height:1.6}
@media(max-width:1000px){.nhd-category-newspaper .nhd-category-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 .nhd-home .nhd-home-sections{grid-template-columns:1fr}
 .nhd-home .nhd-category-feature{grid-template-columns:minmax(100px,35%) minmax(0,1fr)}
 .nhd-home .nhd-category-feature .nhd-news-image{aspect-ratio:4/3;max-height:115px}
 .nhd-category-newspaper .nhd-category-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 11px}
 .nhd-category-newspaper .nhd-category-featured-item{grid-column:span 2}
 .nhd-category-newspaper .nhd-category-news-copy h2{font-size:14px}
 .nhd-category-newspaper .nhd-category-news-thumb{max-height:145px}
}
@media(max-width:420px){
 .nhd-home .nhd-category-feature{grid-template-columns:110px minmax(0,1fr)}
 .nhd-home .nhd-category-feature .nhd-news-image{max-height:90px}
 .nhd-home .nhd-category-feature p{display:none}
 .nhd-category-newspaper .nhd-category-featured-item{display:block}
 .nhd-category-newspaper .nhd-category-featured-item .nhd-category-news-thumb{max-height:210px}
 .nhd-category-newspaper .nhd-category-featured-item .nhd-category-news-copy h2{font-size:19px}
}

/* v1.0.41: configurable top header category and custom URL menu */
.nhd-contact-inner{flex-wrap:wrap;row-gap:6px}
.nhd-top-custom-links{min-width:0;max-width:100%;flex:1 1 auto}
.nhd-top-links-menu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 14px;list-style:none;margin:0;padding:0}
.nhd-top-links-menu li{margin:0;padding:0;list-style:none}
.nhd-top-links-menu a{display:inline-block;padding:5px 2px;color:inherit;text-decoration:none;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
.nhd-top-links-menu a:hover,.nhd-top-links-menu .current-menu-item>a{color:var(--accent,#ff5722);text-decoration:underline;text-underline-offset:3px}
@media(max-width:767px){.nhd-top-custom-links{flex:1 1 100%;order:2}.nhd-top-links-menu{gap:2px 12px;justify-content:center}.nhd-top-links-menu a{padding:7px 2px;font-size:12px}.nhd-top-social{order:3}}

/* v1.0.42: Top header palette controls */
.topbar.nhd-contact-topbar{border-bottom:1px solid var(--nhd-top-border,#26365d)}
.topbar.nhd-contact-topbar .nhd-top-links-menu a{color:var(--nhd-top-link,#fff);padding:5px 8px;border-radius:3px;transition:color .2s,background-color .2s}
.topbar.nhd-contact-topbar .nhd-top-links-menu a:hover,
.topbar.nhd-contact-topbar .nhd-top-links-menu a:focus-visible{color:var(--nhd-top-link-hover,#ffcc33);background:var(--nhd-top-link-highlight,#253c70);text-decoration:none}
.topbar.nhd-contact-topbar .nhd-top-links-menu .current-menu-item>a,
.topbar.nhd-contact-topbar .nhd-top-links-menu .current-menu-ancestor>a{color:var(--nhd-top-link-active,#ffcc33);background:var(--nhd-top-link-highlight,#253c70);text-decoration:none}
.topbar.nhd-contact-topbar .nhd-top-social a{color:var(--nhd-top-social,#fff)}
.topbar.nhd-contact-topbar .nhd-top-social a:hover,
.topbar.nhd-contact-topbar .nhd-top-social a:focus-visible{color:var(--nhd-top-social-hover,#ffcc33)}
@media(prefers-reduced-motion:reduce){.topbar.nhd-contact-topbar .nhd-top-links-menu a{transition:none}}

/* v1.0.43 automatic latest-news card slider */
.nhd-updates-slider{margin:24px 0 32px;min-width:0}
.nhd-updates-slider .section-heading{gap:10px}
.nhd-updates-controls{display:flex;gap:5px}
.nhd-updates-controls button{background:var(--paper);border:1px solid var(--line);color:var(--ink);border-radius:3px;min-width:34px;min-height:34px;cursor:pointer}
.nhd-updates-controls button:hover{background:var(--accent);color:#fff}
.nhd-updates-controls button:disabled{opacity:.35;cursor:default}
.nhd-updates-window{overflow:hidden;max-width:100%;outline-offset:3px}
.nhd-updates-track{display:flex;gap:16px;transition:transform .45s ease;will-change:transform}
.nhd-updates-card{flex:0 0 calc((100% - 48px)/4);min-width:0}
.nhd-updates-image{display:block;overflow:hidden;border-radius:3px;aspect-ratio:16/10;background:var(--soft)}
.nhd-updates-image img{width:100%;height:100%;object-fit:cover}
.nhd-updates-card h3{font:700 15px/1.4 Arial,sans-serif;margin:8px 0 3px}
.nhd-updates-card .no-thumb{height:100%}
@media(max-width:1024px){.nhd-updates-card{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:767px){.nhd-updates-card{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:480px){.nhd-updates-card{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.nhd-updates-track{transition:none}}

/* v1.0.44: medium-sized, consistently cropped latest-news slider images */
.nhd-updates-slider{max-width:100%;margin:20px 0 26px}
.nhd-updates-track{gap:14px;align-items:stretch}
.nhd-updates-card{flex:0 0 calc((100% - 56px)/5);min-width:0}
.nhd-updates-image{width:100%;height:auto;aspect-ratio:4/3;max-height:165px;overflow:hidden;border-radius:6px;background:#eef1f5;box-shadow:0 1px 4px #00000012}
.nhd-updates-image img{display:block;width:100%;height:100%;max-height:165px;object-fit:cover;object-position:center;transition:transform .3s ease}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.nhd-updates-card:hover .nhd-updates-image img{transform:scale(1.045)}}
.nhd-updates-card h3{font-size:14px;line-height:1.4;margin:8px 0 4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
@media(max-width:1100px){.nhd-updates-card{flex-basis:calc((100% - 42px)/4)}}
@media(max-width:850px){.nhd-updates-card{flex-basis:calc((100% - 28px)/3)}}
@media(max-width:600px){.nhd-updates-card{flex-basis:calc((100% - 14px)/2)}.nhd-updates-image,.nhd-updates-image img{max-height:150px}}
@media(max-width:380px){.nhd-updates-card{flex-basis:calc((100% - 12px)/2)}.nhd-updates-image,.nhd-updates-image img{max-height:125px}.nhd-updates-card h3{font-size:12px}}
@media(prefers-reduced-motion:reduce){.nhd-updates-image img{transition:none}}

/* v1.0.45 typography: defaults are readable, controls override them. */
body{font-family:var(--nhd-font-body,Inter,Arial,Helvetica,sans-serif)}
.site-title,.story-title,.lead-story .story-title,.section-heading h2,.widget-title,.archive-intro h1,.post-row h2,.nhd-article-content h1,.nhd-home h1,.nhd-home h2,.nhd-home h3,.nhd-category-page h1,.nhd-category-page h2,.nhd-category-page h3,.nhd-latest-card h3,.nhd-slider-title{font-family:var(--nhd-font-heading,Merriweather,Georgia,serif)}
.entry-content{font-family:var(--nhd-font-body,Inter,Arial,sans-serif);font-size:var(--nhd-article-font-size,19px);line-height:1.85}
.primary-menu a,.nhd-top-header-links a,.nhd-top-links a,.ticker,.ticker-label,.nhd-latest-slider{font-family:var(--nhd-font-menu,Inter,Arial,sans-serif)}
.entry-content h2,.entry-content h3,.entry-content h4{font-family:var(--nhd-font-heading,Merriweather,Georgia,serif)}
@media(max-width:767px){.entry-content{font-size:clamp(16px,4.4vw,var(--nhd-article-font-size,19px));line-height:1.8}.nhd-article-content h1{line-height:1.3}}


/* NHD Newsroom 1.0.46 — modern editorial body redesign.
   Inspired by editorial hierarchy, not copied from any publisher. */
.nhd-home{--nhd-editorial-line:#e2e6eb;--nhd-editorial-ink:#15202d;--nhd-editorial-muted:#647184;--nhd-editorial-panel:#f7f9fb;--nhd-editorial-radius:8px;color:var(--nhd-editorial-ink)}
.nhd-home .nhd-lead-layout,.nhd-home .nhd-latest-section,.nhd-home .nhd-category-block,.nhd-home .nhd-updates-slider{min-width:0}
.nhd-home .nhd-lead-layout{gap:20px;margin:22px 0 32px;align-items:start}
.nhd-home .nhd-lead-main{min-width:0}
.nhd-home .nhd-hero-card{padding:0 0 15px;border-bottom:2px solid var(--nhd-editorial-line)}
.nhd-home .nhd-hero-card .nhd-news-image{border-radius:var(--nhd-editorial-radius);overflow:hidden;aspect-ratio:16/9;background:var(--nhd-editorial-panel)}
.nhd-home .nhd-hero-card h1{font-size:clamp(27px,2.8vw,38px);line-height:1.16;letter-spacing:-.025em;margin:11px 0 9px}
.nhd-home .nhd-hero-card p{color:var(--nhd-editorial-muted);font-size:14px;line-height:1.65;margin:7px 0}
.nhd-home .nhd-story-tag{color:var(--accent);font-size:11px;letter-spacing:.07em;font-weight:800;text-transform:uppercase;margin-top:10px}
.nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right{min-width:0}
.nhd-home .nhd-top-card{padding:0 0 13px;margin-bottom:13px;border-bottom:1px solid var(--nhd-editorial-line);gap:11px;align-items:start}
.nhd-home .nhd-top-card .nhd-news-image{border-radius:5px;overflow:hidden;aspect-ratio:4/3}
.nhd-home .nhd-top-card h2{font-size:clamp(14px,1.15vw,17px);line-height:1.35;letter-spacing:-.01em;margin:0}
.nhd-home .nhd-mini-heading{border-bottom:2px solid var(--accent);padding-bottom:10px;margin:0 0 15px;font-size:16px}
.nhd-home .nhd-mini-story{padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid var(--nhd-editorial-line);gap:10px}
.nhd-home .nhd-mini-story .nhd-news-image{border-radius:5px;overflow:hidden;aspect-ratio:4/3}
.nhd-home .nhd-mini-story h3{font-size:14px;line-height:1.4;margin:0 0 5px}
.nhd-home .nhd-mini-story span,.nhd-home .story-meta{color:var(--nhd-editorial-muted);font-size:11px}
.nhd-home .section-heading{margin-bottom:17px;padding:0 0 10px;border-bottom:2px solid var(--nhd-editorial-ink);gap:10px}
.nhd-home .section-heading h2{font-size:clamp(19px,2vw,25px);letter-spacing:-.02em}
.nhd-home .section-heading h2:before{border-radius:2px;height:21px;vertical-align:-4px}
.nhd-home .section-heading a{font-size:12px;white-space:nowrap}
.nhd-home .nhd-latest-section{margin:30px 0}
.nhd-home .nhd-latest-grid{gap:20px 16px}
.nhd-home .nhd-latest-card{padding:0 0 13px;border-bottom:1px solid var(--nhd-editorial-line);min-width:0}
.nhd-home .nhd-latest-card .nhd-news-image{border-radius:6px;overflow:hidden;aspect-ratio:4/3;background:var(--nhd-editorial-panel)}
.nhd-home .nhd-latest-card h3{font-size:15px;line-height:1.42;letter-spacing:-.01em;margin:10px 0 5px}
.nhd-home .nhd-home-sections{gap:24px 22px;margin-top:24px}
.nhd-home .nhd-category-block{background:var(--paper);padding:0 0 20px;border-bottom:1px solid var(--nhd-editorial-line);min-width:0}
.nhd-home .nhd-category-block .section-heading{border-bottom:1px solid var(--nhd-editorial-line);padding-bottom:11px}
.nhd-home .nhd-category-block .section-heading h2{font-size:20px}
.nhd-home .nhd-category-layout{min-width:0}
.nhd-home .nhd-category-feature{grid-template-columns:minmax(100px,35%) minmax(0,1fr);gap:12px;align-items:start}
.nhd-home .nhd-category-feature .nhd-news-image{aspect-ratio:4/3;max-height:120px;border-radius:5px;overflow:hidden}
.nhd-home .nhd-category-feature h3{font-size:16px;line-height:1.4;margin:0}
.nhd-home .nhd-category-feature p{color:var(--nhd-editorial-muted);font-size:12px;line-height:1.5;margin:5px 0 0}
.nhd-home .nhd-category-small{padding:9px 0;border-bottom:1px solid var(--nhd-editorial-line)}
.nhd-home .nhd-category-small:last-child{border-bottom:0}
.nhd-home .nhd-category-small h3{font-size:13px;line-height:1.45;margin:0}
.nhd-home .nhd-updates-slider{padding:18px 18px 21px;background:var(--nhd-editorial-panel);border:1px solid var(--nhd-editorial-line);border-radius:10px}
.nhd-home .nhd-updates-image{border-radius:6px;box-shadow:none}
.nhd-home .nhd-updates-card h3{font-size:14px;line-height:1.4}
.nhd-home .nhd-home-sidebar .widget{border-bottom:1px solid var(--nhd-editorial-line);padding-bottom:15px}
.nhd-home .nhd-home-sidebar .widget-title{font-size:18px}
.nhd-home a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1024px){
 .nhd-home .nhd-lead-layout{gap:15px}
 .nhd-home .nhd-home-sections{gap:20px}
 .nhd-home .nhd-hero-card h1{font-size:clamp(25px,3vw,34px)}
}
@media(max-width:767px){
 .nhd-home .nhd-lead-layout{gap:16px;margin:15px 0 23px}
 .nhd-home .nhd-hero-card .nhd-news-image{aspect-ratio:16/10}
 .nhd-home .nhd-hero-card h1{font-size:clamp(24px,5.5vw,32px)}
 .nhd-home .nhd-lead-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .nhd-home .nhd-top-card{display:block;margin:0;padding-bottom:10px}
 .nhd-home .nhd-top-card .nhd-news-image{margin-bottom:7px;aspect-ratio:4/3}
 .nhd-home .nhd-top-card h2{font-size:14px}
 .nhd-home .nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}
 .nhd-home .nhd-latest-card h3{font-size:14px}
 .nhd-home .nhd-home-sections{grid-template-columns:1fr;gap:22px}
 .nhd-home .nhd-category-feature .nhd-news-image{max-height:130px}
 .nhd-home .nhd-updates-slider{padding:13px}
}
@media(max-width:420px){
 .nhd-home .nhd-lead-side{gap:10px}
 .nhd-home .nhd-top-card h2{font-size:13px}
 .nhd-home .nhd-category-feature{grid-template-columns:100px minmax(0,1fr);gap:10px}
 .nhd-home .nhd-category-feature .nhd-news-image{max-height:85px}
 .nhd-home .nhd-category-feature h3{font-size:14px}
 .nhd-home .nhd-category-feature p{display:none}
 .nhd-home .nhd-latest-card h3{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.nhd-home .nhd-updates-track{transition:none}}

/* v1.0.49 Bangladesh news map */
.nhd-bd-map-section{margin:26px 0 30px;padding:20px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 5px 24px rgba(15,23,42,.05)}
.nhd-map-intro{color:#64748b;font-size:14px;margin:8px 0 16px}.nhd-map-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px}.nhd-map-controls label{font-weight:700;font-size:14px}.nhd-map-controls select{max-width:100%;min-width:145px;padding:9px;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.nhd-map-go{background:#a51e2c;color:#fff!important;text-decoration:none;padding:10px 14px;border-radius:6px;font-weight:700}.nhd-bd-map{height:460px;z-index:0;border-radius:10px;background:#e8f1ec;overflow:hidden}.nhd-bd-map .leaflet-container{z-index:0}@media(max-width:600px){.nhd-bd-map-section{padding:12px}.nhd-bd-map{height:360px}.nhd-map-controls select{flex:1;min-width:110px}}


/* v1.0.50 configurable newspaper header search */
.nhd-search-widget{position:relative;margin-left:auto;flex:0 0 auto;z-index:35;--nhd-search-background:#102a43;--nhd-search-text:#fff;--nhd-search-hover:#ffcc33;--nhd-search-panel:#fff}
.nhd-search-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 16px;border:1px solid transparent;border-radius:100px;background:var(--nhd-search-background);color:var(--nhd-search-text);font-size:13px;font-weight:700;cursor:pointer;transition:background .2s,transform .2s,box-shadow .2s;white-space:nowrap}
.nhd-search-trigger:hover,.nhd-search-trigger:focus-visible{background:var(--nhd-search-hover);color:#152238;box-shadow:0 4px 16px #0002;transform:translateY(-1px)}
.nhd-search-trigger:focus-visible,.nhd-search-panel input:focus-visible,.nhd-search-panel button:focus-visible{outline:3px solid #ffcc33;outline-offset:2px}
.nhd-search-outline .nhd-search-trigger{border:2px solid currentColor;background:transparent;color:#fff}
.nhd-search-square .nhd-search-trigger{border-radius:7px}
.nhd-search-minimal .nhd-search-trigger{border-radius:50%;width:40px;height:40px;padding:8px;background:transparent;color:#fff}
.nhd-search-minimal .nhd-search-trigger span{display:none}
.nhd-search-gradient .nhd-search-trigger{background:linear-gradient(120deg,var(--nhd-search-background),#2876b9);box-shadow:0 4px 12px #0002}
.nhd-search-panel{position:absolute;right:0;top:calc(100% + 12px);width:min(370px,calc(100vw - 32px));padding:14px;background:var(--nhd-search-panel);border:1px solid #dce2e8;border-radius:12px;box-shadow:0 12px 35px #0003;color:#1b2838}
.nhd-search-panel[hidden]{display:none!important}
.nhd-search-panel form{display:flex;gap:8px}
.nhd-search-panel input[type=search]{flex:1;min-width:0;padding:10px 12px;border:1px solid #cad3dc;border-radius:7px;background:#fff;color:#1b2838;font-size:14px}
.nhd-search-panel button{border:0;border-radius:7px;padding:9px 14px;background:var(--nhd-search-background);color:var(--nhd-search-text);font-weight:700;cursor:pointer}
.nhd-search-panel button:hover{background:var(--nhd-search-hover);color:#152238}
@media(max-width:600px){.nav-inner{position:relative}.nhd-search-widget{position:absolute;right:0;top:5px;margin:0}.nhd-search-trigger{min-height:36px;padding:7px 12px}.nhd-search-panel{right:0;top:calc(100% + 9px)}.menu-toggle{padding-right:120px}.nhd-search-minimal~.menu-toggle{padding-right:55px}}
@media(prefers-reduced-motion:reduce){.nhd-search-trigger{transition:none}}

/* v1.0.53 video clip usability */
.nhd-paid-video{margin-top:28px;margin-bottom:24px}.nhd-video-frame iframe,.nhd-video-frame video{min-height:220px}.nhd-video-frame p{padding:16px;color:#fff}.nhd-video-frame a{color:#fff;text-decoration:underline}

/* v1.0.54: video player accessibility and flexible display */
.nhd-paid-video .nhd-video-frame{width:100%;min-height:220px}
.nhd-paid-video .nhd-video-frame video,.nhd-paid-video .nhd-video-frame iframe{display:block;max-width:100%;width:100%;border:0}

/* v1.0.55 video editor/embed player */
.nhd-video-frame iframe,.nhd-video-frame video{display:block;width:100%;max-width:100%;aspect-ratio:16/9;border:0;background:#111;border-radius:10px}.nhd-video-frame{width:100%;max-width:900px;margin:15px auto}.nhd-paid-video{overflow:hidden}

/* v1.0.56 map fallback */
.nhd-map-fallback{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0}.nhd-map-fallback a{display:inline-block;padding:7px 11px;border-radius:20px;background:#eef3f8;color:#173c62;text-decoration:none;font-size:13px;font-weight:600}.nhd-map-fallback a:hover{background:#173c62;color:#fff}.nhd-map-error{padding:25px 15px;text-align:center;color:#5b6472}

/* v1.0.57 compact Bangladesh News Map — readable controls, smaller footprint */
.nhd-bd-map-section{max-width:780px;margin:20px auto 26px;padding:16px;border-radius:12px}
.nhd-bd-map-section .nhd-bd-map{height:290px;max-height:290px;width:100%;border-radius:9px}
.nhd-bd-map-section .nhd-map-intro{font-size:13px;margin:6px 0 10px}
.nhd-bd-map-section .nhd-map-controls{gap:8px;margin-bottom:10px}
.nhd-bd-map-section .nhd-map-controls select{padding:7px 9px;font-size:13px}
.nhd-bd-map-section .nhd-map-go{padding:8px 12px;font-size:13px}
@media(max-width:600px){.nhd-bd-map-section{max-width:100%;padding:11px;margin:14px auto 20px}.nhd-bd-map-section .nhd-bd-map{height:230px;max-height:230px}.nhd-bd-map-section .nhd-map-controls{gap:7px}}

/* v1.0.58 — responsive navigation and layout repair (320px–tablet) */
html{overflow-x:hidden}body{min-width:0;overflow-wrap:break-word}
.wrap,.nhd-home,.nhd-home-builder,.nhd-home-content,.page-layout,.nhd-article-layout{max-width:100%;min-width:0}
:where(.nhd-home,.entry-content,.widget,.woocommerce) :where(img,video,iframe,embed,object){max-width:100%}
:where(.entry-content,.widget,.nhd-home) :where(p,h1,h2,h3,h4,a){overflow-wrap:anywhere}
.entry-content iframe{max-width:100%}
.nhd-bd-map-section,.nhd-map-controls,.nhd-map-controls>*{min-width:0}
@media(max-width:767px){
 .wrap{width:calc(100% - 28px)}
 .main-nav .nav-inner{display:flex;align-items:center;flex-wrap:wrap;position:relative;min-height:48px}
 .main-nav .menu-toggle{display:block;flex:1 1 auto;width:auto;min-width:0;max-width:100%;padding:11px 8px;text-align:left;min-height:44px}
 .main-nav .primary-menu{display:none;order:10;flex:1 0 100%;width:100%;max-width:100%;flex-direction:column;max-height:70vh;overflow-y:auto;overflow-x:hidden;padding:0 0 8px}
 .main-nav .primary-menu.is-open{display:flex}
 .main-nav .primary-menu>li{width:100%}
 .main-nav .primary-menu a{display:block;padding:11px 12px;font-size:14px;line-height:1.4;white-space:normal}
 .main-nav .primary-menu .sub-menu{display:block;position:static;min-width:0;width:100%;box-shadow:none;padding-left:12px}
 .main-nav .nhd-search-widget{position:relative;right:auto;top:auto;order:2;flex:0 0 auto;margin-left:auto}
 .main-nav .nhd-search-trigger{min-height:38px;padding:7px 11px}
 .main-nav .nhd-search-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(350px,calc(100vw - 28px));max-width:calc(100vw - 28px)}
 .main-nav .nhd-cart-link{order:3;flex:0 0 auto}
 .masthead-inner{flex-wrap:wrap;justify-content:center;gap:12px}
 .masthead .site-branding{flex:1 1 100%;max-width:100%;text-align:center}
 .masthead .custom-logo{max-width:100%;height:auto;max-height:90px;margin-inline:auto}
 .masthead .header-ad,.masthead .nhd-banner-header{width:100%;max-width:100%;margin-inline:auto}
 .nhd-contact-inner,.nhd-contact-items,.nhd-top-social{flex-wrap:wrap;justify-content:center}
 .nhd-home .nhd-lead-layout,.nhd-home .nhd-home-sections,.nhd-home .nhd-latest-grid,.nhd-home .nhd-lead-side,.nhd-home .nhd-category-layout{min-width:0;max-width:100%}
 .nhd-home .nhd-lead-layout{display:flex;flex-direction:column}
 .nhd-home .nhd-lead-layout>*{width:100%;min-width:0}
 .page-layout,.home-grid,.lead-grid{grid-template-columns:minmax(0,1fr)}
 .content-sidebar{display:block;min-width:0}
 .nhd-article-layout{display:flex;flex-direction:column}
 .nhd-article-layout>*{width:100%;min-width:0}
 .post-row{grid-template-columns:minmax(0,110px) minmax(0,1fr)}
 .nhd-bd-map-section{width:100%;max-width:100%}
 .nhd-map-controls{display:flex;flex-wrap:wrap}
 .nhd-map-controls select{max-width:100%;flex:1 1 140px}
 .footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}
 .copyright-inner{flex-wrap:wrap}
}
@media(max-width:480px){
 .wrap{width:calc(100% - 20px)}
 .main-nav .nhd-search-trigger span{display:none}
 .main-nav .nhd-search-trigger{width:40px;padding:8px;justify-content:center}
 .main-nav .nhd-search-panel{right:0;width:min(330px,calc(100vw - 20px));max-width:calc(100vw - 20px)}
 .nhd-home .nhd-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .nhd-home .nhd-lead-side{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .nhd-home .nhd-category-feature{grid-template-columns:100px minmax(0,1fr)}
 .post-row{grid-template-columns:96px minmax(0,1fr);gap:10px}
 .post-row h2{font-size:16px}
 .footer-widgets{grid-template-columns:1fr}
 .nhd-bd-map-section .nhd-map-controls select{flex:1 1 100%;width:100%}
 .nhd-bd-map-section .nhd-map-go{width:100%;text-align:center}
 .nhd-bd-map-section .nhd-bd-map{height:225px;max-height:225px}
 .nhd-search-panel form{min-width:0}
 .nhd-search-panel input[type=search]{width:0;min-width:0}
}
@media(max-width:360px){.nhd-home .nhd-lead-side{grid-template-columns:1fr}.nhd-home .nhd-latest-grid{grid-template-columns:1fr 1fr}.nhd-home .nhd-top-card{grid-template-columns:75px minmax(0,1fr)}}

/* v1.0.59: mobile overflow and content stability */
@media(max-width:767px){
 body{overflow-x:clip}
 .nhd-home-builder,.nhd-home-builder>*,.nhd-home-content,.nhd-home-sections,.nhd-category-block,.nhd-category-layout,.nhd-latest-section,.nhd-latest-grid{min-width:0;max-width:100%}
 .nhd-home .nhd-category-layout,.nhd-home .nhd-category-block{width:100%}
 .nhd-home .nhd-category-feature,.nhd-home .nhd-category-small,.nhd-home .nhd-latest-card{min-width:0;overflow-wrap:anywhere}
 .nhd-updates-slider,.nhd-updates-window{width:100%;min-width:0;max-width:100%;overflow:hidden}
 .nhd-bd-map-section .leaflet-container{max-width:100%}
 .nhd-contact-topbar,.masthead,.main-nav{max-width:100%}
 .main-nav .nav-inner{gap:5px}
 .main-nav .menu-toggle{padding-right:8px}
 .nhd-search-widget{z-index:40}
 .entry-content table{display:block;max-width:100%;overflow-x:auto}
 .entry-content pre{max-width:100%;overflow-x:auto}
}
@media(max-width:480px){
 .nhd-home .nhd-category-layout{display:block}
 .nhd-home .nhd-category-feature{max-width:100%}
 .nhd-home .nhd-category-feature img{max-width:100%;height:auto}
 .nhd-home .section-heading{gap:8px}
 .nhd-home .section-heading h2{font-size:clamp(16px,5vw,21px)}
}

/* v1.0.60: avoid expensive rendering of below-the-fold category cards. */
@supports (content-visibility:auto){.nhd-home-sections .nhd-category-block:not(:first-child){content-visibility:auto;contain-intrinsic-size:auto 340px}}

/* v1.0.63: search belongs to the masthead, not the category navigation. */
.masthead-inner{flex-wrap:wrap}
.nhd-masthead-search{position:relative;display:flex;align-items:center;justify-content:flex-end;margin-left:auto;min-width:0;z-index:30}
.nhd-masthead-search .nhd-search-widget{position:relative;margin:0}
.nhd-masthead-search .nhd-search-trigger{cursor:pointer}
.nhd-masthead-search .nhd-search-panel{position:absolute;right:0;top:calc(100% + 10px);z-index:50;width:min(350px,calc(100vw - 28px));max-width:calc(100vw - 28px);box-shadow:0 12px 35px #0002}
.nhd-masthead-search .nhd-search-panel[hidden]{display:none!important}
.main-nav .nav-inner{justify-content:flex-start}
@media(max-width:800px){.nhd-masthead-search{margin-left:auto}}
@media(max-width:600px){.masthead .masthead-inner{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;text-align:left;gap:10px}.masthead .site-branding{flex:1 1 auto;min-width:0}.masthead .custom-logo{margin:0}.masthead .nhd-masthead-search{flex:0 0 auto;margin-left:auto}.masthead .nhd-search-trigger{max-width:100%}.masthead .nhd-search-panel{right:0;left:auto}}

/* v1.0.63: accessible recent searches in header search panel. */
.nhd-masthead-search .nhd-search-panel{overflow:visible}
.nhd-search-history{margin-top:13px;padding-top:11px;border-top:1px solid #e5e7eb}
.nhd-search-history[hidden]{display:none!important}
.nhd-search-history-head{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#334155}
.nhd-search-panel .nhd-search-history-clear{padding:3px 5px;border:0;background:transparent;color:#b91c1c;font-size:12px;cursor:pointer}
.nhd-search-history-list{list-style:none;margin:8px 0 0;padding:0;max-height:210px;overflow:auto}
.nhd-search-history-list li{margin:0;border-bottom:1px solid #f1f5f9}
.nhd-search-panel .nhd-search-history-item{display:block;width:100%;padding:8px 5px;text-align:left;background:transparent;color:#334155;border:0;font-size:13px;font-weight:400;white-space:normal;overflow-wrap:anywhere}
.nhd-search-panel .nhd-search-history-item:hover,.nhd-search-panel .nhd-search-history-item:focus-visible{background:#f1f5f9;color:#b91c1c}
@media(max-width:600px){.nhd-masthead-search .nhd-search-panel{width:min(350px,calc(100vw - 26px));max-width:calc(100vw - 26px)}}

/* v1.0.64: two-column recent-search history layout. */
.nhd-search-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:10px;row-gap:7px;align-items:stretch;max-height:240px}
.nhd-search-history-list li{min-width:0;margin:0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#f8fafc}
.nhd-search-panel .nhd-search-history-item{height:100%;min-height:36px;padding:8px 10px;line-height:1.35;overflow-wrap:anywhere;word-break:break-word}
.nhd-search-panel .nhd-search-history-item:focus-visible{outline:2px solid #b91c1c;outline-offset:-2px}
@media(max-width:360px){.nhd-search-history-list{column-gap:6px;row-gap:6px}.nhd-search-panel .nhd-search-history-item{padding:7px 6px;font-size:12px}}

/* v1.0.65: refined editorial search results page */
.nhd-search-page{padding-bottom:36px;min-width:0}
.nhd-search-hero{padding:27px clamp(18px,3.5vw,38px) 30px;margin:12px 0 29px;border:1px solid #e3e8ee;border-top:4px solid var(--accent);border-radius:12px;background:linear-gradient(125deg,#fff 60%,#f5f7fb);box-shadow:0 8px 28px rgba(18,35,55,.045)}
.nhd-search-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;color:var(--accent)}
.nhd-search-hero h1{font-size:clamp(26px,3.5vw,40px);font-family:Georgia,serif;line-height:1.2;margin:7px 0}
.nhd-search-summary{color:#5c6675;margin:0 0 19px;font-size:14px;overflow-wrap:anywhere}
.nhd-search-hero-form{display:flex;gap:9px;max-width:750px}
.nhd-search-hero-form input{min-width:0;flex:1;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:12px 15px;font-size:15px;color:#182335}
.nhd-search-hero-form input:focus{outline:2px solid var(--accent);outline-offset:1px}
.nhd-search-hero-form button{border:0;border-radius:7px;background:var(--accent);color:#fff;font-weight:700;padding:11px 24px;cursor:pointer}
.nhd-search-hero-form button:hover{filter:brightness(.9)}
.nhd-search-content{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;align-items:start}
.nhd-search-results{min-width:0}
.nhd-search-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:2px solid #1b2735;padding-bottom:10px;margin-bottom:18px}
.nhd-search-results-head h2{font-size:20px;font-family:Georgia,serif;line-height:1.25;margin:0}
.nhd-search-results-head span{font-size:12px;color:#64748b;white-space:nowrap}
.nhd-search-result-list{display:grid;gap:17px}
.nhd-search-result-card{display:grid;grid-template-columns:minmax(150px,235px) minmax(0,1fr);gap:20px;padding:0 0 18px;border-bottom:1px solid #e4e9ef;min-width:0}
.nhd-search-result-image{display:block;aspect-ratio:16/10;border-radius:8px;overflow:hidden;background:#e9eef4;min-width:0}
.nhd-search-result-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.nhd-search-result-card:hover .nhd-search-result-image img{transform:scale(1.025)}
.nhd-search-no-image{height:100%;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:13px;font-weight:800;letter-spacing:.08em}
.nhd-search-result-details{min-width:0}
.nhd-search-result-category{display:inline-block;font-size:11px;letter-spacing:.045em;text-transform:uppercase;color:var(--accent);font-weight:800;margin-bottom:5px}
.nhd-search-result-details h3{font:700 clamp(17px,1.9vw,23px)/1.32 Georgia,serif;margin:0 0 7px;overflow-wrap:anywhere}
.nhd-search-result-meta{font-size:12px;color:#788391;margin-bottom:7px}
.nhd-search-result-excerpt{font-size:14px;line-height:1.6;color:#515d6a;margin:0 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.nhd-search-read-more{color:var(--accent);font-weight:700;font-size:12px}
.nhd-search-read-more:hover{text-decoration:underline}
.nhd-search-empty{text-align:center;background:#f7f9fc;border:1px solid #e4e9ef;border-radius:12px;padding:38px 18px}
.nhd-search-empty>span{font-size:42px;color:#94a3b8;line-height:1}
.nhd-search-empty h2{font-size:22px;margin:8px 0}
.nhd-search-empty p{color:#64748b}
.nhd-search-empty a{display:inline-block;background:var(--accent);color:#fff;padding:9px 16px;border-radius:6px;font-size:13px;font-weight:700}
@media(max-width:900px){.nhd-search-content{grid-template-columns:minmax(0,1fr)}.nhd-search-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){.nhd-search-hero{padding:19px 15px 22px;margin-bottom:22px}.nhd-search-hero-form{gap:6px}.nhd-search-hero-form input{padding:10px;font-size:14px}.nhd-search-hero-form button{padding:10px 13px}.nhd-search-result-card{grid-template-columns:110px minmax(0,1fr);gap:12px;padding-bottom:15px}.nhd-search-result-image{aspect-ratio:4/3}.nhd-search-result-details h3{font-size:16px;line-height:1.3}.nhd-search-result-excerpt{display:none}.nhd-search-read-more{font-size:11px}.nhd-search-sidebar{grid-template-columns:1fr}.nhd-search-results-head h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.nhd-search-result-image img{transition:none}}

/* v1.0.66: refined search history panel and dedicated search-page activity section. */
.nhd-search-history{padding-top:16px;margin-top:16px;border-top:1px solid #e4e9f0}
.nhd-search-history-head{align-items:center;gap:12px}
.nhd-search-history-head>div{display:flex;flex-direction:column;gap:3px}
.nhd-history-kicker{display:block;color:#b91c1c;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.nhd-search-history-head strong{font-size:16px;line-height:1.2;color:#162438}
.nhd-history-hint{font-size:12px;color:#64748b;margin:7px 0 10px}
.nhd-search-panel .nhd-search-history-clear{font-weight:700;border:1px solid #f1d4d4;background:#fff7f7;padding:7px 10px;border-radius:7px;color:#a31b1b}
.nhd-search-history-list{gap:9px;max-height:245px}
.nhd-search-history-list li{border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;box-shadow:0 2px 5px #12203308}
.nhd-search-panel .nhd-search-history-item{display:flex;align-items:center;gap:7px;text-align:left;padding:10px 9px;min-height:44px;font-size:12px;font-weight:650;color:#24344a}
.nhd-history-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#e7edf4;color:#64748b;font-size:14px}
.nhd-history-term{min-width:0;overflow-wrap:anywhere}
.nhd-search-history-page{margin:0 0 28px;padding:22px clamp(15px,3vw,28px);border:1px solid #e1e8ef;border-radius:13px;background:#fff;box-shadow:0 6px 24px #14243808}
.nhd-search-history-page[hidden]{display:none!important}
.nhd-history-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.nhd-history-page-head h2{font-size:clamp(20px,2.4vw,27px);margin:4px 0 3px;line-height:1.25;color:#17283e}
.nhd-history-page-head p{font-size:13px;color:#64748b;margin:0}
.nhd-history-page-clear{border:1px solid #f0caca;background:#fff5f5;color:#ae2020;border-radius:8px;padding:9px 13px;font-weight:750;cursor:pointer;white-space:nowrap}
.nhd-history-page-clear:hover{background:#fee2e2}
.nhd-history-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;list-style:none;padding:0;margin:0}
.nhd-history-page-grid li{min-width:0;margin:0}
.nhd-history-page-item{display:flex;align-items:center;gap:11px;text-align:left;width:100%;min-height:58px;border:1px solid #e3e9f0;border-radius:10px;background:#f8fafc;color:#24344a;padding:11px 14px;cursor:pointer;font:inherit;font-weight:650;transition:border-color .15s,background .15s}
.nhd-history-page-item:hover,.nhd-history-page-item:focus-visible{background:#fff6f6;border-color:#e2a5a5;outline-offset:2px}
.nhd-history-index{font-size:11px;color:#a3afbd;font-weight:800;flex:0 0 20px}
.nhd-history-page-item .nhd-history-icon{margin-left:auto;order:3}
@media(max-width:600px){.nhd-history-page-head{align-items:flex-start}.nhd-history-page-head p{max-width:220px}.nhd-history-page-clear{padding:8px;font-size:11px}.nhd-history-page-grid{gap:8px}.nhd-history-page-item{padding:9px;gap:5px;min-height:54px;font-size:12px}.nhd-history-index{flex-basis:16px;font-size:10px}.nhd-history-page-item .nhd-history-icon{width:19px;height:19px;flex-basis:19px}}
@media(max-width:350px){.nhd-history-page-head{flex-wrap:wrap}.nhd-history-page-item{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nhd-history-page-item{transition:none}}

/* v1.0.67 — compact, accessible date-based news archive picker beside header search. */
.nhd-masthead-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nhd-header-date-form{display:flex;align-items:center;gap:7px;min-width:0;margin:0}
.nhd-header-date-form label{font-size:12px;font-weight:700;color:var(--ink);white-space:nowrap}
.nhd-header-date-form input[type=date]{width:145px;max-width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:6px 8px;background:#fff;color:#172b4d;font-size:13px;color-scheme:light}
.nhd-header-date-form button{min-height:38px;padding:7px 12px;border:0;border-radius:8px;background:#c71920;color:#fff;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap}
.nhd-header-date-form button:hover,.nhd-header-date-form button:focus-visible{background:#991b1b}
.nhd-header-date-form input:focus-visible,.nhd-header-date-form button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
@media(max-width:850px){.nhd-masthead-search{justify-content:flex-end}.nhd-header-date-form label{display:none}}
@media(max-width:600px){.masthead .nhd-masthead-search{display:flex;flex:1 1 100%;justify-content:space-between;gap:8px}.nhd-header-date-form{flex:1 1 auto;gap:5px}.nhd-header-date-form input[type=date]{width:100%;min-width:0;max-width:180px}.nhd-header-date-form button{padding:7px 9px}.nhd-masthead-search .nhd-search-widget{flex:0 0 auto}}
@media(max-width:360px){.nhd-header-date-form input[type=date]{max-width:132px;font-size:12px}.nhd-header-date-form button{font-size:11px;padding:7px}}

/* v1.0.68 — short date selector next to the search button. */
.nhd-masthead-search{gap:6px;flex-wrap:nowrap}
.nhd-header-date-form{gap:4px;flex:0 0 auto}
.nhd-header-date-form label{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nhd-header-date-form input[type=date]{width:118px;min-height:34px;padding:4px 5px;font-size:11px;border-radius:6px}
.nhd-header-date-form button{width:32px;min-width:32px;min-height:34px;padding:4px;border-radius:6px;font-size:17px;line-height:1}
@media(max-width:600px){.masthead .nhd-masthead-search{flex-wrap:nowrap;gap:6px}.nhd-header-date-form{flex:0 1 auto}.nhd-header-date-form input[type=date]{width:112px;max-width:112px}.nhd-header-date-form button{width:30px;min-width:30px;padding:3px}}
@media(max-width:360px){.nhd-header-date-form input[type=date]{width:102px;max-width:102px;font-size:10px}}

/* v1.0.69: compact date history popover, 2-column archive date cards. */
.nhd-date-history-wrap{position:relative;flex:0 0 auto}
.nhd-date-history-trigger{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #d8e1ec;border-radius:7px;background:#f8fafc;color:#263b54;font-size:23px;line-height:1;cursor:pointer}
.nhd-date-history-trigger:hover,.nhd-date-history-trigger[aria-expanded=true]{background:#fef2f2;color:#b91c1c;border-color:#f1b7b7}
.nhd-date-history-panel{position:absolute;z-index:110;top:calc(100% + 11px);right:0;width:min(350px,calc(100vw - 26px));padding:17px;border:1px solid #e0e7ef;border-radius:13px;background:#fff;box-shadow:0 14px 35px #0f172a24;color:#1e293b}
.nhd-date-history-panel[hidden],.nhd-date-history-empty[hidden],.nhd-date-history-clear[hidden]{display:none!important}
.nhd-date-history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:13px}
.nhd-date-history-heading strong{display:block;font-size:17px;line-height:1.3;margin-top:3px}
.nhd-date-history-heading p{margin:4px 0 0;font-size:11px;color:#64748b}
.nhd-date-history-clear{border:1px solid #f3caca;border-radius:7px;background:#fff6f6;color:#a71919;padding:7px 9px;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.nhd-date-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;list-style:none;margin:0;padding:0}
.nhd-date-history-grid li{min-width:0;margin:0;padding:0}
.nhd-date-history-item{display:flex;align-items:center;gap:8px;width:100%;min-height:46px;padding:9px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;color:#263b54;text-align:left;font-size:12px;font-weight:700;cursor:pointer}
.nhd-date-history-item:hover,.nhd-date-history-item:focus-visible{background:#fff1f2;border-color:#e7aaaa;outline-offset:2px}
.nhd-date-history-calendar{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:6px;background:#e8edf5;color:#64748b;font-size:16px}
.nhd-date-history-empty{margin:8px 0 2px;font-size:12px;color:#64748b}
@media(max-width:600px){.nhd-date-history-trigger{width:30px;height:34px}.nhd-date-history-panel{right:-42px}.nhd-masthead-search{gap:5px}}
@media(max-width:360px){.nhd-date-history-panel{right:-36px}.nhd-date-history-item{gap:5px;padding:7px;font-size:11px}}

/* v1.0.70 — minimal date selector and four-column date search history. */
.nhd-header-date-form input[type=date]{width:108px;min-width:108px;min-height:32px;padding:3px 4px;font-size:11px}
.nhd-header-date-form button{width:29px;min-width:29px;min-height:32px}
.nhd-date-history-trigger{width:30px;height:32px;font-size:20px}
.nhd-date-history-panel{width:min(520px,calc(100vw - 24px));padding:15px}
.nhd-date-history-heading{margin-bottom:12px}
.nhd-date-history-heading strong{font-size:15px}
.nhd-date-history-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.nhd-date-history-item{flex-direction:column;justify-content:center;gap:4px;min-height:62px;padding:7px 3px;text-align:center;font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.nhd-date-history-calendar{width:19px;height:19px;flex:0 0 19px;font-size:13px}
@media(max-width:600px){.nhd-header-date-form input[type=date]{width:105px;min-width:105px;max-width:105px}.nhd-date-history-panel{right:-43px;width:min(410px,calc(100vw - 20px));padding:10px}.nhd-date-history-grid{gap:5px}.nhd-date-history-item{font-size:9px;min-height:60px}}
@media(max-width:360px){.nhd-header-date-form input[type=date]{width:98px;min-width:98px;max-width:98px}.nhd-date-history-panel{right:-35px}.nhd-date-history-item{font-size:8px}}

/* v1.0.71 — dedicated date archive: prevent breadcrumb/grid-column misplacement. */
.nhd-date-archive-page{margin-top:22px;margin-bottom:48px;min-width:0}
.nhd-date-archive-breadcrumb{margin-bottom:14px}
.nhd-date-archive-hero{background:linear-gradient(120deg,#f8fafc,#fff);border:1px solid #e8edf3;border-left:5px solid var(--accent);border-radius:12px;padding:22px 26px;margin-bottom:26px}
.nhd-date-archive-kicker{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:1.2px}
.nhd-date-archive-hero h1{font:700 clamp(25px,3vw,38px)/1.2 Georgia,serif;margin:6px 0 7px;overflow-wrap:anywhere}
.nhd-date-archive-hero p{margin:0;color:var(--muted);font-size:13px}
.nhd-date-archive-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px;align-items:start}
.nhd-date-archive-feed,.nhd-date-archive-sidebar{min-width:0}
.nhd-date-archive-list{display:grid;gap:18px}
.nhd-date-archive-card{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:18px;border:1px solid #e8edf3;border-radius:12px;padding:13px;background:#fff;min-width:0;box-shadow:0 3px 14px #17212b08}
.nhd-date-archive-image{display:block;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#edf1f5}
.nhd-date-archive-image img{width:100%;height:100%;object-fit:cover}
.nhd-date-archive-placeholder{height:100%;display:grid;place-items:center;font-weight:800;color:#9aa4b2;font-size:13px}
.nhd-date-archive-category{font-size:11px;color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.3px}
.nhd-date-archive-copy h2{font:700 clamp(17px,2vw,23px)/1.35 Georgia,serif;margin:5px 0 8px;overflow-wrap:anywhere}
.nhd-date-archive-copy time{font-size:12px;color:var(--muted)}
.nhd-date-archive-copy p{font-size:13px;color:#56616d;line-height:1.55;margin:8px 0}
.nhd-date-archive-more{font-size:12px;font-weight:800;color:var(--accent)}
.nhd-date-archive-empty{text-align:center;border:1px solid #e8edf3;border-radius:12px;padding:55px 24px;background:#f8fafc}
.nhd-date-archive-empty>span{font-size:36px;color:#a6afbd}
.nhd-date-archive-empty h2{font:700 24px Georgia,serif;margin:12px 0}
.nhd-date-archive-empty p{color:#64748b;font-size:14px}
.nhd-date-archive-empty a{display:inline-block;margin-top:8px;padding:10px 17px;background:var(--accent);color:#fff;border-radius:7px;font-weight:700;font-size:13px}
@media(max-width:850px){.nhd-date-archive-layout{grid-template-columns:minmax(0,1fr)}.nhd-date-archive-sidebar{margin-top:12px}}
@media(max-width:540px){.nhd-date-archive-hero{padding:17px}.nhd-date-archive-card{grid-template-columns:110px minmax(0,1fr);gap:11px;padding:9px}.nhd-date-archive-copy h2{font-size:16px}.nhd-date-archive-copy p{display:none}.nhd-date-archive-image{aspect-ratio:4/4.2}.nhd-date-archive-more{display:inline-block;margin-top:7px}}

/* v1.0.73 — independent utility header for date search and keyword search. */
.nhd-tools-header{position:relative;z-index:45;background:#f8fafc;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.nhd-tools-header-inner{display:flex;align-items:center;justify-content:flex-end;min-height:48px;padding-top:6px;padding-bottom:6px}
.nhd-tools-header .nhd-masthead-search{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;flex-wrap:nowrap}
.nhd-tools-header .nhd-header-date-form{margin:0;flex:0 0 auto}
.nhd-tools-header .nhd-search-widget,.nhd-tools-header .nhd-date-history-wrap{position:relative;flex:0 0 auto}
.nhd-tools-header .nhd-search-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:200}
.nhd-tools-header .nhd-date-history-panel{z-index:210}
@media(max-width:600px){.nhd-tools-header-inner{min-height:45px;padding-top:5px;padding-bottom:5px}.nhd-tools-header .nhd-masthead-search{flex:initial;flex-wrap:nowrap;justify-content:flex-end;gap:5px}.nhd-tools-header .nhd-search-panel{right:0;width:min(350px,calc(100vw - 24px))}.nhd-tools-header .nhd-date-history-panel{right:-43px}}

/* v1.0.73 — search/date controls left, configurable announcement text right. */
.nhd-tools-header-inner{justify-content:space-between;gap:18px}
.nhd-tools-header .nhd-masthead-search{width:auto;flex:0 1 auto;justify-content:flex-start;min-width:0}
.nhd-tools-right-text{margin-left:auto;text-align:right;font-size:13px;font-weight:600;color:#334155;line-height:1.35;overflow-wrap:anywhere}
.nhd-tools-right-text:empty{display:none}
@media(max-width:700px){.nhd-tools-header-inner{gap:8px;flex-wrap:wrap}.nhd-tools-header .nhd-masthead-search{flex:0 0 auto}.nhd-tools-right-text{font-size:11px;flex:1 1 100%;text-align:right}}


/* v1.0.74: modern, colour-customisable date and search toolbar. */
.nhd-tools-header{background:var(--nhd-tools-bg,#f8fafc);color:var(--nhd-tools-text,#334155);border-color:color-mix(in srgb,var(--nhd-tools-text,#334155) 16%,transparent)}
.nhd-tools-right-text{color:var(--nhd-tools-text,#334155)}
.nhd-tools-header .nhd-header-date-form input[type=date]{height:37px;min-height:37px;border:1px solid color-mix(in srgb,var(--nhd-tools-text,#334155) 22%,transparent);border-radius:11px;background:#fff;color:#172033;box-shadow:0 2px 7px #0f172a0a;padding:5px 7px;transition:border-color .2s,box-shadow .2s}
.nhd-tools-header .nhd-header-date-form input[type=date]:focus-visible{border-color:var(--nhd-tools-accent,#c71920);box-shadow:0 0 0 3px color-mix(in srgb,var(--nhd-tools-accent,#c71920) 20%,transparent)}
.nhd-tools-header .nhd-header-date-form button{height:37px;min-height:37px;width:37px;min-width:37px;border-radius:11px;background:var(--nhd-tools-accent,#c71920);color:#fff;box-shadow:0 3px 9px #0f172a20;transition:transform .2s,filter .2s}
.nhd-tools-header .nhd-header-date-form button:hover,.nhd-tools-header .nhd-header-date-form button:focus-visible{filter:brightness(.88);transform:translateY(-1px)}
.nhd-tools-header .nhd-date-history-trigger{height:37px;width:37px;border-radius:11px;background:#fff;color:var(--nhd-tools-accent,#c71920);border:1px solid color-mix(in srgb,var(--nhd-tools-accent,#c71920) 25%,#fff);box-shadow:0 2px 7px #0f172a0a;transition:transform .2s,background .2s}
.nhd-tools-header .nhd-date-history-trigger:hover{transform:translateY(-1px);background:#f8fafc}
.nhd-tools-header .nhd-search-trigger{min-height:37px;border-radius:11px;background:var(--nhd-tools-accent,#c71920);color:#fff;border:1px solid transparent;box-shadow:0 3px 9px #0f172a20;transition:transform .2s,filter .2s}
.nhd-tools-header .nhd-search-trigger:hover,.nhd-tools-header .nhd-search-trigger:focus-visible{filter:brightness(.88);transform:translateY(-1px);background:var(--nhd-tools-accent,#c71920);color:#fff}
.nhd-tools-header .nhd-search-trigger svg{width:17px;height:17px}
@media(max-width:600px){.nhd-tools-header .nhd-header-date-form button,.nhd-tools-header .nhd-date-history-trigger{height:35px;min-height:35px;width:33px;min-width:33px}.nhd-tools-header .nhd-header-date-form input[type=date]{height:35px;min-height:35px}.nhd-tools-header .nhd-search-trigger{min-height:35px}}

/* v1.0.75: editable homepage body copy */
.nhd-home-body-text{margin:18px 0 24px;padding:22px 26px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;line-height:1.8;overflow-wrap:anywhere}
.nhd-home-body-text>:first-child{margin-top:0}.nhd-home-body-text>:last-child{margin-bottom:0}
.nhd-home-body-text h2,.nhd-home-body-text h3{margin:0 0 12px;line-height:1.35}.nhd-home-body-text p{margin:0 0 14px}
@media(max-width:600px){.nhd-home-body-text{padding:15px 16px;margin:12px 0 18px}}

/* v1.0.76 — WooCommerce products and course cards in homepage layout builder */
.nhd-home-products{margin:28px 0 34px;min-width:0}
.nhd-home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.nhd-home-product-grid.nhd-product-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.nhd-home-product-grid.nhd-product-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.nhd-home-product-card{background:var(--paper,#fff);border:1px solid rgba(100,116,139,.18);border-radius:10px;overflow:hidden;min-width:0;box-shadow:0 3px 14px rgba(15,23,42,.05)}
.nhd-home-product-thumb{display:block;aspect-ratio:4/3;background:#f1f5f9;overflow:hidden}
.nhd-home-product-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.nhd-home-product-card:hover .nhd-home-product-thumb img{transform:scale(1.04)}
.nhd-home-product-info{padding:13px 14px 16px}
.nhd-home-product-info h3{font-size:16px;line-height:1.4;margin:0 0 9px}
.nhd-home-product-info h3 a{text-decoration:none;color:inherit}
.nhd-home-product-price{font-weight:700;margin-bottom:12px;color:var(--accent,#bd1e1e)}
.nhd-home-product-link{display:inline-block;text-decoration:none;font-size:13px;font-weight:700;color:var(--accent,#bd1e1e)}
@media(max-width:850px){.nhd-home-product-grid,.nhd-home-product-grid.nhd-product-cols-3,.nhd-home-product-grid.nhd-product-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.nhd-home-product-grid{gap:10px}.nhd-home-product-info{padding:10px}.nhd-home-product-info h3{font-size:13px}}

/* v1.0.77: ensure products remain full-width after drag-and-drop layout placement. */
.nhd-home-builder > [data-nhd-block="products"]{display:block;width:100%;min-width:0;align-self:stretch}
.nhd-home-builder > [data-nhd-block="products"][hidden]{display:none!important}
.nhd-products-empty{padding:14px 18px;background:#fff8e7;border:1px solid #f4d38b;border-radius:8px;color:#684a10}

/* v1.0.78: visible breathing room between date, history and keyword search. */
.nhd-tools-header .nhd-masthead-search{gap:16px!important;align-items:center}
.nhd-tools-header .nhd-header-date-form{display:flex;align-items:center;gap:7px}
.nhd-tools-header .nhd-search-widget{margin-left:8px}
.nhd-tools-header .nhd-search-trigger,.nhd-tools-header .nhd-date-history-trigger,.nhd-tools-header .nhd-header-date-form button{cursor:pointer}
.nhd-tools-header .nhd-tools-right-text{white-space:pre-line}
@media(max-width:600px){.nhd-tools-header .nhd-masthead-search{gap:10px!important}.nhd-tools-header .nhd-search-widget{margin-left:3px}.nhd-tools-header .nhd-header-date-form{gap:4px}}

/* v1.0.81 editable homepage section descriptions */
.nhd-home-block-intro{font-size:15px;line-height:1.65;margin:10px 0 16px;color:inherit}.nhd-home-block-intro p{margin:0 0 8px}.nhd-editable-block-heading{font-size:clamp(18px,2vw,24px);margin:12px 0 8px}.nhd-home-builder [data-nhd-block="ticker"] .nhd-home-block-intro{display:none}

/* v1.0.82: modern, editable footer */
.nhd-footer-modern{position:relative;padding:0;margin-top:48px;background:var(--nhd-footer-bg);color:var(--nhd-footer-text);overflow:hidden}
.nhd-footer-accent{height:5px;background:linear-gradient(90deg,var(--nhd-footer-accent),#2ba4db 48%,var(--nhd-footer-accent));}
.nhd-footer-modern .nhd-footer-intro{display:flex;align-items:start;justify-content:space-between;gap:32px;padding:34px 0 26px;border-bottom:1px solid #ffffff30}
.nhd-footer-intro-copy{max-width:650px}.nhd-footer-intro h2{color:var(--nhd-footer-heading);font:800 clamp(24px,3vw,34px)/1.2 Georgia,serif;margin:0 0 12px}
.nhd-footer-description p,.nhd-footer-intro-copy>p{margin:0 0 10px;line-height:1.8}
.nhd-footer-links ul{display:flex;gap:8px 18px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.nhd-footer-links a{font-weight:600;font-size:13px}
.nhd-footer-modern .footer-widgets{padding:30px 0;gap:25px}.nhd-footer-modern .widget-title{border:0;padding:0 0 13px;position:relative;font-size:19px}.nhd-footer-modern .widget-title:after{content:"";position:absolute;bottom:0;left:0;width:42px;height:3px;background:var(--nhd-footer-accent);border-radius:4px}
.nhd-footer-modern .widget li{border-color:#ffffff25}.nhd-footer-modern a:hover{color:var(--nhd-footer-accent)!important}
.nhd-footer-note{border-top:1px solid #ffffff30;padding:14px 0 22px;line-height:1.7}.nhd-footer-note p{margin:5px 0}
.nhd-footer-modern .copyright{border:0;margin:0;padding:17px 0;background:var(--nhd-footer-bottom-bg);color:var(--nhd-footer-bottom-text)}
.nhd-footer-modern .copyright-inner{align-items:center}
@media(max-width:700px){.nhd-footer-modern .nhd-footer-intro{flex-direction:column;gap:15px;padding:26px 0 20px}.nhd-footer-modern .footer-widgets{grid-template-columns:repeat(2,minmax(0,1fr))}.nhd-footer-modern .copyright-inner{display:flex;flex-direction:column;align-items:flex-start;gap:6px}}
@media(max-width:480px){.nhd-footer-modern .footer-widgets{grid-template-columns:1fr}.nhd-footer-modern .nhd-footer-intro h2{font-size:25px}}

/* v1.0.83 editorial refinement: progressive enhancement; all existing controls remain. */
:root{--nhd-radius:14px;--nhd-shadow:0 8px 28px rgba(18,35,54,.065)}
body{overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid var(--accent,#c71920);outline-offset:3px}
:where(button,input,select,textarea){max-width:100%}
:where(.story-image,.nhd-updates-image,.nhd-home-product-image) img{transition:transform .32s ease}
@media(hover:hover){:where(.story-card,.nhd-latest-card,.nhd-updates-card,.nhd-home-product-card):hover img{transform:scale(1.035)}}
.section-heading{gap:12px;min-width:0;border-bottom-color:#dfe4ea;padding-bottom:11px}
.section-heading h2{font-size:clamp(20px,2.2vw,27px);letter-spacing:-.025em}
.section-heading h2:before{border-radius:5px}
.section-heading a{white-space:nowrap}
.nhd-home-builder > [data-nhd-block]{min-width:0;scroll-margin-top:85px}
.nhd-home-builder > [data-nhd-block]:not([hidden]){margin-bottom:clamp(22px,3vw,40px)}
.nhd-home-builder > [data-nhd-block][hidden]{display:none!important}
.nhd-home-body-text{padding:clamp(18px,3vw,32px);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:var(--nhd-radius);background:linear-gradient(120deg,#fff 60%,#f8fafc)}
.nhd-home-body-text p:last-child,.nhd-home-block-intro p:last-child{margin-bottom:0}
.nhd-category-block{border-bottom:1px solid var(--line);padding-bottom:clamp(18px,2vw,28px)}
.nhd-category-feature,.nhd-category-small,.nhd-latest-card,.nhd-updates-card,.nhd-home-product-card{min-width:0}
.nhd-category-feature img,.nhd-latest-card img,.nhd-updates-card img,.nhd-home-product-card img{border-radius:9px}
.nhd-category-feature h3,.nhd-latest-card h3,.nhd-updates-card h3{line-height:1.38;letter-spacing:-.015em}
.nhd-tools-header{border-bottom:1px solid #e9edf1}
.nhd-tools-header .nhd-masthead-search{flex-wrap:wrap;row-gap:9px}
.nhd-tools-header .nhd-tools-right-text{line-height:1.4}
.nhd-search-panel,.nhd-date-history-panel{box-shadow:0 14px 42px rgba(18,35,54,.14)}
.nhd-home-product-card{border-radius:var(--nhd-radius);overflow:hidden;transition:box-shadow .2s ease,transform .2s ease}
@media(hover:hover){.nhd-home-product-card:hover{box-shadow:var(--nhd-shadow);transform:translateY(-2px)}}
.nhd-footer-modern{isolation:isolate}
.nhd-footer-modern .nhd-footer-intro{gap:clamp(16px,3vw,40px)}
.nhd-footer-modern .footer-widgets{row-gap:25px}
.nhd-footer-modern .nhd-footer-column{min-width:0}
.nhd-footer-modern .widget a{transition:color .2s ease}
.nhd-footer-modern .copyright-inner{flex-wrap:wrap;line-height:1.6}
@media(max-width:900px){.nhd-home-builder{min-width:0}.nhd-home-product-grid{gap:14px}}
@media(max-width:600px){.wrap{width:min(var(--wrap),calc(100% - 26px))}.section-heading{align-items:flex-start}.section-heading h2{font-size:21px}.nhd-home-builder > [data-nhd-block]:not([hidden]){margin-bottom:25px}.nhd-home-body-text{padding:17px}.nhd-tools-header .nhd-masthead-search{column-gap:12px!important}.nhd-footer-modern .footer-widgets{gap:20px}.nhd-footer-modern .copyright-inner{gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v1.0.84: fixed scroll-to-bottom / back-to-top controls */
.nhd-scroll-controls{position:fixed;right:20px;bottom:24px;z-index:999;display:flex;flex-direction:column;gap:10px;align-items:center}
.nhd-scroll-btn{width:46px;height:46px;display:grid;place-items:center;background:#ff5c23;color:#fff;border:0;border-radius:9px;box-shadow:0 5px 17px rgba(0,0,0,.22);font-size:26px;font-weight:700;line-height:1;cursor:pointer;transition:transform .18s,background-color .18s}
.nhd-scroll-btn:hover{background:#d9420c;transform:translateY(-2px)}
.nhd-scroll-btn:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.nhd-scroll-btn[hidden]{display:none!important}
@media(max-width:600px){.nhd-scroll-controls{right:12px;bottom:16px;gap:8px}.nhd-scroll-btn{width:42px;height:42px;font-size:23px}}
@media(prefers-reduced-motion:reduce){.nhd-scroll-btn{transition:none}}

/* v1.0.85: editable linked text on the left, date and search actions at far right */
.nhd-tools-header .nhd-tools-header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:nowrap}
.nhd-tools-header .nhd-tools-right-text{order:0;margin:0 auto 0 0;text-align:left;min-width:0;flex:1 1 auto}
.nhd-tools-header .nhd-masthead-search{order:1;margin-left:auto;flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:20px!important;width:auto;flex-wrap:nowrap}
.nhd-tools-header .nhd-search-widget{margin-left:10px!important}
.nhd-tools-header .nhd-tools-text-link{color:inherit;text-decoration:none;display:inline-block}
.nhd-tools-header .nhd-tools-text-link:hover{text-decoration:underline;color:var(--nhd-tools-accent,#c71920)}
.nhd-tools-header .nhd-tools-text-link:focus-visible{outline:2px solid var(--nhd-tools-accent,#c71920);outline-offset:3px}
@media(max-width:700px){.nhd-tools-header .nhd-tools-header-inner{gap:10px;flex-wrap:wrap}.nhd-tools-header .nhd-tools-right-text{order:0;flex:1 1 100%;text-align:left}.nhd-tools-header .nhd-masthead-search{order:1;flex:0 0 auto;margin-left:auto;gap:14px!important}.nhd-tools-header .nhd-search-widget{margin-left:6px!important}}
@media(max-width:390px){.nhd-tools-header .nhd-masthead-search{gap:10px!important}.nhd-tools-header .nhd-search-widget{margin-left:3px!important}}

/* v1.0.86: removed date-history clock control from header by request. */


/* v1.0.87 — modern Bangladesh map and real district-news editorial panel */
.nhd-bd-map-section.nhd-map-modern{width:100%;max-width:1100px;margin:24px auto 32px;padding:0;overflow:hidden;border:1px solid #89b9e6;border-radius:20px;background:#eaf4ff;box-shadow:0 15px 42px rgba(4,38,81,.15);font-family:inherit}
.nhd-map-modern .nhd-map-hero{display:flex;align-items:center;gap:18px;padding:22px 25px;background:linear-gradient(115deg,#07264b,#08528c 65%,#0a6a9b);color:#fff}
.nhd-map-hero-icon{display:grid;place-items:center;flex:none;width:54px;height:54px;background:#c60820;border-radius:15px;font-size:32px;color:white}
.nhd-map-hero-copy{flex:1;min-width:0}.nhd-map-hero-copy h2{color:#fff!important;margin:3px 0 5px!important;font-size:clamp(21px,2.5vw,33px)!important;line-height:1.3}.nhd-map-hero-copy p{color:#d6e9ff;margin:0;font-size:14px}.nhd-map-eyebrow{font-size:10px;letter-spacing:.12em;color:#9dd6ff;font-weight:800}.nhd-map-hero-badge{border:1px solid #8ac9fa;border-radius:30px;padding:8px 13px;font-size:12px;white-space:nowrap;font-weight:700}
.nhd-map-modern-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:0;align-items:stretch}
.nhd-map-left{min-width:0;background:radial-gradient(ellipse at 65% 40%,#09669b 0%,#074273 55%,#062b55 100%);padding:18px;color:#fff}
.nhd-map-left-heading{font-weight:800;font-size:14px;margin-bottom:12px;color:#fff}.nhd-map-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#50e88a;box-shadow:0 0 10px #50e88a;margin-right:6px}
.nhd-map-modern .nhd-map-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;margin:0 0 12px}.nhd-map-modern .nhd-map-controls label{color:#e5f4ff;font-size:12px}.nhd-map-modern .nhd-map-controls select{min-width:0;width:100%;padding:8px 6px;border:1px solid #75add1;border-radius:9px;background:#f5fbff;color:#18344f;font-size:12px}.nhd-map-modern .nhd-map-go{grid-column:1/-1;justify-self:start;background:#c60820;border-radius:8px;padding:8px 14px}
.nhd-map-modern .nhd-map-canvas{border:2px solid rgba(171,220,255,.7);border-radius:15px;overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.17)}
.nhd-map-modern .nhd-bd-map-section .nhd-bd-map,.nhd-map-modern .nhd-bd-map{height:390px!important;max-height:none!important;width:100%;border-radius:0!important;background:#d4e9eb}
.nhd-map-modern .leaflet-container{font-family:inherit}.nhd-map-modern .nhd-map-note{font-size:11px;color:#d0e5f6;margin:12px 2px 0;line-height:1.5}
.nhd-map-right{min-width:0;padding:18px;background:linear-gradient(160deg,#edf7ff,#dceefa)}.nhd-map-news-heading{background:linear-gradient(95deg,#b40013,#d8212d);border-radius:11px;padding:13px 15px;color:#fff;font-size:18px;font-weight:800;margin-bottom:12px}
.nhd-map-news-list{display:grid;gap:9px}.nhd-map-news-card{display:flex;gap:12px;min-width:0;padding:10px;background:#fff;border:1px solid #d2e2f1;border-radius:12px;box-shadow:0 4px 12px rgba(18,56,88,.05)}.nhd-map-news-thumb{width:115px;min-width:115px;min-height:90px;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#a5d3f3,#1a5984);display:grid;place-items:center;text-decoration:none}.nhd-map-news-thumb img{width:100%;height:100%;object-fit:cover}.nhd-map-news-thumb span{font-weight:900;color:white;font-size:13px}.nhd-map-news-body{min-width:0;flex:1}.nhd-map-news-location{display:block;color:#b80b20;font-size:11px;font-weight:800}.nhd-map-news-body h3{font-size:15px!important;line-height:1.4!important;margin:3px 0!important}.nhd-map-news-body h3 a{color:#14263c;text-decoration:none}.nhd-map-news-body h3 a:hover{color:#b40013}.nhd-map-news-body p{font-size:12px;color:#52657b;margin:3px 0;line-height:1.45}.nhd-map-news-body time{font-size:11px;color:#64748b}.nhd-map-empty{padding:20px;background:white;border-radius:12px;color:#28445c}.nhd-map-empty p{font-size:13px;margin:7px 0 0}
.nhd-map-division-links{margin-top:15px}.nhd-map-division-links h3{font-size:15px;margin:0 0 9px;color:#123354}.nhd-map-division-links>div{display:flex;flex-wrap:wrap;gap:7px}.nhd-map-division-links a{background:#fff;color:#164b76;padding:7px 10px;border-radius:9px;border:1px solid #b7d3e8;font-size:12px;text-decoration:none;font-weight:700}.nhd-map-division-links a:hover{background:#b40013;color:white}
@media(max-width:780px){.nhd-map-modern-grid{grid-template-columns:minmax(0,1fr)}.nhd-map-hero-badge{display:none}.nhd-map-modern .nhd-bd-map{height:320px!important}.nhd-map-modern .nhd-map-hero{padding:16px}.nhd-map-left,.nhd-map-right{padding:13px}}
@media(max-width:420px){.nhd-map-modern .nhd-map-controls{grid-template-columns:auto minmax(0,1fr)}.nhd-map-modern .nhd-bd-map{height:270px!important}.nhd-map-news-thumb{width:86px;min-width:86px;min-height:85px}.nhd-map-news-body h3{font-size:13px!important}.nhd-map-news-body p{display:none}}

/* v1.0.88 — editable second footer bottom-note column */
.nhd-footer-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(20px,4vw,52px);border-top:1px solid #ffffff30;padding:18px 0 24px;align-items:start}
.nhd-footer-notes-grid .nhd-footer-note{border-top:0;padding:0;min-width:0;overflow-wrap:anywhere}
.nhd-footer-notes-grid .nhd-footer-note p:first-child{margin-top:0}
.nhd-footer-notes-grid .nhd-footer-note a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.nhd-footer-notes-grid .nhd-footer-note:empty{display:none}
.nhd-footer-notes-grid:not(:has(.nhd-footer-note-right:not(:empty))){grid-template-columns:minmax(0,1fr)}
@media(max-width:680px){.nhd-footer-notes-grid{grid-template-columns:minmax(0,1fr);gap:16px}.nhd-footer-notes-grid:not(:has(.nhd-footer-note-right:not(:empty))){grid-template-columns:minmax(0,1fr)}}

/* v1.0.89 — repeatable, sortable footer note blocks */
.nhd-footer-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;align-items:start}
.nhd-footer-notes-grid .nhd-footer-note{min-width:0;overflow-wrap:anywhere;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.nhd-footer-notes-grid .nhd-footer-note p:last-child{margin-bottom:0}
@media(max-width:680px){.nhd-footer-notes-grid{grid-template-columns:1fr}}

/* v1.0.90: independently editable two-column footer introduction */
.nhd-footer-modern .nhd-footer-intro{display:block}
.nhd-footer-intro-grid{width:100%;min-width:0}
.nhd-footer-intro-grid.has-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,44px)}
.nhd-footer-intro-grid .nhd-footer-intro-copy{max-width:none;min-width:0}
.nhd-footer-intro-right{min-width:0;overflow-wrap:anywhere;line-height:1.8}
.nhd-footer-intro-right p{margin:0 0 10px}
.nhd-footer-intro-right a{color:var(--nhd-footer-link,#fff);text-decoration:underline;text-underline-offset:3px}
.nhd-footer-modern .nhd-footer-links{margin-top:18px}
@media(max-width:700px){.nhd-footer-intro-grid.has-right{grid-template-columns:minmax(0,1fr);gap:16px}}

/* v1.0.91: right footer introduction split into two independent rows */
.nhd-footer-intro-right-rows{display:flex;flex-direction:column;gap:clamp(12px,1.8vw,24px)}
.nhd-footer-intro-right-row{min-width:0;overflow-wrap:anywhere}
.nhd-footer-intro-right-row + .nhd-footer-intro-right-row{border-top:1px solid rgba(255,255,255,.16);padding-top:clamp(12px,1.8vw,24px)}
.nhd-footer-intro-right-row > :last-child{margin-bottom:0}

/* v1.0.92: keep page scroll controls above sticky and floating page elements */
.nhd-scroll-controls{z-index:10020;pointer-events:none}
.nhd-scroll-controls .nhd-scroll-btn{pointer-events:auto;min-width:44px;min-height:44px}

/* v1.0.93: anchor date and search controls to the far left and increase separation. */
.nhd-tools-header .nhd-tools-header-inner{justify-content:flex-start}
.nhd-tools-header .nhd-masthead-search{margin-left:0;margin-right:auto;justify-content:flex-start;gap:30px;flex:0 1 auto;width:auto}
.nhd-tools-header .nhd-header-date-form{margin-right:0}
.nhd-tools-header .nhd-tools-right-text{margin-left:auto}
@media(max-width:700px){.nhd-tools-header .nhd-masthead-search{gap:17px;max-width:100%}}
@media(max-width:380px){.nhd-tools-header .nhd-masthead-search{gap:12px}}

/* v1.0.96: editable district news map settings */
.nhd-map-modern .nhd-map-hero{background:linear-gradient(115deg,var(--nhd-map-hero,#07264b),#08528c 95%)}
.nhd-map-modern .nhd-map-news-heading{background:var(--nhd-map-accent,#b40013)}
.nhd-map-modern .nhd-bd-map{height:var(--nhd-map-height,390px)!important}
@media(max-width:780px){.nhd-map-modern .nhd-bd-map{height:min(var(--nhd-map-height,390px),320px)!important}}

/* v1.0.97: automatic responsive and manually configurable district map dimensions */
.nhd-map-modern .nhd-map-canvas{width:var(--nhd-map-width,100%);max-width:100%;margin-inline:auto}
.nhd-map-modern.nhd-map-auto .nhd-bd-map{height:clamp(260px,38vw,520px)!important}
.nhd-map-modern.nhd-map-manual .nhd-bd-map{height:var(--nhd-map-height,390px)!important}
@media(max-width:780px){
 .nhd-map-modern.nhd-map-auto .nhd-bd-map{height:clamp(230px,65vw,380px)!important}
 .nhd-map-modern.nhd-map-manual .nhd-bd-map{height:var(--nhd-map-mobile-height,280px)!important}
}

/* v1.0.98: refined editorial top header, preserving all existing customizer colours */
.topbar.nhd-contact-topbar{position:relative;isolation:isolate;box-shadow:0 2px 12px rgba(8,20,45,.09);font-family:Inter,"Noto Sans Bengali","Hind Siliguri",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:12px;letter-spacing:.01em}
.topbar.nhd-contact-topbar::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,rgba(255,255,255,.075),transparent 42%,rgba(255,255,255,.035));z-index:-1}
.topbar.nhd-contact-topbar .nhd-contact-inner{min-height:45px;padding-block:7px;gap:clamp(12px,2vw,30px)}
.topbar.nhd-contact-topbar .nhd-contact-items{gap:8px clamp(12px,1.8vw,26px);min-width:0}
.topbar.nhd-contact-topbar .nhd-contact-items>a,.topbar.nhd-contact-topbar .nhd-top-date{font-size:12px;font-weight:550;line-height:1.5;transition:opacity .2s ease,transform .2s ease}
.topbar.nhd-contact-topbar .nhd-contact-items>a:hover{opacity:.84;transform:translateY(-1px)}
.topbar.nhd-contact-topbar .nhd-top-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:rgba(255,255,255,.11);font-size:13px;font-weight:700}
.topbar.nhd-contact-topbar .nhd-top-custom-links{min-width:0}
.topbar.nhd-contact-topbar .nhd-top-links-menu{display:flex;align-items:center;flex-wrap:wrap;gap:3px;margin:0;padding:0;list-style:none}
.topbar.nhd-contact-topbar .nhd-top-links-menu a{display:inline-flex;align-items:center;min-height:29px;padding:5px 10px;border-radius:7px;font-size:12px;font-weight:650;letter-spacing:.01em}
.topbar.nhd-contact-topbar .nhd-top-social{gap:7px;flex-shrink:0}
.topbar.nhd-contact-topbar .nhd-top-social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(255,255,255,.07);font-family:Inter,system-ui,sans-serif;font-size:13px;transition:background .2s,transform .2s,border-color .2s}
.topbar.nhd-contact-topbar .nhd-top-social a:hover,.topbar.nhd-contact-topbar .nhd-top-social a:focus-visible{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.45);transform:translateY(-2px)}
.topbar.nhd-contact-topbar a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:900px){.topbar.nhd-contact-topbar .nhd-contact-inner{flex-wrap:wrap;justify-content:space-between;gap:7px 16px}.topbar.nhd-contact-topbar .nhd-contact-items{flex:1 1 100%}.topbar.nhd-contact-topbar .nhd-top-custom-links{flex:1 1 auto}}
@media(max-width:600px){.topbar.nhd-contact-topbar .nhd-contact-inner{min-height:0;padding-block:9px;gap:9px}.topbar.nhd-contact-topbar .nhd-contact-items{gap:7px 12px}.topbar.nhd-contact-topbar .nhd-contact-items>a{font-size:11px}.topbar.nhd-contact-topbar .nhd-top-links-menu a{font-size:11px;padding:4px 7px}.topbar.nhd-contact-topbar .nhd-top-social a{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.topbar.nhd-contact-topbar a{transition:none!important}.topbar.nhd-contact-topbar a:hover{transform:none!important}}

/* v1.0.99: Maintain spacing when section titles are hidden. */
.nhd-category-block .section-heading:has(>a:only-child){justify-content:flex-end}

/* v1.1.00: independently publishable homepage body text blocks */
.nhd-home-body-text-item + .nhd-home-body-text-item{margin-top:22px;padding-top:18px;border-top:1px solid rgba(100,116,139,.18)}

/* v1.1.01: homepage layout stability and responsive overflow protection.
   Keep all columns shrinkable; content growth must increase height, not width. */
.nhd-home,.nhd-home *, .home-grid,.lead-grid,.news-list,.category-grid{min-width:0}
.nhd-home :is(.nhd-lead-layout,.nhd-home-content,.nhd-category-layout,.nhd-latest-grid,.nhd-lead-side,.nhd-lead-right,.nhd-home-product-grid,.nhd-map-modern-grid,.nhd-footer-notes-grid),
.nhd-home :is(.nhd-lead-layout,.nhd-home-content,.nhd-category-layout,.nhd-latest-grid,.nhd-lead-side,.nhd-lead-right,.nhd-home-product-grid,.nhd-map-modern-grid) > *{min-width:0;max-width:100%}
.nhd-home :is(.nhd-home-sections,.nhd-category-block,.nhd-category-feature,.nhd-category-list,.nhd-latest-card,.nhd-top-card,.nhd-hero-card,.nhd-mini-story,.nhd-home-body-text,.nhd-home-product-card,.nhd-map-news-card,.nhd-map-news-body,.widget){min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
.nhd-home :is(h1,h2,h3,h4,p,a,.story-title,.section-heading,.nhd-mini-heading){overflow-wrap:anywhere;word-break:normal}
.nhd-home :is(img,video,iframe,embed,object,svg){max-width:100%}
.nhd-home :is(.nhd-news-image,.story-image,.nhd-home-product-thumb,.nhd-map-news-thumb){min-width:0;max-width:100%;overflow:hidden}
.nhd-home :is(.nhd-news-image,.story-image,.nhd-home-product-thumb) img{display:block;width:100%;height:100%;object-fit:cover}
.nhd-home :is(.nhd-home-body-text,.entry-content,.wp-block-group,.wp-block-columns,.wp-block-column){min-width:0;max-width:100%;overflow-wrap:anywhere}
.nhd-home :is(.nhd-home-body-text,.entry-content) :is(table,pre){display:block;max-width:100%;overflow-x:auto}
.nhd-home :is(.nhd-home-body-text,.entry-content) :is(iframe,video){max-width:100%}
.nhd-home :is(.nhd-banner,.nhd-ad-placeholder){min-width:0;max-width:100%}
.nhd-home .section-heading{min-width:0;gap:12px;flex-wrap:wrap}
.nhd-home .section-heading h2{min-width:0;flex:1 1 180px}
.nhd-home .nhd-lead-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr)}
.nhd-home .nhd-home-content{grid-template-columns:minmax(0,1fr) minmax(0,300px)}
.nhd-home .nhd-category-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.nhd-home .nhd-latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:950px){
 .nhd-home .nhd-lead-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
 .nhd-home .nhd-home-content{grid-template-columns:minmax(0,1fr) minmax(0,240px)}
}
@media(max-width:700px){
 .nhd-home .nhd-lead-layout,.nhd-home .nhd-home-content{grid-template-columns:minmax(0,1fr)}
 .nhd-home .nhd-latest-grid,.nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right{grid-template-columns:repeat(2,minmax(0,1fr))}
 .nhd-home .nhd-category-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .nhd-home .nhd-home-product-grid,.nhd-home .nhd-home-product-grid.nhd-product-cols-2,.nhd-home .nhd-home-product-grid.nhd-product-cols-3,.nhd-home .nhd-home-product-grid.nhd-product-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .nhd-home .nhd-latest-grid,.nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right,.nhd-home .nhd-category-layout{grid-template-columns:minmax(0,1fr)}
 .nhd-home .nhd-home-product-grid,.nhd-home .nhd-home-product-grid.nhd-product-cols-2,.nhd-home .nhd-home-product-grid.nhd-product-cols-3,.nhd-home .nhd-home-product-grid.nhd-product-cols-4{grid-template-columns:minmax(0,1fr)}
 .nhd-home .nhd-home-body-text{padding:16px}
}
/* Long unbroken URLs and third-party embeds cannot widen the page. */
.nhd-home :is(.nhd-home-sections,.nhd-home-body-text,.nhd-category-block,.nhd-map-right){overflow-wrap:anywhere}
.nhd-home :is(.wp-block-embed,.wp-block-image,.wp-block-gallery){max-width:100%}

/* v1.1.02 — responsive advertisements never stretch homepage columns. */
.nhd-banner,.nhd-banner a,.nhd-ad-placeholder{box-sizing:border-box;min-width:0;max-width:100%}
.nhd-banner{width:100%;overflow:hidden}
.nhd-banner img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.nhd-banner-home{max-width:970px;margin-inline:auto}
.nhd-banner-header,.nhd-banner-article_top,.nhd-banner-article_bottom{max-width:728px}
.nhd-banner-article_inline{max-width:468px}
.nhd-banner-sidebar,.nhd-banner-article_sidebar{max-width:300px}
.nhd-ad-placeholder{width:100%;height:auto;overflow-wrap:anywhere}
@media(max-width:767px){.nhd-banner,.nhd-banner-home,.nhd-banner-header,.nhd-banner-sidebar{max-width:100%}.nhd-banner img{height:auto;max-height:none}}


/* NHD Newsroom v1.1.03 — single article layout correction.
 * Safe to use as Additional CSS on v1.1.02, or as part of v1.1.03.
 * WordPress uses single-post on <body>; it must never constrain the whole page.
 */
body.single-post {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
main.wrap.nhd-single-page {
  width: min(var(--wrap, 1180px), calc(100% - 36px));
  max-width: 100%;
  margin-inline: auto;
  padding-block: 22px 44px;
}
.nhd-single-page .nhd-single-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}
.nhd-single-page .nhd-single-columns > .nhd-article-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  align-items: start;
}
.nhd-single-page .nhd-article-layout > :is(.nhd-article-content, .single-post) {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.nhd-single-page .nhd-article-content > article,
.nhd-single-page .single-post > article {
  min-width: 0;
  width: 100%;
  margin: 0;
}
.nhd-single-page :is(.nhd-article-content, .single-post) h1 {
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.22;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.nhd-single-page .entry-content {
  min-width: 0;
  max-width: 100%;
  font-size: var(--nhd-article-font-size, 19px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.nhd-single-page .single-featured {
  width: 100%;
  margin: 20px 0;
}
.nhd-single-page .single-featured img,
.nhd-single-page .entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
}
.nhd-single-page .single-featured img {
  width: 100%;
  object-fit: contain;
}
.nhd-single-page .entry-content :is(figure, .wp-caption, video, iframe, embed, object) {
  max-width: 100%;
}
.nhd-single-page .entry-content :is(table, pre) {
  max-width: 100%;
  overflow-x: auto;
}
.nhd-single-page .nhd-single-columns > .nhd-single-latest {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 16px;
}
.nhd-single-page .nhd-single-latest-image {
  flex: 0 0 80px;
  width: 80px;
}
.nhd-single-page .nhd-single-latest-details {
  min-width: 0;
  overflow-wrap: anywhere;
}
.nhd-single-page .nhd-single-latest-details h3 {
  font-size: 14px;
  line-height: 1.45;
}
.nhd-single-page .post-navigation .nav-links {
  flex-wrap: wrap;
}
@media (max-width: 1199px) {
  .nhd-single-page .nhd-single-columns > .nhd-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .nhd-single-page .nhd-article-layout > .nhd-reporter-panel {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 3px 14px;
    align-items: start;
    text-align: left;
    padding: 12px;
    width: 100%;
    order: 0;
  }
  .nhd-single-page .nhd-reporter-panel > .nhd-reporter-photo {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .nhd-single-page .nhd-reporter-panel > :not(.nhd-reporter-photo) {
    grid-column: 2;
    min-width: 0;
  }
  .nhd-single-page .nhd-reporter-photo img {
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .nhd-single-page .nhd-reporter-published {
    margin: 3px 0 0;
    padding: 4px 0 0;
  }
}
@media (max-width: 1023px) {
  .nhd-single-page .nhd-single-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .nhd-single-page .nhd-single-columns > .nhd-single-latest {
    grid-column: 1;
    grid-row: auto;
  }
  .nhd-single-page .nhd-single-latest-image {
    flex-basis: 104px;
    width: 104px;
  }
  .nhd-single-page .nhd-single-latest-details h3 {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  main.wrap.nhd-single-page {
    width: calc(100% - 28px);
    padding-top: 16px;
  }
  .nhd-single-page :is(.nhd-article-content, .single-post) h1 {
    font-size: clamp(27px, 5.4vw, 34px);
    line-height: 1.25;
  }
  .nhd-single-page .entry-content {
    font-size: clamp(16px, 4.4vw, var(--nhd-article-font-size, 19px));
    line-height: 1.8;
  }
}
@media (max-width: 380px) {
  main.wrap.nhd-single-page { width: calc(100% - 24px); }
  .nhd-single-page .nhd-single-latest-image { flex-basis: 84px; width: 84px; }
}


/* v1.1.04 — one scrolling track and accessible speed controls. */
.ticker .ticker-track{min-width:0}
.ticker .ticker-speed-control{display:inline-flex;align-items:center;margin-left:5px}
.ticker .ticker-speed-select{max-width:110px;min-height:32px;padding:3px 5px;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--ink);font-size:12px;cursor:pointer}
.ticker .ticker-speed-select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ticker .ticker-controls{flex-shrink:0;flex-wrap:wrap}
.nhd-ticker-scroll .ticker-items{display:block;min-width:0;overflow:hidden}
.nhd-ticker-scroll .ticker-track{display:flex;gap:25px;width:max-content;max-width:none;animation:none}
.nhd-ticker-scroll .ticker-headline{animation:none!important;max-width:none!important;flex:none;overflow:visible;white-space:nowrap}
.nhd-ticker-scroll.nhd-ticker-ready .ticker-track{animation:nhd-ticker-track var(--nhd-scroll-duration,45s) linear infinite}
.nhd-ticker-scroll.nhd-ticker-paused .ticker-track{animation-play-state:paused}
@keyframes nhd-ticker-track{from{transform:translateX(var(--nhd-ticker-start,100%))}to{transform:translateX(var(--nhd-ticker-end,-100%))}}
.nhd-ticker-scroll.nhd-ticker-reduced .ticker-items{overflow-x:auto}
.nhd-ticker-scroll.nhd-ticker-reduced .ticker-track{animation:none;transform:none}
@media(max-width:600px){.ticker{flex-wrap:wrap}.ticker .ticker-items{flex-basis:calc(100% - 110px)}.ticker .ticker-controls{width:100%;justify-content:flex-end;padding:5px 6px;border-top:1px solid var(--line)}.ticker .ticker-speed-select{min-height:34px}}
@media(prefers-reduced-motion:reduce){.nhd-ticker-scroll .ticker-track{animation:none!important;transform:none!important}.nhd-ticker-scroll .ticker-items{overflow-x:auto}}

.nhd-ticker-scroll.nhd-ticker-single .ticker-track{animation:none;transform:none}.nhd-ticker-scroll.nhd-ticker-single .ticker-items{overflow-x:auto}

/* v1.1.05: configurable Popular News vertical list. Without JS, every item remains readable. */
.nhd-popular-news{min-width:0;max-width:100%;padding:16px;border:1px solid var(--line);border-radius:7px;background:var(--nhd-popular-bg,var(--paper));color:var(--nhd-popular-ink,var(--ink));overflow:hidden}
.nhd-popular-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0;margin-bottom:5px}
.nhd-popular-header .widget-title{flex:1;min-width:0;margin:0;padding-bottom:10px;overflow-wrap:anywhere;color:inherit;border-color:var(--nhd-popular-accent,var(--accent));font-size:21px}
.nhd-popular-controls{display:flex;gap:3px;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.nhd-popular-controls[hidden]{display:none!important}
.nhd-popular-controls button{border:1px solid var(--line);background:var(--soft);color:inherit;border-radius:3px;min-width:28px;min-height:32px;padding:2px 5px;cursor:pointer;font:700 16px/1.2 Arial,sans-serif}
.nhd-popular-controls button:hover{border-color:var(--nhd-popular-accent,var(--accent))}
.nhd-popular-news :is(button,a):focus-visible{outline:2px solid var(--nhd-popular-accent,var(--accent));outline-offset:2px}
.nhd-popular-viewport{min-width:0;max-width:100%;height:auto}
.nhd-popular-active .nhd-popular-viewport{overflow:hidden}
.nhd-popular-news ul.nhd-popular-track{display:block;list-style:none;gap:0;margin:0;padding:0;min-width:0;transform:none}
.nhd-popular-news li.nhd-popular-item{display:block;margin:0;padding:12px 0;border:0;border-bottom:1px solid var(--line);min-width:0;box-sizing:border-box;list-style:none}
.nhd-popular-link{display:flex;gap:10px;align-items:flex-start;width:100%;min-width:0;color:inherit;text-decoration:none}
.nhd-popular-link:hover{color:var(--nhd-popular-accent,var(--accent))}
.nhd-popular-image{flex:0 0 76px;width:76px;aspect-ratio:4/3;overflow:hidden;border-radius:4px;background:var(--soft)}
.nhd-popular-image img{display:block;width:100%;height:100%;margin:0;object-fit:cover}
.nhd-popular-noimage{display:flex;align-items:center;justify-content:center;height:100%;font:700 10px Arial,sans-serif;color:var(--muted)}
.nhd-popular-copy{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.nhd-popular-title{display:-webkit-box;-webkit-line-clamp:var(--nhd-popular-lines,3);-webkit-box-orient:vertical;overflow:hidden;font:700 15px/1.45 var(--nhd-font-heading,Arial,sans-serif)}
.nhd-popular-copy :is(time,.nhd-popular-category,.nhd-popular-comments){display:block;font:400 11px/1.5 var(--nhd-font-body,Arial,sans-serif);margin-top:5px;color:var(--muted)}
.nhd-popular-copy .nhd-popular-category{color:var(--nhd-popular-accent,var(--accent));font-weight:700}
.nhd-popular-excerpt{display:block;margin-top:6px;font:400 13px/1.6 var(--nhd-font-body,Arial,sans-serif);color:inherit}
.nhd-popular-rank{flex:0 0 24px;width:24px;min-height:24px;border-radius:50%;background:var(--nhd-popular-accent,var(--accent));color:#fff;text-align:center;font:700 12px/24px Arial,sans-serif}
.nhd-popular-cards .nhd-popular-link{flex-wrap:wrap}
.nhd-popular-cards .nhd-popular-image{flex-basis:100%;width:100%;aspect-ratio:16/9}
.nhd-popular-cards .nhd-popular-copy{flex-basis:100%}
.nhd-popular-more{display:inline-block;margin-top:14px;font:700 13px/1.5 var(--nhd-font-body,Arial,sans-serif);color:var(--nhd-popular-accent,var(--accent))}
.nhd-popular-empty{font-size:14px;color:var(--muted)}
.widget .nhd-popular-news{margin-bottom:0}
@media(max-width:380px){.nhd-popular-news{padding:12px}.nhd-popular-image{width:64px;flex-basis:64px}.nhd-popular-header .widget-title{font-size:19px}.nhd-popular-controls button{min-width:26px}.nhd-popular-rank{width:20px;flex-basis:20px}}
@media(prefers-reduced-motion:reduce){.nhd-popular-track{transition:none!important;transform:none!important}.nhd-popular-viewport{height:auto!important;overflow:visible!important}}


/* v1.1.06 — visible from server HTML, then scroll seamlessly from x=0. */
.ticker .ticker-sequence{min-width:0}
.nhd-ticker-scroll .ticker-track{gap:25px;transform:translateX(0)}
.nhd-ticker-scroll .ticker-sequence{display:flex;align-items:center;gap:25px;flex:0 0 auto;width:max-content;max-width:none}
.nhd-ticker-scroll:not(.nhd-ticker-ready) .ticker-track{animation:none;transform:none}
.nhd-ticker-fade:not(.nhd-ticker-has-advanced) .ticker-headline{animation:none}
.nhd-ticker-scroll.nhd-ticker-reduced .ticker-sequence-copy{display:none}

/* v1.1.07 — dedicated location archive, without nested sidebar grids. */
main.wrap.nhd-location-page{display:block;width:min(var(--wrap,1180px),calc(100% - 36px));max-width:100%;margin:0 auto;padding:24px 0 44px;min-width:0}
.nhd-location-breadcrumb{margin:0 0 20px;font:400 13px/1.6 var(--nhd-font-body,Arial,sans-serif);color:var(--muted)}
.nhd-location-breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.nhd-location-breadcrumb li+li:before{content:'›';margin-right:8px;opacity:.6}
.nhd-location-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:3px solid var(--accent);border-bottom:1px solid var(--line);padding:24px 0;margin-bottom:20px}
.nhd-location-heading-copy{min-width:0;flex:1}
.nhd-location-kicker{text-transform:uppercase;letter-spacing:1.8px;color:var(--accent);font:700 11px/1.5 var(--nhd-font-body,Arial,sans-serif)}
.nhd-location-heading h1{margin:7px 0 8px;color:var(--ink);font:700 clamp(29px,3.5vw,44px)/1.15 var(--nhd-font-heading,Georgia,serif);word-break:normal;overflow-wrap:break-word}
.nhd-location-description{max-width:70ch;margin:0;font-size:15px;line-height:1.65;color:var(--muted)}
.nhd-location-description p{margin:0}
.nhd-location-summary{display:flex;flex-direction:column;gap:10px;align-items:flex-end;font-size:13px;text-align:right}
.nhd-location-count{border:1px solid var(--line);border-radius:5px;padding:6px 12px;white-space:nowrap;color:var(--ink);background:var(--soft);font-weight:700}
.nhd-location-summary a{color:var(--accent);font-weight:700}
.nhd-location-switcher{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}
.nhd-location-switcher a{display:block;padding:6px 12px;border:1px solid var(--line);border-radius:5px;font-size:12px;font-weight:600;background:var(--paper);color:var(--ink)}
.nhd-location-switcher a:hover,.nhd-location-switcher a[aria-current=page]{background:var(--accent);border-color:var(--accent);color:#fff}
.nhd-location-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;min-width:0}
.nhd-location-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:18px;min-width:0;margin:0;padding:0 0 24px;border-bottom:1px solid var(--line);align-items:start}
.nhd-location-image{display:block;aspect-ratio:4/3;min-width:0;overflow:hidden;border-radius:6px;background:var(--soft)}
.nhd-location-image img{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:cover}
.nhd-location-noimage{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--muted);font:700 14px Arial,sans-serif;letter-spacing:2px}
.nhd-location-card-copy{min-width:0}
.nhd-location-card-labels{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.nhd-location-place{display:inline-block;padding:3px 7px;border-radius:3px;color:var(--accent);background:var(--soft)}
.nhd-location-card h2{margin:0 0 10px;color:var(--ink);font:700 21px/1.3 var(--nhd-font-heading,Georgia,serif);word-break:normal;overflow-wrap:break-word}
.nhd-location-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11px;line-height:1.6;color:var(--muted)}
.nhd-location-excerpt{margin:10px 0 12px;font-size:14px;line-height:1.7;color:var(--muted)}
.nhd-location-readmore{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:var(--accent)}
.nhd-location-lead{grid-column:1 / -1;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;padding-bottom:28px;margin-bottom:3px;align-items:center}
.nhd-location-lead .nhd-location-image{aspect-ratio:16/10}
.nhd-location-lead h2{font-size:clamp(26px,2.8vw,36px);line-height:1.25}
.nhd-location-lead .nhd-location-excerpt{font-size:16px;line-height:1.75}
.nhd-location-lead .nhd-location-meta{font-size:12px}
.nhd-location-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.nhd-location-empty{padding:42px 24px;border:1px solid var(--line);border-radius:8px;background:var(--soft);text-align:center}
.nhd-location-empty h2{font-size:24px;line-height:1.3;margin:0 0 12px}
.nhd-location-empty p{color:var(--muted);margin:0 0 18px}
.nhd-location-empty a{color:var(--accent);font-weight:700}
.nhd-location-page a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:1000px){.nhd-location-stories{grid-template-columns:minmax(0,1fr)}.nhd-location-card{grid-template-columns:200px minmax(0,1fr)}.nhd-location-lead{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.nhd-location-lead h2{font-size:27px}}
@media(max-width:700px){main.wrap.nhd-location-page{width:calc(100% - 28px);padding-top:18px}.nhd-location-heading{align-items:flex-start;flex-direction:column;gap:16px;padding:20px 0}.nhd-location-summary{flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px;text-align:left}.nhd-location-card,.nhd-location-lead{grid-template-columns:minmax(0,1fr);gap:15px}.nhd-location-image,.nhd-location-lead .nhd-location-image{aspect-ratio:16/10}.nhd-location-card h2{font-size:23px;line-height:1.3}.nhd-location-lead h2{font-size:clamp(25px,5vw,31px)}.nhd-location-switcher{gap:6px}.nhd-location-switcher a{font-size:11px;padding:6px 9px}}


/* v1.1.08 — requested immediate ticker start override. */
.nhd-ticker-scroll {
  --nhd-ticker-start: 0px !important;
}

.nhd-ticker-scroll:not(.nhd-ticker-ready) .ticker-track {
  animation: none !important;
  transform: none !important;
}


/* v1.1.09: speed is managed in WordPress, not on the public ticker.
   Also hides legacy markup while page/CDN caches are being refreshed. */
.ticker .ticker-speed-control,
.ticker .ticker-speed-select { display: none !important; }

/* v1.1.10: category heading/intro must occupy their own compact grid rows. */
.nhd-home .nhd-home-sections{align-items:start;align-content:start;row-gap:18px;margin-top:12px}
.nhd-home .nhd-home-sections>.nhd-editable-block-heading,
.nhd-home .nhd-home-sections>.nhd-home-block-intro{grid-column:1 / -1;align-self:start;min-height:0;height:auto;margin:0}
.nhd-home .nhd-home-sections>.nhd-editable-block-heading{font:700 clamp(20px,2vw,24px)/1.25 Georgia,serif;padding:0 0 8px;border-bottom:2px solid var(--accent)}
.nhd-home .nhd-home-sections>.nhd-home-block-intro>:first-child{margin-top:0}
.nhd-home .nhd-home-sections>.nhd-home-block-intro>:last-child{margin-bottom:0}

/* v1.1.11: compact Latest News thumbnail carousel, scoped to this section. */
.nhd-home .nhd-latest-section{position:relative}
.nhd-home .nhd-latest-section .nhd-latest-grid{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:4px 2px 12px;scrollbar-width:thin;align-items:stretch}
.nhd-home .nhd-latest-section .nhd-latest-card{flex:0 0 calc((100% - 24px)/3);display:grid;grid-template-columns:88px minmax(0,1fr);align-content:start;gap:4px 12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);scroll-snap-align:start;box-shadow:0 2px 8px #00000008}
.nhd-home .nhd-latest-section .nhd-latest-card .nhd-news-image{grid-row:1 / span 2;width:88px;height:64px;min-height:0;aspect-ratio:auto;overflow:hidden;border-radius:8px;background:var(--soft)}
.nhd-home .nhd-latest-section .nhd-latest-card .nhd-news-image img,.nhd-home .nhd-latest-section .nhd-latest-card .nhd-no-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0;object-fit:cover;aspect-ratio:auto;border-radius:8px;font-size:10px}
.nhd-home .nhd-latest-section .nhd-latest-card h3{font-size:14px;line-height:1.45;margin:0;grid-column:2}
.nhd-home .nhd-latest-section .nhd-latest-card .story-meta{grid-column:2;margin:0;font-size:10px}
.nhd-latest-controls{display:flex;justify-content:flex-end;gap:6px;margin:0 0 8px}
.nhd-latest-controls[hidden]{display:none}
.nhd-latest-controls button{width:32px;height:30px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);cursor:pointer;line-height:1}
.nhd-latest-controls button:hover{color:var(--accent);border-color:var(--accent)}
.nhd-latest-controls button:focus-visible,.nhd-latest-grid:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1000px){.nhd-home .nhd-latest-section .nhd-latest-card{flex-basis:calc((100% - 12px)/2)}}
@media(max-width:600px){.nhd-home .nhd-latest-section .nhd-latest-card{flex-basis:88%;grid-template-columns:72px minmax(0,1fr);padding:10px}.nhd-home .nhd-latest-section .nhd-latest-card .nhd-news-image{width:72px;height:54px}.nhd-home .nhd-latest-section .nhd-latest-card h3{font-size:13px}}

/* v1.1.12: avoid stacked outer margins between Top Stories and Latest News.
   Flex-item margins do not collapse: use one small separator instead. */
.nhd-home.nhd-home-builder > [data-nhd-block="lead"]:not([hidden]){margin-bottom:10px;padding-bottom:0;min-height:0}
.nhd-home.nhd-home-builder > [data-nhd-block="latest"]:not([hidden]){margin-top:0;padding-top:0;min-height:0}
.nhd-home.nhd-home-builder > [data-nhd-block="lead"] :is(.nhd-top-card,.nhd-hero-card,.nhd-mini-story):last-child > :last-child{margin-bottom:0}

/* v1.1.13: compact map and location selectors only. */
.nhd-bd-map-section.nhd-map-compact{max-width:850px;width:100%;margin:12px auto;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 3px 12px #00000006}
.nhd-map-compact .nhd-map-compact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:16px;align-items:center}
.nhd-map-compact .nhd-bd-map{width:100%;height:220px!important;min-height:0;max-height:220px;border-radius:9px;z-index:0}
.nhd-map-compact .nhd-map-controls{display:grid;grid-template-columns:1fr;gap:8px;margin:0;padding:0;background:none;border:0}
.nhd-map-compact .nhd-map-controls>div{min-width:0}
.nhd-map-compact .nhd-map-controls label{display:block;font-size:12px;font-weight:700;margin:0 0 3px;color:var(--ink)}
.nhd-map-compact .nhd-map-controls select{display:block;width:100%;min-width:0;max-width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:13px}
.nhd-map-compact .nhd-map-go{padding:8px 12px;border-radius:6px;background:var(--accent);color:#fff;text-align:center;font-size:13px}
.nhd-map-compact .nhd-map-go[hidden]{display:none!important}
@media(max-width:600px){.nhd-map-compact .nhd-map-compact-layout{grid-template-columns:minmax(0,1fr);gap:12px}.nhd-map-compact .nhd-bd-map{height:180px!important;max-height:180px}.nhd-bd-map-section.nhd-map-compact{padding:10px}}

/* v1.1.14: one spacing rhythm for all homepage sections.
   Flex margins add together, so let the container own the separation. */
.nhd-home.nhd-home-builder{row-gap:14px;padding-bottom:0}
.nhd-home.nhd-home-builder > [data-nhd-block]:not([hidden]){margin-top:0;margin-bottom:0}
.nhd-home.nhd-home-builder [data-nhd-block]:empty{display:none}
.nhd-home.nhd-home-builder .nhd-home-content{margin-block:0;padding-block:0}
.nhd-home.nhd-home-builder [data-nhd-block] > .nhd-editable-block-heading:first-child{margin-top:0;margin-bottom:8px}
.nhd-home.nhd-home-builder [data-nhd-block] > .section-heading:first-child{margin-top:0;margin-bottom:10px}
.nhd-home.nhd-home-builder [data-nhd-block] > .nhd-home-block-intro{margin-top:0;margin-bottom:10px}
.nhd-home.nhd-home-builder [data-nhd-block] > .nhd-home-block-intro p:last-child{margin-bottom:0}
.nhd-home.nhd-home-builder [data-nhd-block] > :is(.ad-slot,.nhd-bd-map-section,.nhd-mag-home,.nhd-home-products){margin-top:0;margin-bottom:0}
.nhd-home.nhd-home-builder .nhd-home-sections{row-gap:16px}
.nhd-home.nhd-home-builder .nhd-category-block{padding-bottom:14px}
.nhd-home.nhd-home-builder .nhd-home-sidebar > .widget:last-child{margin-bottom:0}
@media(max-width:600px){.nhd-home.nhd-home-builder{row-gap:10px}.nhd-home.nhd-home-builder .nhd-home-sections{row-gap:14px}}

/* v1.1.16: crisp vector social icons with consistent high-contrast buttons. */
.topbar.nhd-contact-topbar .nhd-top-social{gap:9px}
.topbar.nhd-contact-topbar .nhd-top-social a{width:38px;height:38px;flex:0 0 38px;border:1px solid #d8dee7;border-radius:8px;background:#fff;color:#18202b;box-shadow:0 1px 4px #0002;opacity:1}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-facebook{color:#145bc1}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-instagram{color:#b42165}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-youtube{color:#d41414}
.topbar.nhd-contact-topbar .nhd-top-social a svg{display:block;width:22px;height:22px;flex-shrink:0}
.topbar.nhd-contact-topbar .nhd-top-social a:hover,.topbar.nhd-contact-topbar .nhd-top-social a:focus-visible{background:#f1f5f9;border-color:#94a3b8;filter:brightness(.95)}
.topbar.nhd-contact-topbar .nhd-top-social a:focus-visible{outline:3px solid #facc15;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.topbar.nhd-contact-topbar .nhd-top-social a{transition:none;transform:none}}

/* v1.1.17: reference-style brand tiles and white vector symbols. */
.topbar.nhd-contact-topbar .nhd-top-social{gap:8px}
.topbar.nhd-contact-topbar .nhd-top-social a{width:30px;height:30px;flex-basis:30px;border:0;border-radius:3px;box-shadow:none;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-facebook{background:#1877f2;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-twitter{background:#159cdb;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-linkedin{background:#0a66c2;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-pinterest{background:#bd081c;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-rss{background:#ed8500;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-instagram{background:#b42165;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a.nhd-social-youtube{background:#d41414;color:#fff}
.topbar.nhd-contact-topbar .nhd-top-social a svg{width:21px;height:21px}
.topbar.nhd-contact-topbar .nhd-top-social a:hover,.topbar.nhd-contact-topbar .nhd-top-social a:focus-visible{color:#fff;filter:brightness(.85)}

/* v1.1.18: 728 x 180px location widget including border and padding. */
.nhd-bd-map-section.nhd-map-compact{box-sizing:border-box;width:728px;max-width:100%;height:180px;padding:10px;margin-inline:auto}
.nhd-map-compact .nhd-map-compact-layout{height:100%;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px;align-items:center}
.nhd-map-compact .nhd-bd-map{height:158px!important;max-height:158px;min-height:0}
.nhd-map-compact .nhd-map-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.nhd-map-compact .nhd-map-controls label{font-size:11px;line-height:1.3;margin-bottom:3px}
.nhd-map-compact .nhd-map-controls select{height:32px;padding:4px 6px;font-size:12px;line-height:1.3}
.nhd-map-compact .nhd-map-go{font-size:12px;line-height:1.3;padding:8px 5px}
@media(max-width:600px){
 .nhd-bd-map-section.nhd-map-compact{width:100%;height:auto}
 .nhd-map-compact .nhd-map-compact-layout{height:auto;grid-template-columns:minmax(0,1fr)}
 .nhd-map-compact .nhd-bd-map{height:158px!important;max-height:158px}
}

/* v1.1.19: fit the location widget to its section, including narrow columns. */
.nhd-bd-map-section.nhd-map-compact{width:100%;max-width:100%;height:auto;min-width:0}
.nhd-map-compact .nhd-map-compact-layout{height:auto;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));align-items:center;gap:12px}
.nhd-map-compact .nhd-map-compact-layout>*{min-width:0;max-width:100%}
.nhd-map-compact .nhd-bd-map{height:180px!important;max-height:180px;width:100%}
.nhd-map-compact .nhd-map-controls{width:100%;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr))}
@media(max-width:600px){.nhd-map-compact .nhd-map-compact-layout{grid-template-columns:minmax(0,1fr)}}

/* v1.1.20: text, image and link body slides with native swipe fallback. */
.nhd-home-body-text .nhd-body-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 0 8px;align-items:flex-start;max-width:100%;min-width:0}
.nhd-home-body-text .nhd-home-body-text-item{flex:0 0 100%;width:100%;min-width:0;max-width:100%;margin:0;scroll-snap-align:start;overflow-wrap:anywhere}
.nhd-home-body-text .nhd-home-body-text-item img{display:block;max-width:100%;width:auto;height:auto;max-height:320px;object-fit:contain;border-radius:8px;margin:8px auto}
.nhd-home-body-text .nhd-home-body-text-item a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.nhd-home-body-text .nhd-home-body-text-item>:first-child{margin-top:0}
.nhd-home-body-text .nhd-home-body-text-item>:last-child{margin-bottom:0}
.nhd-body-controls{display:flex;justify-content:flex-end;gap:6px;margin-bottom:8px}
.nhd-body-controls[hidden]{display:none}
.nhd-body-controls button{width:32px;height:30px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);cursor:pointer;line-height:1}
.nhd-body-controls button:focus-visible,.nhd-body-rail:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.nhd-home-body-text .nhd-home-body-text-item img{max-height:220px}}

/* v1.1.22: language links beside date and search. */
.nhd-tools-header .nhd-masthead-search{flex-wrap:wrap}
.nhd-tools-header .nhd-language-switch{display:inline-flex;align-items:center;gap:3px;flex:0 0 auto;padding:3px;border:1px solid var(--line);border-radius:7px;background:#fff}
.nhd-tools-header .nhd-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:30px;padding:3px 7px;border-radius:4px;color:#243247;font:700 12px/1 Arial,sans-serif;text-decoration:none}
.nhd-tools-header .nhd-language-switch .nhd-language-bn{background:var(--nhd-tools-accent,#c71920);color:#fff}
.nhd-tools-header .nhd-language-switch a:hover{filter:brightness(.9)}
.nhd-tools-header .nhd-language-switch a:focus-visible{outline:2px solid var(--nhd-tools-accent,#c71920);outline-offset:2px}

/* v1.1.24 — continuous vertical news rails without changing grid column widths */
.nhd-home .nhd-vertical-news-enabled{min-width:0;max-width:100%;overflow:hidden}
.nhd-home .nhd-vertical-news-window{height:min(var(--nhd-news-window-height,350px),65vh);max-width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;position:relative}
.nhd-home .nhd-vertical-news-track,.nhd-home .nhd-vertical-news-copy{display:flex;flex-direction:column;min-width:0;gap:0}
.nhd-home .nhd-vertical-news-window :is(.nhd-top-card,.nhd-mini-story,.nhd-category-small){flex:0 0 auto;min-width:0;max-width:100%}
.nhd-home .nhd-vertical-news-window:focus-visible{outline:2px solid var(--accent,#c71920);outline-offset:-2px}
@media(max-width:650px){.nhd-home .nhd-vertical-news-window{height:min(var(--nhd-news-window-height,350px),52vh)}}
@media(prefers-reduced-motion:reduce){.nhd-home .nhd-vertical-news-window{scroll-behavior:auto}}

/* v1.1.26: seamless vertical tracks, avoiding subpixel scrollTop rounding. */
.nhd-home .nhd-vertical-news-window{overflow:hidden!important;position:relative;contain:layout paint}
.nhd-home .nhd-vertical-news-track{display:block!important;will-change:transform;transform:translate3d(0,0,0)}
.nhd-home .nhd-vertical-news-sequence{display:flex;flex-direction:column;gap:0;min-width:0;width:100%}
.nhd-home .nhd-vertical-news-sequence>*{flex:0 0 auto;min-width:0;max-width:100%}
@media(prefers-reduced-motion:reduce){.nhd-home .nhd-vertical-news-window{overflow-y:auto!important}.nhd-home .nhd-vertical-news-copy{display:none!important}.nhd-home .nhd-vertical-news-track{will-change:auto;transform:none!important}}


/* Hot Jobs: screenshot-inspired 4-column compact news grid with a seamless upward carousel. */
.nhd-hot-jobs-section{margin:24px 0 34px;min-width:0}.nhd-hot-heading{margin:0 0 14px}.nhd-hot-heading h2{font:800 clamp(18px,2vw,23px)/1.3 Arial,sans-serif;color:#17549a;margin:0}.nhd-hot-window{overflow:hidden;max-width:100%;border:1px solid #d9dfe5}.nhd-hot-grid{display:grid;grid-template-columns:repeat(var(--nhd-hot-cols,4),minmax(0,1fr));align-items:stretch}.nhd-hot-cell{display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:96px;padding:11px;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff}.nhd-hot-cell:nth-child(2n){background:#f6f7f8}.nhd-hot-thumb{flex:0 0 56px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e5e9;border-radius:5px;box-shadow:0 1px 3px #0001;overflow:hidden;background:#f8fafc}.nhd-hot-thumb img{width:100%;height:100%;object-fit:cover}.nhd-hot-info{min-width:0;font:13px/1.35 Arial,sans-serif;overflow-wrap:anywhere}.nhd-hot-source{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#18559d}.nhd-hot-meta{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#23304a;margin-top:3px}.nhd-hot-scrolling{height:385px;overscroll-behavior:contain}.nhd-hot-scrolling .nhd-hot-track{will-change:transform}.nhd-hot-scrolling:hover .nhd-hot-track,.nhd-hot-scrolling:focus-within .nhd-hot-track{animation-play-state:paused!important}@media(max-width:900px){.nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.nhd-hot-grid{grid-template-columns:1fr}.nhd-hot-scrolling{height:360px}.nhd-hot-cell{min-height:82px}}@media(prefers-reduced-motion:reduce){.nhd-hot-scrolling .nhd-hot-track{animation:none!important}}

/* v1.1.30: Tender/EOI screenshot-style separated three-column cards.
   Scope these styles to tender only; Hot Jobs retains its own layout. */
.nhd-tender-section{margin:26px 0 36px;min-width:0;background:#eff0f2;padding:14px 18px 18px;border-radius:3px}
.nhd-tender-section .nhd-hot-heading{margin:0 0 13px}
.nhd-tender-section .nhd-hot-heading h2{font-size:17px;font-weight:800;color:#19549a;line-height:1.35}
.nhd-tender-section .nhd-hot-window{border:0;background:transparent;border-radius:0;max-width:100%}
.nhd-tender-section .nhd-hot-grid{display:grid;grid-template-columns:repeat(var(--nhd-hot-cols,3),minmax(0,1fr));gap:18px 20px;align-items:stretch}
.nhd-tender-section .nhd-hot-cell,.nhd-tender-section .nhd-hot-cell:nth-child(2n){display:flex;align-items:center;gap:14px;min-width:0;min-height:128px;padding:16px 15px;background:#fff;border:1px solid #e0e3e8;border-radius:6px;box-shadow:none}
.nhd-tender-section .nhd-hot-thumb{flex:0 0 66px;width:66px;height:66px;border-radius:50%;border:1px solid #e7e7e7;background:#fff;box-shadow:0 1px 2px #0002;overflow:hidden}
.nhd-tender-section .nhd-hot-thumb img{width:100%;height:100%;object-fit:contain;padding:5px}
.nhd-tender-section .nhd-hot-info{flex:1;min-width:0;font-size:13px;line-height:1.42}
.nhd-tender-section .nhd-hot-source{color:#cc0061;font-size:14px;font-weight:500;-webkit-line-clamp:2}
.nhd-tender-section .nhd-hot-meta{color:#31506d;font-size:13px;-webkit-line-clamp:2;margin-top:6px}
.nhd-tender-section .nhd-hot-scrolling{height:438px}
@media(max-width:900px){.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nhd-tender-section .nhd-hot-cell{min-height:112px;padding:12px}}
@media(max-width:560px){.nhd-tender-section{padding:12px}.nhd-tender-section .nhd-hot-grid{grid-template-columns:1fr}.nhd-tender-section .nhd-hot-cell{min-height:96px}.nhd-tender-section .nhd-hot-thumb{flex-basis:58px;width:58px;height:58px}.nhd-tender-section .nhd-hot-scrolling{height:365px}}

/* v1.1.31 — Two-panel training courses: image, title and publication date. */
.nhd-training-section{margin:26px 0 36px;min-width:0;background:#f0f0f0;padding:12px;}
.nhd-training-section .nhd-hot-heading{margin:0 0 12px}
.nhd-training-section .nhd-hot-heading h2{font-size:19px;color:#17549a;font-weight:800}
.nhd-training-section .nhd-hot-window{border:0;background:transparent}
.nhd-training-section .nhd-hot-grid{display:grid;grid-template-columns:repeat(var(--nhd-hot-cols,2),minmax(0,1fr));gap:16px 24px}
.nhd-training-section .nhd-hot-cell,.nhd-training-section .nhd-hot-cell:nth-child(2n){display:flex;align-items:center;gap:13px;min-height:86px;padding:12px 16px;background:#fff;border:1px solid #d7d7d7;border-radius:3px}
.nhd-training-section .nhd-hot-thumb{flex:0 0 49px;width:49px;height:49px;border:0;border-radius:4px;background:#f0f5fa;box-shadow:none}
.nhd-training-section .nhd-hot-thumb img{width:100%;height:100%;object-fit:cover}
.nhd-training-section .nhd-hot-info{font:14px/1.3 Arial,sans-serif;min-width:0}
.nhd-training-section .nhd-hot-source{color:#10283e;font-weight:500;-webkit-line-clamp:3}
.nhd-training-section .nhd-hot-meta{color:#59677a;font-size:13px;margin-top:4px}
.nhd-training-section .nhd-hot-scrolling{height:480px}
@media(max-width:800px){.nhd-training-section .nhd-hot-grid{grid-template-columns:1fr;gap:10px}.nhd-training-section .nhd-hot-scrolling{height:420px}}
@media(max-width:480px){.nhd-training-section{padding:9px}.nhd-training-section .nhd-hot-cell{padding:10px;min-height:76px}}

/* 1.1.33 — fixed dedicated grids; exact reference layouts and robust responsive columns. */
.nhd-special-grid-section,.nhd-special-grid-section *{box-sizing:border-box}
.nhd-special-grid-section{width:100%;max-width:100%;min-width:0;overflow:hidden}
.nhd-special-grid-section .nhd-hot-window{width:100%;max-width:100%;overflow:hidden}
.nhd-special-grid-section .nhd-hot-track{min-width:0;width:100%}
.nhd-special-grid-section .nhd-hot-grid{display:grid!important;min-width:0;width:100%;align-items:stretch}
.nhd-special-grid-section .nhd-hot-cell{min-width:0;max-width:100%;overflow:hidden}
.nhd-special-grid-section .nhd-hot-info{flex:1 1 0;min-width:0;overflow-wrap:anywhere}
.nhd-special-grid-section .nhd-hot-thumb{flex-shrink:0}
/* Hot Jobs reference: four compact cells per desktop row. */
.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
/* Tender reference: three separated white cards with circular logos. */
.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px 20px!important}
.nhd-tender-section .nhd-hot-cell{border:1px solid #e0e3e8!important;border-radius:6px!important;background:#fff!important;min-height:128px}
.nhd-tender-section .nhd-hot-thumb{border-radius:50%!important}
/* Training reference: two wide columns of stacked course rows. */
.nhd-training-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 24px!important}
.nhd-training-section .nhd-hot-cell{background:#fff!important}
@media(max-width:900px){.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.nhd-training-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}}
@media(max-width:600px){.nhd-hot-jobs-section .nhd-hot-grid,.nhd-tender-section .nhd-hot-grid,.nhd-training-section .nhd-hot-grid{grid-template-columns:minmax(0,1fr)!important}.nhd-tender-section .nhd-hot-cell{min-height:96px}.nhd-special-grid-section .nhd-hot-scrolling{height:360px}}

/* v1.1.34 — Tender: exactly three desktop columns and three visible rows.
   Grid rows are fixed so long headlines cannot distort the 3x3 viewport. */
.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:128px;row-gap:18px!important;column-gap:20px!important}
.nhd-tender-section .nhd-hot-cell{height:128px;min-height:0!important;max-height:128px;overflow:hidden;box-sizing:border-box}
.nhd-tender-section .nhd-hot-scrolling{height:420px!important;overflow:hidden!important}
.nhd-tender-section .nhd-hot-track{display:block!important;position:relative;will-change:transform}
.nhd-tender-section .nhd-hot-grid-clone{pointer-events:none}
@media(max-width:900px){.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:120px;gap:12px!important}.nhd-tender-section .nhd-hot-cell{height:120px;max-height:120px}.nhd-tender-section .nhd-hot-scrolling{height:384px!important}}
@media(max-width:600px){.nhd-tender-section .nhd-hot-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:104px;gap:12px!important}.nhd-tender-section .nhd-hot-cell{height:104px;max-height:104px}.nhd-tender-section .nhd-hot-scrolling{height:336px!important}}
@media(prefers-reduced-motion:reduce){.nhd-tender-section .nhd-hot-scrolling{overflow-y:auto!important}.nhd-tender-section .nhd-hot-track{animation:none!important;transform:none!important}}

/* v1.1.35: HOT JOBS four-column x sixteen-row viewport (64 items), stable card heights. */
.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:96px!important;gap:0!important}
.nhd-hot-jobs-section .nhd-hot-cell{height:96px!important;min-height:0!important;max-height:96px!important;box-sizing:border-box;overflow:hidden}
.nhd-hot-jobs-section .nhd-hot-scrolling{height:1536px!important;overflow:hidden!important}
.nhd-hot-jobs-section .nhd-hot-track{display:block!important;position:relative}
.nhd-hot-jobs-section .nhd-hot-grid-clone{pointer-events:none}
@media(max-width:900px){.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:96px!important}.nhd-hot-jobs-section .nhd-hot-scrolling{height:768px!important}}
@media(max-width:600px){.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:88px!important}.nhd-hot-jobs-section .nhd-hot-cell{height:88px!important;max-height:88px!important}.nhd-hot-jobs-section .nhd-hot-scrolling{height:704px!important}}
@media(prefers-reduced-motion:reduce){.nhd-hot-jobs-section .nhd-hot-scrolling{overflow-y:auto!important}.nhd-hot-jobs-section .nhd-hot-track{animation:none!important;transform:none!important}}

/* v1.1.36: Training grid — exactly two columns and two visible rows on desktop.
   Keep each card height deterministic so images and long headlines cannot shift rows. */
.nhd-training-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:100px!important;column-gap:24px!important;row-gap:12px!important}
.nhd-training-section .nhd-hot-cell{height:100px!important;min-height:0!important;max-height:100px!important;overflow:hidden;box-sizing:border-box}
.nhd-training-section .nhd-hot-scrolling{height:212px!important;overflow:hidden!important}
.nhd-training-section .nhd-hot-track{display:block!important;position:relative;will-change:transform}
.nhd-training-section .nhd-hot-grid-clone{pointer-events:none}
@media(max-width:600px){.nhd-training-section .nhd-hot-grid{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:92px!important;row-gap:10px!important}.nhd-training-section .nhd-hot-cell{height:92px!important;max-height:92px!important}.nhd-training-section .nhd-hot-scrolling{height:194px!important}}
@media(prefers-reduced-motion:reduce){.nhd-training-section .nhd-hot-scrolling{overflow-y:auto!important}.nhd-training-section .nhd-hot-track{transform:none!important;will-change:auto}}

/* v1.1.37: stable viewport dimensions and repeated-grid spacing. */
.nhd-special-grid-section .nhd-hot-window{box-sizing:border-box;max-width:100%;overflow:hidden;isolation:isolate}
.nhd-special-grid-section .nhd-hot-track{display:block!important;width:100%;transform:translate3d(0,0,0)}
.nhd-special-grid-section .nhd-hot-grid{box-sizing:border-box;width:100%;margin-top:0!important}
.nhd-special-grid-section .nhd-hot-grid-clone{pointer-events:none;user-select:none}
.nhd-hot-jobs-section .nhd-hot-window{height:1536px;max-height:1536px}
.nhd-tender-section .nhd-hot-window{height:420px;max-height:420px}
.nhd-training-section .nhd-hot-window{height:212px;max-height:212px}
@media(max-width:900px){.nhd-hot-jobs-section .nhd-hot-window{height:768px;max-height:768px}.nhd-tender-section .nhd-hot-window{height:384px;max-height:384px}}
@media(max-width:600px){.nhd-hot-jobs-section .nhd-hot-window{height:704px;max-height:704px}.nhd-tender-section .nhd-hot-window{height:336px;max-height:336px}.nhd-training-section .nhd-hot-window{height:194px;max-height:194px}}
@media(prefers-reduced-motion:reduce){.nhd-special-grid-section .nhd-hot-window{overflow-y:auto!important}.nhd-special-grid-section .nhd-hot-track{transform:none!important}}

/* v1.1.38: optional linked image alongside Search & Date header text */
.nhd-tools-header .nhd-tools-media-link{display:inline-flex;align-items:center;gap:9px;max-width:100%;vertical-align:middle;text-decoration:none;color:inherit}
.nhd-tools-header .nhd-tools-text-image{display:block;flex:0 0 auto;width:auto;height:auto;max-width:76px;max-height:44px;object-fit:contain;border-radius:4px}
.nhd-tools-header .nhd-tools-text-label{min-width:0;overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:700px){.nhd-tools-header .nhd-tools-text-image{max-width:60px;max-height:38px}}

/* v1.1.38: optional linked image alongside Search & Date header text */
.nhd-tools-header .nhd-tools-media-link{display:inline-flex;align-items:center;gap:9px;max-width:100%;vertical-align:middle;text-decoration:none;color:inherit}
.nhd-tools-header .nhd-tools-text-image{display:block;flex:0 0 auto;width:auto;height:auto;max-width:76px;max-height:44px;object-fit:contain;border-radius:4px}
.nhd-tools-header .nhd-tools-text-label{min-width:0;overflow-wrap:anywhere;white-space:pre-line}
@media(max-width:700px){.nhd-tools-header .nhd-tools-text-image{max-width:60px;max-height:38px}}

/* v1.1.40: actionable admin notices and stable special-grid containment. */
.nhd-special-notice{padding:12px 16px;margin:14px 0;border-left:4px solid #d99a19;background:#fff7e8;color:#573e14;font-size:14px}
.nhd-special-grid-section .nhd-hot-window{position:relative;overflow:hidden!important}
.nhd-special-grid-section .nhd-hot-track{display:block!important}
.nhd-special-grid-section .nhd-hot-grid{align-content:start}
@media(prefers-reduced-motion:reduce){.nhd-special-grid-section .nhd-hot-window{overflow-y:auto!important}}

/* v1.1.40: do not reserve a giant empty viewport when scrolling is disabled. */
.nhd-special-grid-section .nhd-hot-window:not(.nhd-hot-scrolling){height:auto!important;max-height:none!important;overflow:visible!important}
.nhd-special-grid-section .nhd-hot-window:not(.nhd-hot-scrolling) .nhd-hot-track{transform:none!important}
.nhd-special-grid-section .nhd-hot-grid>.nhd-hot-cell{box-sizing:border-box;min-width:0;overflow:hidden}

/* v1.1.41: Rich paragraphs and independent links in right header text. */
.nhd-tools-header .nhd-tools-right-text{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap;white-space:normal}
.nhd-tools-header .nhd-tools-rich-text{min-width:0;max-width:100%;overflow-wrap:anywhere;white-space:normal;line-height:1.5}
.nhd-tools-header .nhd-tools-rich-text p{margin:0 0 .35em}
.nhd-tools-header .nhd-tools-rich-text p:last-child{margin-bottom:0}
.nhd-tools-header .nhd-tools-rich-text a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.nhd-tools-header .nhd-tools-rich-text a:hover{color:var(--nhd-tools-accent,#c71920)}
.nhd-tools-header .nhd-tools-rich-text a:focus-visible,.nhd-tools-header .nhd-tools-image-link:focus-visible{outline:2px solid var(--nhd-tools-accent,#c71920);outline-offset:3px}
.nhd-tools-header .nhd-tools-image-link{display:inline-flex;align-items:center;flex:0 0 auto}
@media(max-width:700px){.nhd-tools-header .nhd-tools-right-text{width:100%}}

/* v1.1.42: Automatically linked news categories in Search & Date header. */
.nhd-tools-header .nhd-tools-auto-categories{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;max-width:100%}
.nhd-tools-header .nhd-tools-auto-categories a{color:inherit;text-decoration:none;font-weight:600;overflow-wrap:anywhere;border-bottom:1px solid transparent}
.nhd-tools-header .nhd-tools-auto-categories a:hover,.nhd-tools-header .nhd-tools-auto-categories a:focus-visible{color:var(--nhd-tools-accent,#c71920);border-bottom-color:currentColor}
@media(max-width:700px){.nhd-tools-header .nhd-tools-auto-categories{gap:5px 10px}}

/* v1.1.43: Keep automatically generated category links visibly separated,
   including when the header wraps to additional lines. */
.nhd-tools-header .nhd-tools-auto-categories{column-gap:20px;row-gap:12px;line-height:1.5}
.nhd-tools-header .nhd-tools-auto-categories>a{display:inline-block;flex:0 0 auto;max-width:100%;padding:3px 0;white-space:normal}
@media(max-width:700px){.nhd-tools-header .nhd-tools-auto-categories{column-gap:14px;row-gap:9px}}

/* v1.1.45 — static, natural-height special grids. Override legacy fixed scrolling viewports. */
.nhd-special-grid-section{width:100%;max-width:100%;overflow:visible!important;min-width:0}
.nhd-special-grid-section .nhd-hot-window,
.nhd-special-grid-section .nhd-hot-scrolling{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;overflow-y:visible!important;border-radius:6px}
.nhd-special-grid-section .nhd-hot-track{display:block!important;position:static!important;transform:none!important;animation:none!important;will-change:auto!important;height:auto!important}
.nhd-special-grid-section .nhd-hot-grid{display:grid!important;align-items:stretch;min-width:0;width:100%;height:auto!important;max-height:none!important;transform:none!important;animation:none!important}
.nhd-special-grid-section .nhd-hot-grid-clone{display:none!important}
.nhd-hot-jobs-section .nhd-hot-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:minmax(96px,auto)!important;gap:0!important}
.nhd-hot-jobs-section .nhd-hot-cell{height:auto!important;min-height:96px!important;max-height:none!important}
.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(128px,auto)!important;gap:18px 20px!important}
.nhd-tender-section .nhd-hot-cell{height:auto!important;min-height:128px!important;max-height:none!important}
.nhd-training-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(100px,auto)!important;gap:12px 24px!important}
.nhd-training-section .nhd-hot-cell{height:auto!important;min-height:100px!important;max-height:none!important}
@media(max-width:900px){
.nhd-hot-jobs-section .nhd-hot-grid,.nhd-tender-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.nhd-training-section .nhd-hot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
.nhd-hot-jobs-section .nhd-hot-grid,.nhd-tender-section .nhd-hot-grid,.nhd-training-section .nhd-hot-grid{grid-template-columns:minmax(0,1fr)!important}
}

/* v1.1.46: Consistent spacing between automatically linked right-header categories.
   Higher specificity prevents generic header/nav link rules from collapsing gaps. */
.nhd-tools-header .nhd-tools-right-text nav.nhd-tools-auto-categories{
 display:flex!important;flex-flow:row wrap!important;align-items:center!important;
 justify-content:flex-start;column-gap:20px!important;row-gap:12px!important;
 width:auto;max-width:100%;white-space:normal!important;
}
.nhd-tools-header .nhd-tools-right-text nav.nhd-tools-auto-categories > a{
 display:inline-flex!important;align-items:center;flex:0 0 auto!important;
 width:auto!important;margin:0!important;padding:4px 0!important;
 white-space:normal;line-height:1.5;
}
@media(max-width:700px){
 .nhd-tools-header .nhd-tools-right-text nav.nhd-tools-auto-categories{
  column-gap:14px!important;row-gap:9px!important;
 }
}


/* v1.1.47 — Category News-inspired cards, no animation or fixed viewport. */
.nhd-editorial-special{--nhd-section-color:#1458a5;min-width:0;margin:24px 0 30px;border:1px solid #dce3ec;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.035)}
.nhd-editorial-training{--nhd-section-color:#087b38}
.nhd-editorial-hot-jobs{--nhd-section-color:#c71920}
.nhd-editorial-special-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;background:var(--nhd-section-color);color:#fff;padding:11px 16px}
.nhd-editorial-special-heading h2{font:700 clamp(18px,2vw,24px)/1.3 Arial,sans-serif;margin:0;color:#fff}
.nhd-editorial-special-heading a{color:#fff;font-weight:700;font-size:13px;white-space:nowrap}
.nhd-editorial-special-heading a:hover{text-decoration:underline;color:#fff}
.nhd-editorial-special-body{display:grid;grid-template-columns:minmax(0,1fr);padding:14px 16px}
.nhd-editorial-special-story{display:grid;grid-template-columns:118px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #e5e9ef;min-width:0}
.nhd-editorial-special-story:last-child{border-bottom:0}
.nhd-editorial-special-story.is-featured{display:block;padding-top:0}
.nhd-editorial-special-thumb{display:block;aspect-ratio:4/3;background:#e9edf2;overflow:hidden;border-radius:4px}
.nhd-editorial-special-thumb img{width:100%;height:100%;object-fit:cover}
.nhd-editorial-special-story.is-featured .nhd-editorial-special-thumb{aspect-ratio:16/9;margin-bottom:10px}
.nhd-editorial-special-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:30px}
.nhd-editorial-special-copy{min-width:0}
.nhd-editorial-special-copy h3{font:700 16px/1.4 Arial,sans-serif;margin:0 0 7px;overflow-wrap:anywhere}
.nhd-editorial-special-story.is-featured h3{font-size:clamp(18px,2vw,23px)}
.nhd-editorial-special-copy h3 a{color:#1b2635}
.nhd-editorial-special-copy h3 a:hover{color:var(--nhd-section-color)}
.nhd-editorial-special-copy time{font-size:12px;color:#64748b}
.nhd-editorial-special-empty{padding:18px 0;color:#64748b}
@media(max-width:600px){.nhd-editorial-special-body{padding:12px}.nhd-editorial-special-story{grid-template-columns:96px minmax(0,1fr);gap:10px}.nhd-editorial-special-copy h3{font-size:14px}}

/* v1.1.48: approved three-across editorial design; each section stays a single card. */
.nhd-home .nhd-editorial-three-column{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;margin:22px 0 28px;min-width:0}
.nhd-home .nhd-editorial-three-column > [data-nhd-block]{min-width:0;display:flex;flex-direction:column}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special{flex:1;margin:0;min-width:0;border:2px solid var(--nhd-section-color);border-radius:9px;box-shadow:0 2px 5px rgba(0,0,0,.06)}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-heading{background:linear-gradient(115deg,var(--nhd-section-color) 0%,var(--nhd-section-color) 77%,rgba(0,0,0,.16) 77%,rgba(0,0,0,.16) 100%);padding:10px 12px;min-height:54px}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-heading h2{font-size:clamp(17px,2vw,27px);line-height:1.15}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-heading a{font-size:14px}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-body{padding:12px;display:block}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story{grid-template-columns:32% minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #d8dfe8}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story.is-featured{display:block;padding:0 0 13px}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story.is-featured .nhd-editorial-special-thumb{aspect-ratio:16/9;margin:0 0 10px}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-thumb{aspect-ratio:4/3;border-radius:3px}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-copy h3{font-size:clamp(13px,1.18vw,17px);line-height:1.32;margin:0 0 6px}
.nhd-home .nhd-editorial-three-column .is-featured .nhd-editorial-special-copy h3{font-size:clamp(17px,1.7vw,23px);line-height:1.28}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-copy time{font-size:12px}
@media(max-width:900px){.nhd-home .nhd-editorial-three-column{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.nhd-home .nhd-editorial-three-column{grid-template-columns:minmax(0,1fr);gap:18px}.nhd-home .nhd-editorial-three-column .nhd-editorial-special-copy h3{font-size:15px}}

/* v1.1.49: Keep header category names visibly separated even if flex gap is overridden. */
.nhd-tools-header .nhd-tools-right-text .nhd-tools-auto-categories{
 display:flex!important;flex-wrap:wrap!important;align-items:center!important;
 column-gap:20px!important;row-gap:10px!important;
 white-space:normal!important;
}
.nhd-tools-header .nhd-tools-right-text .nhd-tools-auto-categories > a{
 display:inline-flex!important;flex:0 0 auto!important;
 padding:4px 2px!important;white-space:nowrap!important;
}
@media(max-width:700px){
 .nhd-tools-header .nhd-tools-right-text .nhd-tools-auto-categories{column-gap:14px!important;row-gap:8px!important}
}

/* Flexible middle footer blocks: height grows with content. */
.nhd-footer-auto-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:28px;margin:24px 0;align-items:start}
.nhd-footer-auto-block{min-width:0;overflow-wrap:anywhere}
.nhd-footer-auto-block h2{font-size:18px;color:var(--nhd-footer-heading);margin:0 0 14px}
.nhd-footer-auto-block ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.nhd-footer-auto-block p{margin:0 0 12px}

/* Copyright center navigation wraps without overlapping either credit. */
.nhd-footer-modern .copyright-inner{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px}
.nhd-bottom-auto-links{flex:1 1 240px;min-width:0}
.nhd-bottom-auto-links ul{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 16px;list-style:none;margin:0;padding:0}
.nhd-bottom-auto-links li{margin:0;padding:0;max-width:100%;overflow-wrap:anywhere}
.nhd-bottom-auto-links a:hover,.nhd-bottom-auto-links a:focus-visible{text-decoration:underline}
@media(max-width:700px){.nhd-bottom-auto-links{flex:0 1 auto;width:100%}.nhd-bottom-auto-links ul{justify-content:flex-start}}

.nhd-footer-intro-image{display:block;max-width:100%;height:auto;margin:12px 0 16px;border-radius:8px}
.nhd-footer-intro-content-title{color:var(--nhd-footer-heading);font-size:20px;line-height:1.4;margin:0 0 14px;overflow-wrap:anywhere}
.nhd-footer-intro-copy,.nhd-footer-intro-right-row{min-width:0;overflow-wrap:anywhere}
.nhd-footer-intro-copy img,.nhd-footer-intro-right-row img{max-width:100%;height:auto}

/* Footer note links: inline pipe separators, matching the reference. */
.nhd-footer-notes-grid .nhd-footer-note-links-only{grid-column:1 / -1}
.nhd-footer-notes-grid .nhd-note-category-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 0;list-style:none;margin:0;padding:4px 0;font-size:16px;line-height:1.2}
.nhd-footer-notes-grid .nhd-note-category-links li{display:block;list-style:none;margin:0;padding:0 7px;border-left:1px solid currentColor;min-width:0;max-width:100%;overflow-wrap:anywhere}
.nhd-footer-notes-grid .nhd-note-category-links li:last-child{border-right:1px solid currentColor}
.nhd-footer-notes-grid .nhd-note-category-links li::before,.nhd-footer-notes-grid .nhd-note-category-links li::after{content:none}
.nhd-footer-notes-grid .nhd-note-category-links a{color:inherit;text-decoration:none;font-weight:400}
.nhd-footer-notes-grid .nhd-note-category-links a:hover,.nhd-footer-notes-grid .nhd-note-category-links a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.nhd-footer-notes-grid .nhd-footer-note p + .nhd-note-category-links{margin-top:12px}

/* Hidden footer columns leave no empty space. */
.nhd-footer-modern .footer-widgets.nhd-footer-visible-columns{grid-template-columns:repeat(var(--nhd-footer-columns,4),minmax(0,1fr))}
@media(max-width:700px){.nhd-footer-modern .footer-widgets.nhd-footer-visible-columns{grid-template-columns:repeat(min(2,var(--nhd-footer-columns,4)),minmax(0,1fr))}}
@media(max-width:480px){.nhd-footer-modern .footer-widgets.nhd-footer-visible-columns{grid-template-columns:minmax(0,1fr)}}

.nhd-home-body-text .nhd-home-body-title{font-size:clamp(20px,2.2vw,28px);line-height:1.35;margin:0 0 12px;color:var(--heading-color,var(--ink));overflow-wrap:anywhere}

/* Three-line body preview; full HTML remains available without JavaScript. */
.nhd-body-excerpt{line-height:1.65;overflow-wrap:anywhere}
.nhd-body-excerpt>:first-child{margin-top:0}
.nhd-body-excerpt>:last-child{margin-bottom:0}
.nhd-body-excerpt.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;max-height:var(--nhd-excerpt-height);overflow:hidden}
.nhd-body-read-more{margin-top:10px;padding:5px 0;background:transparent;border:0;color:var(--accent);font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.nhd-body-read-more[hidden]{display:none}
.nhd-body-read-more:focus-visible{outline:2px solid currentColor;outline-offset:4px}

/* v1.1.61: Four equal news columns INSIDE each special section, not three narrow sections side by side. */
.nhd-home .nhd-editorial-three-column{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:22px!important;align-items:start!important}
.nhd-home .nhd-editorial-three-column > [data-nhd-block]{display:block!important;width:100%;min-width:0}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special{width:100%;margin:0!important}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-body{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:14px!important;align-items:stretch}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story,
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story.is-featured{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;min-width:0;padding:10px!important;margin:0!important;border:1px solid #e3e8ee!important;border-radius:6px!important;background:#fff!important}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-thumb,
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story.is-featured .nhd-editorial-special-thumb{flex:0 0 56px!important;width:56px!important;height:56px!important;min-width:56px!important;aspect-ratio:1!important;margin:0!important;border-radius:5px!important}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-copy{flex:1;min-width:0}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-copy h3,
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-story.is-featured .nhd-editorial-special-copy h3{font-size:14px!important;line-height:1.35!important;margin:0 0 7px!important}
.nhd-home .nhd-editorial-three-column .nhd-editorial-special-empty{grid-column:1/-1}
@media(max-width:1050px){.nhd-home .nhd-editorial-three-column .nhd-editorial-special-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.nhd-home .nhd-editorial-three-column .nhd-editorial-special-body{grid-template-columns:minmax(0,1fr)!important;padding:10px!important}}

/* v1.1.62: Independently draggable homepage special sections.
   Each section occupies its own row and maintains four news columns. */
.nhd-home-builder > [data-nhd-block="tender"],
.nhd-home-builder > [data-nhd-block="training"],
.nhd-home-builder > [data-nhd-block="hot_jobs"]{display:block;width:100%;min-width:0;clear:both;margin:24px 0}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special{width:100%;margin:0}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-body,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-body{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:14px!important;align-items:stretch}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-story,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-story,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-story{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;min-width:0;padding:10px!important;margin:0!important;border:1px solid #e3e8ee!important;border-radius:6px!important;background:#fff!important}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-thumb,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-thumb,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-thumb{flex:0 0 56px!important;width:56px!important;height:56px!important;min-width:56px!important;aspect-ratio:1!important;margin:0!important;border-radius:5px!important}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-thumb img,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-thumb img,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-thumb img{width:100%!important;height:100%!important;object-fit:contain!important}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-copy,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-copy,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-copy{flex:1;min-width:0}
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-copy h3,
.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-copy h3,
.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-copy h3{font-size:14px!important;line-height:1.35!important;margin:0 0 7px!important}
@media(max-width:1050px){.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-body,.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,.nhd-home-builder > [data-nhd-block="training"] .nhd-editorial-special-body,.nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-body{grid-template-columns:minmax(0,1fr)!important;padding:10px!important}}

/* v1.1.64: Hot Jobs company, first position, accessible hover/focus list. */
.nhd-editorial-hot-jobs .nhd-job-company{font-size:14px!important;margin:0 0 5px!important;line-height:1.4!important}
.nhd-editorial-hot-jobs .nhd-job-first-position{display:block;font-size:12px;line-height:1.4;color:#374151;margin:0 0 5px;overflow-wrap:anywhere}
.nhd-editorial-hot-jobs .nhd-job-positions{position:relative;outline-offset:3px;cursor:default}
.nhd-editorial-hot-jobs .nhd-job-all-positions{display:none;position:absolute;z-index:30;left:0;top:100%;min-width:190px;width:max-content;max-width:min(320px,80vw);max-height:270px;overflow-y:auto;padding:12px 14px;border:1px solid #e1d0d0;border-radius:7px;background:#fff;box-shadow:0 8px 26px #0003;font-size:12px;color:#1f2937}
.nhd-editorial-hot-jobs .nhd-job-positions:hover .nhd-job-all-positions,.nhd-editorial-hot-jobs .nhd-job-positions:focus .nhd-job-all-positions,.nhd-editorial-hot-jobs .nhd-job-positions:focus-within .nhd-job-all-positions{display:block}
.nhd-editorial-hot-jobs .nhd-job-all-positions ul{padding-left:18px;margin:6px 0 0;list-style:disc}
.nhd-editorial-hot-jobs .nhd-job-all-positions li{margin:4px 0;overflow-wrap:anywhere}
.nhd-editorial-hot-jobs .nhd-job-more{display:inline-block;font-size:12px;font-weight:700;color:#b91c1c;margin:3px 0 6px;text-decoration:underline}
@media(hover:none){.nhd-editorial-hot-jobs .nhd-job-positions:focus .nhd-job-all-positions{display:block}}

/* v1.1.67: Expand remaining job positions in normal document flow on hover.
   The old absolutely positioned popover was clipped by the section's overflow:hidden. */
.nhd-editorial-hot-jobs .nhd-job-positions{position:relative;cursor:help;min-width:0}
.nhd-editorial-hot-jobs .nhd-job-all-positions{display:none;position:static!important;z-index:auto!important;left:auto!important;top:auto!important;width:auto!important;min-width:0!important;max-width:100%!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;margin:6px 0 8px;padding:7px 10px;border:1px solid #e1d0d0;border-radius:5px;background:#fff8f8}
.nhd-editorial-hot-jobs .nhd-job-positions:hover > .nhd-job-all-positions,
.nhd-editorial-hot-jobs .nhd-job-positions:focus > .nhd-job-all-positions,
.nhd-editorial-hot-jobs .nhd-job-positions:focus-within > .nhd-job-all-positions{display:block!important}
.nhd-editorial-hot-jobs .nhd-job-all-positions ul{margin:0;padding-left:16px}
.nhd-editorial-hot-jobs .nhd-job-first-position{cursor:help}

/* v1.1.68: Show the normal arrow cursor instead of the help/question cursor on job positions. */
.nhd-editorial-hot-jobs .nhd-job-positions,
.nhd-editorial-hot-jobs .nhd-job-first-position{cursor:default!important}

/* v1.1.69: Tender section has three independent desktop news columns. */
.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,
.nhd-editorial-tender .nhd-editorial-special-body{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.nhd-editorial-tender .nhd-tender-organization{font-size:14px!important;line-height:1.4!important;margin:0 0 5px!important;overflow-wrap:anywhere}
.nhd-editorial-tender .nhd-tender-subject{font-size:12px;line-height:1.5;margin:0 0 6px;color:#374151;white-space:pre-line;overflow-wrap:anywhere}
.nhd-editorial-tender .nhd-tender-more{font-size:12px;font-weight:700;color:#0759b7;text-decoration:underline}
@media(max-width:1050px){.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,.nhd-editorial-tender .nhd-editorial-special-body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){.nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,.nhd-editorial-tender .nhd-editorial-special-body{grid-template-columns:minmax(0,1fr)!important}}

/* Training: two independent editorial columns, responsive and static. */
.nhd-training-two-groups{margin:22px 0;clear:both}
.nhd-training-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.nhd-training-group{min-width:0;border:1px solid #dbe3dd;background:#fff;border-radius:5px;overflow:hidden}
.nhd-training-group-heading{background:#087b38;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}
.nhd-training-group-heading h2{font-size:19px;line-height:1.3;margin:0;color:#fff}
.nhd-training-group-heading a{color:#fff;text-decoration:none;font-size:13px}
.nhd-training-group-items{padding:10px 14px}
.nhd-training-course{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #e8ede9;min-width:0}
.nhd-training-course:last-child{border-bottom:0}
.nhd-training-course-thumb{flex:0 0 56px;width:56px;height:56px;display:flex;align-items:center;justify-content:center;background:#f3f7f4;border-radius:50%;overflow:hidden}
.nhd-training-course-thumb img{width:56px;height:56px;object-fit:cover;border-radius:50%}
.nhd-training-course-copy{flex:1;min-width:0}
.nhd-training-course-category{display:block;font-size:12px;font-weight:600;color:#087b38;margin-bottom:4px}
.nhd-training-course-copy h3{font-size:15px;line-height:1.4;margin:0 0 5px}
.nhd-training-course-copy h3 a{text-decoration:none}
.nhd-training-course-more{font-size:12px;text-decoration:none}
.nhd-training-group-empty{margin:8px 0}
@media(max-width:700px){.nhd-training-groups{grid-template-columns:minmax(0,1fr);gap:14px}}

.nhd-training-course-enroll{display:inline-block;margin-left:10px;font-size:12px;font-weight:600;color:#087b38;text-decoration:none}

/* Training block: preserve independent homepage placement and always show heading. */
.nhd-home-builder > [data-nhd-block="training"]{width:100%;min-width:0;clear:both}
.nhd-home-builder > [data-nhd-block="training"] > .nhd-editable-block-heading{display:block;margin:0 0 12px;font-size:24px;line-height:1.3}

/* v1.1.75: honor builder visibility and keep training full-width. */
.nhd-home-builder > [data-nhd-block="training"][hidden]{display:none!important}
.nhd-home-builder > [data-nhd-block="training"] .nhd-training-groups{width:100%}

/* v1.1.83 — Mobile-first safety layer. Desktop presentation remains unchanged. */
@media (max-width: 900px) {
  html,body {max-width:100%;}
  .wrap,main.wrap,.nhd-home {max-width:100%;min-width:0;}
  .nhd-home-builder,.nhd-home-builder > *,main,.site-main,.entry-content,.nhd-article-content,.nhd-home-sections {min-width:0;}
  .nhd-home-builder > [data-nhd-block] {max-width:100%;min-width:0;}
  .nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-body,
  .nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,
  .nhd-editorial-hot-jobs .nhd-editorial-special-body,
  .nhd-editorial-tender .nhd-editorial-special-body {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .nhd-home .nhd-lead-layout {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .nhd-home .nhd-home-content,.nhd-home .nhd-home-sections {min-width:0;}
  .footer-widgets {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 700px) {
  .wrap {width:calc(100% - 28px);}
  .topbar-inner,.masthead-inner,.copyright-inner {flex-wrap:wrap;}
  .masthead-inner {gap:12px;}
  .site-branding,.site-title,.site-description {max-width:100%;overflow-wrap:anywhere;}
  .custom-logo {max-width:min(100%,280px);height:auto;object-fit:contain;}
  .header-ad,.nhd-banner-header {max-width:100%;width:100%;flex-basis:100%;}
  .home-grid,.lead-grid,.page-layout,.nhd-home-content,.nhd-home .nhd-home-content,
  .nhd-home .nhd-lead-layout,.nhd-home .nhd-home-sections,.nhd-category-page-grid,
  .nhd-single-page .nhd-single-columns,.nhd-single-columns,.nhd-category-layout,
  .nhd-training-groups {grid-template-columns:minmax(0,1fr)!important;}
  .nhd-home .nhd-lead-right {grid-column:auto;}
  .nhd-home .nhd-latest-grid,.nhd-latest-grid,.category-grid,.news-list {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .content-sidebar {display:block;}
  .nhd-home-builder > [data-nhd-block="hot_jobs"] .nhd-editorial-special-body,
  .nhd-home-builder > [data-nhd-block="tender"] .nhd-editorial-special-body,
  .nhd-editorial-hot-jobs .nhd-editorial-special-body,
  .nhd-editorial-tender .nhd-editorial-special-body {grid-template-columns:minmax(0,1fr)!important;}
  .nhd-editorial-special-story,.nhd-training-course {min-width:0;}
  .post-row {grid-template-columns:120px minmax(0,1fr);gap:12px;}
  .post-row h2 {font-size:clamp(16px,4vw,21px);}
  .nhd-article-content h1,.nhd-single-page .nhd-article-content h1 {font-size:clamp(25px,6vw,36px);line-height:1.25;overflow-wrap:anywhere;}
  .entry-content {font-size:17px;line-height:1.8;overflow-wrap:anywhere;}
  .entry-content iframe,.entry-content video,.entry-content embed,.entry-content object {max-width:100%;}
  .entry-content iframe {width:100%;}
  .entry-content pre,.entry-content table {max-width:100%;overflow-x:auto;}
  .entry-content figure,.entry-content .wp-block-image {max-width:100%;}
  .nhd-banner-home,.nhd-banner-sidebar,.ad-slot {max-width:100%;}
  .nhd-banner-home img,.ad-slot img {max-width:100%;height:auto;object-fit:contain;}
  .nhd-single-latest,.nhd-article-layout {max-width:100%;}
  .nhd-single-page .nhd-single-columns>.nhd-article-layout {grid-template-columns:minmax(0,1fr)!important;}
  .nhd-reporter-panel {max-width:100%;}
  .pagination,.nav-links {flex-wrap:wrap;}
  .footer-widgets {grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
}
@media (max-width: 600px) {
  .nav-inner {display:block;}
  .menu-toggle {display:block;width:100%;min-height:44px;text-align:left;}
  .primary-menu {display:none;flex-direction:column;}
  .primary-menu.is-open {display:flex;}
  .primary-menu>li,.primary-menu>li>a {width:100%;}
  .primary-menu a {min-height:42px;display:flex;align-items:center;overflow-wrap:anywhere;}
  .primary-menu .sub-menu {position:static;box-shadow:none;min-width:0;max-width:100%;}
  .nav-search {display:block;margin:6px 0 10px;padding:0;}
  .nav-search .search-form input[type=search] {width:100%;}
  .ticker-items {min-width:0;flex:1;}
  .ticker-label {flex:0 0 auto;max-width:100px;}
  .ticker-headline {max-width:100%;}
  .nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right {grid-template-columns:minmax(0,1fr);}
  .nhd-home .nhd-latest-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .nhd-home-builder > [data-nhd-block="training"] .nhd-training-groups {grid-template-columns:minmax(0,1fr)!important;}
  .nhd-training-group-heading {flex-wrap:wrap;padding:10px 12px;}
  .nhd-training-group-heading h2 {font-size:17px;}
  .nhd-training-group-items {padding:8px 11px;}
  .nhd-training-course-copy h3 {font-size:14px;}
  .nhd-training-course-enroll {margin-left:0;margin-right:10px;}
  .woocommerce ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width: 420px) {
  .wrap {width:calc(100% - 22px);}
  .nhd-home .nhd-latest-grid,.nhd-latest-grid,.category-grid,.news-list {grid-template-columns:minmax(0,1fr)!important;}
  .post-row,.nhd-category-news-item {grid-template-columns:100px minmax(0,1fr);gap:10px;}
  .post-row h2 {font-size:16px;}
  .footer-widgets {grid-template-columns:minmax(0,1fr);}
  .site-title {font-size:clamp(25px,8vw,34px);}
  .section-heading h2 {font-size:19px;}
  .nhd-home .nhd-latest-card img {height:auto;aspect-ratio:16/10;object-fit:cover;}
}

/* v1.1.85: small-screen overflow and readable, stable news layouts. */
@media(max-width:700px){
  html,body{max-width:100%;overflow-x:clip}
  .wrap,.nhd-home-builder,.nhd-home-builder>[data-nhd-block],
  .nhd-home-sections,.nhd-category-layout,.nhd-lead-layout,
  .page-layout,.entry-content,.nhd-article-content{min-width:0;max-width:100%}
  .entry-content img,.entry-content iframe,.entry-content video,
  .nhd-home img,.site-footer img{max-width:100%;height:auto}
  .entry-content table{display:block;max-width:100%;overflow-x:auto}
  .nhd-home .nhd-lead-layout{grid-template-columns:minmax(0,1fr)!important}
  .nhd-home .nhd-hero-card,.nhd-home .nhd-lead-main,
  .nhd-home .nhd-lead-side,.nhd-home .nhd-lead-right{min-width:0;max-width:100%}
  .nhd-home h1,.nhd-home h2,.nhd-home h3,.entry-content,
  .nhd-article-content h1{overflow-wrap:break-word}
  .nhd-news-image img,.nhd-hero-card img{width:100%;height:auto;object-fit:cover}
  .ad-slot,.header-ad,.nhd-banner,.nhd-ad{max-width:100%;overflow:hidden}
}
@media(max-width:390px){
  .wrap{width:calc(100% - 24px)}
  .nhd-article-content h1{font-size:clamp(25px,7vw,31px)}
  .entry-content{font-size:17px;line-height:1.75}
  .post-row{grid-template-columns:minmax(90px,33%) minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .story-image img{transition:none}
}

/* v1.1.87: improve readability of secondary text on white and pale backgrounds.
   Keep the editorial accent, section design and layout unchanged. */
:root{--muted:#515b66}
.story-excerpt{color:#424b55}
.story-meta,.nhd-breadcrumbs,.site-description{color:#515b66}
.no-thumb,.header-ad,.ad-slot{color:#535e69}
.copyright{color:#d4d9df}
/* Visible keyboard focus for navigation and icon-only links. */
a:focus-visible,button:focus-visible{outline:3px solid #155eef;outline-offset:3px}
