/*
Theme Name: NewsHub Pro
Theme URI: https://newshub.local/
Author: NewsHub Team
Author URI: https://newshub.local/
Description: NewsHub Pro is a fast, modern, SEO-friendly WordPress news/magazine theme with strategic Google AdSense ad-placement zones (header leaderboard, sidebar, in-article, footer and mobile positions), responsive grid layouts, featured sections, social sharing, related articles and a full admin customization panel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newshub-pro
Tags: news, magazine, blog, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, custom-colors, custom-logo
*/

/* ==========================================================================
   NewsHub Pro — Theme Styles
   The CSS custom properties (--nh-*) below are overridden inline from the
   Customizer (see inc/customizer.php -> newshub_customizer_css()).
   ========================================================================== */

:root {
    --nh-primary: #d32f2f;
    --nh-secondary: #1a1a2e;
    --nh-accent: #f59e0b;
    --nh-text: #1f2937;
    --nh-muted: #6b7280;
    --nh-bg: #f4f5f7;
    --nh-surface: #ffffff;
    --nh-border: #e5e7eb;
    --nh-radius: 10px;
    --nh-maxw: 1200px;
    --nh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --nh-heading-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--nh-font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--nh-text);
    background: var(--nh-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--nh-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--nh-secondary); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nh-heading-font);
    color: var(--nh-secondary);
    line-height: 1.25;
    margin: 0 0 .5em;
    font-weight: 800;
}

p { margin: 0 0 1.2em; }

.nh-container {
    max-width: var(--nh-maxw);
    margin: 0 auto;
    padding: 0 16px;
}

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
    height: 1px; width: 1px; margin: -1px; overflow: hidden;
    padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 9999;
    background: var(--nh-primary); color:#fff; padding: 10px 16px; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; color:#fff; }

