/* =========================================================
   Xəbərlə — ön tərəf üslub sistemi
   Klassik sıx xəbər portalı · tək şablon (masaüstü + mobil)
   ========================================================= */

/* ---------- 1. Nişanlar (tokens) ---------- */
:root {
  --brand:        #d3122a;
  --brand-dark:   #a60d20;
  --ink:          #14181f;
  --ink-2:        #1e2430;
  --text:         #1a1f28;
  --text-soft:    #5b6472;
  --text-faint:   #8a93a3;
  --bg:           #eef0f3;
  --surface:      #ffffff;
  --surface-2:    #f7f8fa;
  --line:         #dfe3e9;
  --line-soft:    #eaedf1;
  --live:         #e8590c;

  --radius:       3px;
  --shadow:       0 1px 2px rgba(20, 24, 31, .06), 0 1px 8px rgba(20, 24, 31, .04);

  --font-head: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gap: 16px;
}

:root[data-theme="dark"] {
  --ink:        #0d1117;
  --ink-2:      #161b22;
  --text:       #d7dde5;
  --text-soft:  #9aa4b2;
  --text-faint: #6e7887;
  --bg:         #0b0e13;
  --surface:    #141920;
  --surface-2:  #1b212a;
  --line:       #262d38;
  --line-soft:  #1f252e;
  --shadow:     0 1px 2px rgba(0, 0, 0, .4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink:        #0d1117;
    --ink-2:      #161b22;
    --text:       #d7dde5;
    --text-soft:  #9aa4b2;
    --text-faint: #6e7887;
    --bg:         #0b0e13;
    --surface:    #141920;
    --surface-2:  #1b212a;
    --line:       #262d38;
    --line-soft:  #1f252e;
    --shadow:     0 1px 2px rgba(0, 0, 0, .4);
  }
}

/* ---------- 2. Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
  letter-spacing: -.005em;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Üst zolaq ---------- */
