/* ================================================
   NextTechVault — main.css v4.0
   ================================================ */

:root {
    --blue:      #1A6BFF;
    --blue-dark: #0F52CC;
    --red:       #E53E3E;
    --text:      #111827;
    --text2:     #374151;
    --text3:     #6B7280;
    --bg:        #F9FAFB;
    --bg2:       #F3F4F6;
    --white:     #FFFFFF;
    --border:    #E5E7EB;
    --radius:    12px;
    --radius-sm: 8px;
    --shadow:    0 1px 4px rgba(0,0,0,.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
    --tr:        all .2s ease;
    --max:       1140px;
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* ── CONTAINER ─────────────────────────────────── */
.ntv-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ================================================
   BREAKING NEWS TICKER
   ================================================ */
.ntv-ticker {
    background: #E53E3E;
    display: flex;
    align-items: center;
    height: 36px;
    overflow: hidden;
}
.ntv-ticker-label {
    flex-shrink: 0;
    background: rgba(0,0,0,.2);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    border-right: 1px solid rgba(255,255,255,.2);
    white-space: nowrap;
}
.ntv-ticker-wrap {
    flex: 1;
    overflow: hidden;
    height: 100%;
}
.ntv-ticker-text {
    display: inline-block;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 36px;
    padding-left: 20px;
    animation: ntv-scroll 28s linear infinite;
}
@keyframes ntv-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================
   HEADER
   ================================================ */
.ntv-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
    transition: box-shadow .3s ease;
}
.ntv-header.scrolled { box-shadow: var(--shadow-md); }

.ntv-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.ntv-logo { display: flex; align-items: center; flex-shrink: 0; }
.ntv-logo-img { max-height: 42px; width: auto; }
.ntv-logo-text {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

/* Desktop nav */
.ntv-nav { flex: 1; }
.ntv-nav-list { display: flex; align-items: center; gap: 2px; }
.ntv-nav-item { position: relative; }
.ntv-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--tr);
}
.ntv-nav-link:hover { background: var(--bg2); color: var(--text); }
.ntv-nav-arrow { font-size: 9px; opacity: .5; }
.ntv-sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 4px 0;
    z-index: 100;
}
.ntv-has-sub:hover .ntv-sub-menu { display: block; }
.ntv-sub-menu li a {
    display: block;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    transition: var(--tr);
}
.ntv-sub-menu li a:hover { background: var(--bg); color: var(--blue); }

/* Header buttons */
.ntv-header-btns { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ntv-search-btn,
.ntv-burger {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    transition: var(--tr);
    flex-shrink: 0;
}
.ntv-search-btn:hover,
.ntv-burger:hover { background: var(--bg2); color: var(--blue); border-color: var(--blue); }
.ntv-burger { flex-direction: column; gap: 4px; }
.ntv-burger span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--tr);
}
.ntv-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ntv-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ntv-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Search bar */
.ntv-search-bar {
    display: none;
    border-top: 1px solid var(--border);
    background: #fff;
    padding: 12px 0;
}
.ntv-search-bar.open { display: block; }
.ntv-search-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.ntv-search-bar form { flex: 1; display: flex; gap: 8px; }
.ntv-search-bar input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    font-size: 14px;
    outline: none;
    transition: var(--tr);
}
.ntv-search-bar input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,107,255,.1); }
.ntv-search-bar button[type="submit"] {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    transition: var(--tr);
}
.ntv-search-bar button[type="submit"]:hover { background: var(--blue-dark); }
.ntv-search-close {
    font-size: 16px;
    color: var(--text3);
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: var(--tr);
}
.ntv-search-close:hover { background: var(--bg2); color: var(--text); }

/* ================================================
   SLIDE MENU
   ================================================ */
.ntv-slide-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right .3s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 40px rgba(0,0,0,.15);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.ntv-slide-menu.open { right: 0; }
.ntv-slide-inner {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.ntv-slide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ntv-slide-site-name {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}
.ntv-slide-close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
    transition: var(--tr);
}
.ntv-slide-close:hover { background: var(--bg2); color: var(--text); }

