/*
Theme Name: No Filter Journal
Theme URI: https://nofilterjournal.com
Author: No Filter Journal
Author URI: https://nofilterjournal.com
Description: Premium Hindi news portal theme — dynamic, mobile-first, with hero slider, breaking ticker, category sections, and full SEO schema support.
Version: 2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nofilterjournal
Tags: news, blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   Design Tokens
============================================ */
:root {
  --np-primary: #042B67;
  --np-navy: #0B1F4D;
  --np-yellow: #FFD400;
  --np-white: #FFFFFF;
  --np-gray: #F4F4F4;
  --np-border: #D8D8D8;
  --np-text: #1A1A1A;
  --np-muted: #5b6b80;
  --np-red: #C8102E;
  --np-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --np-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --np-shadow-sm: 0 1px 2px rgba(4,43,103,.06);
  --np-shadow-md: 0 6px 24px rgba(4,43,103,.10);
  --np-shadow-lg: 0 18px 48px rgba(4,43,103,.18);
}

/* ============================================
   Base
============================================ */
html, body { background-color: var(--np-white); color: var(--np-text); font-family: var(--np-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5,h6 { font-family: var(--np-serif); color: var(--np-text); letter-spacing: -0.01em; }
a { color: var(--np-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--np-navy); }
img { max-width: 100%; height: auto; }
.np-container { max-width: 1320px; margin: 0 auto; padding: 0 1rem; }

/* ============================================
   Header & Masthead
============================================ */
.np-header { position: relative; z-index: 1040; }
.np-masthead { background: var(--np-primary); color: var(--np-white); padding: 2.25rem 0 1.25rem; text-align: center; position: relative; transition: padding .25s ease; }
.np-logo { font-family: var(--np-serif); font-weight: 900; font-size: clamp(2.8rem,7vw,5.5rem); line-height: 1; letter-spacing: -0.02em; color: var(--np-white); margin: 0; transition: font-size .25s ease; }
.np-logo .dot { color: var(--np-yellow); }
.np-logo a { color: inherit; text-decoration: none; }
.np-tagline { font-family: var(--np-sans); font-size: 12px; letter-spacing: .35em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: .5rem; }

/* Nav */
.np-nav { background: var(--np-primary); border-top: 1px solid rgba(255,255,255,.1); }
.np-nav-list { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: .25rem; list-style: none; padding: 0; margin: 0; justify-content: center; }
.np-nav-list::-webkit-scrollbar { display: none; }
.np-nav-list a { display: inline-block; color: var(--np-white); font-family: var(--np-sans); font-weight: 500; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding: 1rem .9rem; white-space: nowrap; position: relative; }
.np-nav-list a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .55rem; height: 2px; background: var(--np-yellow); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.np-nav-list a:hover { color: var(--np-white); }
.np-nav-list a:hover::after, .np-nav-list a.current-menu-item::after, .np-nav-list a.current-page-ancestor::after { transform: scaleX(1); }
.np-nav-list a.current-menu-item { color: var(--np-white); }

/* Scrolled state */
.np-header.is-scrolled .np-masthead { padding: .75rem 0 .5rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.np-header.is-scrolled .np-logo { font-size: clamp(1.5rem,3vw,2.2rem); }
.np-header.is-scrolled .np-tagline { display: none; }

/* ============================================
   Breaking Ticker
============================================ */
.np-ticker { background: var(--np-red); color: var(--np-white); display: flex; align-items: center; height: 44px; overflow: hidden; border-bottom: 3px solid var(--np-yellow); position: sticky; top: 0; z-index: 1040; }
.np-ticker-label { background: var(--np-text); color: var(--np-white); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 0 1rem; height: 100%; display: inline-flex; align-items: center; gap: .4rem; flex-shrink: 0; z-index: 99; }
.np-ticker-label .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--np-yellow); animation: np-pulse 1.5s ease-in-out infinite; }
@keyframes np-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
.np-ticker-track { display: flex; gap: 3rem; white-space: nowrap; padding-left: 1rem; animation: np-marquee 60s linear infinite; }
.np-ticker:hover .np-ticker-track { animation-play-state: paused; }
.np-ticker-track span { font-size: 14px; font-weight: 500; }
.np-ticker-track span::before { content: "●"; margin-right: .75rem; color: var(--np-yellow); font-size: 8px; vertical-align: middle; }
@keyframes np-marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ============================================
   Hero
============================================ */
.np-hero { padding: 2.5rem 0 3rem; }
.np-hero-slider { position: relative; margin-bottom: 2rem; }
.np-hero-slide { outline: none; }
.np-hero-slider .slick-dots { bottom: -28px; }
.np-hero-slider .slick-dots li button:before { font-size: 10px; color: var(--np-primary); opacity: .35; }
.np-hero-slider .slick-dots li.slick-active button:before { color: var(--np-primary); opacity: 1; }
.np-slick-prev, .np-slick-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: var(--np-primary); color: #fff; border: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; transition: background .2s; }
.np-slick-prev:hover, .np-slick-next:hover { background: var(--np-navy); }
.np-slick-prev { left: -48px; }
.np-slick-next { right: -48px; }
@media (max-width:1200px) { .np-slick-prev{left:4px} .np-slick-next{right:4px} }
.np-hero-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.np-category { display: inline-block; font-family: var(--np-sans); font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--np-primary); padding: .3rem 0; border-top: 3px solid var(--np-yellow); }
.np-headline-xl { font-family: var(--np-serif); font-weight: 900; font-size: clamp(2rem,4.5vw,3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: .75rem 0 1rem; }
.np-headline-xl a { color: var(--np-primary); }
.np-headline-xl a:hover { color: var(--np-text); }
.np-summary { font-size: 1.1rem; color: var(--np-muted); line-height: 1.55; }
.np-byline { display: flex; gap: 1rem; font-size: 13px; color: var(--np-muted); margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--np-border); }
.np-byline strong { color: var(--np-text); font-weight: 600; }