.topbar {
  background: var(--ink);
  color: #a8b2c1;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 34px; }
.topbar__date { color: #8f99a8; }
.topbar__spacer { flex: 1; }
.topbar a { color: #a8b2c1; }
.topbar a:hover { color: #fff; }

.theme-toggle {
  background: none; border: 1px solid rgba(255, 255, 255, .16);
  color: inherit; border-radius: var(--radius); cursor: pointer;
  padding: 2px 9px; font: inherit; line-height: 1.6;
}
.theme-toggle:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }

/* ---------- 4. Başlıq ---------- */
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead__inner {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}

.logo {
  font-family: var(--font-head);
  font-size: 34px; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); white-space: nowrap;
}
.logo span { color: var(--brand); }
.logo img { max-height: 46px; width: auto; }

.masthead__ad { margin-left: auto; }
.masthead__ad img { max-height: 90px; }

.searchbox { display: flex; margin-left: auto; }
.searchbox input {
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--surface-2); color: var(--text);
  padding: 7px 12px; font: inherit; width: 190px;
}
.searchbox input:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.searchbox button {
  border: 0; background: var(--brand); color: #fff; cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0; padding: 0 14px; font: inherit;
}
.searchbox button:hover { background: var(--brand-dark); }

/* ---------- 5. Naviqasiya ---------- */
.nav { background: var(--ink); position: sticky; top: 0; z-index: 40; }
.nav__inner { display: flex; align-items: center; }
.nav__list {
  display: flex; list-style: none; margin: 0; padding: 0;
  overflow-x: auto; scrollbar-width: none;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__list a {
  display: block; color: #dbe1e9; white-space: nowrap;
  font-family: var(--font-head); font-size: 16px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .02em;
  padding: 11px 13px; border-bottom: 3px solid transparent;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__list a.is-active { color: #fff; border-bottom-color: var(--brand); }

.nav__burger {
  display: none; background: none; border: 0; color: #dbe1e9;
  padding: 10px 12px; cursor: pointer; font-size: 20px; line-height: 1;
}

/* ---------- 6. Son dəqiqə lenti ---------- */
.ticker {
  display: flex; align-items: stretch;
  background: var(--surface); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ticker__label {
  background: var(--brand); color: #fff; flex: none;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 13px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
}
.ticker__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ticker__dot { animation: none; } }

.ticker__track { overflow: hidden; flex: 1; }
.ticker__items {
  display: flex; gap: 40px; padding: 9px 16px;
  white-space: nowrap; font-size: 14px;
  animation: slide 40s linear infinite;
}
.ticker:hover .ticker__items { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__items time { color: var(--brand); font-weight: 600; margin-right: 6px; }

/* ---------- 7. Şəbəkə ---------- */
.layout { padding-block: 20px; }

.grid-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--gap);
  align-items: start;
}

.grid-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--gap);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }

.stack { display: grid; gap: var(--gap); }

/* ---------- 8. Panel / blok başlığı ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel__body { padding: 12px 14px; }

.block-head {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 12px; padding-bottom: 0;
}
.block-head h2, .block-head h3 {
  font-size: 19px; text-transform: uppercase; letter-spacing: .01em;
  background: var(--ink); color: #fff;
  padding: 6px 14px 5px;
}
.block-head--brand { border-bottom-color: var(--brand); }
.block-head--brand h2, .block-head--brand h3 { background: var(--brand); }
.block-head__more {
  margin-left: auto; font-size: 13px; color: var(--text-soft);
  padding-bottom: 5px;
}
.block-head__more:hover { color: var(--brand); }

/* ---------- 9. Xəbər kartları ---------- */
.thumb {
  position: relative; display: block; overflow: hidden;
  background: var(--surface-2); border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
a.card:hover .thumb img, .thumb:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .thumb img { transition: none; } }

.badge {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 3px 8px; border-radius: 2px;
}
.badge--type {
  left: auto; right: 8px; background: rgba(0, 0, 0, .72);
  display: inline-flex; align-items: center; gap: 5px;
}

.card { display: block; }
.card__title {
  font-family: var(--font-head); font-weight: 700;
  margin: 8px 0 0; font-size: 17px; line-height: 1.24;
}
.card:hover .card__title { color: var(--brand); }
.card__meta {
  display: flex; gap: 10px; align-items: center;
  margin-top: 5px; font-size: 12px; color: var(--text-faint);
}
.card__cat { color: var(--brand); font-weight: 600; text-transform: uppercase; }

/* İri kart (kateqoriya bloklarının başında və s.) */
.card--hero .thumb { aspect-ratio: 16 / 9.6; }
.card--hero .card__title { font-size: 30px; margin-top: 10px; }
.card--hero .card__lead {
  margin: 7px 0 0; color: var(--text-soft); font-size: 15px;
}

/* Kiçik siyahı sətri */
.list-row {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.list-row:last-child { border-bottom: 0; }
.list-row .thumb { flex: none; width: 96px; aspect-ratio: 4 / 3; }
.list-row__title { font-family: var(--font-head); font-size: 15.5px; font-weight: 600; line-height: 1.28; }
.list-row:hover .list-row__title { color: var(--brand); }
.list-row__time { display: block; margin-top: 4px; font-size: 12px; color: var(--text-faint); }

/* Sadə mətn siyahısı (nöqtəli) */
.dot-list { list-style: none; margin: 0; padding: 0; }
.dot-list li { border-bottom: 1px solid var(--line-soft); }
.dot-list li:last-child { border-bottom: 0; }
.dot-list a {
  display: block; padding: 9px 0 9px 15px; position: relative;
  font-size: 14.5px; line-height: 1.4;
}
.dot-list a::before {
  content: ""; position: absolute; left: 2px; top: 16px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

/* Sıralı siyahı (ən çox oxunan) */
.rank-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.rank-list li {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft); counter-increment: rank;
}
.rank-list li:last-child { border-bottom: 0; }
.rank-list li::before {
  content: counter(rank);
  font-family: var(--font-head); font-size: 22px; font-weight: 700;
  color: var(--brand); line-height: 1; flex: none; width: 22px; text-align: center;
}
.rank-list__title { font-size: 14.5px; font-weight: 600; line-height: 1.35; }

/* ---------- 10. Yan sütun ---------- */
.sidebar { display: grid; gap: var(--gap); }
.sidebar .panel__body { padding: 12px 14px; }

.side-feed { max-height: 640px; overflow-y: auto; }
.side-feed__row {
  display: flex; gap: 10px; padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.side-feed__row:last-child { border-bottom: 0; }
.side-feed__time {
  flex: none; font-family: var(--font-head); font-weight: 700;
  color: var(--brand); font-size: 13px; padding-top: 1px; width: 40px;
}
.side-feed__title { font-size: 14px; line-height: 1.38; }
.side-feed__row:hover .side-feed__title { color: var(--brand); }

/* ---------- 11. Reklam ---------- */
.ad { display: block; text-align: center; }
.ad img { margin-inline: auto; }
.ad--header { margin-block: 14px; }
.ad--label {
  font-size: 10px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-faint); margin-bottom: 4px;
}

/* ---------- 12. Baş slayder ---------- */
.hero {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__viewport { position: relative; overflow: hidden; }

.hero__track { display: flex; transition: transform .45s ease; }
@media (prefers-reduced-motion: reduce) { .hero__track { transition: none; } }

.hero__slide { flex: 0 0 100%; display: block; min-width: 0; }

.hero__media { position: relative; display: block; background: var(--surface-2); }
.hero__media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
}

/* Başlıq şəklin ALTINDA — üstündə deyil, ona görə tam oxunaqlıdır */
.hero__caption { display: block; padding: 14px 20px 16px; }

.hero__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--text-faint); margin-bottom: 5px;
}
.hero__cat {
  color: var(--brand); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}

