/*
Theme Name: PressRO
Theme URI: https://pressro.theme
Author: Custom
Description: Tema stiri moderna full responsive - mix bzi.ro + fanatik.ro, cu suport reclame
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: pressro
Tags: news, magazine, blog, responsive, ads, Romanian
*/

/* =========================================
   ROOT VARIABLES
   ========================================= */
:root {
  --red: #D0021B;
  --red-dark: #a00015;
  --black: #111111;
  --near-black: #1a1a1a;
  --dark-gray: #2d2d2d;
  --gray: #6b7280;
  --light-gray: #f0f0f0;
  --bg: #f2f2f2;
  --white: #ffffff;
  --border: #e0e0e0;
  --yellow: #ffc200;
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Noto Sans', Arial, sans-serif;
  --shadow: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 20px rgba(0,0,0,0.16);
  --radius: 3px;
  --container: 1260px;
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; }
body { font-family: var(--font-body); background: var(--bg); color: var(--black); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =========================================
   CONTAINER
   ========================================= */
.nw-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 12px;
}

/* =========================================
   TOP BAR
   ========================================= */
.topbar {
  background: var(--black);
  color: #aaa;
  font-size: 11px;
  font-family: var(--font-head);
  letter-spacing: .3px;
  padding: 5px 0;
}
.topbar .nw-container {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-date { color: #777; }
.topbar-weather { color: #aaa; display: flex; align-items: center; gap: 4px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: #777; font-size: 13px; transition: color .2s; }
.topbar-social a:hover { color: var(--red); }
.topbar-edition {
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================
   BREAKING NEWS TICKER
   ========================================= */
.breaking-bar {
  background: var(--red);
  padding: 0;
  overflow: hidden;
}
.breaking-bar .nw-container {
  display: flex;
  align-items: stretch;
  height: 32px;
}
.breaking-label {
  background: var(--black);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 14px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-ticker-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
}
.breaking-ticker {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.breaking-ticker a {
  color: #fff;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 500;
}
.breaking-ticker a:hover { text-decoration: underline; }
@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}
/* Logo */
.site-logo { flex-shrink: 0; }
.logo-mark {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  letter-spacing: -1px;
  text-transform: uppercase;
}
.logo-mark .logo-accent { color: var(--red); }
.logo-sub {
  font-size: 9px;
  font-family: var(--font-head);
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
  margin-top: 1px;
}
/* Header banner ad */
.header-banner {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 728px;
}
/* Header tools */
.header-tools { display: flex; align-items: center; gap: 10px; }
.btn-search-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 10px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1;
  transition: all .2s;
}
.btn-search-toggle:hover { border-color: var(--red); color: var(--red); }
.btn-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 7px 10px;
  flex-direction: column;
  gap: 4px;
}
.btn-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all .25s;
}

/* =========================================
   MAIN NAVIGATION
   ========================================= */
.main-nav-wrap {
  background: var(--near-black);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.main-nav > li > a {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #ccc;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
  color: #fff;
  border-bottom-color: var(--red);
}
/* category colors on nav */
.main-nav .cat-sport > a { }
.main-nav .cat-sport > a:hover { border-bottom-color: #0ea5e9; }
.main-nav .cat-politica > a:hover { border-bottom-color: #8b5cf6; }
.main-nav .cat-economie > a:hover { border-bottom-color: #22c55e; }

/* Dropdown */
.main-nav > li { position: relative; }
.main-nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  background: var(--white);
  min-width: 210px;
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-hover);
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
  list-style: none;
}
.main-nav > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--black);
  border-left: 3px solid transparent;
  transition: all .18s;
}
.main-nav .sub-menu a:hover { color: var(--red); border-left-color: var(--red); background: var(--light-gray); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--near-black);
  padding: 0 12px 12px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 10px 4px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #bbb;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--red); }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 900;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0; visibility: hidden;
  transition: all .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-form-wrap { width: 90%; max-width: 620px; position: relative; }
.search-form-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-size: 28px;
  font-family: var(--font-head);
  padding: 10px 0;
  outline: none;
}
.search-form-wrap input::placeholder { color: rgba(255,255,255,.35); }
.search-close-btn {
  position: absolute;
  top: -60px; right: 0;
  background: none; border: none;
  color: #fff; font-size: 30px;
  line-height: 1;
}

/* =========================================
   AD ZONES — zone curate pentru reclame
   ========================================= */