/* ---------- Buttons ---------- */
.nh-btn {
    display: inline-block; background: var(--nh-primary); color:#fff;
    padding: 10px 18px; border-radius: var(--nh-radius); font-weight: 600;
    border: 0; cursor: pointer; transition: opacity .15s ease;
}
.nh-btn:hover { opacity: .9; color:#fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.nh-topbar {
    background: var(--nh-secondary); color:#cbd5e1; font-size: 13px;
}
.nh-topbar .nh-container { display:flex; align-items:center; justify-content:space-between; height: 38px; }
.nh-topbar a { color:#cbd5e1; }
.nh-topbar a:hover { color:#fff; }
.nh-topbar-date { opacity:.9; }
.nh-social-links a { margin-left: 12px; font-weight:600; }

.nh-header-main { background: var(--nh-surface); border-bottom: 1px solid var(--nh-border); }
.nh-header-inner { display:flex; align-items:center; justify-content:space-between; padding: 18px 16px; gap: 16px; max-width: var(--nh-maxw); margin:0 auto; }
.nh-branding { display:flex; align-items:center; gap: 12px; min-width: 0; }
.nh-site-title { font-size: 28px; font-weight: 900; margin:0; letter-spacing:-.5px; }
.nh-site-title a { color: var(--nh-secondary); }
.nh-site-title .nh-dot { color: var(--nh-primary); }
.nh-site-description { margin:0; font-size: 13px; color: var(--nh-muted); }
.nh-custom-logo-link img { max-height: 56px; width:auto; }

.nh-header-ad { margin-left:auto; max-width: 728px; overflow:hidden; }

/* ---------- Primary Navigation ---------- */
.nh-nav-wrap { background: var(--nh-primary); position: relative; z-index: 50; }
.nh-nav-inner { display:flex; align-items:center; max-width: var(--nh-maxw); margin:0 auto; padding: 0 16px; }
.nh-menu-toggle {
    display:none; background:transparent; border:0; color:#fff; font-size: 22px;
    padding: 12px 8px; cursor:pointer; align-items:center; gap:8px;
}
.nh-menu-toggle .nh-toggle-label { font-size: 15px; font-weight:600; }
.nh-primary-menu { display:flex; list-style:none; margin:0; padding:0; flex-wrap:wrap; }
.nh-primary-menu li { position: relative; }
.nh-primary-menu a {
    display:block; color:#fff; padding: 14px 16px; font-weight: 600; font-size: 15px;
}
.nh-primary-menu a:hover, .nh-primary-menu .current-menu-item > a { background: rgba(0,0,0,.18); color:#fff; }
.nh-primary-menu .sub-menu {
    position:absolute; top:100%; left:0; background: var(--nh-secondary); list-style:none;
    margin:0; padding:6px 0; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,.2);
    opacity:0; visibility:hidden; transform: translateY(6px); transition: all .15s ease; z-index: 60;
}
.nh-primary-menu li:hover > .sub-menu { opacity:1; visibility:visible; transform: translateY(0); }
.nh-primary-menu .sub-menu a { padding: 10px 16px; font-weight:500; }
.nh-search-toggle { margin-left:auto; background:transparent; border:0; color:#fff; cursor:pointer; padding:14px 12px; font-size:16px; }

/* Header search dropdown */
.nh-header-search { display:none; background: var(--nh-secondary); padding: 14px 16px; }
.nh-header-search.is-open { display:block; }
.nh-header-search .search-form { max-width: var(--nh-maxw); margin:0 auto; display:flex; gap:8px; }
.nh-header-search .search-field { flex:1; }

/* ==========================================================================
   Forms / Search
   ========================================================================== */
.search-form { display:flex; gap:8px; }
.search-field {
    width:100%; padding: 11px 14px; border:1px solid var(--nh-border); border-radius: var(--nh-radius);
    font-size: 15px; background:#fff; color: var(--nh-text);
}
.search-submit { white-space:nowrap; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
    border:1px solid var(--nh-border); border-radius: var(--nh-radius); padding: 11px 14px; font-size:15px; font-family:inherit; width:100%;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.nh-site-content { padding: 28px 0 40px; }
.nh-layout { display:grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items:start; }
.nh-layout.nh-no-sidebar { grid-template-columns: minmax(0,1fr); }
.nh-main { min-width: 0; }

/* Section headings */
.nh-section-head { display:flex; align-items:center; justify-content:space-between; margin: 0 0 18px; border-bottom: 3px solid var(--nh-secondary); padding-bottom: 8px; }
.nh-section-head h2 { font-size: 22px; margin:0; position:relative; padding-left: 14px; }
.nh-section-head h2::before { content:""; position:absolute; left:0; top:2px; bottom:2px; width:6px; background: var(--nh-primary); border-radius:3px; }
.nh-section-head .nh-viewall { font-size: 13px; font-weight:600; color: var(--nh-muted); }

/* ==========================================================================
   Article cards / grid
   ========================================================================== */
.nh-grid { display:grid; gap: 24px; }
.nh-grid-3 { grid-template-columns: repeat(3, 1fr); }
.nh-grid-2 { grid-template-columns: repeat(2, 1fr); }

.nh-card {
    background: var(--nh-surface); border-radius: var(--nh-radius); overflow:hidden;
    border:1px solid var(--nh-border); display:flex; flex-direction:column; height:100%;
    transition: transform .18s ease, box-shadow .18s ease;
}
.nh-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.10); }
.nh-card-thumb { position:relative; aspect-ratio: 16/9; overflow:hidden; background:#e9ecf1; }
.nh-card-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.nh-card:hover .nh-card-thumb img { transform: scale(1.05); }
.nh-cat-badge {
    position:absolute; top:10px; left:10px; background: var(--nh-primary); color:#fff;
    font-size: 11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px;
    padding: 4px 10px; border-radius: 20px;
}
.nh-cat-badge:hover { color:#fff; opacity:.9; }
.nh-card-body { padding: 16px; display:flex; flex-direction:column; flex:1; }
.nh-card-title { font-size: 17px; margin: 0 0 8px; line-height:1.35; }
.nh-card-title a { color: var(--nh-secondary); }
.nh-card-title a:hover { color: var(--nh-primary); }
.nh-card-excerpt { color: var(--nh-muted); font-size: 14px; margin: 0 0 12px; }
.nh-card-meta { margin-top:auto; font-size: 12px; color: var(--nh-muted); display:flex; gap: 12px; align-items:center; }
.nh-card-meta .nh-meta-author { font-weight:600; color: var(--nh-text); }

/* Featured hero */
.nh-hero { display:grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 32px; }
.nh-hero-main { position:relative; border-radius: var(--nh-radius); overflow:hidden; min-height: 420px; background:#222; }
.nh-hero-main img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.nh-hero-overlay { position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 100%); display:flex; flex-direction:column; justify-content:flex-end; padding: 28px; }
.nh-hero-main .nh-hero-title { color:#fff; font-size: 30px; margin:8px 0; }
.nh-hero-main .nh-hero-title a { color:#fff; }
.nh-hero-meta { color:#e5e7eb; font-size: 13px; }
.nh-hero-side { display:flex; flex-direction:column; gap: 16px; }
.nh-hero-side-item { position:relative; border-radius: var(--nh-radius); overflow:hidden; flex:1; min-height: 130px; background:#222; }
.nh-hero-side-item img { width:100%; height:100%; object-fit:cover; position:absolute; inset:0; }
.nh-hero-side-overlay { position:absolute; inset:0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.05)); display:flex; flex-direction:column; justify-content:flex-end; padding: 14px; }
.nh-hero-side-overlay .nh-hero-title { color:#fff; font-size: 16px; margin:4px 0 0; }
.nh-hero-side-overlay .nh-hero-title a { color:#fff; }

/* Horizontal list item (sidebar popular / related compact) */
.nh-list-item { display:flex; gap: 12px; padding: 12px 0; border-bottom:1px solid var(--nh-border); }
.nh-list-item:last-child { border-bottom:0; }
.nh-list-thumb { flex: 0 0 84px; height: 64px; border-radius: 8px; overflow:hidden; background:#e9ecf1; }
.nh-list-thumb img { width:100%; height:100%; object-fit:cover; }
.nh-list-title { font-size: 14px; margin:0 0 4px; line-height:1.35; }
.nh-list-title a { color: var(--nh-secondary); }
.nh-list-meta { font-size: 12px; color: var(--nh-muted); }
.nh-list-rank { font-size: 22px; font-weight:900; color: var(--nh-border); flex:0 0 auto; line-height:1; }

/* ==========================================================================
   Single post
   ========================================================================== */
.nh-article { background: var(--nh-surface); border:1px solid var(--nh-border); border-radius: var(--nh-radius); padding: 28px; }
.nh-article-header { margin-bottom: 18px; }
.nh-breadcrumbs { font-size: 13px; color: var(--nh-muted); margin-bottom: 12px; }
.nh-breadcrumbs a { color: var(--nh-muted); }
.nh-breadcrumbs span[aria-current] { color: var(--nh-text); }
.nh-article-cat { display:inline-block; background: var(--nh-primary); color:#fff; font-size:12px; font-weight:700; text-transform:uppercase; padding:4px 12px; border-radius:20px; margin-bottom: 12px; }
.nh-article-cat:hover { color:#fff; opacity:.9; }
.nh-article-title { font-size: 34px; line-height:1.2; margin: 0 0 14px; }
.nh-article-meta { display:flex; flex-wrap:wrap; gap: 16px; align-items:center; color: var(--nh-muted); font-size: 14px; border-top:1px solid var(--nh-border); border-bottom:1px solid var(--nh-border); padding: 12px 0; }
.nh-article-meta .nh-meta-author { font-weight:700; color: var(--nh-text); }
.nh-featured-image { margin: 20px 0; border-radius: var(--nh-radius); overflow:hidden; }

.nh-article-content { font-size: 17px; line-height: 1.8; color: #2b2f36; }
.nh-article-content h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.nh-article-content h3 { font-size: 21px; margin: 1.3em 0 .5em; }
.nh-article-content img { border-radius: 8px; margin: 1em 0; }
.nh-article-content blockquote {
    border-left: 5px solid var(--nh-primary); margin: 1.4em 0; padding: 8px 20px;
    background: var(--nh-bg); border-radius: 0 8px 8px 0; font-style: italic; color: var(--nh-secondary);
}
.nh-article-content ul, .nh-article-content ol { margin: 0 0 1.2em 1.4em; }
.nh-article-content a { text-decoration: underline; }

.nh-tags { margin: 24px 0; }
.nh-tags a { display:inline-block; background: var(--nh-bg); border:1px solid var(--nh-border); color: var(--nh-muted); font-size: 13px; padding: 5px 12px; border-radius: 20px; margin: 0 6px 8px 0; }
.nh-tags a:hover { background: var(--nh-primary); color:#fff; border-color: var(--nh-primary); }

/* Social sharing */
.nh-share { display:flex; flex-wrap:wrap; align-items:center; gap: 10px; margin: 22px 0; padding: 16px; background: var(--nh-bg); border-radius: var(--nh-radius); }
.nh-share-label { font-weight:700; color: var(--nh-secondary); margin-right: 4px; }
.nh-share a {
    display:inline-flex; align-items:center; gap:6px; color:#fff; font-size: 13px; font-weight:600;
    padding: 8px 14px; border-radius: 8px;
}
.nh-share .nh-sh-fb { background:#1877f2; }
.nh-share .nh-sh-x { background:#000; }
.nh-share .nh-sh-wa { background:#25d366; }
.nh-share .nh-sh-li { background:#0a66c2; }
.nh-share .nh-sh-tg { background:#0088cc; }
.nh-share .nh-sh-cp { background: var(--nh-muted); }
.nh-share a:hover { opacity:.88; color:#fff; }

/* Author box */
.nh-author-box { display:flex; gap:16px; align-items:flex-start; background: var(--nh-bg); border-radius: var(--nh-radius); padding: 18px; margin: 26px 0; }
.nh-author-box img { border-radius: 50%; width:64px; height:64px; }
.nh-author-box h4 { margin:0 0 4px; }
.nh-author-box p { margin:0; font-size: 14px; color: var(--nh-muted); }

/* Related posts */
.nh-related { margin-top: 36px; }

/* Post navigation */
.nh-post-nav { display:flex; justify-content:space-between; gap:16px; margin: 28px 0; }
.nh-post-nav a { flex:1; background: var(--nh-surface); border:1px solid var(--nh-border); border-radius: var(--nh-radius); padding: 14px; font-size:14px; }
.nh-post-nav .nh-pn-label { display:block; font-size:12px; color: var(--nh-muted); margin-bottom:4px; }
.nh-post-nav .nh-next { text-align:right; }

/* ==========================================================================
   Sidebar / widgets
   ========================================================================== */
.nh-sidebar .widget, .nh-sidebar .nh-widget {
    background: var(--nh-surface); border:1px solid var(--nh-border); border-radius: var(--nh-radius);
    padding: 18px; margin-bottom: 24px;
}
.nh-sidebar .widget-title, .nh-sidebar .nh-widget-title {
    font-size: 16px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--nh-border);
    position:relative;
}
.nh-sidebar .widget-title::after, .nh-sidebar .nh-widget-title::after {
    content:""; position:absolute; left:0; bottom:-2px; width:48px; height:2px; background: var(--nh-primary);
}
.nh-sidebar ul { list-style:none; margin:0; padding:0; }
.nh-sidebar ul li { padding: 8px 0; border-bottom:1px solid var(--nh-border); }
.nh-sidebar ul li:last-child { border-bottom:0; }

/* ==========================================================================
   Ad zones
   ========================================================================== */
.nh-ad {
    display:flex; align-items:center; justify-content:center; flex-direction:column;
    margin: 0 auto; text-align:center; overflow:hidden;
}
.nh-ad-inner { width:100%; }
.nh-ad-label { display:block; font-size: 10px; letter-spacing:1px; text-transform:uppercase; color: var(--nh-muted); margin-bottom: 6px; }
.nh-ad-leaderboard { padding: 12px 0; background: var(--nh-surface); border-bottom:1px solid var(--nh-border); }
.nh-ad-sidebar { margin-bottom: 24px; }
.nh-ad-inarticle { margin: 28px 0; padding: 14px; background: var(--nh-bg); border-radius: var(--nh-radius); }
.nh-ad-footer { padding: 20px 0; background: var(--nh-secondary); }
.nh-ad-footer .nh-ad-label { color:#94a3b8; }
/* Placeholder shown in Customizer preview / when no ad code set */
.nh-ad-placeholder {
    background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 12px, #e6e9ee 12px, #e6e9ee 24px);
    border: 1px dashed #c3c9d2; color: #8a93a2; font-size: 13px; font-weight:600;
    display:flex; align-items:center; justify-content:center; border-radius: 8px; min-height: 90px;
}
.nh-ad-leaderboard .nh-ad-placeholder { min-height: 90px; max-width: 970px; }
.nh-ad-sidebar .nh-ad-placeholder { min-height: 250px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.nh-footer { background: var(--nh-secondary); color:#cbd5e1; margin-top: 20px; }
.nh-footer a { color:#cbd5e1; }
.nh-footer a:hover { color:#fff; }
.nh-footer-widgets { display:grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 44px 0; }
.nh-footer-widgets .widget-title, .nh-footer-col h4 { color:#fff; font-size: 16px; margin:0 0 16px; }
.nh-footer-widgets ul { list-style:none; margin:0; padding:0; }
.nh-footer-widgets li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.nh-footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; }
.nh-footer-bottom .nh-container { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ==========================================================================
   Comments
   ========================================================================== */
.nh-comments { background: var(--nh-surface); border:1px solid var(--nh-border); border-radius: var(--nh-radius); padding: 24px; margin-top: 28px; }
.comment-list { list-style:none; margin:0; padding:0; }
.comment-list .children { list-style:none; margin-left: 28px; }
.comment-body { padding: 14px 0; border-bottom:1px solid var(--nh-border); }
.comment-author { font-weight:700; }
.comment-author img { border-radius:50%; margin-right:8px; vertical-align:middle; }
.comment-meta { font-size:12px; color: var(--nh-muted); margin-bottom:6px; }
.comment-respond { margin-top: 20px; }
.comment-form label { display:block; font-weight:600; margin-bottom:4px; font-size:14px; }
.comment-form p { margin-bottom: 14px; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.nh-pagination { margin: 32px 0 8px; }
.nh-pagination .page-numbers {
    display:inline-block; padding: 9px 15px; margin: 0 4px 6px 0; border:1px solid var(--nh-border);
    border-radius: 8px; background: var(--nh-surface); color: var(--nh-text); font-weight:600;
}
.nh-pagination .page-numbers.current, .nh-pagination .page-numbers:hover { background: var(--nh-primary); color:#fff; border-color: var(--nh-primary); }

/* Page title bar */
.nh-page-title-bar { background: var(--nh-surface); border-bottom:1px solid var(--nh-border); padding: 22px 0; margin-bottom: 4px; }
.nh-page-title-bar h1 { font-size: 28px; margin:0; }
.nh-page-title-bar p { margin: 6px 0 0; color: var(--nh-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .nh-layout { grid-template-columns: 1fr; }
    .nh-sidebar { display:grid; grid-template-columns: repeat(2,1fr); gap:24px; }
    .nh-sidebar .nh-ad-sidebar { grid-column: 1 / -1; }
    .nh-footer-widgets { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
    .nh-hero { grid-template-columns: 1fr; }
    .nh-hero-main { min-height: 320px; }
    .nh-grid-3 { grid-template-columns: repeat(2,1fr); }
    .nh-header-ad { display:none; }
    .nh-header-inner { justify-content:center; text-align:center; }
}
@media (max-width: 680px) {
    .nh-grid-3, .nh-grid-2 { grid-template-columns: 1fr; }
    .nh-sidebar { grid-template-columns: 1fr; }
    .nh-footer-widgets { grid-template-columns: 1fr; }
    .nh-article-title { font-size: 26px; }
    .nh-article { padding: 18px; }

    /* Hamburger menu */
    .nh-menu-toggle { display:flex; }
    .nh-search-toggle { margin-left:0; }
    .nh-nav-inner { flex-wrap:wrap; }
    .nh-primary-menu {
        display:none; flex-direction:column; width:100%; order: 3; background: var(--nh-primary);
    }
    .nh-primary-menu.is-open { display:flex; }
    .nh-primary-menu li { width:100%; }
    .nh-primary-menu a { padding: 13px 16px; border-top: 1px solid rgba(255,255,255,.12); }
    .nh-primary-menu .sub-menu {
        position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;
        background: rgba(0,0,0,.18); min-width:0;
    }
    .nh-post-nav { flex-direction:column; }
    .nh-topbar-date { display:none; }
}

/* Utility */
.nh-mt-0 { margin-top:0; }
.nh-mb-32 { margin-bottom:32px; }


/* ==========================================================================
   Breaking-news ticker
   ========================================================================== */
.nh-breaking { background: var(--nh-surface); border-bottom: 1px solid var(--nh-border); }
.nh-breaking-inner { display:flex; align-items:center; gap: 0; height: 44px; overflow:hidden; }
.nh-breaking-label {
    background: var(--nh-primary); color:#fff; font-weight:800; text-transform:uppercase;
    font-size: 12px; letter-spacing:.5px; padding: 0 16px; height: 44px; display:flex; align-items:center;
    flex: 0 0 auto; position:relative;
}
.nh-breaking-label::after { content:""; position:absolute; right:-8px; top:0; border-left: 8px solid var(--nh-primary); border-top: 22px solid transparent; border-bottom: 22px solid transparent; }
.nh-breaking-track { flex:1; overflow:hidden; padding-left: 18px; }
.nh-breaking-track ul { display:flex; list-style:none; margin:0; padding:0; gap: 40px; white-space:nowrap; animation: nh-ticker 30s linear infinite; }
.nh-breaking-track li a { color: var(--nh-secondary); font-weight:600; font-size: 14px; }
.nh-breaking-track:hover ul { animation-play-state: paused; }
@keyframes nh-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Mobile sticky ad
   ========================================================================== */
.nh-mobile-sticky {
    display:none; position: fixed; left:0; right:0; bottom:0; z-index: 9998;
    background: var(--nh-surface); border-top: 1px solid var(--nh-border); padding: 6px 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12); text-align:center;
}
.nh-mobile-sticky-close {
    position:absolute; top:-26px; right:8px; width:26px; height:26px; border:0; border-radius: 6px 6px 0 0;
    background: var(--nh-secondary); color:#fff; font-size:18px; line-height:1; cursor:pointer;
}
.nh-mobile-sticky .nh-ad-label { display:none; }
@media (max-width: 680px) {
    .nh-mobile-sticky { display:block; }
    body { padding-bottom: 70px; }
}
@media (min-width: 681px) {
    /* Hide mobile-only zone on desktop even in preview. */
    .nh-mobile-sticky { display:none !important; }
}

/* In-feed full row helper */
.nh-grid-fullrow { grid-column: 1 / -1; }

/* Comments tweaks */
.nh-comments-title { font-size: 20px; margin-bottom: 16px; }
.comment-form .nh-btn { width:auto; }

/* Footer menu inline */
.nh-footer-menu { display:flex; list-style:none; gap:18px; margin:0; padding:0; }
