/* ============================================================
   NOVI KONJIC — Stylesheet
   Moderan news portal · dizajn sistem, komponente, animacije
   ============================================================ */

/* ---------- Fontovi ----------
   Web fontovi (Inter/Lora) se učitavaju asinkrono iz HTML-a (vidi <head>),
   uz snažan sistemski fallback ispod tako da portal izgleda odlično i offline. */

/* ---------- Dizajn tokeni ---------- */
:root {
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Iowan Old Style", "Times New Roman", serif;

  /* Brendiranje — plava iz logotipa novikonjic.ba + akcenti */
  --brand: #074167;
  --brand-dark: #052e48;
  --brand-light: #1d6fa3;
  --brand-soft: #e7eef4;
  --accent: #e11d2a;       /* breaking / urgentno */
  --accent-dark: #b9151f;
  --gold: #e0a13c;

  /* Neutralni (light) */
  --ink: #10171f;
  --ink-2: #2b3743;
  --muted: #5d6b78;
  --bg: #ffffff;
  --bg-2: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #f0f3f4;
  --line: #e4e8eb;
  --line-2: #d7dde1;

  --shadow-sm: 0 1px 2px rgba(16, 23, 31, 0.06), 0 1px 3px rgba(16, 23, 31, 0.05);
  --shadow-md: 0 6px 18px rgba(16, 23, 31, 0.08);
  --shadow-lg: 0 18px 40px rgba(16, 23, 31, 0.14);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1240px;
  --header-h: 116px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --ink: #eef2f6;
  --ink-2: #c7d0d8;
  --muted: #94a2af;
  --bg: #0c1117;
  --bg-2: #0f161d;
  --surface: #141c24;
  --surface-2: #1a232c;
  --line: #232e39;
  --line-2: #2c3845;
  --brand-light: #3f8fc4;
  --brand-soft: #0c2a3f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 22px 48px rgba(0, 0, 0, 0.6);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
/* Default veličina za inline ikone (specifičnija pravila ispod nadjačavaju) */
svg { width: 1em; height: 1em; vertical-align: middle; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--ink);
  color: #d7dee5;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .topbar { background: #05080b; }
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; gap: 16px;
}
.topbar__left { display: flex; align-items: center; gap: 18px; }
.topbar__date { display: flex; align-items: center; gap: 7px; opacity: 0.85; }
.topbar__date svg { width: 15px; height: 15px; }
.topbar__weather { display: flex; align-items: center; gap: 6px; opacity: 0.9; }
.topbar__weather svg { width: 16px; height: 16px; color: var(--gold); }
.topbar__right { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 8px; color: #cfd8e0; transition: 0.25s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; transform: translateY(-1px); }

.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.masthead { background: var(--bg); border-bottom: 1px solid var(--line); }
.masthead .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding-top: 16px; padding-bottom: 16px;
}

/* Logo (originalni logotip novikonjic.ba) */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__img {
  height: 46px; width: auto; display: block; border-radius: 6px;
  transition: transform 0.3s var(--ease);
}
.logo:hover .logo__img { transform: translateY(-1px); }
/* Logo je tamnoplav na bijelom: na tamnim podlogama ide bijela kartica */
[data-theme="dark"] .masthead .logo__img,
[data-theme="dark"] .drawer__head .logo__img,
.footer .logo__img {
  background: #fff; padding: 7px 13px; border-radius: 10px; box-shadow: var(--shadow-sm);
}
.footer .logo__img { height: 40px; }

/* Header ad / slogan */
.masthead__aside { display: flex; align-items: center; gap: 14px; }
.search-trigger {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 11px 16px; border-radius: 30px; color: var(--muted);
  font-size: 14px; min-width: 230px; transition: 0.25s var(--ease);
}
.search-trigger svg { width: 17px; height: 17px; }
.search-trigger:hover { border-color: var(--brand); color: var(--ink); box-shadow: var(--shadow-sm); }
.search-trigger kbd {
  margin-left: auto; font-family: var(--font-sans); font-size: 11px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 5px;
  padding: 2px 6px; color: var(--muted);
}