.hero__title {
  display: block;
  font-family: var(--font-head); font-weight: 700;
  font-size: 30px; line-height: 1.2; color: var(--text);
  /* İki sətirdə kəs ki, slaydlar arasında hündürlük tullanmasın */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.4em;
}
.hero__slide:hover .hero__title { color: var(--brand); }

.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, .45); color: #fff; border: 0; cursor: pointer;
  width: 44px; height: 64px; font-size: 26px; line-height: 1; z-index: 2;
}
.hero__nav:hover { background: var(--brand); }
.hero__nav--prev { left: 0; border-radius: 0 3px 3px 0; }
.hero__nav--next { right: 0; border-radius: 3px 0 0 3px; }

/* Rəqəmli naviqasiya — slayderin altında */
.hero__nums {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 20px 16px;
}
.hero__nums button {
  min-width: 34px; height: 34px; padding: 0 8px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text-soft);
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-head); font-size: 15px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.hero__nums button:hover { border-color: var(--brand); color: var(--brand); }
.hero__nums button[aria-current="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
@media (prefers-reduced-motion: reduce) { .hero__nums button { transition: none; } }

/* ---------- 13. Sorğu ---------- */
.poll__question { font-family: var(--font-head); font-size: 17px; margin-bottom: 10px; }
.poll__option { display: block; margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.poll__option input { margin-right: 7px; }
.poll__bar {
  position: relative; background: var(--surface-2); border-radius: 2px;
  height: 26px; margin-bottom: 7px; overflow: hidden;
}
.poll__bar span {
  position: absolute; inset: 0 auto 0 0; background: rgba(211, 18, 42, .18);
  border-left: 3px solid var(--brand);
}
.poll__bar b, .poll__bar i {
  position: relative; z-index: 1; font-size: 13px; line-height: 26px; font-style: normal;
}
.poll__bar b { padding-left: 9px; font-weight: 600; }
.poll__bar i { float: right; padding-right: 9px; color: var(--text-soft); }
.poll__total { font-size: 12px; color: var(--text-faint); margin-top: 8px; }

/* ---------- 14. Xəbər səhifəsi ---------- */
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.article__inner { padding: 22px 26px 26px; }

.breadcrumb {
  font-size: 12.5px; color: var(--text-faint);
  margin-bottom: 12px; display: flex; gap: 7px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--brand); }

.article h1 { font-size: 34px; line-height: 1.16; }

.article__meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin: 14px 0; padding: 9px 0; font-size: 13px; color: var(--text-soft);
  border-block: 1px solid var(--line-soft);
}
.article__meta .cat { color: var(--brand); font-weight: 700; text-transform: uppercase; }

