/* ═══════════════════════════════════════════════
   ADEVA MƏG — Professional Editorial Theme
   Font: Poppins | Palette: Crimson + Black
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ─── DESIGN TOKENS ──────────────────────────── */
:root {
  --red:          #C41E1E;
  --red-dark:     #9B1515;
  --red-light:    #E53535;
  --red-muted:    rgba(196,30,30,0.08);
  --black:        #0D0D0D;
  --nav:          #111111;
  --dark:         #1C1C1E;
  --mid:          #3A3A3C;
  --muted:        #6B7280;
  --subtle:       #9CA3AF;
  --border:       #E5E7EB;
  --border-dark:  #D1D5DB;
  --bg:           #F8F8F8;
  --bg-card:      #FFFFFF;
  --accent:       #F59E0B;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --shadow-red:   0 6px 24px rgba(196,30,30,0.18);
  --radius:       10px;
  --radius-sm:    6px;
  --font:         'Poppins', system-ui, sans-serif;
  --z-header:     100;
  --z-nav:        90;
  --z-overlay:    80;
}

/* ─── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); }
h1, h2, h3, h4 { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ─── CONTAINER ──────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* Top bar */
.header-top {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  font-size: 12px;
  letter-spacing: 0.2px;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.header-top-date {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-top-links a {
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  transition: color 0.2s;
}
.header-top-links a:hover { color: #fff; }

/* Main header row */
.header-main { padding: 12px 0; }
.header-main .container {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
  cursor: pointer;
}
.logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.logo-name span { color: var(--red); }
.logo-tagline {
  font-size: 9px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin-top: 4px;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 380px;
  margin-left: auto;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.08);
}
.search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,30,0.25);
  background: rgba(255,255,255,0.12);
}
.search-form input {
  flex: 1;
  padding: 9px 14px;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  background: transparent;
  color: #ffffff;
  min-width: 0;
}
.search-form input::placeholder { color: rgba(255,255,255,0.38); }
.search-btn {
  background: var(--red);
  color: white;
  border: none;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--red-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── NAVIGATION ──────────────────────────────── */
.site-nav {
  background: var(--red);
  border-top: none;
}
.site-nav .container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.site-nav .container::-webkit-scrollbar { display: none; }

.nav-link {
  display: block;
  padding: 12px 15px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}
.nav-link:hover { color: #fff; background: rgba(0,0,0,0.15); }
.nav-link.active {
  color: #fff;
  background: rgba(0,0,0,0.25);
}

/* ─── BREAKING BAR ────────────────────────────── */
.breaking-bar {
  background: #1a0000;
  border-bottom: 1px solid rgba(196,30,30,0.3);
  padding: 9px 0;
  overflow: hidden;
}
.breaking-bar .container {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breaking-label {
  background: var(--red);
  color: white;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.breaking-ticker { overflow: hidden; flex: 1; min-width: 0; }
.breaking-items {
  display: flex;
  gap: 48px;
  animation: ticker 32s linear infinite;
  white-space: nowrap;
}
.breaking-items a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
}
.breaking-items a:hover { color: #fff; }
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .breaking-items { animation: none; }
}

/* ─── STATS BAR ──────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  padding: 10px 0;
}
.stats-bar .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.stat-icon {
  width: 32px;
  height: 32px;
  background: var(--red-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.stat-value {
  font-weight: 700;
  color: var(--red);
  font-size: 15px;
  line-height: 1;
}
.stat-label {
  color: var(--muted);
  font-size: 11px;
  margin-top: 1px;
}
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}
.mini-bar {
  flex: 1;
  background: rgba(196,30,30,0.18);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
  transition: background 0.2s;
  cursor: default;
}
.mini-bar:hover { background: var(--red); }

/* ══════════════════════════════════════════════
   MAIN LAYOUT
══════════════════════════════════════════════ */
.main-content { padding: 28px 0 48px; }

.layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* ─── SECTION HEADERS ─────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-bar {
  width: 4px;
  height: 18px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-more {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.section-more:hover { color: var(--red-dark); }

/* ─── FEATURED CARD ──────────────────────────── */
.featured-wrap { margin-bottom: 32px; }
.featured-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: var(--black);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.4s, transform 0.5s;
}
.featured-card:hover img { opacity: 0.6; transform: scale(1.03); }
.featured-no-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-no-img svg { width: 80px; height: 80px; opacity: 0.3; }
.featured-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  color: white;
}
.featured-cat {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: white;
  padding: 3px 11px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 10px;
}
.featured-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.featured-card:hover .featured-title { color: #fff; }
.featured-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.featured-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── NEWS CARDS ──────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  display: block;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(196,30,30,0.20);
  border-color: rgba(196,30,30,0.35);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.news-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-no-img svg { width: 40px; height: 40px; color: var(--subtle); }
.news-card-body { padding: 15px; }
.news-card-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-card-cat::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--red);
  border-radius: 50%;
}
.news-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.news-card:hover .news-card-title { color: var(--red); }
.news-card-meta {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.news-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ─── SIDEBAR ─────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Visitor widget */
.visitor-widget {
  background: linear-gradient(135deg, var(--red) 0%, #8B1010 100%);
  border-radius: var(--radius);
  padding: 20px;
  color: white;
  box-shadow: var(--shadow-red);
}
.visitor-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.9;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.visitor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.visitor-stat {
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.visitor-stat-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.visitor-stat-label {
  font-size: 10px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.visitor-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}
.visitor-bar {
  flex: 1;
  background: rgba(255,255,255,0.25);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: background 0.2s;
  cursor: default;
}
.visitor-bar:hover { background: rgba(255,255,255,0.55); }

/* Editors pick */
.ep-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.ep-item:first-child { padding-top: 0; }
.ep-item:last-child { border-bottom: none; padding-bottom: 0; }
.ep-img {
  width: 76px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
}
.ep-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-no-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-content { flex: 1; min-width: 0; }
.ep-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 5px;
  transition: color 0.2s;
}
.ep-item:hover .ep-title { color: var(--red); }
.ep-meta { font-size: 11px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.ep-cat { color: var(--red); font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Category list in sidebar */
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.2s;
}
.cat-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.cat-list-item:first-child { padding-top: 0; }
.cat-list-item:hover { color: var(--red); }
.cat-list-item svg { color: var(--red); flex-shrink: 0; }

/* ─── AD CARDS ────────────────────────────────── */
.ad-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.ad-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(196,30,30,0.12);
}
.ad-logo {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ad-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.ad-info { flex: 1; min-width: 0; }
.ad-name { font-weight: 700; font-size: 14px; color: var(--dark); margin-bottom: 3px; }
.ad-category {
  font-size: 10px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 6px;
}
.ad-contact { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.ads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

/* ══════════════════════════════════════════════
   SINGLE NEWS PAGE
══════════════════════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--red); transition: color 0.2s; cursor: pointer; }
.breadcrumb a:hover { color: var(--red-dark); }
.breadcrumb-sep { color: var(--subtle); font-size: 12px; }

.news-single-cat {
  display: inline-flex;
  align-items: center;
  background: var(--red);
  color: white;
  padding: 4px 13px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 14px;
  cursor: pointer;
}
.news-single-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.news-single-summary {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 18px;
  font-weight: 400;
}
.news-single-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.news-single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-single-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  aspect-ratio: 16/9;
}
.news-single-img img { width: 100%; height: 100%; object-fit: cover; }

.news-content {
  font-size: 16px;
  line-height: 1.85;
  color: #2D3748;
}
.news-content p { margin-bottom: 18px; }
.news-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 12px;
  letter-spacing: -0.2px;
}
.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin: 22px 0 10px;
}
.news-content blockquote {
  border-left: 4px solid var(--red);
  background: rgba(196,30,30,0.04);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  margin: 24px 0;
  color: var(--red-dark);
  font-size: 17px;
  font-weight: 500;
}
.news-content img {
  border-radius: var(--radius-sm);
  margin: 16px 0;
}

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
  min-height: 44px;
}
.share-btn:hover { opacity: 0.85; }
.share-btn-fb { background: #1877F2; color: white; }
.share-btn-tg { background: #26A5E4; color: white; }
.share-btn-tw { background: #000; color: white; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.site-footer {
  background: #0D0D0D;
  color: rgba(255,255,255,0.8);
  margin-top: 56px;
}
.footer-main { padding: 48px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand {}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-logo-img { height: 38px; width: auto; object-fit: contain; }
.footer-logo-name {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}
.footer-logo-name span { color: var(--red); }
.footer-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.footer-heading {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-links a:hover { color: white; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 0;
}
.footer-bottom {
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: white; }

/* ══════════════════════════════════════════════
   CATEGORY HERO
══════════════════════════════════════════════ */
.cat-hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--nav) 100%);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 28px;
  color: white;
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  background: linear-gradient(to left, rgba(196,30,30,0.25), transparent);
}
.cat-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: white;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.cat-hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 5px;
  position: relative;
}
.cat-hero p { font-size: 14px; color: rgba(255,255,255,0.65); position: relative; }

/* ══════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
}
.page-btn:hover { border-color: var(--red); color: var(--red); }
.page-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* ══════════════════════════════════════════════
   ADS PAGE
══════════════════════════════════════════════ */
.ads-hero {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--black) 0%, #2a0a0a 100%);
  border-radius: var(--radius);
  color: white;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.ads-hero::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background: radial-gradient(circle at 70% 50%, rgba(196,30,30,0.35), transparent 70%);
}
.ads-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  letter-spacing: -0.5px;
}
.ads-hero p { font-size: 15px; color: rgba(255,255,255,0.7); position: relative; }