/* Trending strip */
.np-trending { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; padding: 2rem 0; border-top: 2px solid var(--np-text); border-bottom: 1px solid var(--np-border); }
.np-trend-item { display: flex; gap: .85rem; }
.np-trend-num { font-family: var(--np-serif); font-weight: 900; font-size: 2.2rem; color: var(--np-red); line-height: 1; }
.np-trend-item h4 { font-size: 15px; font-weight: 700; line-height: 1.35; font-family: var(--np-serif); margin: 0 0 .35rem; }
.np-trend-item h4 a:hover { color: var(--np-primary); }
.np-trend-item .meta { font-size: 11px; color: var(--np-muted); letter-spacing: .08em; text-transform: uppercase; }

/* ============================================
   News Cards
============================================ */
.np-section { padding: 3rem 0; }
.np-section-head { display: flex; align-items: end; justify-content: space-between; border-bottom: 2px solid var(--np-text); padding-bottom: .85rem; margin-bottom: 1.75rem; }
.np-section-head h2 { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 900; margin: 0; position: relative; padding-left: 1rem; }
.np-section-head h2::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 75%; background: var(--np-yellow); }
.np-view-all { font-family: var(--np-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--np-primary); display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s ease; }
.np-view-all:hover { gap: .65rem; color: var(--np-navy); }

.np-card { background: var(--np-white); display: flex; flex-direction: column; height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.np-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow-md); }
.np-card .np-card-img { overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1rem; background: var(--np-gray); }
.np-card .np-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.np-card:hover .np-card-img img { transform: scale(1.06); }
.np-card-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--np-red); margin-bottom: .5rem; }
.np-card h3 { font-family: var(--np-serif); font-weight: 800; font-size: 1.3rem; line-height: 1.25; margin: 0 0 .65rem; }
.np-card h3 a { color: var(--np-primary); }
.np-card h3 a:hover { color: var(--np-text); }
.np-card p { color: var(--np-muted); font-size: 14px; margin: 0 0 .85rem; }
.np-card .np-read-more { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--np-red); margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s ease; }
.np-card .np-read-more:hover { gap: .6rem; }