.ntv-slide-search { display: flex; gap: 8px; }
.ntv-slide-search input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 12px;
    font-size: 13px;
    outline: none;
    transition: var(--tr);
}
.ntv-slide-search input:focus { border-color: var(--blue); }
.ntv-slide-search button {
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    transition: var(--tr);
}
.ntv-slide-search button:hover { background: var(--blue-dark); }

.ntv-slide-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text3);
    padding-bottom: 8px;
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 6px;
}
.ntv-slide-cats { display: flex; flex-direction: column; gap: 2px; }
.ntv-slide-cat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text2);
    transition: var(--tr);
}
.ntv-slide-cat-link:hover,
.ntv-slide-cat-link.active { background: rgba(26,107,255,.07); color: var(--blue); }
.ntv-slide-count {
    margin-left: auto;
    background: var(--bg2);
    color: var(--text3);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}

/* Overlay */
.ntv-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
    backdrop-filter: blur(2px);
}
.ntv-overlay.open { display: block; }

/* ================================================
   HERO
   ================================================ */
.ntv-hero {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 60px 24px 50px;
    text-align: center;
}
.ntv-hero-inner { max-width: 600px; margin: 0 auto; }
.ntv-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text3);
    margin-bottom: 20px;
}
.ntv-hero-title {
    font-family: var(--font-head);
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 28px;
}
.ntv-hero-search {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
    max-width: 500px;
    margin: 0 auto;
}
.ntv-hero-search input {
    flex: 1;
    padding: 13px 20px;
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
}
.ntv-hero-search button {
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 100px;
    margin: 3px;
    transition: var(--tr);
    white-space: nowrap;
}
.ntv-hero-search button:hover { background: var(--blue-dark); }

/* ================================================
   CATEGORY PILLS BAR
   ================================================ */
.ntv-pills-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ntv-pills-bar::-webkit-scrollbar { display: none; }
.ntv-pills-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 6px;
    height: 50px;
    align-items: center;
}
.ntv-pill {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text3);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1.5px solid transparent;
    transition: var(--tr);
    white-space: nowrap;
}
.ntv-pill:hover { background: var(--bg2); color: var(--text); }
.ntv-pill.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ================================================
   MAIN CONTENT
   ================================================ */
.ntv-main { padding: 36px 0 60px; }

.ntv-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.ntv-section-head h2 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}
.ntv-section-line { flex: 1; height: 1.5px; background: var(--border); }

/* ── FEATURED POST ────────────────────────────── */
.ntv-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
    min-height: 380px;
}
.ntv-feat-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}
.ntv-feat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ntv-featured:hover .ntv-feat-img { transform: scale(1.04); }
.ntv-feat-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #1A6BFF 0%, #0F52CC 60%, #111827 100%);
}
.ntv-feat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.3), transparent);
}
.ntv-feat-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.ntv-feat-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text);
}
.ntv-feat-title a:hover { color: var(--blue); }
.ntv-feat-excerpt { font-size: 14px; color: var(--text3); line-height: 1.7; }
.ntv-feat-meta { font-size: 13px; color: var(--text3); font-weight: 500; }

/* Badge */
.ntv-badge {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ── POST GRID ────────────────────────────────── */
.ntv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}
.ntv-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--tr);
    display: flex;
    flex-direction: column;
}
.ntv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ntv-card-img-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.ntv-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.ntv-card:hover .ntv-card-img { transform: scale(1.05); }
.ntv-card-no-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg2), var(--border));
}
.ntv-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 9px;
    border-radius: 4px;
}
.ntv-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ntv-card-title {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}
.ntv-card-title a:hover { color: var(--blue); }
.ntv-card-excerpt { font-size: 13px; color: var(--text3); line-height: 1.6; flex: 1; }
.ntv-card-meta {
    font-size: 12px;
    color: var(--text3);
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px solid var(--bg2);
    margin-top: auto;
}
.ntv-no-posts { text-align: center; color: var(--text3); padding: 40px; grid-column: 1 / -1; }