.ads-cat-section { margin-bottom: 40px; }
.ads-cat-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.ads-cat-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 50px; height: 2px;
  background: var(--red);
}
.ads-big-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.ads-big-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.ads-big-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(196,30,30,0.10);
}
.ads-big-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ads-big-img-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.ads-big-info { flex: 1; min-width: 0; }
.ads-big-name { font-weight: 700; font-size: 15px; margin-bottom: 3px; color: var(--dark); }
.ads-big-cat {
  font-size: 10px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}
.ads-big-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ads-big-contacts { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.ads-big-contacts span { display: flex; align-items: center; gap: 5px; }
.ads-cta {
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1.5px dashed rgba(196,30,30,0.3);
  border-radius: var(--radius);
  text-align: center;
}
.ads-cta h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}
.ads-cta p { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  font-family: var(--font);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   MOBILE NAV OVERLAY
══════════════════════════════════════════════ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: var(--z-overlay);
  backdrop-filter: blur(2px);
}
.nav-overlay.active { display: block; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* 1024px - tablet */
@media (max-width: 1024px) {
  .layout-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* 768px - mobile */
@media (max-width: 768px) {
  .container { padding: 0 14px; }

  /* ── Header top ── */
  .header-top { padding: 5px 0; }
  .header-top .container { gap: 8px; }
  .header-top-date { font-size: 11px; }

  /* ── Header main ── */
  .header-main { padding: 10px 0; position: relative; }
  .header-main .container { gap: 10px; }

  /* Logo – keep natural proportions */
  .logo-img { height: 36px; width: auto; max-width: 120px; }
  .logo-name { font-size: 19px; }
  .logo-tagline { display: none; }

  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Search → hidden, drops below header when opened */
  .header-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    padding: 10px 14px;
    background: #0D0D0D;
    border-bottom: 2px solid var(--red);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 50;
    max-width: none;
    margin-left: 0;
  }
  .header-search.open { display: block; }
  .header-search input { font-size: 16px; /* prevent iOS zoom */ }

  /* ── Nav: vertical drawer ── */
  .site-nav {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
    border-top: none;
  }
  .site-nav.open { max-height: 520px; }
  .site-nav .container {
    flex-direction: column;
    align-items: stretch;
    overflow-x: hidden;
    padding: 0;
  }
  .nav-link {
    padding: 14px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
    font-weight: 500;
  }
  .nav-link:last-child { border-bottom: none; }

  /* ── Stats bar ── */
  .stats-bar .container {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .stat-item { font-size: 11px; gap: 7px; }
  .stat-icon { width: 26px; height: 26px; }

  /* ── Breaking bar ── */
  .breaking-bar { padding: 7px 0; }
  .breaking-label {
    font-size: 9px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ── Content layout ── */
  .main-content { padding: 18px 0 40px; }
  .news-grid { grid-template-columns: 1fr; }
  .ads-grid { grid-template-columns: 1fr; }
  .ads-big-grid { grid-template-columns: 1fr; }

  /* ── Featured card ── */
  .featured-title { font-size: 18px; line-height: 1.35; }
  .featured-content { padding: 16px 14px; }
  .featured-card { min-height: 220px; }

  /* ── News card ── */
  .news-card-img { aspect-ratio: 16/9; }

  /* ── Single article ── */
  .news-single-title { font-size: 22px; line-height: 1.3; }
  .news-single-summary { font-size: 15px; }
  .news-single-meta {
    gap: 10px;
    font-size: 12px;
  }
  .news-single-meta-item { gap: 4px; }
  .news-single-img { border-radius: var(--radius-sm); }

  /* ── Share bar ── */
  .share-bar {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
  }
  .share-label { font-size: 12px; width: 100%; margin-bottom: 2px; }
  .share-btn {
    flex: 1;
    justify-content: center;
    min-width: 90px;
    padding: 10px 12px;
    font-size: 12px;
  }

  /* ── Breadcrumb ── */
  .breadcrumb { font-size: 12px; flex-wrap: wrap; gap: 4px; }

  /* ── Sidebar ── */
  .sidebar { display: flex; flex-direction: column; }

  /* ── Pagination ── */
  .page-btn { width: 44px; height: 44px; font-size: 14px; }

  /* ── Section title ── */
  .section-title { font-size: 16px; }

  /* ── Category hero ── */
  .cat-hero { padding: 20px 16px; }
  .cat-hero h1 { font-size: 20px; }

  /* ── Ads page ── */
  .ads-hero { padding: 28px 16px; }
  .ads-hero h1 { font-size: 24px; }
  .ads-cta { padding: 22px 16px; }
  .ads-cta h3 { font-size: 17px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-main { padding: 28px 0 20px; }
  .footer-desc { max-width: none; }
  .footer-links a { min-height: 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 6px; }

  /* ── Visitor stats ── */
  .visitor-stat-value { font-size: 20px; }
}

/* 480px - small phone */
@media (max-width: 480px) {
  .header-top { display: none; }

  .logo-img { height: 32px; width: auto; max-width: 100px; }
  .logo-name { font-size: 17px; }
  .logo-text { gap: 0; }

  /* Stats bar – show only 2 items, hide the rest */
  .stat-item:nth-child(n+3) { display: none; }

  /* Featured */
  .featured-title { font-size: 15px; line-height: 1.3; }
  .featured-card { min-height: 200px; }

  /* Single */
  .news-single-title { font-size: 20px; }

  /* Breaking bar */
  .breaking-bar .container { gap: 8px; }

  /* Visitor grid */
  .visitor-grid { grid-template-columns: 1fr 1fr; }

  /* Ads */
  .ads-big-card { flex-direction: column; }
  .ads-big-img,
  .ads-big-img-placeholder { width: 100%; height: 150px; border-radius: var(--radius-sm); }

  /* Share buttons full width stack */
  .share-btn { min-width: unset; }

  /* Pagination smaller */
  .page-btn { width: 40px; height: 40px; font-size: 13px; }

  /* Nav links slightly smaller */
  .nav-link { font-size: 13px; padding: 13px 16px; }

  /* Content spacing */
  .main-content { padding: 14px 0 36px; }

  /* Section gap */
  .section-header { margin-bottom: 14px; }
}

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.text-red { color: var(--red); }
.font-bold { font-weight: 700; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
