/*
Theme Name: Vantage News
Theme URI: https://example.com/vantage-news
Author: Vantage Media
Author URI: https://example.com
Description: A modern, fast-loading multi-niche news and trends WordPress theme with an original premium editorial design. Includes a breaking-news ticker, dynamic hero, category-color system, lightweight trending/most-read tracking, and a full multi-column footer. Built with core WordPress APIs only — no page builder required.
Version: 1.0.0
Requires at least: 6.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: vantage-news
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ==========================================================================

   VANTAGE — Editorial design system
   Display: Fraunces (headlines)  Body/UI: Inter  Metadata/wire: IBM Plex Mono
   ========================================================================== */

:root{
  /* --- Core palette --- */
  --bg:            #FAFAF8;
  --surface:       #FFFFFF;
  --ink:           #14171C;
  --ink-soft:      #52585F;
  --ink-faint:     #8A8F96;
  --border:        #E6E3DC;
  --border-strong: #D4D0C6;

  /* --- Brand accent --- */
  --brand:         #1B3A8C;
  --brand-ink:     #0F2557;

  /* --- Category signature hues (used sparingly: labels, rules, hovers) --- */
  --c-business:      #1B5E3F;
  --c-technology:    #5B3FA6;
  --c-gaming:        #0F766E;
  --c-entertainment: #B8256F;
  --c-sports:        #C2410C;
  --c-lifestyle:     #A16207;
  --c-world:         #33415C;
  --c-latest:        var(--brand);

  --radius-xs: 2px;
  --radius-s:  4px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --container: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }

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

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:700; line-height:1.15; }
p{ margin:0; }

:focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }

.wrap{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

/* ==========================================================================
   Eyebrow / metadata (mono) — the site's wire-service signature
   ========================================================================== */
.eyebrow{
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.09em;
  text-transform:uppercase;
  font-weight:500;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.eyebrow::before{
  content:"";
  width:7px; height:7px;
  background:currentColor;
  display:inline-block;
  border-radius:50%;
}
.meta{
  font-family:var(--font-mono);
  font-size:12px;
  color:var(--ink-faint);
  letter-spacing:0.01em;
}

/* Category color utility classes */
.cat-business{ color:var(--c-business); }
.cat-technology{ color:var(--c-technology); }
.cat-gaming{ color:var(--c-gaming); }
.cat-entertainment{ color:var(--c-entertainment); }
.cat-sports{ color:var(--c-sports); }
.cat-lifestyle{ color:var(--c-lifestyle); }
.cat-world{ color:var(--c-world); }
.cat-latest{ color:var(--c-latest); }

.border-business{ border-color:var(--c-business); }
.border-technology{ border-color:var(--c-technology); }
.border-gaming{ border-color:var(--c-gaming); }
.border-entertainment{ border-color:var(--c-entertainment); }
.border-sports{ border-color:var(--c-sports); }
.border-lifestyle{ border-color:var(--c-lifestyle); }
.border-world{ border-color:var(--c-world); }
.border-latest{ border-color:var(--c-latest); }

.bg-business{ background:var(--c-business); }
.bg-technology{ background:var(--c-technology); }
.bg-gaming{ background:var(--c-gaming); }
.bg-entertainment{ background:var(--c-entertainment); }
.bg-sports{ background:var(--c-sports); }
.bg-lifestyle{ background:var(--c-lifestyle); }
.bg-world{ background:var(--c-world); }
.bg-latest{ background:var(--c-latest); }

/* ==========================================================================
   Utility bar
   ========================================================================== */
.utility-bar{
  background:var(--ink);
  color:#CBD0D6;
}
.utility-bar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:34px;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.03em;
}
.utility-bar a{ color:#CBD0D6; }
.utility-bar a:hover{ color:#fff; }
.utility-links{ display:flex; gap:18px; }
.utility-links .sub{
  color:#fff;
  font-weight:600;
}

/* ==========================================================================
   Header / primary nav
   ========================================================================== */
.site-header{
  background:var(--surface);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  gap:32px;
}
.logo{
  font-family:var(--font-display);
  font-weight:900;
  font-size:26px;
  letter-spacing:-0.01em;
  color:var(--ink);
  display:flex;
  align-items:baseline;
  gap:2px;
  flex-shrink:0;
}
.logo .dot{ color:var(--brand); font-size:26px; line-height:1; }

.primary-nav{ flex:1; }
.primary-nav ul{
  display:flex;
  align-items:center;
  gap:2px;
  flex-wrap:wrap;
}
.primary-nav a{
  display:block;
  padding:10px 12px;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:0.01em;
  border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.primary-nav a:hover{ color:var(--brand); border-color:var(--brand); }
.primary-nav a.active{ color:var(--brand); border-color:var(--brand); }
/* per-category hover tint when data-cat present */
.primary-nav a[data-cat="business"]:hover{ color:var(--c-business); border-color:var(--c-business); }
.primary-nav a[data-cat="technology"]:hover{ color:var(--c-technology); border-color:var(--c-technology); }
.primary-nav a[data-cat="gaming"]:hover{ color:var(--c-gaming); border-color:var(--c-gaming); }
.primary-nav a[data-cat="entertainment"]:hover{ color:var(--c-entertainment); border-color:var(--c-entertainment); }
.primary-nav a[data-cat="sports"]:hover{ color:var(--c-sports); border-color:var(--c-sports); }
.primary-nav a[data-cat="lifestyle"]:hover{ color:var(--c-lifestyle); border-color:var(--c-lifestyle); }
.primary-nav a[data-cat="world"]:hover{ color:var(--c-world); border-color:var(--c-world); }

.header-actions{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.icon-btn{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  background:none; border:1px solid transparent; border-radius:var(--radius-s);
  color:var(--ink);
}
.icon-btn:hover{ border-color:var(--border-strong); }
.icon-btn svg{ width:19px; height:19px; }
.hamburger{ display:none; }

/* Mobile nav drawer */
.mobile-nav{
  display:none;
  position:fixed; inset:0 0 0 auto;
  width:min(320px, 84vw); height:100%;
  background:var(--surface);
  border-left:1px solid var(--border);
  z-index:100;
  transform:translateX(100%);
  transition:transform .25s ease;
  overflow-y:auto;
}
.mobile-nav.open{ transform:translateX(0); }
.mobile-nav-header{
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 20px; border-bottom:1px solid var(--border);
}
.mobile-nav ul{ padding:8px 8px 24px; }
.mobile-nav a{
  display:block; padding:14px 12px; font-size:15px; font-weight:600;
  border-bottom:1px solid var(--border);
}
.scrim{
  display:none;
  position:fixed; inset:0; background:rgba(20,23,28,0.4); z-index:90;
}
.scrim.open{ display:block; }

@media (max-width: 980px){
  .primary-nav{ display:none; }
  .hamburger{ display:flex; }
  .mobile-nav{ display:block; }
}

/* ==========================================================================
   Breaking ticker
   ========================================================================== */
.ticker{
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.ticker .wrap{ display:flex; align-items:stretch; height:42px; }
.ticker-label{
  background:var(--ink);
  color:#fff;
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  display:flex; align-items:center;
  padding:0 14px;
  flex-shrink:0;
  margin:0 12px 0 -24px;
}
.ticker-track-wrap{ flex:1; overflow:hidden; position:relative; display:flex; align-items:center; }
.ticker-track{
  display:flex; gap:48px; white-space:nowrap;
  animation:ticker 32s linear infinite;
  font-size:13.5px; font-weight:500;
}
.ticker-track span{ color:var(--ink-faint); font-family:var(--font-mono); margin-right:10px; font-size:11px; }
@keyframes ticker{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce){ .ticker-track{ animation:none; overflow-x:auto; } }

/* ==========================================================================
   Section headers
   ========================================================================== */
.section{ padding:44px 0; border-bottom:1px solid var(--border); }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:24px;
  padding-bottom:14px;
  border-bottom:2px solid var(--ink);
}
.section-head h2{ font-size:26px; }
.section-head .eyebrow{ margin-bottom:4px; display:inline-flex; }
.view-all{
  font-family:var(--font-mono);
  font-size:12px; font-weight:600; letter-spacing:0.02em;
  white-space:nowrap;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
}
.view-all:hover{ color:var(--brand); }

/* ==========================================================================
   Article cards
   ========================================================================== */
.card{ display:flex; flex-direction:column; }
.card-img{
  width:100%; aspect-ratio:16/10; overflow:hidden; background:#EEEDE8;
  margin-bottom:14px; position:relative;
  transition:transform .18s ease;
}
.card:hover .card-img{ transform:translateY(-3px); }
.card h3 a{ transition:color .15s ease; }
.card-img img{ width:100%; height:100%; object-fit:cover; filter:saturate(0.92) contrast(1.02); }
.card-img img[loading="lazy"]{ opacity:0; transition:opacity .35s ease; }
.card-img img[loading="lazy"].is-loaded{ opacity:1; }
.card .eyebrow{ margin-bottom:8px; }
.card h3{
  font-size:19px; line-height:1.28; margin-bottom:8px;
}
.card h3 a:hover{ color:var(--brand); }
.card p.excerpt{ font-size:14.5px; color:var(--ink-soft); line-height:1.5; margin-bottom:10px; }
.card .meta{ margin-top:auto; }
.card .meta .sep{ margin:0 6px; }

/* grid layouts */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
@media (max-width: 900px){ .grid-3, .grid-4{ grid-template-columns:repeat(2,1fr); gap:24px; } }
@media (max-width: 560px){ .grid-3, .grid-4{ grid-template-columns:1fr; } }

/* ==========================================================================
   Hero (homepage)
   ========================================================================== */
.hero{ padding:32px 0 44px; border-bottom:1px solid var(--border); }
.hero-grid{ display:grid; grid-template-columns:1.55fr 1fr; gap:36px; }
.hero-main .card-img{ aspect-ratio:16/10.5; margin-bottom:18px; }
.hero-main h1{ font-size:38px; line-height:1.1; margin-bottom:14px; }
.hero-main p.excerpt{ font-size:16.5px; }
.hero-side{ display:flex; flex-direction:column; gap:22px; }
.hero-side .card{ flex-direction:row; gap:16px; padding-bottom:20px; border-bottom:1px solid var(--border); }
.hero-side .card:last-child{ border-bottom:none; padding-bottom:0; }
.hero-side .card-img{ width:128px; aspect-ratio:4/3; flex-shrink:0; margin-bottom:0; }
.hero-side .card-body{ display:flex; flex-direction:column; }
.hero-side h3{ font-size:16px; line-height:1.3; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   Trending list (numbered — order is meaningful: ranked by reader activity)
   ========================================================================== */
.trending-list{ display:flex; flex-direction:column; }
.trending-item{
  display:flex; align-items:baseline; gap:18px;
  padding:16px 0; border-bottom:1px solid var(--border);
}
.trending-item:first-child{ padding-top:0; }
.trending-item .rank{
  font-family:var(--font-display); font-weight:800; font-size:26px;
  color:var(--border-strong); width:34px; flex-shrink:0;
}
.trending-item h3{ font-size:16px; line-height:1.35; }
.trending-item .meta{ margin-top:6px; }

/* ==========================================================================
   Category section: 1 large + row of small cards
   ========================================================================== */
.cat-section-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:32px; }
.cat-section-grid .featured{ grid-column:1 / span 1; }
.cat-section-grid .featured h3{ font-size:22px; }
.cat-section-grid .featured .card-img{ aspect-ratio:4/3; }
@media (max-width:900px){ .cat-section-grid{ grid-template-columns:1fr 1fr; } .cat-section-grid .featured{ grid-column:1/-1; } }
@media (max-width:560px){ .cat-section-grid{ grid-template-columns:1fr; } }

/* ==========================================================================
   Most read
   ========================================================================== */
.mostread-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:24px; }
.mostread-item{ padding-top:12px; }
.mostread-item .rank{ font-family:var(--font-mono); font-size:12px; color:var(--ink-faint); }
.mostread-item h3{ font-size:15px; margin-top:6px; }
@media (max-width:900px){ .mostread-grid{ grid-template-columns:repeat(2,1fr); } }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter{
  background:var(--ink);
  color:#fff;
  padding:52px 0;
}
.newsletter .wrap{ display:flex; align-items:center; justify-content:space-between; gap:40px; }
.newsletter h2{ font-size:28px; color:#fff; margin-bottom:8px; }
.newsletter p{ color:#B7BCC3; font-size:15px; max-width:420px; }
.newsletter-form{ display:flex; gap:0; flex-shrink:0; }
.newsletter-form input{
  width:280px; height:48px; padding:0 16px;
  border:1px solid #3A3F47; background:#1E2127; color:#fff;
  font-family:var(--font-body); font-size:14px;
}
.newsletter-form input::placeholder{ color:#7A7F87; }
.newsletter-form button{
  height:48px; padding:0 22px; background:var(--brand); color:#fff;
  border:1px solid var(--brand); font-weight:700; font-size:13.5px; letter-spacing:0.01em;
}
.newsletter-form button:hover{ background:#25409C; }
@media (max-width:800px){ .newsletter .wrap{ flex-direction:column; align-items:flex-start; } .newsletter-form{ width:100%; } .newsletter-form input{ flex:1; width:auto; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background:var(--surface); border-top:1px solid var(--border); padding:56px 0 0; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:32px; padding-bottom:40px; }
.footer-brand .logo{ margin-bottom:12px; }
.footer-brand p{ color:var(--ink-soft); font-size:13.5px; line-height:1.6; max-width:280px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:34px; height:34px; border:1px solid var(--border-strong); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ border-color:var(--ink); }
.footer-social svg{ width:15px; height:15px; }
.footer-col h4{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase;
  font-weight:600; color:var(--ink-faint); margin-bottom:14px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:14px; color:var(--ink-soft); }
.footer-col a:hover{ color:var(--brand); }
.footer-bottom{
  border-top:1px solid var(--border);
  padding:18px 0 24px;
  display:flex; justify-content:space-between; align-items:center;
  font-family:var(--font-mono); font-size:11.5px; color:var(--ink-faint);
}
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } .footer-bottom{ flex-direction:column; gap:10px; text-align:center; } }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb{
  font-family:var(--font-mono); font-size:12px; color:var(--ink-faint);
  padding:18px 0; display:flex; gap:8px; align-items:center; flex-wrap:wrap;
}
.breadcrumb a:hover{ color:var(--brand); }
.breadcrumb .sep{ color:var(--border-strong); }

/* ==========================================================================
   Category page header
   ========================================================================== */
.category-hero{ padding-bottom:8px; }
.category-hero h1{ font-size:44px; margin:6px 0 8px; }
.category-hero .desc{ color:var(--ink-soft); font-size:15.5px; max-width:640px; }
.category-tabs{ display:flex; gap:4px; flex-wrap:wrap; margin-top:22px; border-bottom:1px solid var(--border); }
.category-tabs a{
  padding:10px 14px; font-size:13.5px; font-weight:600; color:var(--ink-soft);
  border-bottom:2px solid transparent; margin-bottom:-1px;
}
.category-tabs a:hover{ color:var(--ink); }
.category-tabs a.active{ color:var(--ink); border-color:currentColor; }

/* ==========================================================================
   Category page: content + sidebar layout
   ========================================================================== */
.layout-2col{ display:grid; grid-template-columns:1fr 320px; gap:48px; padding:36px 0 60px; align-items:start; }
.sidebar{ display:flex; flex-direction:column; gap:40px; position:sticky; top:96px; }
.sidebar-block h4{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--ink-faint); font-weight:600; padding-bottom:10px; border-bottom:2px solid var(--ink); margin-bottom:16px;
}
.sidebar-list{ display:flex; flex-direction:column; gap:16px; }
.sidebar-item{ display:flex; gap:12px; }
.sidebar-item .rank{ font-family:var(--font-display); font-weight:800; font-size:19px; color:var(--border-strong); flex-shrink:0; width:20px; }
.sidebar-item h5{ font-family:var(--font-body); font-weight:700; font-size:14px; line-height:1.35; }
.sidebar-item .meta{ margin-top:4px; }
.newsletter-mini{ background:var(--bg); border:1px solid var(--border); padding:20px; }
.newsletter-mini p{ font-size:13px; color:var(--ink-soft); margin-bottom:12px; }
.newsletter-mini input{ width:100%; height:40px; padding:0 12px; border:1px solid var(--border-strong); margin-bottom:8px; font-size:13.5px; }
.newsletter-mini button{ width:100%; height:40px; background:var(--ink); color:#fff; border:none; font-weight:700; font-size:13px; }

.article-list-row{ display:flex; gap:20px; padding:22px 0; border-bottom:1px solid var(--border); }
.article-list-row .card-img{ width:220px; flex-shrink:0; aspect-ratio:4/3; margin-bottom:0; }
.article-list-row .card{ flex:1; }
.article-list-row h3{ font-size:19px; }
@media (max-width:1100px){ .layout-2col{ grid-template-columns:1fr; } .sidebar{ position:static; flex-direction:row; flex-wrap:wrap; } .sidebar-block{ flex:1; min-width:260px; } }
@media (max-width:640px){ .article-list-row{ flex-direction:column; } .article-list-row .card-img{ width:100%; } }

/* ==========================================================================
   Article page
   ========================================================================== */
.article-header{ max-width:760px; margin:0 auto; padding:28px 0 24px; text-align:left; }
.article-header h1{ font-size:40px; line-height:1.14; margin:12px 0 16px; }
.article-summary{ font-size:18px; color:var(--ink-soft); line-height:1.55; margin-bottom:20px; }
.article-byline{ display:flex; align-items:center; gap:14px; padding:16px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.author-avatar{ width:40px; height:40px; border-radius:50%; background:var(--border); flex-shrink:0; overflow:hidden; }
.author-avatar img{ width:100%; height:100%; object-fit:cover; }
.byline-name{ font-weight:700; font-size:14px; }
.byline-dates{ font-family:var(--font-mono); font-size:11.5px; color:var(--ink-faint); margin-top:2px; }

.article-hero-img{ max-width:960px; margin:8px auto 8px; aspect-ratio:16/8; overflow:hidden; background:#EEEDE8; }
.article-hero-img img{ width:100%; height:100%; object-fit:cover; }
.img-caption{ max-width:760px; margin:0 auto 32px; font-family:var(--font-mono); font-size:12px; color:var(--ink-faint); padding-top:8px; }

.article-body-wrap{ display:grid; grid-template-columns:1fr 700px 1fr; padding-bottom:40px; }
.article-body{ grid-column:2; font-size:17.5px; line-height:1.8; color:#232730; }
.article-body h2{ font-size:24px; margin:36px 0 14px; }
.article-body h3{ font-size:19px; margin:28px 0 12px; }
.article-body p{ margin-bottom:20px; }
.article-body .drop{ float:left; font-family:var(--font-display); font-size:64px; line-height:0.8; font-weight:800; padding:8px 8px 0 0; color:var(--ink); }
.article-body blockquote{
  border-left:3px solid var(--brand); margin:28px 0; padding:4px 0 4px 22px;
  font-family:var(--font-display); font-size:21px; font-style:italic; color:var(--ink);
}
.article-body ul, .article-body ol{ margin:0 0 20px 22px; list-style:disc; }
.article-body ol{ list-style:decimal; }
.article-body li{ margin-bottom:8px; }
@media (max-width:1000px){ .article-body-wrap{ grid-template-columns:1fr; padding:0 24px 40px; } .article-body{ grid-column:1; } }

.share-rail{
  grid-column:1; justify-self:end; padding-right:24px;
  display:flex; flex-direction:column; gap:10px; position:sticky; top:110px; height:fit-content;
}
@media (max-width:1000px){ .share-rail{ display:none; } }
.share-btn{
  width:42px; height:42px; border:1px solid var(--border-strong); display:flex; align-items:center; justify-content:center;
}
.share-btn:hover{ border-color:var(--ink); }
.share-btn svg{ width:16px; height:16px; }

.tags-row{ max-width:760px; margin:0 auto 40px; display:flex; gap:8px; flex-wrap:wrap; }
.tag{
  font-family:var(--font-mono); font-size:11.5px; padding:7px 12px; border:1px solid var(--border-strong);
  color:var(--ink-soft);
}
.tag:hover{ border-color:var(--ink); color:var(--ink); }

.related-strip{ background:var(--bg); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:44px 0; }

/* ==========================================================================
   Search page
   ========================================================================== */
.search-hero{ padding:44px 0 28px; }
.search-hero h1{ font-size:36px; margin-bottom:20px; }
.search-box{ display:flex; border:1.5px solid var(--ink); }
.search-box input{ flex:1; height:56px; padding:0 20px; border:none; font-size:16px; font-family:var(--font-body); background:transparent; }
.search-box button{ width:64px; background:var(--ink); border:none; color:#fff; display:flex; align-items:center; justify-content:center; }
.search-box svg{ width:19px; height:19px; }
.search-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.filter-chip{
  font-family:var(--font-mono); font-size:12px; padding:8px 14px; border:1px solid var(--border-strong);
  color:var(--ink-soft); background:none;
}
.filter-chip.active{ background:var(--ink); color:#fff; border-color:var(--ink); }
.filter-chip:hover:not(.active){ border-color:var(--ink); color:var(--ink); }
.search-meta{ padding:20px 0 8px; font-family:var(--font-mono); font-size:12.5px; color:var(--ink-faint); border-top:1px solid var(--border); }
.search-results{ display:flex; flex-direction:column; padding-bottom:60px; }

/* page title bar reused across templates */
.page-title-bar{ padding:36px 0 24px; }
.page-title-bar .eyebrow{ margin-bottom:10px; }
.page-title-bar h1{ font-size:38px; }

/* ==========================================================================
   WordPress core / accessibility requirements
   ========================================================================== */
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute!important;
  width:1px; word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:#fff; border-radius:3px; box-shadow:0 0 2px 2px rgba(0,0,0,.6);
  clip:auto!important; clip-path:none; color:#14171C; display:block;
  font-size:14px; font-weight:700; height:auto; left:8px; line-height:normal;
  padding:14px 18px; text-decoration:none; top:8px; width:auto; z-index:100000;
}
.skip-link{ position:absolute; top:-100px; left:8px; z-index:100000; transition:top .15s ease; }
.skip-link:focus{ top:8px; }

img.alignleft{ float:left; margin:0 24px 16px 0; }
img.alignright{ float:right; margin:0 0 16px 24px; }
img.aligncenter{ display:block; margin:0 auto 16px; }
.wp-caption{ max-width:100%; }
.wp-caption-text{ font-family:var(--font-mono); font-size:12px; color:var(--ink-faint); padding-top:8px; }
.alignwide{ margin-left:calc(50% - 50vw + 8px); margin-right:calc(50% - 50vw + 8px); max-width:calc(100vw - 16px); }
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
.gallery img{ width:100%; height:auto; }

/* admin-bar offset so the sticky header doesn't hide under it */
.admin-bar .site-header,
.admin-bar .mobile-nav{ top:32px; }
@media (max-width:782px){
  .admin-bar .site-header,
  .admin-bar .mobile-nav{ top:46px; }
}

/* search form (default WP class names, used on search.html markup too) */
.search-form{ display:flex; border:1.5px solid var(--ink); }
.search-form label{ flex:1; display:flex; }
.search-form .search-field{ flex:1; height:56px; padding:0 20px; border:none; font-size:16px; font-family:var(--font-body); background:transparent; }
.search-form .search-submit{ width:64px; background:var(--ink); border:none; color:#fff; cursor:pointer; }

/* pagination */
.pagination, .nav-links{
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:36px 0; font-family:var(--font-mono); font-size:13px;
}
.pagination .page-numbers, .nav-links .page-numbers{
  min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border-strong); color:var(--ink-soft); padding:0 8px;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current{
  background:var(--ink); color:#fff; border-color:var(--ink);
}
.pagination .page-numbers:hover, .nav-links .page-numbers:hover{ border-color:var(--ink); color:var(--ink); }

/* comments */
.comments-area{ max-width:760px; margin:0 auto; padding:40px 0; }
.comments-title{ font-size:22px; margin-bottom:20px; }
.comment-list{ list-style:none; margin:0; padding:0; }
.comment-list .comment{ border-top:1px solid var(--border); padding:20px 0; }
.comment-author .fn{ font-weight:700; font-style:normal; font-size:14px; }
.comment-metadata{ font-family:var(--font-mono); font-size:11px; color:var(--ink-faint); margin-bottom:8px; }
.comment-metadata a{ color:inherit; }
.comment-content p{ font-size:15px; line-height:1.6; margin-bottom:10px; }
.comment-reply-link{ font-family:var(--font-mono); font-size:11.5px; border-bottom:1px solid currentColor; }
.comment-respond{ margin-top:24px; padding-top:24px; border-top:1px solid var(--border); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea{
  width:100%; padding:10px 12px; border:1px solid var(--border-strong); font-family:var(--font-body); font-size:14px; margin-bottom:12px; background:var(--surface);
}
.comment-form textarea{ min-height:120px; }
.comment-form .form-submit input{
  height:44px; padding:0 22px; background:var(--ink); color:#fff; border:none; font-weight:700; font-size:13.5px; cursor:pointer;
}
.comment-form .comment-notes, .comment-form .comment-form-cookies-consent{ font-size:12.5px; color:var(--ink-soft); margin-bottom:10px; }
.comment-navigation{ font-family:var(--font-mono); font-size:12px; display:flex; justify-content:space-between; padding:16px 0; }

/* subcategory nav (category pages) */
.subcat-nav{ display:flex; gap:4px; flex-wrap:wrap; margin-top:22px; border-bottom:1px solid var(--border); }
.subcat-nav a{ padding:10px 14px; font-size:13.5px; font-weight:600; color:var(--ink-soft); border-bottom:2px solid transparent; margin-bottom:-1px; }
.subcat-nav a:hover{ color:var(--ink); }
.subcat-nav a.active{ color:var(--ink); border-color:currentColor; }

/* no-thumbnail placeholder */
.card-img.no-thumb, .hero-main .card-img.no-thumb, .article-hero-img.no-thumb{
  background:linear-gradient(135deg, var(--border) 0%, var(--bg) 100%);
  display:flex; align-items:center; justify-content:center;
}
.card-img.no-thumb::after{ content:"VANTAGE"; font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; color:var(--ink-faint); }

/* 404 */
.error-404{ max-width:640px; margin:0 auto; padding:80px 24px; text-align:center; }
.error-404 h1{ font-size:88px; color:var(--border-strong); }
.error-404 p{ color:var(--ink-soft); margin:12px 0 24px; font-size:16px; }

/* author box */
.author-box{ max-width:760px; margin:32px auto; padding:22px; border:1px solid var(--border); display:flex; gap:16px; }
.author-box .author-avatar{ width:56px; height:56px; }
.author-box h4{ font-size:15px; margin-bottom:4px; }
.author-box p{ font-size:13.5px; color:var(--ink-soft); line-height:1.55; }

/* homepage split sections (Entertainment+Sports / Lifestyle+World) */
@media (max-width:800px){
  .split-section{ grid-template-columns:1fr !important; gap:32px !important; }
}

/* paginate_links() default output (ul.page-numbers) */
ul.page-numbers{
  display:flex; align-items:center; justify-content:center; gap:8px; list-style:none;
  padding:36px 0; margin:0; font-family:var(--font-mono); font-size:13px;
}
ul.page-numbers li{ display:flex; }
ul.page-numbers .page-numbers{
  min-width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border-strong); color:var(--ink-soft); padding:0 8px; text-decoration:none;
}
ul.page-numbers .page-numbers.current{ background:var(--ink); color:#fff; border-color:var(--ink); }
ul.page-numbers .page-numbers:hover{ border-color:var(--ink); color:var(--ink); }


/* NKVANTAGE legal-page layout — Privacy Policy */
.nkv-legal-page{
  max-width: 860px;
  margin: 44px auto 64px;
  padding: 0 36px;
  box-sizing: border-box;
}
.nkv-legal-page h1{
  margin: 0 0 10px;
}
.nkv-legal-page > p:first-of-type{
  margin-bottom: 34px;
}
.nkv-legal-page h2{
  margin: 38px 0 14px;
  padding-top: 4px;
  line-height: 1.3;
}
.nkv-legal-page p{
  margin: 0 0 16px;
  line-height: 1.75;
}
.nkv-legal-page ul{
  margin: 0 0 20px 22px;
  padding-left: 18px;
}
.nkv-legal-page li{
  margin: 0 0 9px;
  line-height: 1.65;
}
@media (max-width: 700px){
  .nkv-legal-page{
    margin: 28px auto 44px;
    padding: 0 20px;
  }
  .nkv-legal-page h2{
    margin-top: 30px;
  }
}