/* Pagination */
.ntv-pagination { text-align: center; margin: 8px 0 32px; }
.ntv-pagination .page-numbers {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.ntv-pagination a.page-numbers,
.ntv-pagination span.page-numbers {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
    transition: var(--tr);
}
.ntv-pagination a.page-numbers:hover { background: var(--bg2); color: var(--blue); border-color: var(--blue); }
.ntv-pagination span.current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── NEWSLETTER ───────────────────────────────── */
.ntv-newsletter {
    background: linear-gradient(135deg, #1A6BFF, #0F52CC);
    border-radius: var(--radius);
    padding: 48px 40px;
    text-align: center;
    margin-top: 20px;
    color: #fff;
}
.ntv-newsletter-inner { max-width: 520px; margin: 0 auto; }
.ntv-newsletter h3 {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}
.ntv-newsletter p { font-size: 14px; opacity: .85; margin-bottom: 24px; }
.ntv-newsletter-form { display: flex; gap: 0; border-radius: 100px; overflow: hidden; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.ntv-newsletter-form input {
    flex: 1;
    padding: 13px 20px;
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
}
.ntv-newsletter-form button {
    background: var(--blue-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 22px;
    border-radius: 100px;
    margin: 3px;
    transition: var(--tr);
    white-space: nowrap;
}
.ntv-newsletter-form button:hover { background: #0a3d99; }

/* ================================================
   SINGLE POST
   ================================================ */
.ntv-article { max-width: 760px; margin: 0 auto; }
.ntv-article-head { margin-bottom: 28px; }
.ntv-article-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ntv-article-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 14px;
}
.ntv-article-meta { font-size: 13px; color: var(--text3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ntv-sep { color: var(--border); }
.ntv-article-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.ntv-article-img img { width: 100%; max-height: 480px; object-fit: cover; }
.ntv-article-content { font-size: 16px; line-height: 1.8; color: var(--text2); }
.ntv-article-content h2, .ntv-article-content h3 { font-family: var(--font-head); color: var(--text); margin: 32px 0 12px; }
.ntv-article-content h2 { font-size: 26px; }
.ntv-article-content h3 { font-size: 20px; }
.ntv-article-content p { margin-bottom: 18px; }
.ntv-article-content img { border-radius: var(--radius-sm); margin: 16px 0; max-width: 100%; }
.ntv-article-content a { color: var(--blue); text-decoration: underline; }
.ntv-article-content ul, .ntv-article-content ol { padding-left: 24px; margin-bottom: 18px; }
.ntv-article-content ul { list-style: disc; }
.ntv-article-content ol { list-style: decimal; }
.ntv-article-content li { margin-bottom: 6px; }
.ntv-article-content blockquote {
    border-left: 4px solid var(--blue);
    padding: 16px 20px;
    background: var(--bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
    color: var(--text2);
}
.ntv-article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 24px; border-top: 1.5px solid var(--border); }
.ntv-article-tags > span { font-size: 13px; font-weight: 600; color: var(--text3); }
.ntv-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    background: var(--bg2);
    padding: 4px 10px;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    transition: var(--tr);
}
.ntv-tag:hover { border-color: var(--blue); color: var(--blue); }

/* Related posts */
.ntv-related { margin-top: 48px; padding-top: 36px; border-top: 1.5px solid var(--border); }
.ntv-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Post nav */
.ntv-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1.5px solid var(--border);
}
.ntv-post-nav-link {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: var(--tr);
}
.ntv-post-nav-link:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.ntv-post-nav-right { text-align: right; }
.ntv-post-nav-dir { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); }
.ntv-post-nav-title { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* Page */
.ntv-page { max-width: 760px; margin: 0 auto; }
.ntv-page-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border);
}

/* ================================================
   FOOTER
   ================================================ */
.ntv-footer { background: #111; color: #9CA3AF; }
.ntv-footer-top { padding: 56px 0 40px; }
.ntv-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.ntv-footer-brand { display: flex; flex-direction: column; gap: 14px; }
.ntv-footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    background: transparent !important;
}
.ntv-footer-logo-text {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}
.ntv-footer-desc { font-size: 13px; line-height: 1.7; color: #6B7280; max-width: 240px; }
.ntv-footer-socials { display: flex; gap: 8px; }
.ntv-footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1.5px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9CA3AF;
    transition: var(--tr);
    text-decoration: none;
}
.ntv-footer-socials a:hover { border-color: var(--blue); color: #fff; background: var(--blue); }
.ntv-footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ntv-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.ntv-footer-col ul li a { font-size: 13px; color: #6B7280; transition: var(--tr); }
.ntv-footer-col ul li a:hover { color: #fff; }
.ntv-footer-bottom { border-top: 1px solid #222; padding: 18px 0; }
.ntv-footer-bottom .ntv-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ntv-footer-bottom span { font-size: 12px; color: #4B5563; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .ntv-nav { display: none; }
    .ntv-featured { grid-template-columns: 1fr; min-height: auto; }
    .ntv-feat-img-wrap { min-height: 240px; }
    .ntv-grid { grid-template-columns: repeat(2, 1fr); }
    .ntv-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .ntv-hero-title { font-size: 36px; }
}
@media (max-width: 640px) {
    .ntv-container { padding: 0 16px; }
    .ntv-header-inner { padding: 0 16px; }
    .ntv-hero { padding: 40px 16px 32px; }
    .ntv-hero-title { font-size: 28px; }
    .ntv-grid { grid-template-columns: 1fr; }
    .ntv-footer-grid { grid-template-columns: 1fr; }
    .ntv-footer-bottom .ntv-container { flex-direction: column; text-align: center; }
    .ntv-article-title { font-size: 26px; }
    .ntv-post-nav { grid-template-columns: 1fr; }
    .ntv-grid-3 { grid-template-columns: 1fr; }
    .ntv-feat-body { padding: 22px 18px; }
    .ntv-newsletter { padding: 32px 20px; }
    .ntv-pills-inner { padding: 0 16px; }
    .ntv-search-bar-inner { padding: 0 16px; }
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.ntv-contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    padding: 20px 0 40px;
    align-items: start;
}
.ntv-contact-title {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 12px;
}
.ntv-contact-sub {
    font-size: 15px;
    color: var(--text3);
    line-height: 1.7;
    margin-bottom: 32px;
}
.ntv-contact-items { display: flex; flex-direction: column; gap: 20px; }
.ntv-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
}
.ntv-contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.ntv-contact-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ntv-contact-item p { font-size: 13px; color: var(--text3); }

/* Form */
.ntv-contact-form-wrap {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}
.ntv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ntv-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.ntv-form-group label { font-size: 13px; font-weight: 600; color: var(--text2); }
.ntv-form-group label span { color: var(--red); }
.ntv-form-group input,
.ntv-form-group textarea {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: var(--tr);
    width: 100%;
}
.ntv-form-group input:focus,
.ntv-form-group textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(26,107,255,.1); }
.ntv-form-group textarea { resize: vertical; min-height: 140px; }
.ntv-form-submit {
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    transition: var(--tr);
    width: 100%;
    font-family: var(--font-body);
}
.ntv-form-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.ntv-form-success {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}
.ntv-form-success span { font-size: 20px; flex-shrink: 0; }
.ntv-form-success strong { display: block; font-weight: 700; color: #166534; margin-bottom: 2px; }
.ntv-form-success p { color: #16a34a; }
.ntv-form-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #dc2626;
    font-weight: 500;
}

@media (max-width: 768px) {
    .ntv-contact-wrap { grid-template-columns: 1fr; gap: 24px; }
    .ntv-form-row { grid-template-columns: 1fr; }
    .ntv-contact-form-wrap { padding: 20px; }
}

/* ── Missing classes fix ── */
.ntv-contact-info { display: flex; flex-direction: column; }
.ntv-contact-form { display: flex; flex-direction: column; gap: 0; }
.ntv-slide-section { display: flex; flex-direction: column; gap: 4px; }

/* ── Sidebar Widgets ── */
.ntv-widget { margin-bottom: 28px; }
.ntv-widget-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
}