.article__lead {
  font-size: 17.5px; line-height: 1.55; font-weight: 600;
  color: var(--text); margin: 0 0 16px;
}

.article__figure { margin: 0 0 18px; }
.article__figure img { width: 100%; border-radius: var(--radius); }
.article__figure figcaption {
  font-size: 12.5px; color: var(--text-faint); padding-top: 6px;
}

.article__body { font-size: 16.5px; line-height: 1.72; }
.article__body p { margin: 0 0 16px; }
.article__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article__body img { border-radius: var(--radius); margin: 6px 0 16px; }
.article__body h2 { font-size: 23px; margin: 26px 0 12px; }
.article__body h3 { font-size: 20px; margin: 22px 0 10px; }
.article__body ul, .article__body ol { margin: 0 0 16px; padding-left: 22px; }
.article__body li { margin-bottom: 6px; }
.article__body blockquote {
  margin: 0 0 18px; padding: 10px 0 10px 18px;
  border-left: 4px solid var(--brand); color: var(--text-soft); font-size: 17px;
}
.article__body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.article__body table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.article__body td, .article__body th { border: 1px solid var(--line); padding: 7px 10px; }

.video-embed { aspect-ratio: 16 / 9; margin-bottom: 18px; }
.video-embed iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag-chip {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 2px; padding: 4px 10px; font-size: 13px; color: var(--text-soft);
}
.tag-chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.share-row { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: var(--radius); font-size: 13px;
  color: #fff; background: var(--ink-2);
}
.share-btn:hover { opacity: .88; color: #fff; }
.share-btn--fb { background: #1877f2; }
.share-btn--x  { background: #000; }
.share-btn--tg { background: #229ed9; }
.share-btn--wa { background: #25d366; }

.prev-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 18px; }
.prev-next__item { padding: 12px 14px; }
.prev-next__label { font-size: 12px; color: var(--text-faint); text-transform: uppercase; }
.prev-next__title { font-family: var(--font-head); font-weight: 600; font-size: 15px; margin-top: 3px; }

/* Qalereya */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; cursor: pointer; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 34px; cursor: pointer; padding: 12px;
}
.lightbox__close { top: 6px; right: 10px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- 15. Səhifələmə ---------- */
.pagination { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 22px; list-style: none; padding: 0; }
.pagination a, .pagination span {
  display: block; min-width: 36px; text-align: center;
  padding: 7px 11px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--radius); font-size: 14px;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination .is-current span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-disabled span { color: var(--text-faint); }

/* ---------- 16. Alt hissə ---------- */
.footer { background: var(--ink); color: #98a2b1; margin-top: 30px; padding-block: 30px 20px; font-size: 14px; }
.footer a { color: #b7c0cd; }
.footer a:hover { color: #fff; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.footer h4 {
  color: #fff; font-size: 15px; text-transform: uppercase;
  letter-spacing: .04em; margin-bottom: 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer__about { line-height: 1.6; color: #8d97a5; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 24px; padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: #7b8593;
}
.footer__bottom .spacer { flex: 1; }

/* ---------- 17. Boş / xəta halları ---------- */
.notice { padding: 40px 20px; text-align: center; color: var(--text-soft); }
.notice h1 { font-size: 66px; color: var(--brand); }
.notice p { margin: 10px 0 18px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff;
  padding: 9px 20px; border-radius: var(--radius); font-weight: 600;
}
.btn:hover { background: var(--brand-dark); color: #fff; }

/* ---------- 18. Uyğunlaşan (responsive) ---------- */
@media (max-width: 1024px) {
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .grid-top, .grid-2, .grid-3, .grid-4, .sidebar, .prev-next { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .masthead__inner { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .logo { font-size: 27px; }
  .masthead__ad { display: none; }
  .searchbox { width: 100%; margin-left: 0; }
  .searchbox input { flex: 1; width: auto; }

  .nav__burger { display: block; }
  .nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--ink-2);
    max-height: 72vh; overflow-y: auto; border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__list.is-open { display: flex; }
  .nav__list a { border-bottom: 1px solid rgba(255, 255, 255, .06); padding: 12px 16px; }
  .nav__list a.is-active { border-bottom-color: rgba(255, 255, 255, .06); color: var(--brand); }

  .article__inner { padding: 16px; }
  .article h1 { font-size: 25px; }
  .article__body { font-size: 16px; }
  .topbar__inner { gap: 10px; }

  .hero__caption { padding: 11px 14px 12px; }
  .hero__title { font-size: 20px; }
  .hero__nums { padding: 0 14px 13px; gap: 5px; }
  .hero__nums button { min-width: 30px; height: 30px; font-size: 14px; }
  .hero__nav { width: 36px; height: 52px; font-size: 22px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-row .thumb { width: 78px; }
}

/* ---------- 19. Çap ---------- */
@media print {
  .topbar, .nav, .ticker, .sidebar, .footer, .ad, .share-row, .prev-next { display: none !important; }
  body { background: #fff; }
  .article { border: 0; }
}

/* ---------- 20. Sonsuz sürüşdürmə lenti ---------- */
#scroll-feed { display: grid; gap: var(--gap); }

.scroll-item__sep {
  display: flex; align-items: center; gap: 12px;
  margin: 4px 0 2px; color: var(--text-faint);
  font-family: var(--font-head); font-size: 12.5px;
  text-transform: uppercase; letter-spacing: .08em;
}
.scroll-item__sep::before,
.scroll-item__sep::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}

.scroll-item__cat {
  display: inline-block; color: var(--brand);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
}

.scroll-item__title { font-size: 28px; line-height: 1.18; }
.scroll-item__title a:hover { color: var(--brand); }

/* Yüklənmə göstəricisi */
#scroll-sentinel { height: 1px; }
#scroll-sentinel.is-loading {
  height: 34px; position: relative;
}
#scroll-sentinel.is-loading::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 22px; height: 22px; margin-left: -11px;
  border: 2px solid var(--line); border-top-color: var(--brand);
  border-radius: 50%; animation: scroll-spin .7s linear infinite;
}
@keyframes scroll-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #scroll-sentinel.is-loading::after { animation: none; }
}

.scroll-more { text-align: center; padding: 6px 0 2px; }
.scroll-more .btn {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 30px; font-family: var(--font-head); font-size: 16px; font-weight: 700;
  cursor: pointer;
}
.scroll-more .btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.scroll-end {
  text-align: center; color: var(--text-soft); font-size: 14px;
  padding: 18px 12px; margin: 0;
}
.scroll-end a { color: var(--brand); font-weight: 600; }

@media (max-width: 760px) {
  .scroll-item__title { font-size: 21px; }
}

/* ---------- 21. Başlıqda vurğulanan söz ---------- */
.t-hl {
  color: var(--brand);
  /* Ətrafdakı mətndən bir pillə qalın — 900/800 şriftə ayrıca yüklənib,
     ona görə brauzer süni qalınlıq çəkmir */
  font-weight: 900;
}
a:hover .t-hl { color: inherit; }

/* Tünd fonlarda qırmızı oxunmur — açıq çalar */
.hero__caption .t-hl { color: #ff6b7a; }

/* ---------- `hidden` atributu HƏMİŞƏ gizlətsin ----------
   Brauzerin öz üslubundakı `[hidden]{display:none}` zəifdir: elementə
   `display:flex/grid` versək, JS `el.hidden = true` etsə belə görünməyə davam edir.
   Bir dəfə burada bağlayırıq ki, hər blok üçün ayrıca qayda yazmayaq. */
[hidden] { display: none !important; }

/* ---------- 22. Mətn içindəki şəkillər (CKEditor çıxışı) ---------- */
.article__body figure.image {
  margin: 6px 0 18px;
  max-width: 100%;
}
.article__body figure.image img {
  width: 100%; height: auto; border-radius: var(--radius); display: block;
}
.article__body figure.image figcaption {
  font-size: 12.5px; color: var(--text-faint);
  padding-top: 6px; text-align: center;
}

/* CKEditor-un hizalama üslubları */
.article__body .image-style-side,
.article__body figure.image-style-side {
  float: right; max-width: 45%; margin: 6px 0 14px 18px;
}
.article__body figure.image-style-align-left { float: left; max-width: 45%; margin: 6px 18px 14px 0; }
.article__body figure.image-style-align-right { float: right; max-width: 45%; margin: 6px 0 14px 18px; }
.article__body figure.image-style-align-center { margin-inline: auto; }
.article__body .image-inline, .article__body span.image-inline img { display: inline-block; }
.article__body .image_resized { max-width: 100%; }
.article__body .image_resized img { width: 100%; }

/* Mətn şəkli “dolanmasın” deyə blokun sonunu təmizlə */
.article__body::after { content: ""; display: block; clear: both; }

@media (max-width: 600px) {
  /* Telefonda yan-hizalanmış şəkil oxunuşu pozur — tam enə çevir */
  .article__body figure.image-style-side,
  .article__body figure.image-style-align-left,
  .article__body figure.image-style-align-right {
    float: none; max-width: 100%; margin: 6px 0 16px;
  }
}

/* ---------- 23. Mətn içindəki embed / iframe ---------- */
.article__body figure.media,
.article__body .raw-html-embed {
  margin: 0 0 18px;
}

/* Nisbəti qorunan, uyğunlaşan video çərçivəsi */
.article__body figure.media iframe,
.article__body .raw-html-embed iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  border: 0; border-radius: var(--radius); display: block;
}

/* Sosial şəbəkə embed-ləri (Instagram, X, Facebook) öz hündürlüyünü özü seçir */
.article__body .raw-html-embed blockquote,
.article__body .raw-html-embed .instagram-media,
.article__body .raw-html-embed .twitter-tweet {
  margin-inline: auto !important;
}
.article__body .raw-html-embed iframe[src*="facebook"],
.article__body .raw-html-embed iframe[src*="instagram"],
.article__body .raw-html-embed iframe[src*="spotify"],
.article__body .raw-html-embed iframe[src*="soundcloud"] {
  aspect-ratio: auto;
}

/* Dar ekranda embed blokları daşmasın */
.article__body .raw-html-embed > * { max-width: 100%; }

/* ---------- 24. Loqo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo__mark { height: 44px; width: auto; display: block; color: var(--text); }
.logo:hover .logo__mark { opacity: .88; }

@media (max-width: 760px) {
  .logo__mark { height: 36px; }
}

/* Əlavə kateqoriyalar — əsasdan bir az sönük */
.article__meta .cat--extra { color: var(--text-soft); font-weight: 600; }
.article__meta .cat--extra:hover { color: var(--brand); }

/* ---------- 25. Hazırlıq rejimi zolağı (yalnız admin görür) ---------- */
.preview-bar {
  background: #b45309; color: #fff; text-align: center;
  font-size: 13px; padding: 7px 14px;
}
.preview-bar a { color: #fff; text-decoration: underline; margin-left: 8px; }