.ad-zone {
  background: #e8e8e8;
  border: 1px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 10px;
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.ad-zone::before {
  content: 'Publicitate';
  position: absolute;
  top: 4px; left: 6px;
  font-size: 9px;
  color: #bbb;
}
/* Sizes */
.ad-leaderboard { width: 100%; height: 90px; }
.ad-billboard { width: 100%; height: 250px; }
.ad-sidebar-box { width: 100%; height: 250px; }
.ad-sidebar-half { width: 100%; height: 600px; position: sticky; top: 62px; }
.ad-inline { width: 100%; height: 280px; margin: 20px 0; }
.ad-mobile-banner { width: 100%; height: 100px; display: none; }
/* Wrapper pentru reclame */
.ad-wrap { display: flex; justify-content: center; padding: 10px 0; background: #f7f7f7; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ad-wrap-sidebar { margin-bottom: 20px; }

/* =========================================
   CATEGORY LABEL
   ========================================= */
.cat-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 2px 7px;
  line-height: 1.6;
}
.cat-label.stiri,
.cat-label.default { background: var(--red); color: #fff; }
.cat-label.sport { background: #0ea5e9; color: #fff; }
.cat-label.politica { background: #7c3aed; color: #fff; }
.cat-label.economie { background: #16a34a; color: #fff; }
.cat-label.sanatate { background: #e11d48; color: #fff; }
.cat-label.cultura { background: #ea580c; color: #fff; }
.cat-label.tech { background: #0891b2; color: #fff; }
.cat-label.monden { background: #db2777; color: #fff; }
.cat-label.international { background: #374151; color: #fff; }
.cat-label.auto { background: #1d4ed8; color: #fff; }

/* =========================================
   SECTION TITLES (like bzi.ro)
   ========================================= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  position: relative;
}
.section-head::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 50px; height: 2px;
  background: var(--red);
}
.section-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--black);
}
.section-more {
  font-family: var(--font-head);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--red);
  font-weight: 600;
}
.section-more:hover { text-decoration: underline; }
.section-more::after { content: ' →'; }

/* =========================================
   HOMEPAGE LAYOUT
   ========================================= */
.homepage-wrap { padding: 14px 0; }

/* =========================================
   HERO BLOCK (top of page - like fanatik top)
   ========================================= */
.hero-block { margin-bottom: 16px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 12px;
}
/* Big featured article */
.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.hero-main-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  opacity: .92;
}
.hero-main:hover .hero-main-img { transform: scale(1.03); }
.hero-main-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.88) 100%);
  padding: 40px 20px 18px;
  color: #fff;
}
.hero-main-content .cat-label { margin-bottom: 8px; }
.hero-main-title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-main-title a { color: #fff; }
.hero-main-title a:hover { text-decoration: underline; }
.hero-main-meta {
  font-size: 11px;
  color: rgba(255,255,255,.7);
  font-family: var(--font-head);
}
/* Stack of 3 secondary articles on right */
.hero-side { display: flex; flex-direction: column; gap: 8px; }
.hero-side-card {
  background: var(--white);
  display: flex;
  gap: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
  flex: 1;
}
.hero-side-card:hover { box-shadow: var(--shadow-hover); }
.hero-side-img {
  width: 130px;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-side-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.hero-side-card:hover .hero-side-img img { transform: scale(1.05); }
.hero-side-body {
  padding: 10px 10px 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero-side-body .cat-label { margin-bottom: 5px; }
.hero-side-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-side-title a:hover { color: var(--red); }
.hero-side-meta {
  font-size: 10px;
  color: var(--gray);
  margin-top: 5px;
  font-family: var(--font-head);
}

/* =========================================
   MAIN CONTENT + SIDEBAR
   ========================================= */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
.main-col { min-width: 0; }
.sidebar-col { min-width: 0; }

/* =========================================
   SECTION BLOCK (used repeatedly)
   ========================================= */
.section-block { margin-bottom: 24px; }
.section-block-inner { background: var(--white); padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* =========================================
   GRID STYLES — bzi.ro style: big left + list right
   ========================================= */

/* Layout A: 1 big + 4 list (like bzi main blocks) */
.grid-a {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
}
.grid-a-main { }
.grid-a-main .card-big { }
.grid-a-list { display: flex; flex-direction: column; gap: 0; }

/* Layout B: 4 columns equal */
.grid-b {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* Layout C: 3 columns */
.grid-c {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Layout D: 2 columns */
.grid-d {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* =========================================
   CARD — BIG (stacked image+text)
   ========================================= */
.card-big {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
  height: 100%;
}
.card-big:hover { box-shadow: var(--shadow-hover); }
.card-big-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-big-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s;
}
.card-big:hover .card-big-img img { transform: scale(1.04); }
.card-big-body { padding: 12px 14px 14px; }
.card-big-body .cat-label { margin-bottom: 7px; }
.card-big-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 7px;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-big-title a:hover { color: var(--red); }
.card-big-excerpt {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 10px;
  color: var(--gray);
  font-family: var(--font-head);
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.card-meta-dot { color: var(--border); }

/* =========================================
   CARD — SMALL (horizontal list style, like bzi right column)
   ========================================= */
.card-list {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.card-list:first-child { padding-top: 0; }
.card-list:last-child { border-bottom: none; padding-bottom: 0; }
.card-list:hover { }
.card-list-img {
  width: 90px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.card-list-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.card-list:hover .card-list-img img { transform: scale(1.06); }
.card-list-body { flex: 1; min-width: 0; }
.card-list-body .cat-label { margin-bottom: 4px; }
.card-list-title {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-list-title a:hover { color: var(--red); }
.card-list-meta {
  font-size: 10px;
  color: var(--gray);
  font-family: var(--font-head);
  margin-top: 4px;
}

/* =========================================
   CARD — MEDIUM (used in 4-grid, 3-grid)
   ========================================= */
.card-med {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card-med:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-med-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.card-med-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card-med:hover .card-med-img img { transform: scale(1.05); }
.card-med-body { padding: 10px 12px 12px; }
.card-med-body .cat-label { margin-bottom: 6px; }
.card-med-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-med-title a:hover { color: var(--red); }
.card-med-meta {
  font-size: 10px;
  color: var(--gray);
  font-family: var(--font-head);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* =========================================
   SEPARATOR SECTION — colored band like fanatik
   ========================================= */
.section-band {
  background: var(--red);
  margin: 16px 0;
  padding: 6px 0;
}
.section-band .nw-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-band-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}
.section-band-link {
  font-family: var(--font-head);
  font-size: 11px;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: .5px;
}
.section-band-link:hover { color: #fff; text-decoration: underline; }
.section-band.black-band { background: var(--black); }
.section-band.yellow-band { background: var(--yellow); }
.section-band.yellow-band .section-band-title { color: var(--black); }
.section-band.yellow-band .section-band-link { color: rgba(0,0,0,.6); }

/* =========================================
   SIDEBAR WIDGETS
   ========================================= */
.widget {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.widget-head {
  padding: 10px 14px;
  background: var(--black);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  border-left: 4px solid var(--red);
}
.widget-body { padding: 12px 14px; }

/* Sidebar card */
.sidebar-card {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-card:first-child { padding-top: 0; }
.sidebar-card:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-card-img {
  width: 75px; height: 55px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-card-body { flex: 1; min-width: 0; }
.sidebar-card-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-card-title a:hover { color: var(--red); }
.sidebar-card-meta { font-size: 10px; color: var(--gray); font-family: var(--font-head); margin-top: 3px; }

/* Ranked / most read */
.ranked-list { }
.ranked-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ranked-item:last-child { border-bottom: none; padding-bottom: 0; }
.ranked-num {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  transition: color .2s;
}
.ranked-item:hover .ranked-num { color: var(--red); }
.ranked-body { flex: 1; min-width: 0; }
.ranked-title {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ranked-title a:hover { color: var(--red); }
.ranked-meta { font-size: 10px; color: var(--gray); font-family: var(--font-head); margin-top: 3px; }

/* Newsletter */
.newsletter-widget {
  background: linear-gradient(135deg, #111 0%, #1a1a2e 100%);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.newsletter-widget h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.newsletter-widget p { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 12px; line-height: 1.5; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: #fff;
  font-size: 12px;
  padding: 9px 12px;
  outline: none;
  font-family: var(--font-body);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form button {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  padding: 9px;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--red-dark); }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-cloud a {
  font-family: var(--font-head);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3px;
  background: var(--light-gray);
  color: var(--gray);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: all .18s;
}
.tag-cloud a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* =========================================
   SINGLE ARTICLE PAGE
   ========================================= */
.single-wrap { padding: 16px 0 32px; }
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.single-main { min-width: 0; }

/* Reading progress bar */
.reading-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--gray);
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--border); }

/* Single article head */
.single-cats { display: flex; gap: 6px; margin-bottom: 10px; }
.single-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.single-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 14px;
  font-family: var(--font-body);
  border-left: 4px solid var(--red);
  padding-left: 14px;
}
.single-meta-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--gray);
  flex-wrap: wrap;
}
.single-meta-bar .author { display: flex; align-items: center; gap: 7px; }
.single-meta-bar .author img {
  width: 28px; height: 28px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--red);
}
.single-meta-bar .author-name { font-weight: 600; color: var(--black); font-size: 12px; }
.single-share { margin-left: auto; display: flex; gap: 6px; }
.share-btn {
  border: none;
  padding: 5px 12px;
  border-radius: 2px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .18s;
}
.share-btn:hover { opacity: .8; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #000; color: #fff; }
.share-wa { background: #25d366; color: #fff; }
.share-tg { background: #229ed9; color: #fff; }

/* Featured image */
.single-featured { border-radius: var(--radius); overflow: hidden; margin-bottom: 6px; }
.single-featured img { width: 100%; height: auto; display: block; }
.single-img-caption {
  font-size: 11px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 18px;
  font-family: var(--font-head);
  text-align: center;
  padding-top: 5px;
}

/* Entry content */
.entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: #222;
}
.entry-content p { margin-bottom: 18px; }
.entry-content h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.entry-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--red);
}
.entry-content h3 { font-family: var(--font-head); font-size: 18px; margin: 24px 0 10px; font-weight: 700; }
.entry-content a { color: var(--red); }
.entry-content a:hover { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 18px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content img { border-radius: var(--radius); margin: 18px auto; }
.entry-content blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  margin: 24px 0;
  background: rgba(208,2,27,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-size: 17px;
}
.entry-content blockquote cite { display: block; font-size: 12px; font-style: normal; color: var(--gray); margin-top: 6px; font-family: var(--font-head); }
.entry-content strong { font-weight: 700; }
.entry-content .ad-inline { margin: 24px 0; }

/* Article tags */
.article-tags { margin: 24px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-tags-label { font-family: var(--font-head); font-size: 11px; text-transform: uppercase; color: var(--gray); }

/* Author box */
.author-box {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 16px;
  margin: 28px 0;
}
.author-box-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--red); }
.author-box-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.author-box-role { font-family: var(--font-head); font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--red); margin-bottom: 8px; }
.author-box-bio { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* Related articles */
.related-posts { margin-top: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* =========================================
   CATEGORY PAGE HERO BAND
   ========================================= */
.cat-hero-band {
  background: var(--black);
  padding: 28px 0;
  margin-bottom: 20px;
}
.cat-hero-band h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-hero-band h1 .cat-stripe {
  display: inline-block;
  width: 6px;
  height: 1em;
  background: var(--red);
  flex-shrink: 0;
}
.cat-hero-band .cat-count {
  font-size: 13px;
  color: var(--gray);
  font-family: var(--font-head);
  margin-top: 4px;
}

/* =========================================
   PAGINATION
   ========================================= */
.nw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 30px 0;
  font-family: var(--font-head);
}
.nw-pagination a,
.nw-pagination span {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  border-radius: var(--radius);
  transition: all .18s;
}
.nw-pagination a:hover,
.nw-pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--black);
  color: #777;
  margin-top: 32px;
}
.footer-main {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .logo-mark { color: #fff; font-size: 30px; }
.footer-brand p { font-size: 12px; color: #555; margin-top: 10px; line-height: 1.7; }
.footer-social-links { display: flex; gap: 8px; margin-top: 14px; }
.footer-social-links a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #666;
  transition: all .2s;
}
.footer-social-links a:hover { background: var(--red); color: #fff; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a { font-size: 12px; color: #555; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 11px;
  color: #444;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 40px; height: 40px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
  z-index: 600;
}
.scroll-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--red-dark); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1100px) {
  .grid-b { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 200px 1fr 1fr; }
  .footer-main .footer-col:last-child { display: none; }
}

@media (max-width: 960px) {
  .main-layout { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar-col .ad-sidebar-half { position: relative; top: auto; height: 250px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; }
  .hero-side-card { flex: 1; flex-direction: column; }
  .hero-side-img { width: 100%; height: 120px; }
  .grid-a { grid-template-columns: 1fr; }
  .grid-a-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-list { border-bottom: none; }
  .grid-b { grid-template-columns: repeat(2, 1fr); }
  .grid-c { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .header-banner { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .btn-hamburger { display: flex; }
  .main-nav-wrap .nw-container { padding: 0; }
  .main-nav-wrap > .nw-container > nav { display: none; }
  .hero-side { flex-direction: column; }
  .hero-side-card { flex-direction: row; }
  .hero-side-img { width: 120px; height: 90px; flex-shrink: 0; }
  .grid-a-list { grid-template-columns: 1fr; }
  .grid-b, .grid-c, .grid-d { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .single-share { display: none; }
  .single-title { font-size: 22px; }
  .entry-content { font-size: 15px; }
  .ad-mobile-banner { display: flex !important; }
  .ad-leaderboard { display: none; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .topbar-left { display: none; }
  .breaking-bar .nw-container { padding: 0 8px; }
  .single-subtitle { font-size: 15px; }
}

@media (max-width: 420px) {
  .logo-mark { font-size: 28px; }
  .hero-side-card { flex-direction: column; }
  .hero-side-img { width: 100%; height: 110px; }
  .nw-container { padding: 0 8px; }
}
