/* ==========================================================================
   NDH Herald — main stylesheet
   Publisher-style newspaper layout, rebuilt natively.
   ========================================================================== */

:root {
	--ndh-accent: #e4001b;
	--ndh-black: #111;
	--ndh-text: #222;
	--ndh-muted: #777;
	--ndh-border: #e6e6e6;
	--ndh-bg: #fff;
	--ndh-bg-soft: #f6f6f6;
	--ndh-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--ndh-font-cond: "Roboto Condensed", var(--ndh-font);
	--ndh-container: 1200px;
	--ndh-gap: 24px;
	--ndh-radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--ndh-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ndh-text);
	background: var(--ndh-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ndh-accent); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 9999; }

.container { width: 100%; max-width: var(--ndh-container); margin: 0 auto; padding: 0 16px; }

/* ---- Top bar ---- */
.topbar { background: var(--ndh-black); color: #fff; font-size: 12px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.topbar-menu { display: flex; gap: 14px; }
.topbar-menu a { color: #ddd; }
.topbar-menu a:hover { color: #fff; }
.social-links { display: flex; gap: 6px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: #fff; opacity: .85; }
.social-links a:hover { opacity: 1; color: var(--ndh-accent); }

/* ---- Masthead ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--ndh-border); }
.header-inner { display: flex; justify-content: center; align-items: center; padding: 18px 16px 10px; }
.site-branding { text-align: center; }
.custom-logo-link img { margin: 0 auto; max-height: 110px; width: auto; }
.text-logo { display: inline-block; font-family: Georgia, "Times New Roman", serif; line-height: 1; }
.text-logo-top { display: block; font-size: 18px; color: var(--ndh-accent); letter-spacing: .3em; text-transform: uppercase; }
.text-logo-main { display: block; font-size: 52px; font-weight: 700; color: #e6007e; }
.site-tagline { margin: 6px 0 0; font-style: italic; font-size: 13px; color: #444; }

/* ---- Main nav ---- */
.main-nav-bar { position: relative; }
.nav-inner { display: flex; align-items: center; justify-content: center; position: relative; }
.primary-menu { display: flex; flex-wrap: wrap; justify-content: center; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: block; padding: 14px 16px; font-weight: 700; font-size: 14px; color: #111; border-bottom: 3px solid transparent; }
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-parent > a { border-bottom-color: var(--ndh-accent); color: var(--ndh-accent); }
.primary-menu .menu-item-has-children > a::after { content: " \25BE"; font-size: 11px; }
.primary-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--ndh-border); border-top: 3px solid var(--ndh-accent); box-shadow: 0 8px 20px rgba(0,0,0,.08); z-index: 50; display: none; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { display: block; padding: 9px 14px; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
.primary-menu .sub-menu a:hover { background: var(--ndh-bg-soft); }
.menu-toggle, .search-toggle { background: none; border: 0; padding: 10px; color: #111; display: inline-flex; }
.menu-toggle { display: none; position: absolute; left: 8px; }
.search-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.header-search { background: var(--ndh-bg-soft); border-top: 1px solid var(--ndh-border); padding: 12px 0; }
.header-search[hidden] { display: none; }

.search-form { display: flex; max-width: 640px; margin: 0 auto; }
.search-field { flex: 1; padding: 10px 14px; border: 1px solid #ccc; border-right: 0; font: inherit; }
.search-submit { background: var(--ndh-accent); color: #fff; border: 0; padding: 0 16px; display: inline-flex; align-items: center; }

/* ---- Trending ticker ---- */
.trending-bar { border-bottom: 1px solid var(--ndh-border); background: #fff; }
.trending-inner { display: flex; align-items: center; gap: 12px; height: 38px; overflow: hidden; }
.trending-label { background: var(--ndh-accent); color: #fff; font-family: var(--ndh-font-cond); font-weight: 700; text-transform: uppercase; font-size: 12px; padding: 4px 10px; white-space: nowrap; flex: none; }
.ticker { flex: 1; overflow: hidden; position: relative; height: 24px; }
.ticker-list li { position: absolute; left: 0; top: 0; width: 100%; font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker-list li.is-active { opacity: 1; }
.ticker-nav { display: flex; gap: 2px; flex: none; }
.ticker-nav button { width: 24px; height: 24px; border: 1px solid #ccc; background: #fff; line-height: 1; padding: 0; }
.ticker-nav button:hover { background: var(--ndh-accent); color: #fff; border-color: var(--ndh-accent); }

/* ---- Advert zones ---- */
.ndh-ad { text-align: center; margin: 18px 0; }
.ndh-ad img { margin: 0 auto; }
.ndh-ad-label { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #aaa; margin-bottom: 4px; }
.ad-leaderboard { padding: 10px 0; }
.ad-header-top { margin: 0; }
.ad-sidebar { margin: 0 0 28px; }
.ad-inline { margin: 24px 0; }
.ndh-ad-empty { display: none; }

/* ---- Layouts ---- */
.home-layout, .layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding-top: 24px; padding-bottom: 24px; }
.no-sidebar .layout-sidebar { grid-template-columns: 1fr; }
.home-fullwidth { padding-bottom: 40px; }
.gap-lg { gap: 40px; }

.grid { display: grid; gap: var(--ndh-gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- Section titles ---- */
.section-title { font-size: 17px; font-weight: 700; text-transform: none; border-bottom: 1px solid var(--ndh-border); margin: 0 0 18px; line-height: 1; }
.section-title span { display: inline-block; padding: 0 0 9px; margin-bottom: -1px; border-bottom: 3px solid var(--ndh-accent); }
.home-section { margin-bottom: 36px; }

/* ---- Cards & rows ---- */
.post-thumb { display: block; position: relative; overflow: hidden; background: #eee; border-radius: var(--ndh-radius); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-thumb:hover img { transform: scale(1.04); }
.thumb-placeholder { display: block; width: 100%; aspect-ratio: 3/2; background: linear-gradient(135deg, #e9e9e9, #d5d5d5); }
.format-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(228,0,27,.9); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px; }

.cat-badge { display: inline-block; background: var(--ndh-accent); color: #fff; font-family: var(--ndh-font-cond); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; margin-bottom: 6px; line-height: 1.4; }
.cat-badge:hover { background: #111; color: #fff; }

.post-meta { font-size: 12px; color: var(--ndh-muted); display: flex; flex-wrap: wrap; gap: 10px; }
.post-meta .meta-author { font-weight: 500; color: #444; }
.post-meta .meta-comments::before { content: "\1F4AC"; margin-right: 3px; font-size: 11px; }

.post-card .post-thumb { aspect-ratio: 3/2; margin-bottom: 10px; }
.card-title { font-size: 16px; }
.card-excerpt { font-size: 14px; color: #555; margin: 8px 0 6px; }
.read-more { font-size: 13px; font-weight: 700; color: var(--ndh-accent); }
.post-card-excerpt .card-title { font-size: 18px; }

.post-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #efefef; }
.post-row:last-child { border-bottom: 0; }
.post-row .post-thumb { flex: none; width: 90px; aspect-ratio: 3/2; }
.row-title { font-size: 14px; margin: 0 0 4px; }
.post-row-lg { padding: 0; border: 0; }
.post-row-lg .post-thumb { width: 150px; }
.post-row-lg .row-title { font-size: 15px; }
.list-style .post-row-lg { align-items: flex-start; }

/* ---- Hero slider ---- */
.hero-slider { position: relative; margin-bottom: 24px; }
.hero-slider .slides { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.hero-slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.hero-slider .slide.is-active { opacity: 1; z-index: 1; }
.hero-slider .slide-img, .hero-slider .slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 24px; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0)); color: #fff; }
.slide-title { font-size: 28px; margin: 4px 0 8px; }
.slide-title a:hover { color: #fff; text-decoration: underline; }
.slide-caption .post-meta, .slide-caption .meta-author { color: #ddd; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 54px; background: rgba(0,0,0,.45); color: #fff; border: 0; font-size: 30px; line-height: 1; opacity: 0; transition: opacity .3s; }
.hero-slider:hover .slider-prev, .hero-slider:hover .slider-next { opacity: 1; }
.slider-prev { left: 0; } .slider-next { right: 0; }
.slider-dots { position: absolute; right: 16px; top: 14px; z-index: 2; display: flex; gap: 6px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; }
.slider-dots button.is-active { background: var(--ndh-accent); }

/* ---- Numbered 1–5 ---- */
.numbered-list { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-bottom: 8px; counter-reset: n; }
.numbered-list li { counter-increment: n; position: relative; padding-left: 0; }
.numbered-list li::before { content: counter(n); position: absolute; left: 0; top: 0; z-index: 1; width: 26px; height: 26px; background: var(--ndh-accent); color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.numbered-list .post-thumb { aspect-ratio: 3/2; margin-bottom: 8px; }
.numbered-list .row-title { font-size: 13px; }
.numbered-list .post-meta { font-size: 11px; }

/* ---- Big + list ---- */
.biglist { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.biglist-main .post-thumb { aspect-ratio: 16/10; margin-bottom: 10px; }
.biglist-main .card-title { font-size: 20px; }

/* ---- Videos ---- */
.videos-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.video-wrap { position: relative; aspect-ratio: 16/9; background: #000; margin-bottom: 10px; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-main .card-title { font-size: 20px; }
.video-list li { padding: 7px 0; border-bottom: 1px solid #efefef; font-size: 13px; }

/* ---- Photo galleries ---- */
.cat-badge.cat-photo { background: #111; }
.gallery-count { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 2px; }
.gallery-strip { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.gallery-strip-main .post-thumb { aspect-ratio: 16/10; }
.gallery-strip-main .card-title { font-size: 20px; }
.gallery-strip-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.gallery-strip-side .card-title { font-size: 13px; }
.gallery-strip-side .post-meta { display: none; }
.gallery-widget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery-widget-item { position: relative; display: block; }
.gallery-widget-item img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery-widget-title { display: block; font-size: 12px; font-weight: 700; margin-top: 4px; line-height: 1.3; }
.gallery-grid .post-thumb { aspect-ratio: 4/3; }
.gallery-intro { font-size: 16px; margin-bottom: 18px; }
.gallery-count-meta { font-weight: 500; }

.ndh-gallery { margin: 10px 0 20px; }
.ndh-gallery-item { margin: 0; position: relative; break-inside: avoid; }
.ndh-gallery-item a { display: block; position: relative; overflow: hidden; background: #eee; }
.ndh-gallery-item img { width: 100%; display: block; transition: transform .4s; }
.ndh-gallery-item a:hover img { transform: scale(1.03); }
.ndh-gallery-zoom { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; opacity: 0; transition: opacity .3s; }
.ndh-gallery-item a:hover .ndh-gallery-zoom { opacity: 1; }
.ndh-gallery figcaption { font-size: 13px; color: #555; padding: 6px 2px 0; line-height: 1.4; }
.ndh-gallery-masonry { columns: var(--ndh-gcols, 3); column-gap: 12px; }
.ndh-gallery-masonry .ndh-gallery-item { margin-bottom: 12px; display: inline-block; width: 100%; }
.ndh-gallery-grid { display: grid; grid-template-columns: repeat(var(--ndh-gcols, 3), 1fr); gap: 12px; }
.ndh-gallery-grid .ndh-gallery-item a { aspect-ratio: 1; }
.ndh-gallery-grid .ndh-gallery-item img { height: 100%; object-fit: cover; }
.ndh-gallery-grid figcaption { display: none; }
.ndh-gallery-stacked .ndh-gallery-item { margin-bottom: 28px; }
.ndh-gallery-stacked figcaption { font-size: 14px; padding-top: 8px; }
.ndh-gallery-slideshow { position: relative; background: #111; aspect-ratio: 16/10; }
.ndh-gallery-slideshow .ndh-gallery-item { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.ndh-gallery-slideshow .ndh-gallery-item.is-active { opacity: 1; z-index: 1; }
.ndh-gallery-slideshow .ndh-gallery-item a { height: 100%; background: #111; }
.ndh-gallery-slideshow .ndh-gallery-item img { height: 100%; object-fit: contain; }
.ndh-gallery-slideshow figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.7); color: #fff; padding: 10px 14px; }
.ndh-gallery-controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin: -10px 0 20px; background: #111; color: #fff; padding: 8px; }
.ndh-gallery-controls button { background: var(--ndh-accent); color: #fff; border: 0; width: 34px; height: 34px; font-size: 22px; line-height: 1; }
.ndh-gallery-credit { font-size: 12px; color: var(--ndh-muted); font-style: italic; text-align: right; }

.ndh-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.ndh-lb[hidden] { display: none; }
.ndh-lb-bg { position: absolute; inset: 0; background: rgba(0,0,0,.93); }
.ndh-lb-fig { position: relative; margin: 0; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.ndh-lb-fig img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain; }
.ndh-lb-fig figcaption { color: #ddd; font-size: 14px; padding: 10px 4px; text-align: center; max-width: 900px; }
.ndh-lb-credit { display: block; font-size: 12px; color: #999; }
.ndh-lb-n { display: block; font-size: 11px; color: #777; margin-top: 4px; }
.ndh-lb button { position: absolute; z-index: 2; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; }
.ndh-lb-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 30px; border-radius: 50%; }
.ndh-lb-prev, .ndh-lb-next { top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-size: 40px; }
.ndh-lb-prev { left: 10px; } .ndh-lb-next { right: 10px; }
.ndh-lb button:hover { background: var(--ndh-accent); }

/* ---- Widgets ---- */
.widget { margin-bottom: 32px; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid #efefef; font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }
.widget-posts .post-card .post-thumb { aspect-ratio: 16/10; }
.stay-connected { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stay-connected li { border: 0 !important; padding: 0 !important; }
.stay-connected a { display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 10px; background: var(--ndh-bg-soft); border-left: 3px solid #333; font-size: 12px; }
.stay-connected svg { grid-row: span 2; }
.sc-name { font-weight: 700; } .sc-action { color: var(--ndh-muted); font-size: 11px; }
.sc-facebook a { border-left-color: #1877f2; } .sc-twitter a { border-left-color: #000; } .sc-youtube a { border-left-color: #ff0000; } .sc-instagram a { border-left-color: #e1306c; } .sc-whatsapp a { border-left-color: #25d366; } .sc-rss a { border-left-color: #f26522; }

/* ---- Newsletter ---- */
.newsletter-band { background: var(--ndh-black); color: #fff; padding: 36px 24px; margin: 20px 0 10px; text-align: center; }
.newsletter-band h2 { font-size: 24px; }
.newsletter-band p { color: #ccc; }
.ndh-newsletter { display: flex; gap: 0; max-width: 520px; margin: 0 auto; }
.ndh-newsletter input[type=email] { flex: 1; padding: 11px 14px; border: 1px solid #ccc; font: inherit; }
.ndh-newsletter button { background: var(--ndh-accent); color: #fff; border: 0; padding: 0 20px; font-weight: 700; }
.ndh-newsletter-msg { font-size: 13px; margin-top: 8px; }
.widget .ndh-newsletter { flex-direction: column; gap: 8px; }
.widget .ndh-newsletter button { padding: 10px; }

/* ---- Share buttons ---- */
.ndh-share { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.ndh-share a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; color: #fff; font-size: 12px; font-weight: 700; border-radius: 3px; }
.ndh-share .share-facebook { background: #1877f2; } .ndh-share .share-twitter { background: #000; } .ndh-share .share-whatsapp { background: #25d366; } .ndh-share .share-linkedin { background: #0a66c2; } .ndh-share .share-telegram { background: #229ed9; } .ndh-share .share-email { background: #555; }
.ndh-share a:hover { color: #fff; opacity: .9; }

/* ---- Single post ---- */
.single-post .entry-title, .single-page .entry-title { font-size: 32px; margin: 6px 0 12px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 13px; color: var(--ndh-muted); margin-bottom: 10px; }
.entry-meta .meta-author { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: #333; }
.entry-meta img { border-radius: 50%; }
.entry-thumb { margin: 0 0 20px; }
.entry-thumb figcaption { font-size: 12px; color: var(--ndh-muted); padding: 6px 0; }
.entry-content { font-size: 17px; line-height: 1.75; }
.entry-content p { margin-bottom: 1.3em; }
.entry-content img { margin: 1em auto; }
.entry-content h2 { font-size: 24px; margin-top: 1.4em; }
.entry-content h3 { font-size: 20px; margin-top: 1.3em; }
.entry-content blockquote { border-left: 4px solid var(--ndh-accent); margin: 1.5em 0; padding: .5em 1.2em; background: var(--ndh-bg-soft); font-style: italic; }
.entry-content a { color: var(--ndh-accent); text-decoration: underline; }
.entry-content ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.3em; }
.entry-content .wp-caption, .entry-content figure { max-width: 100%; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--ndh-muted); text-align: center; }
.entry-tags a { display: inline-block; background: var(--ndh-bg-soft); padding: 3px 10px; font-size: 12px; margin: 0 4px 6px 0; border: 1px solid var(--ndh-border); }
.author-box { display: flex; gap: 16px; padding: 18px; background: var(--ndh-bg-soft); margin: 24px 0; }
.author-box img { border-radius: 50%; flex: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.post-nav a { display: block; padding: 12px 14px; border: 1px solid var(--ndh-border); font-weight: 700; font-size: 14px; }
.post-nav a span { display: block; font-size: 11px; text-transform: uppercase; color: var(--ndh-muted); font-weight: 400; }
.post-nav-next { text-align: right; }
.related-posts { margin: 30px 0; }
.related-posts .card-title { font-size: 14px; }

/* ---- Archive / pagination ---- */
.archive-header { margin-bottom: 20px; }
.archive-header .section-title { font-size: 24px; }
.archive-description { color: var(--ndh-muted); }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.pagination a, .pagination span { display: inline-block; padding: 7px 13px; border: 1px solid var(--ndh-border); font-size: 13px; font-weight: 700; }
.pagination .current { background: var(--ndh-accent); color: #fff; border-color: var(--ndh-accent); }
.pagination a:hover { background: #111; color: #fff; border-color: #111; }

/* ---- Comments ---- */
.comments-area { margin-top: 30px; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid #efefef; }
.comment-list .children { padding-left: 40px; }
.comment-author img { float: left; margin-right: 10px; border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--ndh-muted); }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; padding: 10px; border: 1px solid #ccc; font: inherit; }
.comment-form .submit { background: var(--ndh-accent); color: #fff; border: 0; padding: 10px 22px; font-weight: 700; }

/* ---- Footer ---- */
.site-footer { background: #0f0f0f; color: #bbb; margin-top: 20px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 44px 16px 30px; }
.footer-logo img { max-height: 70px; width: auto; margin-bottom: 14px; filter: brightness(1.1); }
.footer-motto { font-style: italic; color: #ddd; }
.footer-contact li { padding: 2px 0; }
.footer-social { margin-top: 12px; }
.site-footer .section-title { color: #fff; border-bottom-color: #2a2a2a; }
.site-footer .row-title a, .site-footer .footer-links a { color: #ddd; }
.site-footer .post-row { border-bottom-color: #222; }
.footer-links li { padding: 6px 0; border-bottom: 1px solid #222; }
.site-footer .ndh-newsletter input { border-color: #333; background: #1a1a1a; color: #fff; }
.footer-bottom { border-top: 1px solid #222; padding: 16px 0; font-size: 12px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-menu { display: flex; gap: 16px; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ndh-accent); color: #fff; font-size: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.25); z-index: 90; }
.back-to-top[hidden] { display: none; }

.error-404 { padding: 60px 0; text-align: center; }
.no-results { padding: 20px 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.home-layout, .layout-sidebar { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.numbered-list { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.topbar-nav { display: none; }
	.topbar-inner { justify-content: flex-end; }
	.text-logo-main { font-size: 36px; }
	.menu-toggle { display: inline-flex; }
	.main-navigation { display: none; width: 100%; }
	.main-navigation.is-open { display: block; }
	.primary-menu { flex-direction: column; border-top: 1px solid var(--ndh-border); }
	.primary-menu > li > a { padding: 12px 16px; border-bottom: 1px solid #eee; }
	.primary-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; background: var(--ndh-bg-soft); }
	.nav-inner { min-height: 48px; }
	.grid-2, .grid-3 { grid-template-columns: 1fr; }
	.biglist, .videos-layout, .gap-lg, .gallery-strip { grid-template-columns: 1fr; }
	.ndh-gallery-masonry { columns: 2; }
	.ndh-gallery-grid { grid-template-columns: 1fr 1fr; }
	.ndh-lb-prev, .ndh-lb-next { width: 36px; height: 56px; font-size: 30px; }
	.numbered-list { grid-template-columns: 1fr 1fr; }
	.slide-title { font-size: 19px; }
	.slide-caption { padding: 40px 16px 16px; }
	.slider-prev, .slider-next { opacity: 1; }
	.single-post .entry-title { font-size: 24px; }
	.entry-content { font-size: 16px; }
	.post-nav, .footer-top { grid-template-columns: 1fr; }
	.ticker-nav { display: none; }
	.stay-connected { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.numbered-list { grid-template-columns: 1fr; }
	.numbered-list li { display: flex; gap: 10px; padding-left: 0; }
	.numbered-list .post-thumb { width: 90px; flex: none; margin: 0; }
	.post-row-lg .post-thumb { width: 100px; }
}

/* Print */
@media print { .topbar, .main-nav-bar, .trending-bar, .ndh-ad, .site-sidebar, .home-sidebar, .site-footer, .back-to-top, .ndh-share { display: none !important; } }