.btn-live {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 30px; letter-spacing: 0.02em;
  box-shadow: 0 6px 16px rgba(225, 29, 42, 0.35); transition: 0.25s var(--ease);
}
.btn-live:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(225, 29, 42, 0.45); }
.btn-live .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Primary nav */
.navbar {
  background: var(--brand);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  transition: background 0.4s var(--ease);
}
[data-theme="dark"] .navbar { background: #06314c; }
.navbar.is-stuck { box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; gap: 4px; }

.nav-home {
  display: grid; place-items: center; padding: 0 14px; height: 52px;
  color: #fff; opacity: 0.92; transition: 0.2s;
}
.nav-home svg { width: 19px; height: 19px; }
.nav-home:hover { background: rgba(0, 0, 0, 0.12); opacity: 1; }

.nav-menu { display: flex; align-items: stretch; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 17px;
  color: #fff; font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em;
  position: relative; transition: background 0.2s; white-space: nowrap;
}
.nav-link .caret { width: 13px; height: 13px; opacity: 0.7; transition: transform 0.25s; }
.nav-link::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 0;
  height: 3px; background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-item:hover .nav-link,
.nav-link.active { background: rgba(0, 0, 0, 0.14); }
.nav-item:hover .nav-link::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-item:hover .nav-link .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: 0.28s var(--ease); z-index: 50;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 9px; padding: 10px 13px;
  border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500;
  transition: 0.18s;
}
.dropdown a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0; transition: 0.18s;
}
.dropdown a:hover { background: var(--brand-soft); color: var(--brand); padding-left: 18px; }