/* ============================================
   Sidebar
============================================ */
.np-sidebar { position: sticky; top: 180px; }
.np-side-block { background: var(--np-white); border: 1px solid var(--np-border); padding: 1.25rem; margin-bottom: 1.5rem; }
.np-side-block h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-family: var(--np-sans); border-bottom: 2px solid var(--np-primary); padding-bottom: .65rem; margin: 0 0 1rem; }
.np-side-list { list-style: none; padding: 0; margin: 0; }
.np-side-list li { display: flex; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--np-border); }
.np-side-list li:last-child { border-bottom: 0; }
.np-side-list .rank { font-family: var(--np-serif); font-weight: 900; font-size: 1.5rem; color: var(--np-yellow); -webkit-text-stroke: 1px var(--np-primary); line-height: 1; flex-shrink: 0; }
.np-side-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.np-side-list a { font-family: var(--np-serif); font-weight: 700; font-size: 14px; line-height: 1.35; color: var(--np-text); }
.np-side-list a:hover { color: var(--np-primary); }
.np-side-list .meta { font-size: 11px; color: var(--np-muted); margin-top: .25rem; letter-spacing: .08em; text-transform: uppercase; }
.np-side-newsletter { background: var(--np-primary); color: var(--np-white); padding: 1.5rem; text-align: center; }
.np-side-newsletter h3 { color: var(--np-white); border-color: var(--np-yellow); }
.np-side-newsletter p { color: rgba(255,255,255,.8); font-size: 13px; }
.np-side-newsletter input { width: 100%; border: 0; padding: .65rem .85rem; margin-bottom: .5rem; font-size: 14px; }
.np-btn-yellow { background: var(--np-yellow); color: var(--np-primary); border: 0; font-weight: 800; padding: .65rem 1.25rem; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; cursor: pointer; }
.np-btn-yellow:hover { transform: translateY(-2px); filter: brightness(.96); color: var(--np-navy); }
.np-side-ad { background: var(--np-gray); border: 1px dashed var(--np-border); padding: 3rem 1rem; text-align: center; color: var(--np-muted); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* Search */
.np-search-form { display: flex; border: 1.5px solid var(--np-border); border-radius: 8px; overflow: hidden; transition: border-color .2s; }
.np-search-form:focus-within { border-color: var(--np-primary); }
.np-search-form input { flex: 1; border: none; outline: none; padding: .65rem .9rem; font-size: 14px; background: transparent; color: var(--np-text); }
.np-search-form button { border: none; background: var(--np-primary); color: #fff; padding: 0 1rem; cursor: pointer; font-size: 15px; transition: background .2s; }
.np-search-form button:hover { background: var(--np-navy); }

/* ============================================
   Opinion Section
============================================ */
.np-opinion { background: var(--np-gray); }
.np-opinion-card { background: var(--np-white); padding: 1.75rem; border-top: 4px solid var(--np-primary); height: 100%; transition: transform .3s ease, box-shadow .3s ease; }
.np-opinion-card:hover { transform: translateY(-4px); box-shadow: var(--np-shadow-md); }
.np-opinion-author { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.25rem; }
.np-opinion-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.np-opinion-author .name { font-weight: 700; font-size: 15px; }
.np-opinion-author .role { font-size: 12px; color: var(--np-muted); text-transform: uppercase; letter-spacing: .1em; }
.np-opinion-card h3 { font-family: var(--np-serif); font-weight: 800; font-size: 1.35rem; line-height: 1.25; margin: 0 0 .75rem; font-style: italic; }
.np-opinion-card h3 a:hover { color: var(--np-primary); }
.np-opinion-card p { color: var(--np-muted); font-size: 14px; margin: 0; }

/* ============================================
   Newsletter CTA
============================================ */
.np-cta { background: linear-gradient(135deg, var(--np-primary), var(--np-navy)); color: var(--np-white); padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.np-cta::before { content: ""; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,212,0,.15), transparent 70%); pointer-events: none; }
.np-cta h2 { color: var(--np-white); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: .5rem; }
.np-cta p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; }
.np-cta-form { display: flex; gap: .5rem; max-width: 520px; margin: 0 auto; background: var(--np-white); padding: .35rem; border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.np-cta-form input { flex: 1; border: 0; background: transparent; padding: .65rem 1.25rem; font-size: 15px; color: var(--np-text); outline: none; }
.np-cta-form button { border-radius: 999px; padding: .65rem 1.5rem; }

/* ============================================
   Footer
============================================ */
.np-footer { background: var(--np-navy); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.np-footer h4 { color: var(--np-white); font-family: var(--np-sans); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; padding-bottom: .65rem; border-bottom: 2px solid var(--np-yellow); display: inline-block; }
.np-footer ul { list-style: none; padding: 0; margin: 0; }
.np-footer li { margin-bottom: .55rem; }
.np-footer a { color: rgba(255,255,255,.75); font-size: 14px; transition: color .2s ease, padding-left .2s ease; }
.np-footer a:hover { color: var(--np-yellow); padding-left: .35rem; }
.np-footer .np-foot-logo { font-family: var(--np-serif); font-weight: 900; font-size: 2rem; color: var(--np-white); margin-bottom: 1rem; }
.np-footer .np-foot-logo .dot { color: var(--np-yellow); }
.np-socials { display: flex; gap: .65rem; margin-top: 1.25rem; }
.np-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: var(--np-white); transition: background .2s ease, color .2s ease, transform .2s ease; }
.np-socials a:hover { background: var(--np-yellow); color: var(--np-primary); transform: translateY(-3px); padding-left: 0; }
.np-foot-bottom { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }

/* ============================================
   Breadcrumb
============================================ */
.np-breadcrumb { padding: .75rem 0; background: var(--np-gray); border-bottom: 1px solid var(--np-border); font-size: 12px; color: var(--np-muted); }
.np-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.np-breadcrumb li+li::before { content: "›"; margin-right: .35rem; color: var(--np-border); }
.np-breadcrumb a { color: var(--np-muted); }
.np-breadcrumb a:hover { color: var(--np-primary); }
.np-breadcrumb li:last-child { color: var(--np-text); font-weight: 600; }

/* ============================================
   Article / Detail Page
============================================ */
.np-article-wrap { padding: 2.5rem 0 3.5rem; background: var(--np-white); }
.np-article-header { margin-bottom: 1.75rem; }
.np-article-title { font-family: var(--np-serif); font-weight: 900; font-size: clamp(1.8rem,4vw,2.8rem); line-height: 1.15; margin: .85rem 0 1.25rem; color: var(--np-text); }
.np-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--np-border); border-bottom: 1px solid var(--np-border); margin-bottom: 1.75rem; }
.np-article-author { display: flex; align-items: center; gap: .6rem; }
.np-article-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--np-border); }
.np-article-author .name { font-weight: 700; font-size: 14px; color: var(--np-text); line-height: 1.2; }
.np-article-author .role { font-size: 11px; color: var(--np-muted); }
.np-meta-item { display: flex; align-items: center; gap: .35rem; font-size: 13px; color: var(--np-muted); }
.np-meta-item i { font-size: 14px; }
.np-share-bar { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.np-share-bar span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--np-muted); }
.np-share-btn { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; transition: opacity .2s, transform .2s; }
.np-share-btn:hover { opacity: .85; transform: translateY(-2px); color: #fff; }
.np-share-btn.fb { background: #1877F2; }
.np-share-btn.tw { background: #000; }
.np-share-btn.wa { background: #25D366; }
.np-share-btn.ln { background: #0A66C2; }
.np-article-figure { margin: 0 0 2rem; border-radius: 10px; overflow: hidden; box-shadow: var(--np-shadow-md); }
.np-article-figure img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.np-article-figure figcaption { padding: .65rem 1rem; font-size: 12px; color: var(--np-muted); background: var(--np-gray); line-height: 1.5; }
.np-article-body { font-size: 1.05rem; line-height: 1.85; color: #2a2a2a; }
.np-article-body p { margin-bottom: 1.4rem; }
.np-article-body h2 { font-family: var(--np-serif); font-size: 1.5rem; font-weight: 800; margin: 2.25rem 0 1rem; color: var(--np-text); padding-bottom: .5rem; border-bottom: 2px solid var(--np-primary); }
.np-article-body h3 { font-family: var(--np-serif); font-size: 1.2rem; font-weight: 800; margin: 1.75rem 0 .75rem; color: var(--np-text); }
.np-article-lead { font-size: 1.2rem; font-weight: 500; line-height: 1.7; color: var(--np-text); border-left: 4px solid var(--np-primary); padding-left: 1.25rem; margin-bottom: 1.75rem; }
.np-article-body blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; background: linear-gradient(135deg,#f0f4ff,#e8eeff); border-left: 5px solid var(--np-primary); border-radius: 0 10px 10px 0; font-family: var(--np-serif); font-size: 1.15rem; font-style: italic; color: var(--np-navy); line-height: 1.7; position: relative; }
.np-article-body blockquote::before { content: "\201C"; font-size: 4rem; color: var(--np-primary); opacity: .2; position: absolute; top: -10px; left: 14px; line-height: 1; font-family: var(--np-serif); }
.np-article-body blockquote cite { display: block; margin-top: .75rem; font-size: 13px; font-style: normal; font-weight: 700; color: var(--np-primary); }
.np-article-body ul, .np-article-body ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.np-article-body ul li, .np-article-body ol li { margin-bottom: .6rem; line-height: 1.7; }
.np-article-body ul li::marker { color: var(--np-primary); }
.np-key-points { background: #f8faff; border: 1px solid #d0d9f0; border-radius: 10px; padding: 1.5rem 1.75rem; margin: 2rem 0; }
.np-key-points h4 { font-family: var(--np-sans); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--np-primary); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.np-key-points ul { margin: 0; padding-left: 1.25rem; }
.np-key-points ul li { font-size: .95rem; margin-bottom: .55rem; }
.np-article-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--np-border); margin-top: 2rem; }
.np-article-tags span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--np-muted); }
.np-tag { display: inline-block; padding: .35rem .85rem; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1px solid var(--np-primary); color: var(--np-primary); transition: background .2s, color .2s; }
.np-tag:hover { background: var(--np-primary); color: #fff; }
.np-author-card { display: flex; gap: 1.25rem; padding: 1.75rem; background: var(--np-gray); border-radius: 12px; margin: 2rem 0; border: 1px solid var(--np-border); }
.np-author-card img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--np-primary); }
.np-author-card .bio-name { font-size: 1.1rem; font-weight: 800; margin-bottom: .15rem; }
.np-author-card .bio-role { font-size: 12px; color: var(--np-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .65rem; }
.np-author-card .bio-text { font-size: 14px; color: var(--np-muted); line-height: 1.6; margin: 0; }
.np-related { margin-top: 2.5rem; }
.np-related-head { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-family: var(--np-sans); border-bottom: 2px solid var(--np-primary); padding-bottom: .65rem; margin-bottom: 1.5rem; }

/* ============================================
   Category Page
============================================ */
.np-cat-banner { background: var(--np-primary); color: var(--np-white); padding: 2.5rem 0; }
.np-cat-banner h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 900; margin: 0 0 .5rem; color: var(--np-white); }
.np-cat-banner p { color: rgba(255,255,255,.8); font-size: 1rem; margin: 0; }
.np-cat-banner .count { font-size: 13px; color: var(--np-yellow); font-weight: 700; }
.np-cat-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.np-cat-tabs a { display: inline-block; padding: .4rem .9rem; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid var(--np-primary); color: var(--np-primary); transition: background .2s, color .2s; }
.np-cat-tabs a:hover, .np-cat-tabs a.active { background: var(--np-primary); color: #fff; }

/* ============================================
   Pagination
============================================ */
.np-pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.np-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1.5px solid var(--np-border); font-size: 14px; font-weight: 600; color: var(--np-text); transition: all .2s; }
.np-pagination .page-numbers:hover, .np-pagination .page-numbers.current { background: var(--np-primary); border-color: var(--np-primary); color: #fff; }
.np-pagination .page-numbers.dots { border: 0; }

/* ============================================
   Search Page
============================================ */
.np-search-header { background: var(--np-gray); padding: 2rem 0; border-bottom: 1px solid var(--np-border); }
.np-search-header h1 { font-size: 1.5rem; margin: 0 0 1rem; }
.np-search-big { display: flex; border: 2px solid var(--np-primary); border-radius: 4px; overflow: hidden; }
.np-search-big input { flex: 1; border: none; outline: none; padding: .85rem 1.25rem; font-size: 16px; color: var(--np-text); }
.np-search-big button { background: var(--np-primary); border: none; color: #fff; padding: 0 1.5rem; font-size: 1.2rem; cursor: pointer; transition: background .2s; }
.np-search-big button:hover { background: var(--np-navy); }

/* ============================================
   404 Page
============================================ */
.np-404 { padding: 5rem 0; text-align: center; }
.np-404 .num { font-family: var(--np-serif); font-size: clamp(6rem,15vw,12rem); font-weight: 900; color: var(--np-primary); line-height: 1; opacity: .15; }
.np-404 h2 { font-size: 2rem; margin-bottom: 1rem; }
.np-404 p { color: var(--np-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* ============================================
   Animations
============================================ */
.np-fade-up { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.np-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Responsive — Tablet
============================================ */
@media (max-width: 992px) {
  .np-trending { grid-template-columns: repeat(2,1fr); }
  .np-sidebar { position: static; }
}

/* ============================================
   Mobile — iPhone App Feel
============================================ */
@media (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; overscroll-behavior-y: contain; background: #F2F2F7; }
  .np-card:hover, .np-opinion-card:hover { transform: none; box-shadow: none; }
  .np-card:active { transform: scale(0.97); transition: transform .1s ease; }
  .np-masthead { padding: .75rem 0 .65rem; text-align: center; }
  .np-tagline { display: none; }
  .np-logo { font-size: 1.7rem !important; }
  .np-nav { border-top: none; }
  .np-nav-list { justify-content: flex-start; padding: 0 .5rem; }
  .np-nav-list a { font-size: 12px; padding: .6rem .7rem; }
  .np-ticker { height: 36px; }
  .np-ticker-label { font-size: 10px; padding: 0 .6rem; }
  .np-ticker-track span { font-size: 12px; }
  .np-hero { padding: 1rem 0 1.25rem; background: #F2F2F7; }
  .np-hero .row { flex-direction: column; }
  .np-hero .row > div:first-child { order: 2; }
  .np-hero .row > div:last-child { order: 1; }
  .np-hero-image { border-radius: 16px; margin-bottom: .85rem; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
  .np-headline-xl { font-size: 1.55rem; line-height: 1.12; margin: .5rem 0 .75rem; }
  .np-summary { font-size: .9rem; line-height: 1.5; }
  .np-byline { flex-wrap: wrap; gap: .5rem; font-size: 12px; }
  .np-trending { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: .75rem; padding: 1rem; margin: 0 -1rem; border: none; }
  .np-trending::-webkit-scrollbar { display: none; }
  .np-trend-item { flex-shrink: 0; width: 230px; scroll-snap-align: start; background: #fff; border-radius: 14px; padding: .9rem; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
  .np-section { padding: 1.25rem 0; }
  .np-section-head h2 { font-size: 1.15rem; }
  .np-card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
  .np-card .np-card-img { margin-bottom: 0; border-radius: 0; }
  .np-card-badge { padding: .75rem .85rem .25rem; display: block; }
  .np-card h3 { font-size: 1rem; padding: 0 .85rem; }
  .np-card p { font-size: 13px; padding: 0 .85rem; }
  .np-card .np-read-more { padding: .25rem .85rem .9rem; }
  .np-side-block { border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.07); border: none; }
  .np-opinion-card { border-radius: 14px; }
  .np-cta { padding: 2.25rem 0; }
  .np-cta h2 { font-size: 1.4rem; }
  .np-cta-form { flex-direction: column; border-radius: 18px; }
  .np-footer { padding: 2rem 0 0; }
  .np-foot-bottom { flex-direction: column; align-items: center; text-align: center; font-size: 12px; }
  .np-article-title { font-size: 1.6rem; }
  .np-article-meta { gap: .65rem; }
  .np-share-bar { margin-left: 0; }
  .np-article-body { font-size: 1rem; }
  .np-author-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================
   Mobile Bottom Tab Bar
============================================ */
.np-bottom-nav { display: none; }
@media (max-width: 767px) {
  .np-bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.88); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-top: .5px solid rgba(0,0,0,.14); z-index: 2000; align-items: flex-start; justify-content: space-around; padding-top: 8px; }
  .np-bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #8E8E93; font-size: 10px; font-weight: 500; text-decoration: none; min-width: 52px; padding: 0 6px; -webkit-tap-highlight-color: transparent; }
  .np-bottom-nav a i { font-size: 24px; line-height: 1; }
  .np-bottom-nav a.active { color: var(--np-primary); }
  .np-bottom-nav a:active { opacity: .55; transform: scale(.9); }
}

.np-side-block h3 { color: #e00; }

.wp-block-embed {
    overflow-wrap: break-word;
    text-align: center;
    display: flex;
    justify-content: center;
}

.np-article-tags {
    display: none;
}