.nav-extra { margin-left: auto; display: flex; align-items: center; }
.nav-extra a {
  height: 52px; display: flex; align-items: center; padding: 0 15px;
  color: rgba(255, 255, 255, 0.85); font-size: 13.5px; font-weight: 600;
  transition: 0.2s;
}
.nav-extra a:hover { color: #fff; background: rgba(0, 0, 0, 0.12); }
.nav-extra .pill {
  background: var(--gold); color: #3a2a00; border-radius: 30px;
  padding: 0 16px; height: 34px; margin-left: 8px; font-weight: 800;
}
.nav-extra .pill:hover { background: #f0b150; color: #3a2a00; }

.hamburger { display: none; }

/* ============================================================
   BREAKING TICKER
   ============================================================ */
.ticker {
  display: flex; align-items: stretch; background: var(--surface);
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.ticker__label {
  display: flex; align-items: center; gap: 8px; background: var(--accent);
  color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 0 18px; white-space: nowrap;
  position: relative; z-index: 2;
}
.ticker__label::after {
  content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 14px;
  background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.ticker__label .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.ticker__viewport { flex: 1; overflow: hidden; position: relative; }
.ticker__track {
  display: flex; align-items: center; gap: 48px; white-space: nowrap;
  padding-left: 28px; height: 42px;
  animation: ticker-scroll 36s linear infinite;
}
.ticker__viewport:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { font-size: 14px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: 12px; }
.ticker__track a::before { content: "›"; color: var(--accent); font-weight: 800; font-size: 18px; }
.ticker__track a:hover { color: var(--brand); }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: 40px 0; }
.section-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.section-head h2 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 0;
  display: inline-flex; align-items: center; position: relative;
  padding-left: 16px;
}
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 5px;
  border-radius: 4px; background: var(--brand);
}
.section-head .line { flex: 1; height: 1px; background: var(--line); }
.section-head .more {
  font-size: 13.5px; font-weight: 700; color: var(--brand);
  display: inline-flex; align-items: center; gap: 5px; transition: 0.2s;
}
.section-head .more svg { width: 15px; height: 15px; transition: transform 0.25s; }
.section-head .more:hover { color: var(--brand-dark); }
.section-head .more:hover svg { transform: translateX(4px); }

/* ============================================================
   CARDS
   ============================================================ */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; background: var(--brand); padding: 5px 10px; border-radius: 6px;
  line-height: 1;
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__chip { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card__body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__title {
  font-size: 17px; font-weight: 700; line-height: 1.32; letter-spacing: -0.01em;
  color: var(--ink); transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card:hover .card__title { color: var(--brand); }
.card__excerpt {
  font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta {
  display: flex; align-items: center; gap: 10px; margin-top: auto;
  font-size: 12.5px; color: var(--muted); padding-top: 6px;
  flex-wrap: nowrap; white-space: nowrap;
}
.card__meta span { white-space: nowrap; }
.card__meta .dotsep { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); flex: 0 0 auto; }
.card__meta svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }

/* Card compact (horizontalna) */
.card-h { display: flex; gap: 14px; align-items: flex-start; }
.card-h__media {
  width: 116px; height: 84px; border-radius: 10px; overflow: hidden;
  flex-shrink: 0; background: var(--surface-2); position: relative;
}
.card-h__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card-h:hover .card-h__media img { transform: scale(1.07); }
.card-h__body { flex: 1; min-width: 0; }
.card-h__title {
  font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--ink);
  transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-h:hover .card-h__title { color: var(--brand); }
.card-h__meta { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 28px 0 8px; }
.hero__grid {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px;
}
.hero__main {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 460px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-md);
}
.hero__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hero__main:hover img { transform: scale(1.05); }
.hero__main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4, 8, 11, 0.96) 0%, rgba(4, 8, 11, 0.82) 30%, rgba(4, 8, 11, 0.45) 58%, rgba(4, 8, 11, 0) 88%);
}
.hero__content { position: relative; z-index: 2; padding: 32px; color: #fff; max-width: 92%; text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55); }
.hero__main .hero__title {
  font-size: 32px; font-weight: 800; line-height: 1.14; letter-spacing: -0.02em;
  margin: 12px 0 9px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__main .hero__excerpt {
  font-size: 14px; color: rgba(255, 255, 255, 0.8); line-height: 1.5; max-width: 600px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__main .hero__meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.78); }

.hero__side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 18px; }
.hero__sidecard {
  position: relative; border-radius: 14px; overflow: hidden; min-height: 140px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-sm);
}
.hero__sidecard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.hero__sidecard:hover img { transform: scale(1.07); }
.hero__sidecard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 16, 0.9), rgba(7, 12, 16, 0.05) 80%);
}
.hero__sidecard .sc-content { position: relative; z-index: 2; padding: 15px 16px; color: #fff; }
.hero__sidecard .sc-title {
  font-size: 15.5px; font-weight: 700; line-height: 1.3; margin-top: 8px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ============================================================
   MAIN GRID (content + sidebar)
   ============================================================ */
.layout {
  display: grid; grid-template-columns: 1fr 332px; gap: 36px; align-items: start;
}
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 76px; }
.widget {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.widget__title {
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  margin: 0 0 16px; display: flex; align-items: center; gap: 9px; color: var(--ink);
}
.widget__title svg { width: 18px; height: 18px; color: var(--brand); }

/* Najčitanije */
.ranklist { display: flex; flex-direction: column; }
.rankitem { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--line); align-items: flex-start; }
.rankitem:last-child { border-bottom: none; padding-bottom: 0; }
.rankitem:first-child { padding-top: 0; }
.rankitem__num {
  font-size: 26px; font-weight: 900; line-height: 1; width: 30px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--font-sans);
}
.rankitem:nth-child(1) .rankitem__num { background: linear-gradient(135deg, var(--accent), #ff6b3d); -webkit-background-clip: text; background-clip: text; }
.rankitem__title { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); transition: color 0.2s; }
.rankitem:hover .rankitem__title { color: var(--brand); }
.rankitem__meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* Newsletter */
.newsletter {
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  color: #fff; border: none; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
}
.newsletter .widget__title { color: #fff; }
.newsletter .widget__title svg { color: var(--gold); }
.newsletter p { font-size: 13.5px; color: rgba(255,255,255,0.85); margin: 0 0 14px; line-height: 1.5; }
.newsletter form { display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2; }
.newsletter input {
  width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12); color: #fff; font-size: 14px; font-family: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.65); }
.newsletter input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.18); }
.newsletter button {
  background: var(--gold); color: #3a2a00; font-weight: 800; padding: 12px;
  border-radius: 9px; font-size: 14px; transition: 0.25s var(--ease);
}
.newsletter button:hover { background: #f0b150; transform: translateY(-2px); }

/* Tags */
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a {
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 30px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  transition: 0.22s var(--ease);
}
.tagcloud a::before { content: "#"; color: var(--brand); margin-right: 2px; font-weight: 800; }
.tagcloud a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.tagcloud a:hover::before { color: rgba(255,255,255,0.7); }

/* Weather widget (sidebar) */
.wx {
  background: linear-gradient(150deg, #1b6ea5, #074167); color: #fff; border: none;
  position: relative; overflow: hidden;
}
.wx::after {
  content: ""; position: absolute; bottom: -30px; left: -20px; width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
}
.wx__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.wx__city { font-size: 14px; font-weight: 700; opacity: 0.9; }
.wx__temp { font-size: 44px; font-weight: 800; line-height: 1; }
.wx__ico { color: var(--gold); flex-shrink: 0; }
.wx__ico svg { width: 56px; height: 56px; }
.wx__desc { font-size: 13px; opacity: 0.85; margin-top: 4px; position: relative; z-index: 2; }
.wx__days { display: flex; justify-content: space-between; margin-top: 16px; position: relative; z-index: 2; }
.wx__day { text-align: center; font-size: 12px; opacity: 0.9; }
.wx__day svg { width: 22px; height: 22px; margin: 5px auto; display: block; }
.wx__day b { font-size: 13px; }

/* ============================================================
   CATEGORY STRIP (colored section)
   ============================================================ */
.cat-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.cat-feature__main .card__media { aspect-ratio: 16 / 9; }
.cat-feature__main .card__title { font-size: 21px; -webkit-line-clamp: 3; }
.cat-feature__list { display: flex; flex-direction: column; gap: 16px; }

/* ============================================================
   VIDEO / MAGAZIN STRIP
   ============================================================ */
.media-band {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 36px;
  margin: 12px 0; position: relative; overflow: hidden;
}
[data-theme="dark"] .media-band { background: #05080b; border: 1px solid var(--line); }
.media-band .section-head h2 { color: #fff; }
.media-band .section-head h2::before { background: var(--gold); }
.media-band .section-head .line { background: rgba(255,255,255,0.15); }
.media-band .section-head .more { color: var(--gold); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; cursor: pointer; }
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.video-card:hover img { transform: scale(1.08); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent 60%); }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 2;
  border: 2px solid rgba(255,255,255,0.6); transition: 0.3s var(--ease);
}
.video-card:hover .video-card__play { background: var(--accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.video-card__play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.video-card__title { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; font-size: 15px; font-weight: 700; z-index: 2; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #b7c2cd; margin-top: 60px; }
[data-theme="dark"] .footer { background: #05080b; border-top: 1px solid var(--line); }
.footer__top { padding: 54px 0 38px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__brand .logo__title { color: #fff; font-size: 24px; }
.footer__brand .logo__mark { color: var(--brand-light); }
.footer__about { font-size: 13.5px; line-height: 1.65; margin: 16px 0 18px; color: #93a1ad; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.07); color: #cdd6df; transition: 0.25s var(--ease);
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer__col h4 { font-size: 14px; font-weight: 800; color: #fff; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer__col ul li { margin-bottom: 11px; }
.footer__col ul a { font-size: 13.5px; color: #93a1ad; transition: 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.footer__col ul a::before { content: "›"; color: var(--brand-light); font-weight: 800; }
.footer__col ul a:hover { color: #fff; transform: translateX(3px); }
.footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; margin-bottom: 13px; color: #93a1ad; }
.footer__contact svg { width: 17px; height: 17px; color: var(--brand-light); flex-shrink: 0; margin-top: 2px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7e8c98;
}
.footer__bottom a { color: #aeb9c4; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(8, 13, 18, 0.6);
  backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: 0.3s var(--ease);
  display: flex; align-items: flex-start; justify-content: center; padding: 90px 22px 22px;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box {
  width: 100%; max-width: 680px; background: var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(-24px) scale(0.98);
  transition: 0.35s var(--ease);
}
.search-overlay.open .search-box { transform: translateY(0) scale(1); }
.search-box__input { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.search-box__input svg { width: 22px; height: 22px; color: var(--brand); }
.search-box__input input { flex: 1; border: none; background: none; font-size: 19px; color: var(--ink); font-family: inherit; }
.search-box__input input:focus { outline: none; }
.search-box__input button { color: var(--muted); font-size: 13px; border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; }
.search-results { max-height: 50vh; overflow-y: auto; padding: 10px; }
.search-results__hint { padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.search-result {
  display: flex; gap: 14px; padding: 12px; border-radius: 11px; transition: 0.18s; align-items: center;
}
.search-result:hover { background: var(--surface-2); }
.search-result img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.search-result__title { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.search-result__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.drawer-scrim {
  position: fixed; inset: 0; background: rgba(8, 13, 18, 0.5); z-index: 900;
  opacity: 0; visibility: hidden; transition: 0.3s;
}
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 360px;
  background: var(--bg); z-index: 950; transform: translateX(100%);
  transition: transform 0.4s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 10px 0; }
.drawer__nav > li > a, .drawer__acc-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 22px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line); text-align: left;
}
.drawer__acc-btn svg { width: 18px; height: 18px; transition: transform 0.3s; color: var(--muted); }
.drawer__acc-btn.open svg { transform: rotate(180deg); }
.drawer__sub { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); background: var(--surface-2); }
.drawer__sub a { display: block; padding: 12px 36px; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.drawer__sub a:hover { color: var(--brand); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 500; width: 0; transition: width 0.1s linear; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 22px 0 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: 0.5; }

.article { max-width: 760px; margin: 0 auto; padding: 8px 0 20px; }
.article__head { padding: 22px 0 8px; }
.article__title { font-size: 38px; font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; margin: 14px 0 16px; }
.article__excerpt { font-size: 19px; color: var(--muted); line-height: 1.5; font-family: var(--font-serif); font-style: italic; }
.article__byline { display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 22px 0; flex-wrap: wrap; }
.article__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-light)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; flex-shrink: 0; }
.article__author-name { font-weight: 700; font-size: 14.5px; }
.article__author-meta { font-size: 12.5px; color: var(--muted); }
.article__share { margin-left: auto; display: flex; gap: 8px; }
.share-btn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); transition: 0.25s var(--ease); }
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.fb:hover { background: #1877f2; border-color: #1877f2; }
.share-btn.x:hover { background: #000; border-color: #000; }
.share-btn.wa:hover { background: #25d366; border-color: #25d366; }
.share-btn.cp:hover { background: var(--brand); border-color: var(--brand); }

.article__hero { border-radius: 16px; overflow: hidden; margin: 6px 0 8px; box-shadow: var(--shadow-md); }
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article__caption { font-size: 12.5px; color: var(--muted); padding: 9px 2px; font-style: italic; }

.article__body { font-family: var(--font-serif); font-size: 18.5px; line-height: 1.8; color: var(--ink-2); }
.article__body p { margin: 0 0 24px; }
.article__body p:first-child::first-letter {
  font-size: 62px; font-weight: 700; float: left; line-height: 0.82; padding: 6px 12px 0 0;
  color: var(--brand); font-family: var(--font-sans);
}
.article__body h3 { font-family: var(--font-sans); font-size: 23px; font-weight: 800; margin: 34px 0 14px; color: var(--ink); }
.article__body blockquote {
  border-left: 4px solid var(--brand); padding: 6px 0 6px 22px; margin: 28px 0;
  font-size: 21px; font-style: italic; color: var(--ink); line-height: 1.5;
}

.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--line); }

.related { background: var(--bg-2); padding: 48px 0; margin-top: 40px; }

/* ============================================================
   CATEGORY PAGE HEADER
   ============================================================ */
.cat-hero { padding: 40px 0; background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.cat-hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.cat-hero h1 { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; margin: 8px 0 10px; }
.cat-hero p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 0; }
.subcat-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.subcat-pills a {
  font-size: 13.5px; font-weight: 600; padding: 8px 16px; border-radius: 30px;
  background: var(--surface); border: 1px solid var(--line); transition: 0.22s var(--ease);
}
.subcat-pills a:hover, .subcat-pills a.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: 0.2s; padding: 0 6px;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed; bottom: 26px; right: 26px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center; z-index: 300;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: 0.35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-dark); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }
body.anchor-open .to-top { bottom: 122px; }

/* ============================================================
   OGLASNI SLOTOVI (placeholderi za reklame)
   ============================================================ */
.ad {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; text-align: center;
  background-color: var(--surface-2);
  background-image:
    repeating-linear-gradient(45deg, rgba(120, 130, 140, 0.05) 0 10px, transparent 10px 20px);
  border: 1.5px dashed var(--line-2); border-radius: 12px;
  color: var(--muted); padding: 18px; box-sizing: border-box;
}
.ad__tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); background: var(--bg); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 5px;
}
.ad__icon { color: var(--muted); opacity: 0.5; line-height: 0; }
.ad__icon svg { width: 26px; height: 26px; }
.ad__label { font-weight: 800; font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase; }
.ad__size { font-size: 11px; opacity: 0.65; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.ad-band { display: flex; justify-content: center; padding: 22px 0; }
.ad-band .ad { width: 100%; }
.ad--leaderboard { min-height: 100px; max-width: 970px; }
.ad--billboard { min-height: 240px; max-width: 970px; }
.ad--rect { width: 300px; max-width: 100%; height: 250px; margin: 0 auto; }
.ad--halfpage { width: 300px; max-width: 100%; height: 600px; margin: 0 auto; }

.ad-incontent { margin: 30px auto; }
.ad-incontent .ad--billboard { min-height: 160px; }

/* sidebar oglasi: halfpage samo na desktopu (u redu na manjim ekranima bi bio prevelik) */
@media (max-width: 1080px) { .sidebar .ad--halfpage { display: none; } }

/* sticky anchor (donji prilijepljeni oglas) */
.ad-anchor {
  position: fixed; left: 50%; bottom: 0; z-index: 350; width: min(728px, 96vw);
  transform: translateX(-50%) translateY(115%); transition: transform 0.45s var(--ease);
}
.ad-anchor.show { transform: translateX(-50%) translateY(0); }
.ad-anchor .ad {
  width: 100%; min-height: 90px; border-radius: 12px 12px 0 0; border-bottom: none;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.ad-anchor__close {
  position: absolute; top: -29px; right: 0; width: 30px; height: 29px;
  background: var(--ink); color: #fff; border-radius: 8px 8px 0 0;
  display: grid; place-items: center;
}
.ad-anchor__close svg { width: 16px; height: 16px; }

/* pretplatnici ne vide reklame */
.is-subscribed .ad,
.is-subscribed .ad-band,
.is-subscribed .ad-incontent,
.is-subscribed .ad-anchor { display: none !important; }

/* ============================================================
   MODALI + FORME
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 1100; display: flex;
  align-items: flex-start; justify-content: center; padding: 64px 18px 28px;
  background: rgba(8, 13, 18, 0.62); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: 0.3s var(--ease); overflow-y: auto;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  width: 100%; max-width: 480px; background: var(--surface);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(-22px) scale(0.97); transition: 0.38s var(--ease);
}
.modal.open .modal__box { transform: none; }
.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.modal__head h3 { margin: 0; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.modal__head h3 svg { width: 20px; height: 20px; color: var(--brand); }
.modal__close { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); background: var(--surface-2); transition: 0.2s; }
.modal__close:hover { color: var(--ink); background: var(--line); }
.modal__close svg { width: 17px; height: 17px; }
.modal__body { padding: 22px; }
.modal__body .intro { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; box-sizing: border-box;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 88px; }
.field input[type="file"] { padding: 9px 12px; font-size: 13px; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

.btn-primary {
  width: 100%; padding: 13px; border-radius: 11px; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center;
  gap: 8px; transition: 0.25s var(--ease); margin-top: 4px;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary svg { width: 17px; height: 17px; }
.btn-ghost { padding: 11px 20px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; transition: 0.2s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.muted-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* plan pretplate */
.plan {
  background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff;
  border-radius: 14px; padding: 22px; text-align: center;
}
.plan__price { display: flex; align-items: baseline; justify-content: center; gap: 7px; }
.plan__price .amount { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; }
.plan__price .per { font-size: 15px; opacity: 0.85; }
.plan__benefits { margin: 16px 0 18px; display: grid; gap: 9px; }
.plan__benefits li { font-size: 14px; display: flex; gap: 9px; align-items: center; color: var(--ink-2); }
.plan__benefits li svg { width: 17px; height: 17px; color: var(--brand); flex: 0 0 auto; }

.sub-active { text-align: center; padding: 6px 0 4px; }
.sub-active__icon {
  width: 62px; height: 62px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 14px;
}
.sub-active__icon svg { width: 30px; height: 30px; }
.sub-active h4 { margin: 0 0 8px; font-size: 19px; }
.sub-active p { color: var(--muted); margin: 0 0 18px; font-size: 14px; line-height: 1.5; }

.pill--sub { background: var(--gold) !important; }
.pill svg { width: 14px; height: 14px; vertical-align: -2px; }

/* ============================================================
   PAYWALL (nepretplaćeni vide samo dio članka)
   ============================================================ */
.paywall { position: relative; margin-top: -90px; padding-top: 90px; text-align: center; }
.paywall__fade {
  position: absolute; top: 0; left: 0; right: 0; height: 110px;
  background: linear-gradient(to bottom, transparent, var(--bg) 85%); pointer-events: none;
}
.paywall__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; box-shadow: var(--shadow-md); max-width: 470px; margin: 0 auto;
}
.paywall__lock {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.paywall__lock svg { width: 27px; height: 27px; }
.paywall__card h3 { font-size: 22px; font-weight: 800; margin: 0 0 9px; }
.paywall__card p { color: var(--muted); margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.paywall__card .btn-primary { max-width: 280px; margin: 0 auto; }
.paywall__note { font-size: 13px; margin: 14px 0 0 !important; }
.paywall__note a { color: var(--brand); font-weight: 600; }

/* prijava netačne vijesti — dugme u članku */
.article__actions { margin-top: 26px; }
.report-link {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line); padding: 9px 15px; border-radius: 30px; transition: 0.2s;
}
.report-link svg { width: 15px; height: 15px; }
.report-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 30px; font-size: 14px;
  font-weight: 600; box-shadow: var(--shadow-lg); z-index: 1200; opacity: 0; visibility: hidden;
  transition: 0.35s var(--ease); display: flex; align-items: center; gap: 9px;
}
.toast svg { width: 17px; height: 17px; color: var(--brand-light); }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .sidebar .widget { flex: 1; min-width: 280px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .masthead__aside .search-trigger { display: none; }
  .nav-menu, .nav-extra { display: none; }
  .hamburger { display: grid; place-items: center; height: 52px; padding: 0 14px; color: #fff; margin-left: auto; }
  .hamburger svg { width: 24px; height: 24px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__main { min-height: 360px; }
  .hero__side { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-feature { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .ad-band { padding: 16px 0; }
  .ad--leaderboard { min-height: 80px; }
  .ad--billboard { min-height: 140px; }
  .ad-anchor .ad { min-height: 70px; }
  .topbar__date span.long { display: none; }
  .topbar__left { gap: 12px; }
  .logo__img { height: 33px; }
  .footer .logo__img { height: 36px; }
  .hero__main .hero__title { font-size: 25px; }
  .hero__content { padding: 22px; }
  .hero__side { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid--2, .video-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 19px; }
  .article__title { font-size: 28px; }
  .article__body { font-size: 17px; }
  .article__body p:first-child::first-letter { font-size: 50px; }
  .media-band { padding: 24px 18px; border-radius: 14px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .cat-hero h1 { font-size: 30px; }
  .article__share { margin-left: 0; width: 100%; }
}
