/* ==========================================================================
   Gundelik.az — public site styles
   Design tokens follow the original Claude Design system (light + dark).
   ========================================================================== */

:root {
  --brand-500: #56A9DF; --brand-600: #2F8FD0; --brand-700: #1B6FAE; --brand-900: #0C2D4A;
  --pink: #E5509C; --violet: #6159A8; --cyan: #12B3E8; --teal: #2FA7B5; --indigo: #4C4BA6; --gold: #B08442; --green: #2E9E7B;
  --ink: #18212F; --muted: #5B6778; --line: #E8ECF3; --paper: #F5F7FA; --surface: #FFFFFF; --surface-2: #F0F3F8;
  --danger: #E5484D; --topbar: #0C2D4A;
  --teal-ink: #14616C; --gold-ink: #8A5A13; --green-ink: #1E6E55; --danger-ink: #C4292E; --violet-ink: #57509B; --indigo-ink: #4C4BA6; --cyan-ink: #0A6C8F; --pink-ink: #B02A6D;
  --grad: linear-gradient(135deg, #E5509C 0%, #6159A8 35%, #12B3E8 68%, #2FA7B5 100%);
  --shadow-sm: 0 1px 3px rgba(24,33,47,.04), 0 4px 14px -8px rgba(24,33,47,.08);
  --shadow-md: 0 2px 6px rgba(24,33,47,.04), 0 14px 32px -16px rgba(24,33,47,.14);
  --shadow-lg: 0 26px 60px -24px rgba(24,33,47,.22);
  --r-card: 18px; --r-img: 14px;
  --font-display: 'Instrument Sans', 'Noto Sans', system-ui, sans-serif;
  --font-ui: 'Instrument Sans', 'Noto Sans', system-ui, sans-serif;
  --font-serif: 'Literata', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 2.4vw, 44px);

  /* Başlıq rəngləri — xəbərin əhəmiyyət dərəcəsinə görə */
  --title-0: #34465E;   /* adi xəbər */
  --title-1: #000000;   /* vacib xəbər — qara */
  --title-2: #D3121C;   /* çox vacib xəbər — qırmızı */

  --dark-band: #16243A; --dark-card: #1E2E48; --dark-line: #2A3A56; --dark-muted: #8FA5BE;
  --journal-band: #F6F2EA; --journal-line: #E3D8C6; --journal-ink: #2A2118; --journal-muted: #6B5A44; --journal-gold: #8A6B36;
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #E6ECF5; --muted: #A2B0C4; --line: #232F44; --paper: #0B1220; --surface: #131E30; --surface-2: #1A2537;
  --brand-700: #7CC2F0; --topbar: #060D17;
  --teal-ink: #6FD8E4; --gold-ink: #E3B96A; --green-ink: #63D3AC; --danger-ink: #FF8B8E; --violet-ink: #ADA6EB; --indigo-ink: #9B9AE0; --cyan-ink: #6FD5F5; --pink-ink: #F58FBF;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.45); --shadow-md: 0 8px 26px rgba(0,0,0,.5); --shadow-lg: 0 28px 70px rgba(0,0,0,.65);
  --title-0: #C9D4E4; --title-1: #FFFFFF; --title-2: #FF5C61;
  --dark-band: #0F1A2B; --dark-card: #16233A;
  --journal-band: #17140F; --journal-line: #2E281F; --journal-ink: #F1E9DB; --journal-muted: #C2B39C; --journal-gold: #D9B77A;
  color-scheme: dark;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; line-height: 1.5; }
h1, h2, h3, h4 { font-family: var(--font-display); font-optical-sizing: auto; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(86,169,223,.28); }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 5px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; border: 3px solid var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

@keyframes gzMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gzPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.7); } }
@keyframes gzSpin { to { transform: rotate(360deg); } }
@keyframes gzFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gzDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.page { min-height: 100vh; background: var(--paper); }
.main { padding: 26px var(--gutter) 0; }

/* importance-coloured headlines */
.imp-0 { color: var(--title-0); }
.imp-1 { color: var(--title-1); font-weight: 800 !important; }
.imp-2 { color: var(--title-2); font-weight: 800 !important; }
a.imp-0:hover, .imp-0 a:hover { color: var(--brand-700); }
a.imp-1:hover, .imp-1 a:hover { color: var(--brand-700); }
a.imp-2:hover, .imp-2 a:hover { color: #A50D14; }
.imp-1 a, .imp-2 a, .imp-0 a { color: inherit; }

/* ------------------------------------------------------------------ buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-primary { background: var(--brand-700); border-color: transparent; color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 36px; padding: 0 13px; border-radius: 10px; font-size: 12.5px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 700; transition: border-color .18s, transform .18s; white-space: nowrap; }
.chip:hover { border-color: var(--brand-500); color: var(--ink); transform: translateY(-2px); }
.chip.is-active { border-color: var(--brand-700); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.pill-live { background: rgba(229,72,77,.1); color: var(--danger-ink); }
.pill-live .dot, .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); animation: gzPulse 1.4s ease-in-out infinite; }
.pill-sponsor { background: #8A5A13; color: #fff; padding: 3px 9px; font-size: 10px; }
.pill-outline { border: 1px solid var(--line); color: var(--muted); }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ------------------------------------------------------------------ section heads */
.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(24px, 2.7vw, 37px); font-weight: 700; letter-spacing: -.038em; line-height: 1.1; }
.sec-head h2 a { color: inherit; }
.sec-head .rule { flex: 1; height: 1px; background: var(--line); min-width: 20px; }
.sec-head .more { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.sec-head .bullet { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.sec-head.sm h2 { font-size: clamp(22px, 2.3vw, 31px); letter-spacing: -.036em; }
.section { margin-top: 56px; }

/* ------------------------------------------------------------------ media frames */
.frame { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-img); aspect-ratio: 16 / 9; }
.frame > img, .frame > picture, .frame > picture > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame.r-card { border-radius: var(--r-card); }
.frame.ar-3-2 { aspect-ratio: 3 / 2; }
.frame.ar-4-3 { aspect-ratio: 4 / 3; }
.frame.ar-16-10 { aspect-ratio: 16 / 10; }
.frame.ar-1 { aspect-ratio: 1; }
.zoom img { transition: transform .6s cubic-bezier(.2,.7,.3,1); }
a:hover .zoom img, .zoom:hover img { transform: scale(1.05); }
.frame .play { position: absolute; inset: 0; display: grid; place-items: center; }
.frame .play span { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(18,179,232,.45); }
.frame .duration { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(6,13,23,.85); color: #fff; font: 600 11px var(--font-mono); }
.ph-img { width: 100%; height: 100%; background: linear-gradient(135deg, var(--surface-2), var(--line)); display: grid; place-items: center; color: var(--muted); }

.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--surface-2); display: grid; place-items: center; font-weight: 700; color: var(--brand-700); overflow: hidden; }
.avatar-ring { position: relative; display: grid; place-items: center; flex-shrink: 0; }
.avatar-ring svg { position: absolute; inset: 0; }

/* ==================================================================== HEADER */
.site-header { position: sticky; top: 0; z-index: 80; font-family: var(--font-ui); }
.topbar { background: var(--topbar); color: #A8C2DC; font-size: 12px; font-weight: 500; position: relative; height: 38px; overflow: hidden; transition: height .28s cubic-bezier(.2,.8,.3,1); }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--grad); opacity: .6; }
.topbar-in { height: 38px; display: flex; align-items: center; gap: 16px; overflow: hidden; }
.topbar .clock { font: 600 12.5px var(--font-mono); color: #fff; letter-spacing: .03em; }
.topbar .sep { width: 1px; height: 13px; background: #22456B; flex-shrink: 0; }
.topbar .weather { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .weather b { color: #fff; }
.topbar .rates { display: flex; align-items: center; gap: 6px; }
.topbar .rate { display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.07); white-space: nowrap; }
.topbar .rate .c { font-size: 10px; font-weight: 700; letter-spacing: .07em; color: #8FA8C2; }
.topbar .rate .v { font: 600 11.5px var(--font-mono); color: #fff; }
.topbar .rate .a { font-size: 8px; }
.topbar .right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.topbar .socials { display: flex; align-items: center; gap: 11px; }
.topbar .socials a { color: #8FA8C2; display: flex; transition: color .18s, transform .18s; }
.topbar .socials a:hover { color: #fff; transform: translateY(-1px); }
.topbar a.tlink { color: #A8C2DC; font-weight: 600; white-space: nowrap; }
.topbar a.tlink:hover { color: #fff; }
.langs { display: flex; align-items: center; gap: 1px; padding: 2px; border-radius: 99px; background: rgba(255,255,255,.07); }
.langs span, .langs a { padding: 3px 9px; border-radius: 99px; color: #8FA8C2; font-weight: 600; font-size: 11px; }
.langs .on { background: #1B6FAE; color: #fff; font-weight: 700; }

.navbar { position: relative; z-index: 70; background: var(--surface); border-bottom: 1px solid var(--line); transition: box-shadow .28s, background .28s, border-color .28s; }
.navbar-in { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 24px); height: 76px; transition: height .28s cubic-bezier(.2,.8,.3,1); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; transition: height .28s cubic-bezier(.2,.8,.3,1); }
.is-scrolled .topbar, .is-scrolled .ticker { height: 0; }
.is-scrolled .navbar { background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: transparent; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(24,33,47,.35); }
.is-scrolled .navbar-in { height: 60px; }
.is-scrolled .logo img { height: 30px; }
.site-header.compact .topbar, .site-header.compact .ticker { display: none; }
.site-header.compact .navbar-in { height: 60px; }
.site-header.compact .logo img { height: 30px; }

/* main navigation with simple dropdowns under each item */
.nav { display: flex; align-items: center; margin-left: auto; font-size: 14.5px; font-weight: 600; letter-spacing: -.016em; }
.nav-item { position: relative; }
.nav-link { position: relative; display: flex; align-items: center; gap: 5px; padding: 10px 12px; color: var(--ink); white-space: nowrap; border-radius: 99px; transition: color .2s, background .2s; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item.is-open > .nav-link { color: var(--brand-700); background: var(--surface-2); }
.nav-link.is-active { color: var(--brand-700); }
.nav-link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 2.5px; margin-left: -9px; border-radius: 3px; background: var(--grad); }
.nav-link .caret { opacity: .55; transition: transform .2s; }
.nav-item:hover .caret, .nav-item.is-open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 0; padding-top: 12px; min-width: 230px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .28s; z-index: 90; }
.nav-item:hover > .dropdown, .nav-item:focus-within > .dropdown, .nav-item.is-open > .dropdown { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-item.is-closed > .dropdown { visibility: hidden !important; opacity: 0 !important; }
.dropdown.align-right { left: auto; right: 0; }
.dropdown-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; }
.dropdown-cols { display: grid; grid-template-columns: 1fr; gap: 0 6px; }
.dropdown-cols.two { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
.dropdown a.dd-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s; }
.dropdown a.dd-link:hover { background: var(--surface-2); color: var(--brand-700); }
.dropdown a.dd-link .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dropdown .dd-all { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 11px 12px 6px; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--brand-700); }
.dd-journals { width: min(620px, 90vw); }
.dd-journals .dropdown-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.dd-journal { display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); align-items: center; transition: background .15s; }
.dd-journal:hover { background: var(--surface-2); color: var(--ink); }
.dd-journal .mini-cover { width: 34px; height: 46px; border-radius: 2px 5px 5px 2px; flex-shrink: 0; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.dd-journal .mini-cover::before, .cover-spine::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: linear-gradient(90deg, rgba(0,0,0,.3), rgba(255,255,255,.13) 62%, rgba(0,0,0,.04)); }
.dd-journal .t { font-family: var(--font-serif); font-size: 14px; font-weight: 700; line-height: 1.25; }
.dd-journal .s { font: 500 11px var(--font-mono); color: var(--muted); margin-top: 4px; }

.header-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.nav + .header-tools { margin-left: 8px; }
.search-btn { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 5px 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 600 13.5px var(--font-ui); transition: border-color .2s, color .2s; }
.search-btn:hover { border-color: var(--brand-500); color: var(--ink); }
.search-btn kbd { padding: 4px 8px; border-radius: 99px; background: var(--surface-2); font: 600 11px var(--font-mono); color: var(--muted); }
.theme-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.theme-switch button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 99px; background: transparent; color: var(--muted); transition: background .2s, color .2s; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm); }
.burger, .search-icon { display: none; }

.ticker { background: var(--surface); border-bottom: 1px solid var(--line); height: 45px; overflow: hidden; transition: height .28s cubic-bezier(.2,.8,.3,1); }
.ticker-in { display: flex; align-items: center; gap: 18px; height: 45px; overflow: hidden; }
.ticker .label { display: flex; align-items: center; gap: 9px; flex-shrink: 0; font-size: 11px; font-weight: 700; letter-spacing: .11em; color: var(--danger-ink); white-space: nowrap; }
.ticker .spin { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
.ticker .spin svg { position: absolute; animation: gzSpin 2.8s linear infinite; }
.ticker .spin i { width: 6px; height: 6px; border-radius: 50%; background: var(--danger-ink); animation: gzPulse 1.4s ease-in-out infinite; }
.ticker .track-wrap { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 48px), transparent); }
.ticker .track { display: flex; width: max-content; animation: gzMarquee 60s linear infinite; }
.ticker .track:hover { animation-play-state: paused; }
.ticker .item { display: flex; align-items: center; gap: 11px; padding-right: 32px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ticker .item time { font: 600 11.5px var(--font-mono); color: var(--muted); }
.ticker .item::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* search overlay */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(11,18,32,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: gzFadeUp .22s ease-out; display: none; }
.overlay.is-open { display: block; }
.search-dialog { max-width: 780px; margin: 8vh auto 0; padding: 0 20px; }
.search-box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box form { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 19px; font-weight: 600; color: var(--ink); }
.search-box .esc { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 8px; padding: 5px 10px; font: 600 11px var(--font-mono); }
.search-box .body { padding: 18px 22px 24px; }
.search-box .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-box .tags a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink); }
.search-box .tags a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.search-recent a { display: flex; gap: 13px; align-items: center; padding: 9px; border-radius: 12px; color: var(--ink); }
.search-recent a:hover { background: var(--paper); }
.search-recent img { width: 60px; height: 42px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 210; background: var(--surface); overflow: auto; display: none; animation: gzFadeUp .22s ease-out; }
.drawer.is-open { display: block; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.drawer-head img { height: 30px; width: auto; }
.drawer nav { padding: 16px 20px 44px; }
.drawer .m-search { width: 100%; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.m-item { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; }
.m-row > a { flex: 1; display: block; padding: 15px 2px; font-size: 17px; font-weight: 600; color: var(--ink); min-height: 48px; }
.m-row > button { width: 48px; height: 48px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.m-row > button svg { transition: transform .2s; }
.m-item.is-open .m-row > button svg { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 0 12px 4px; }
.m-item.is-open .m-sub { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 10px; }
.m-sub a { display: flex; align-items: center; gap: 9px; padding: 9px 4px; font-size: 15px; font-weight: 600; color: var(--muted); }
.m-sub a .dot { width: 7px; height: 7px; border-radius: 50%; }
.drawer .m-journals { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 14px; }
.drawer .m-socials { display: flex; gap: 11px; margin-top: 28px; flex-wrap: wrap; }
.drawer .m-socials a { width: 46px; height: 46px; border-radius: 99px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand-700); }

@media (max-width: 1239px) { .topbar .hide-md { display: none !important; } }
@media (max-width: 1180px) {
  .nav, .search-btn { display: none; }
  .burger, .search-icon { display: grid; }
}
@media (max-width: 560px) {
  .topbar .date-label { display: none; }
  .logo img { height: 32px; }
  .navbar-in { height: 64px; }
  .theme-switch button { width: 28px; height: 28px; }
}

/* ==================================================================== FOOTER */
.site-footer { margin-top: 72px; background: #0A1320; color: #AFC1D6; position: relative; border-top: 1px solid #1E2C40; }
.footer-grid { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 44px; }
.footer-grid > div { flex: 1 1 170px; }
.footer-grid .about { flex: 1 1 300px; min-width: 260px; }
.footer-grid .about img { height: 40px; width: auto; filter: brightness(1.35) saturate(.9); }
.footer-grid .about p { margin-top: 18px; font-size: 14px; line-height: 1.7; color: #8FA5BE; max-width: 330px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #1E2C40; display: grid; place-items: center; color: #AFC1D6; transition: background .18s, color .18s, border-color .18s; }
.footer-socials a:hover { background: #1B6FAE; color: #fff; border-color: #1B6FAE; }
.footer-col h3 { font-size: 11px; font-weight: 700; letter-spacing: .09em; color: #5E748C; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-col a { color: #AFC1D6; }
.footer-col a:hover { color: #fff; }
.footer-col a.all { color: #6FB6E8; font-weight: 700; }
.footer-news { flex: 1 1 280px !important; min-width: 250px; }
.footer-news p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.65; color: #8FA5BE; }
.footer-news form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-news input { flex: 1 1 150px; min-width: 0; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid #1E2C40; background: #101B2C; color: #fff; font-weight: 600; font-size: 14px; outline: 0; }
.footer-news button { height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: #1B6FAE; color: #fff; font-weight: 700; font-size: 14px; }
.footer-news .channels { display: flex; gap: 10px; margin-top: 14px; }
.footer-news .channels a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; border: 1px solid #1E2C40; color: #AFC1D6; font-size: 13px; font-weight: 700; }
.footer-news .channels a:hover { border-color: #2F8FD0; color: #fff; }
.footer-bottom { border-top: 1px solid #16233A; }
.footer-bottom .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: 12.5px; color: #72889F; }
.to-top { display: flex; align-items: center; gap: 8px; color: #AFC1D6; font-weight: 700; }
.to-top:hover { color: #fff; }
.to-top span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #1E2C40; border-top-color: var(--brand-500); display: grid; place-items: center; }
.form-note { font-size: 12.5px; margin-top: 8px; }
.form-note.ok { color: #63D3AC; }
.form-note.err { color: #FF8B8E; }

/* ==================================================================== ADS */
.ad { display: grid; place-items: center; border-radius: var(--r-card); border: 1px dashed var(--line); background: var(--surface-2); text-align: center; overflow: hidden; }
.ad .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.ad .s { font: 600 22px var(--font-mono); color: var(--ink); margin-top: 8px; }
.ad .d { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ad.creative { border: 0; background: transparent; }
.ad.creative img { margin: 0 auto; border-radius: var(--r-card); }
.ad-billboard { margin: 30px 0; min-height: 250px; }
.ad-tall { min-height: 600px; }
.ad-box { min-height: 250px; }
.ad-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; align-items: center; justify-content: center; gap: 12px; height: 60px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(14,23,38,.12); }
@media (max-width: 720px) { .ad-sticky.is-on { display: flex; } }
.ad-sticky .slot { display: grid; place-items: center; width: 320px; max-width: calc(100% - 60px); height: 50px; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface-2); font: 600 12px var(--font-mono); color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==================================================================== HOME */
/* Manşet: 5 xəbərlik slayder — başlıq şəklin ALTINDA */
.top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.manset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); overflow: hidden; }
.manset-slides { position: relative; }
.manset-slide { display: none; }
.manset-slide.is-active { display: block; animation: gzFadeUp .35s ease-out; }
.manset-slide .frame { border-radius: 0; aspect-ratio: 16 / 9; }
.manset-slide .frame img { animation: none; }
.manset-num { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 99px; background: rgba(6,13,23,.66); backdrop-filter: blur(6px); color: #fff; font: 700 12px var(--font-mono); z-index: 2; }
.manset-body { padding: clamp(18px, 2.2vw, 28px) clamp(18px, 2.4vw, 30px) 8px; }
.manset-body h1, .manset-body h2 { font-size: clamp(25px, 3vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.manset-body p { margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; max-width: 72ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meta-row .dotsep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.meta-row .who { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }
.manset-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 18px; }
.manset-tab { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 14px 14px 16px; border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.35; min-width: 0; transition: background .18s, color .18s; }
.manset-tab:last-child { border-right: 0; }
.manset-tab b { font: 700 13px var(--font-mono); color: var(--brand-700); flex-shrink: 0; }
.manset-tab span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.manset-tab:hover { background: var(--paper); color: var(--ink); }
.manset-tab.is-active { color: var(--ink); background: var(--paper); }
.manset-tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.manset-tab.is-active::before { transform: scaleX(1); transition: transform var(--manset-interval, 7s) linear; }
.manset.is-paused .manset-tab.is-active::before { transition: none; }

.live-lane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden; max-height: 100%; }
.live-lane .head { display: flex; align-items: center; gap: 11px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.live-lane .head h2 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.live-lane .head .clock { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.live-spinner { position: relative; width: 26px; height: 26px; display: grid; place-items: center; }
.live-spinner svg { position: absolute; animation: gzSpin 2.6s linear infinite; }
.live-spinner i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: gzPulse 1.4s ease-in-out infinite; }
.live-lane .list { flex: 1; min-height: 0; overflow: auto; }
.feed-row { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); transition: background .16s; }
.feed-row:hover { background: var(--paper); }
.feed-row time { font: 600 12px var(--font-mono); color: var(--brand-700); flex-shrink: 0; padding-top: 2px; }
.feed-row .t { font-size: 14px; font-weight: 600; line-height: 1.4; }
.live-lane .all { padding: 14px 20px; font-size: 13.5px; font-weight: 700; border-top: 1px solid var(--line); display: block; }

/* qısa xəbər zolağı */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-top: 18px; }
.strip a { display: flex; gap: 12px; padding: 16px; background: var(--surface); transition: background .18s; }
.strip a:hover { background: var(--surface-2); }
.strip .bar { width: 3px; border-radius: 3px; background: var(--brand-500); flex-shrink: 0; }
.strip time { display: block; font: 600 11.5px var(--font-mono); color: var(--muted); margin-bottom: 6px; }
.strip .t { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.32; }

/* karusel: önə çıxanlar */
.carousel-btns { display: flex; gap: 8px; }
.carousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 14px; }
.carousel > * { flex: 0 0 clamp(250px, 22vw, 330px); scroll-snap-align: start; }
.carousel-progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 20%; background: var(--brand-500); transition: width .3s; border-radius: 3px; }

/* standart xəbər kartı: şəkil yuxarıda, başlıq aşağıda */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card .frame { border-radius: 0; }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
.card .time { margin-top: auto; padding-top: 12px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tile h3 { margin-top: 14px; font-size: 16.5px; font-weight: 700; line-height: 1.32; }
.tile .time { margin-top: 9px; font-size: 12.5px; color: var(--muted); }

.cols-2 { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 34px; align-items: start; margin-top: 46px; }
.sticky-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 26px; }

/* siyahı sətiri: kiçik şəkil + başlıq */
.row-story { display: flex; gap: 18px; padding: 18px; border-radius: var(--r-card); border: 1px solid var(--line); transition: background .2s; }
.row-story:hover { background: var(--surface); }
.row-story .thumb { flex: 0 0 clamp(120px, 17vw, 196px); }
.row-story .frame { aspect-ratio: 16 / 11; }
.row-story .info { flex: 1; min-width: 0; }
.row-story .top { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.row-story h3 { font-size: clamp(17px, 1.55vw, 21px); font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.row-story p { margin-top: 9px; font-size: 14.5px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row-story.sponsored { background: var(--surface-2); border-color: var(--gold); }
.stack { display: flex; flex-direction: column; gap: 8px; }
.load-more { width: 100%; margin-top: 22px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--brand-700); font-weight: 700; font-size: 15px; transition: border-color .2s, background .2s; display: flex; align-items: center; justify-content: center; }
.load-more:hover { border-color: var(--brand-500); background: var(--surface-2); }

/* yan panel blokları */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-pad { padding: 20px; }
.panel h2 { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.seg { display: flex; gap: 4px; background: var(--paper); padding: 4px; border-radius: 10px; }
.seg button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; font-size: 12.5px; transition: background .18s, color .18s; }
.seg button.is-active { background: var(--surface); color: var(--brand-700); box-shadow: var(--shadow-sm); }
.rank-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; transition: background .16s; }
.rank-row:hover { background: var(--paper); }
.rank-row .n { font-size: 30px; font-weight: 700; line-height: .9; color: var(--brand-700); width: 26px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.rank-row .t { font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.rates-panel .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.rates-panel .code { width: 34px; height: 34px; border-radius: 9px; background: var(--paper); display: grid; place-items: center; font: 700 12px var(--font-mono); color: var(--brand-700); }
.rates-panel .name { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.rates-panel .val { margin-left: auto; font: 700 15px var(--font-mono); }
.rates-panel .delta { font-size: 12px; font-weight: 700; width: 58px; text-align: right; font-variant-numeric: tabular-nums; }
.up { color: var(--green-ink); } .down { color: var(--danger-ink); }

/* rubrika blokları */
.feature-block { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; }
.feature-block .lead-story h3 { margin-top: 18px; font-size: clamp(21px, 2.2vw, 29px); font-weight: 700; line-height: 1.14; letter-spacing: -.036em; }
.feature-block .lead-story p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 62ch; }
.feature-block .lead-story .frame { border-radius: var(--r-card); }
.line-list a { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.line-list a:first-child { border-top: 0; padding-top: 0; }
.line-list time { font: 700 13px var(--font-mono); flex-shrink: 0; padding-top: 2px; }
.line-list .t { font-size: 16px; font-weight: 700; line-height: 1.35; }
.line-list .with-img { align-items: center; }
.line-list .with-img img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }

.boxed { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); box-shadow: var(--shadow-sm); }
.market { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.market div { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--paper); }
.market .n { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.market .v { font: 700 14px var(--font-mono); }
.market .d { font-size: 12px; font-weight: 700; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }

.dark-band { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); background: var(--dark-band); padding: clamp(30px, 3.4vw, 56px) var(--gutter); color: #fff; }
.dark-band .sec-head h2 { color: #fff; }
.dark-band .sec-head .rule { background: #232F44; }
.dark-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding: 18px; border-radius: var(--r-card); background: var(--dark-card); border: 1px solid var(--dark-line); transition: border-color .22s, transform .22s; }
.dark-row:hover { border-color: #3C4F70; transform: translateX(4px); }
.dark-row .thumb { flex: 0 0 clamp(140px, 22vw, 260px); }
.dark-row .frame { aspect-ratio: 16 / 10; background: #243553; }
.dark-row .info { flex: 1 1 260px; min-width: 0; }
.dark-row time { font-size: 12px; color: var(--dark-muted); }
.dark-row h3 { margin-top: 8px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; line-height: 1.16; letter-spacing: -.032em; }
.dark-row h3 a { color: #fff; }
.dark-row h3.imp-2 a { color: #FF6B70; }
.dark-row p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--dark-muted); max-width: 70ch; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin-top: 56px; }
.timeline-red { border-left: 2px solid var(--danger); padding-left: 20px; display: flex; flex-direction: column; gap: 18px; }
.timeline-red time { font: 700 12px var(--font-mono); color: var(--danger-ink); }
.timeline-red .t { font-size: 15.5px; font-weight: 700; line-height: 1.35; margin-top: 5px; }
.history-track { position: relative; padding-top: 28px; }
.history-track::before { content: ""; position: absolute; top: 34px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--line), var(--gold), var(--line)); }
.history-track .scroller { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; }
.history-card { flex: 0 0 clamp(190px, 24vw, 230px); color: var(--ink); }
.history-card .pin { display: flex; justify-content: center; margin-bottom: 14px; }
.history-card .pin span { width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); }
.history-card .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; height: calc(100% - 27px); }
.history-card:hover .box { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.history-card .y { font: 700 19px var(--font-mono); color: var(--gold-ink); }
.history-card .x { font-size: 14px; font-weight: 600; line-height: 1.45; margin-top: 8px; color: var(--ink); }

/* video blok */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
.video-main { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--r-card); overflow: hidden; background: #16233A; color: #fff; text-align: left; }
.video-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-main .play-big { position: absolute; inset: 0; display: grid; place-items: center; }
.video-main .play-big span { width: 74px; height: 74px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 40px rgba(18,179,232,.45); transition: transform .2s; }
.video-main:hover .play-big span { transform: scale(1.06); }
.video-title { margin-top: 14px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.video-title a { color: #fff; }
.playlist { display: flex; flex-direction: column; gap: 10px; }
.playlist a { display: flex; gap: 14px; padding: 10px; border-radius: 12px; color: #fff; transition: background .18s; }
.playlist a:hover { background: var(--dark-card); }
.playlist .thumb { position: relative; flex: 0 0 120px; }
.playlist .thumb img { width: 120px; height: 72px; object-fit: cover; border-radius: 9px; }
.playlist .t { font-size: 14px; font-weight: 700; line-height: 1.35; }

/* jurnal bloku (ana səhifə) */
.journal-band { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: clamp(32px, 3.6vw, 60px) var(--gutter); background: var(--journal-band); border-top: 1px solid var(--journal-line); border-bottom: 1px solid var(--journal-line); }
.journal-band h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: var(--journal-ink); }
.journal-band .intro { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--journal-muted); max-width: 56ch; }
.journal-band .stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; }
.journal-band .stats b { display: block; font: 700 clamp(22px, 2.4vw, 30px) var(--font-serif); color: var(--journal-ink); line-height: 1; }
.journal-band .stats span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--journal-gold); margin-top: 6px; }
.journal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 26px); }
.jcard { display: flex; gap: clamp(16px, 1.8vw, 22px); padding: clamp(16px, 1.8vw, 22px); border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--journal-line); box-shadow: 0 2px 10px rgba(42,33,24,.06); transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, background .3s; }
[data-theme="dark"] .jcard { background: rgba(255,255,255,.04); }
.jcard:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -18px rgba(42,33,24,.4); background: var(--surface); }
.jcard .cover-link { flex: 0 0 clamp(104px, 10vw, 128px); }
.jcard .field { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.jcard h3 { margin-top: 8px; font-family: var(--font-serif); font-size: clamp(18px, 1.8vw, 21px); font-weight: 700; line-height: 1.2; }
.jcard h3 a { color: var(--journal-ink); }
.jcard .badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.jcard .badges span { padding: 4px 9px; border-radius: 99px; background: rgba(42,33,24,.06); font: 700 11px var(--font-mono); color: var(--journal-muted); }
[data-theme="dark"] .jcard .badges span { background: rgba(255,255,255,.06); }
.jcard .papers { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--journal-line); flex: 1; }
.jcard .papers .k { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--journal-gold); margin-bottom: 9px; }
.jcard .papers a { display: flex; gap: 9px; padding: 5px 0; font-family: var(--font-serif); font-size: 14.5px; font-weight: 600; line-height: 1.38; color: var(--journal-ink); }
.jcard .papers a::before { content: "—"; color: var(--gold); flex-shrink: 0; }
.jcard .actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.jcard .actions a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.jcard .actions .solid { color: #fff; }
.jcard .actions .ghost { border: 1px solid var(--journal-line); color: var(--journal-ink); }
.shelf { height: 9px; margin-top: 26px; border-radius: 3px; background: linear-gradient(180deg, #D9CBB4, #BFAE93); box-shadow: 0 6px 14px rgba(42,33,24,.18); }
[data-theme="dark"] .shelf { background: linear-gradient(180deg, #3A3226, #2A241B); }

/* jurnal qapağı (generasiya olunan) */
.jcover { aspect-ratio: 1 / 1.414; border-radius: 3px 8px 8px 3px; position: relative; overflow: hidden; box-shadow: 0 12px 22px -12px rgba(42,33,24,.28); transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s; color: #fff; }
a:hover > .jcover, .jcover:hover { transform: translateY(-5px); }
.jcover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 8%; max-width: 12px; background: linear-gradient(90deg, rgba(0,0,0,.34), rgba(255,255,255,.14) 62%, rgba(0,0,0,.05)); z-index: 1; }
.jcover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.2) 0 22%, transparent 46%); }
.jcover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jcover .in { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 12% 10% 12% 16%; z-index: 2; }
.jcover .issn { display: block; font-size: clamp(7px, .6vw, 9px); font-weight: 700; letter-spacing: .13em; color: rgba(255,255,255,.78); }
.jcover .bar { display: block; width: 22px; height: 2px; background: rgba(255,255,255,.6); margin-top: 9px; }
.jcover .name { display: block; font-family: var(--font-serif); font-size: clamp(12px, 1.1vw, 17px); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.jcover .no { display: block; margin-top: 8px; font: 700 clamp(9px, .75vw, 11px) var(--font-mono); color: rgba(255,255,255,.85); }
.jcover .big-no { font: 700 clamp(22px, 2.4vw, 34px) var(--font-mono); line-height: 1; }
.jcover.has-image .in { background: linear-gradient(0deg, rgba(0,0,0,.55), transparent 55%); }

/* müsahibə kartları */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .28s, box-shadow .28s; }
.quote-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.quote-card .qmark { opacity: .22; margin-bottom: 12px; }
.quote-card blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.42; letter-spacing: -.01em; flex: 1; }
.quote-card blockquote a { color: var(--ink); }
.quote-card .person { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote-card .person b { display: block; font-size: 14.5px; }
.quote-card .person span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.quote-card .thumbline { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--brand-700); }

/* foto qalereyalar */
.gal-tile { display: block; color: var(--ink); }
.gal-tile .frame { aspect-ratio: 4 / 3; }
.gal-tile .count { position: absolute; top: 12px; right: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(6,13,23,.66); backdrop-filter: blur(6px); color: #fff; font-weight: 700; font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.gal-tile h3 { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.3; }

/* elm, təhsil */
.serif-block { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 34px; }
.serif-block h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; }
.serif-block .desc { margin-top: 16px; font-family: var(--font-serif); font-size: 17px; line-height: 1.7; color: var(--muted); }
.serif-list a { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.serif-list a:first-child { border-top: 0; padding-top: 0; }
.serif-list time { font: 600 12px var(--font-mono); color: var(--indigo-ink); flex-shrink: 0; width: 66px; }
.serif-list .t { display: block; font-family: var(--font-serif); font-size: 18px; font-weight: 600; line-height: 1.35; }
.serif-list .a { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }

/* abunə */
.subscribe { margin-top: 56px; position: relative; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.subscribe::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .1; }
.subscribe::after { content: ""; position: absolute; right: -70px; top: -70px; width: 280px; height: 280px; border-radius: 50%; border: 34px solid rgba(86,169,223,.16); }
.subscribe .in { position: relative; z-index: 1; padding: clamp(26px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.subscribe h2 { font-size: clamp(25px, 2.8vw, 40px); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; }
.subscribe p { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 52ch; }
.subscribe form { display: flex; gap: 9px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 170px; min-width: 0; height: 50px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; outline: 0; }
.subscribe button { height: 50px; padding: 0 24px; border: 0; border-radius: 13px; background: var(--brand-700); color: #fff; font-weight: 700; font-size: 15px; }
.subscribe .channels { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.subscribe .channels a { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; gap: 9px; height: 46px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13.5px; font-weight: 700; }
.subscribe .channels a:hover { border-color: var(--brand-500); color: var(--brand-700); }

@media (max-width: 1180px) {
  .top-grid { grid-template-columns: minmax(0, 1fr); }
  .live-lane { max-height: 520px; }
  .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journal-cards { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .sticky-side { position: static; }
  .sticky-side .ad-tall { display: none; }
  .feature-block, .video-grid, .pair, .serif-block { grid-template-columns: minmax(0, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .manset-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 70%); overflow-x: auto; scrollbar-width: none; }
  .manset-tab { border-right: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .strip, .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-story { padding: 12px; gap: 12px; }
  .row-story .thumb { flex-basis: 112px; }
  .row-story p { display: none; }
  .row-story h3 { font-size: 16px; }
  .jcard { flex-direction: column; }
  .jcard .cover-link { width: 120px; }
  .dark-row .thumb { flex-basis: 100%; }
  .manset-body h1, .manset-body h2 { font-size: 23px; }
}

/* ==================================================================== CATEGORY */
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-700); }
.crumbs .cur { color: var(--ink); font-weight: 600; }
.cat-hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.cat-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--cat-soft, rgba(47,167,181,.14)), transparent 55%); }
.cat-hero::after { content: ""; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid var(--cat-ring, rgba(47,167,181,.1)); }
.cat-hero .wrap { position: relative; z-index: 1; padding-top: 22px; padding-bottom: 26px; }
.cat-hero .head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; margin-top: 20px; }
.cat-hero .head > div:first-child { flex: 1 1 420px; }
.cat-hero .kick { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.cat-hero .kick i { width: 36px; height: 4px; border-radius: 4px; background: var(--cat-color, var(--teal)); }
.cat-hero .kick span { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--cat-ink, var(--teal-ink)); }
.cat-hero h1 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 600; line-height: .96; letter-spacing: -.042em; }
.cat-hero .desc { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 62ch; }
.cat-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.cat-stats b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cat-stats span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; color: var(--muted); margin-top: 7px; }
.subcats { display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; padding-bottom: 4px; }
.subcats .chip { color: var(--muted); }
.subcats .chip.is-active { color: var(--ink); border-color: var(--cat-ink, var(--teal-ink)); }
.subcats .chip:hover { border-color: var(--cat-ink, var(--teal-ink)); }

.cat-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.lead-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.lead-card .frame { border-radius: 0; }
.lead-card .body { padding: clamp(18px, 2.2vw, 26px); }
.lead-card h2 { font-size: clamp(23px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.lead-card p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.side-cards { display: flex; flex-direction: column; gap: 20px; }
.mini-card { display: flex; gap: 16px; padding: 16px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; flex: 1; align-items: center; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mini-card .thumb { flex: 0 0 132px; }
.mini-card .frame { aspect-ratio: 4 / 3; }
.mini-card h3 { font-size: 17px; font-weight: 700; line-height: 1.26; letter-spacing: -.024em; }
.mini-card time { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }

.feed-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.feed-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.032em; }
.feed-head .count { font-size: 12.5px; color: var(--muted); }
.feed-head .tools { margin-left: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.select { height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 13px; }
.view-toggle { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--surface-2); }
.view-toggle button { width: 34px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.view-toggle button.is-active { background: var(--surface); color: var(--brand-700); }
.feed.is-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feed.is-grid .row-story { flex-direction: column; padding: 0 0 18px; border: 0; }
.feed.is-grid .row-story .thumb { flex-basis: auto; }
.feed.is-grid .row-story .frame { aspect-ratio: 16 / 10; }
.feed.is-grid .row-story h3 { font-size: 17px; }
.feed.is-grid .row-story p { display: none; }
.feed:not(.is-grid) { display: flex; flex-direction: column; gap: 10px; }
.feed .row-story { background: var(--surface); }

.pager { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 26px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 11px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.pager .is-current { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.pager .is-disabled { color: var(--muted); opacity: .5; }
.pager a:hover { border-color: var(--brand-500); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r-card); background: var(--surface); }

/* video & müsahibə səhifələri */
.video-card { display: block; color: var(--ink); }
.video-card .frame { border-radius: var(--r-img); }
.video-card h3 { margin-top: 12px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.video-card time { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.video-hero { background: var(--dark-band); color: #fff; padding: clamp(24px, 3vw, 44px) var(--gutter); }
.video-hero .video-grid { align-items: start; }

/* tarixdə bu gün */
.history-page { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 34px; align-items: start; }
.date-picker { position: sticky; top: 100px; padding: 20px; }
.date-picker form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.date-picker .day-nav { display: flex; gap: 8px; margin-top: 14px; }
.date-picker .day-nav a { flex: 1; }
.h-timeline { position: relative; padding-left: 34px; }
.h-timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--line)); }
.h-event { position: relative; padding-bottom: 26px; }
.h-event::before { content: ""; position: absolute; left: -29px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--gold); }
.h-event .y { font: 700 22px var(--font-mono); color: var(--gold-ink); }
.h-event .box { margin-top: 8px; display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; box-shadow: var(--shadow-sm); }
.h-event .box img { width: 160px; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.h-event h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.h-event p { margin-top: 8px; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ==================================================================== ARTICLE */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 36px; align-items: start; padding-top: 22px; }
.article-wrap { display: flex; gap: 26px; align-items: flex-start; min-width: 0; }
.share-rail { display: flex; flex-direction: column; gap: 9px; position: sticky; top: 110px; flex-shrink: 0; }
.share-rail .k { font-size: 9.5px; font-weight: 700; letter-spacing: .09em; color: var(--muted); text-align: center; margin-bottom: 3px; }
.share-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: transform .18s, border-color .18s, background .18s; }
.share-btn:hover { transform: translateY(-2px); background: var(--surface-2); }
.article { flex: 1; min-width: 0; }
.article .flags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.article h1 { font-size: clamp(30px, 4vw, 56px); font-weight: 650; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.article h1.imp-0 { color: var(--ink); }
.article .lead { margin-top: 20px; font-family: var(--font-serif); font-size: clamp(18px, 1.7vw, 21px); font-weight: 600; line-height: 1.55; color: var(--ink); max-width: 70ch; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline .who { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.byline .who b { display: block; font-size: 14px; }
.byline .who small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.byline .vsep { width: 1px; height: 32px; background: var(--line); }
.byline .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; align-items: center; }
.byline .updated { padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--brand-700); font-weight: 700; }
.byline .tools { display: flex; gap: 7px; margin-left: auto; flex-wrap: wrap; }
.tool-btn { height: 36px; min-width: 36px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.tool-btn:hover { border-color: var(--brand-500); color: var(--brand-700); }
.tool-btn.ok { color: var(--green); }
.article-figure { margin: 26px 0 0; }
/* Əsas şəkil kəsilmədən, tam ölçüdə göstərilir (telefonda da natamam görünmür) */
.article-figure .img { border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.article-figure img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; margin: 0 auto; }
.article-figure figcaption, .figcap { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 11px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.figcap .cap { flex: 1 1 300px; }
.figcap .credit { font-weight: 700; }
.prose { font-family: var(--font-serif); font-size: var(--body-size, 18.5px); line-height: 1.72; color: var(--ink); max-width: 72ch; margin-top: 30px; }
.prose > * { margin: 0 0 22px; }
.prose h2 { font-family: var(--font-ui); font-size: clamp(25px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.038em; line-height: 1.1; margin: 38px 0 16px; }
.prose h3 { font-family: var(--font-ui); font-size: clamp(20px, 1.9vw, 25px); font-weight: 700; letter-spacing: -.03em; margin: 32px 0 14px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 9px; }
.prose a { text-decoration: underline; text-decoration-color: rgba(27,111,174,.35); text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 24px; padding: 18px 22px; border-left: 3px solid var(--brand-500); background: var(--surface); border-radius: 0 var(--r-card) var(--r-card) 0; font-size: 17px; line-height: 1.65; }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--r-img); height: auto; }
.prose figure { margin: 0 0 26px; }
.prose figcaption { margin-top: 10px; font-family: var(--font-ui); font-size: 13px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14.5px; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.prose th { text-align: left; padding: 13px 16px; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.prose td { padding: 13px 16px; border-top: 1px solid var(--line); }
.prose hr { border: 0; border-top: 2px solid var(--ink); margin: 34px 0; }
.prose .embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #16233A; }
.prose .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .embed-social { max-width: 560px; }
.pullquote { margin: 34px 0; padding: 26px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.pullquote p { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.28; letter-spacing: -.02em; text-wrap: balance; }
.inline-related { margin: 30px 0; display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-ui); }
.inline-related .vk { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 700; letter-spacing: .09em; color: var(--brand-700); flex-shrink: 0; }
.inline-related a { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.inline-related img { width: 92px; height: 64px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.inline-related span { font-size: 15.5px; font-weight: 700; line-height: 1.35; }
.prose .ad { font-family: var(--font-ui); }

.gallery { margin: 0 0 26px; font-family: var(--font-ui); }
.gallery-main { position: relative; display: block; width: 100%; border: 0; padding: 0; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: #0B1220; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(0deg, rgba(6,13,23,.85), transparent); color: #fff; text-align: left; font-size: 13.5px; font-weight: 600; }
.gallery-main .counter { position: absolute; top: 14px; right: 14px; padding: 5px 11px; border-radius: 99px; background: rgba(6,13,23,.7); color: #fff; font: 700 11.5px var(--font-mono); }
.gallery-main .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(6,13,23,.55); color: #fff; display: grid; place-items: center; }
.gallery-main .nav.prev { left: 12px; } .gallery-main .nav.next { right: 12px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 9px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumbs button { flex: 0 0 84px; height: 58px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--surface-2); }
.gallery-thumbs button.is-active { border-color: var(--brand-600); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(4,9,16,.95); display: none; flex-direction: column; animation: gzFadeUp .2s ease-out; }
.lightbox.is-open { display: flex; }
.lightbox .bar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: #fff; }
.lightbox .bar .cap { font-size: 14px; color: #AFC3D6; flex: 1; min-width: 0; }
.lightbox .bar button, .lightbox .bar a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; display: grid; place-items: center; }
.lightbox .stage { flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.lightbox .stage img { flex: 1; min-width: 0; height: 100%; object-fit: contain; }
.lightbox .stage > button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; flex-shrink: 0; display: grid; place-items: center; }
.lightbox .thumbs { display: flex; gap: 8px; padding: 16px 20px; overflow-x: auto; }
.lightbox .thumbs button { flex: 0 0 76px; height: 52px; border-radius: 7px; overflow: hidden; border: 2px solid transparent; padding: 0; opacity: .55; background: #16233A; }
.lightbox .thumbs button.is-active { border-color: #fff; opacity: 1; }
.lightbox .thumbs img { width: 100%; height: 100%; object-fit: cover; }

.live-box { margin: 0 0 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; font-family: var(--font-ui); }
.live-box .head { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: rgba(229,72,77,.06); }
.live-box .head b { font-size: 13.5px; color: var(--danger-ink); letter-spacing: .04em; }
.live-box .head span { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.live-box .item { display: flex; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.live-box .item:last-child { border-bottom: 0; }
.live-box time { font: 600 12.5px var(--font-mono); color: var(--danger-ink); flex-shrink: 0; }
.live-box .item span { font-size: 14.5px; line-height: 1.55; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; align-items: center; }
.tags .k { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .1em; padding: 7px 0; }
.tags a { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; }
.tags a:hover { border-color: var(--brand-500); color: var(--brand-700); }
.typo-note { display: flex; align-items: center; gap: 11px; margin-top: 22px; padding: 13px 16px; border-radius: 12px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); }
.typo-note b { color: var(--ink); }
.author-box { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.author-box .info { flex: 1 1 300px; min-width: 0; }
.author-box .name { font-size: 19px; font-weight: 700; margin-top: 7px; }
.author-box .pos { font-size: 13px; color: var(--muted); margin-top: 4px; }
.author-box p { margin-top: 12px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.author-box .links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; font-size: 13.5px; font-weight: 700; }
.prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.prevnext a { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s; }
.prevnext a:hover { border-color: var(--brand-500); }
.prevnext img { width: 74px; height: 56px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.prevnext .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.prevnext .t { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.35; margin-top: 6px; }
.prevnext .next { flex-direction: row-reverse; text-align: right; }
.side-search { display: flex; align-items: center; gap: 10px; }
.side-search input { flex: 1; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 14px; outline: 0; }
.mobile-share { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; align-items: center; gap: 8px; padding: 9px 12px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(14,23,38,.14); }
.mobile-share .share-btn { flex: 1; width: auto; height: 44px; }

.modal { position: fixed; inset: 0; z-index: 300; background: rgba(11,18,32,.6); backdrop-filter: blur(8px); display: none; place-items: center; padding: 24px; }
.modal.is-open { display: grid; animation: gzFadeUp .2s ease-out; }
.modal-card { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lg); }
.modal-card .mh { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.modal-card .mh h3 { font-size: 19px; font-weight: 700; }
.modal-card .mh button { margin-left: auto; }
.modal-card .mb { padding: 18px 22px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 15px; outline: 0; }
.input:focus { border-color: var(--brand-500); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.55; }
.quote-sel { padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border-left: 3px solid var(--danger); font-family: var(--font-serif); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.alert { padding: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-ok { background: rgba(46,158,123,.12); color: var(--green-ink); }
.alert-err { background: rgba(229,72,77,.1); color: var(--danger-ink); }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-layout > aside { display: none; }
  .history-page { grid-template-columns: minmax(0, 1fr); }
  .date-picker { position: static; }
}
@media (max-width: 900px) {
  .share-rail { display: none; }
  .mobile-share { display: flex; }
  body.has-mobile-share { padding-bottom: 64px; }
  .cat-top { grid-template-columns: minmax(0, 1fr); }
  .feed.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .byline .vsep { display: none; }
  .byline .tools { margin-left: 0; }
  .prevnext { grid-template-columns: minmax(0, 1fr); }
  .feed.is-grid { grid-template-columns: minmax(0, 1fr); }
  .mini-card .thumb { flex-basis: 104px; }
  .h-event .box { flex-direction: column; }
  .h-event .box img { width: 100%; }
}
@media print {
  .site-header, .site-footer, .share-rail, .mobile-share, .article-layout > aside, .ad, .read-progress, .prevnext, .related, .typo-note { display: none !important; }
  body { background: #fff; }
}

/* ==================================================================== MISC PAGES */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 22px; padding-bottom: 30px; }
.page-hero h1 { margin-top: 18px; font-size: clamp(32px, 4vw, 56px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 64ch; }
.search-form-big { display: flex; gap: 10px; margin-top: 22px; max-width: 760px; }
.search-form-big input { flex: 1; height: 56px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 18px; font-weight: 600; outline: 0; }
.search-form-big input:focus { border-color: var(--brand-500); }
.search-form-big button { height: 56px; padding: 0 26px; border-radius: 14px; border: 0; background: var(--brand-700); color: #fff; font-weight: 700; font-size: 15px; }
.tabs-line { display: flex; gap: 6px; margin-top: 22px; overflow-x: auto; }
.tabs-line a { padding: 8px 15px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.tabs-line a.is-active { background: var(--brand-700); color: #fff; }
.tabs-line a span { opacity: .7; margin-left: 4px; }
mark { background: rgba(86,169,223,.25); color: inherit; border-radius: 3px; padding: 0 2px; }
.result-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.result-row .kind { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.result-row h3 { margin-top: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.result-row p { margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.result-row .thumb { flex: 0 0 150px; }
.result-row .frame { aspect-ratio: 16/10; }
.static-body { max-width: 78ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.info-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.info-list > div { display: flex; gap: 12px; padding: 13px 16px; background: var(--surface); align-items: baseline; }
.info-list .l { flex: 0 0 110px; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; color: var(--muted); }
.info-list .v { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; word-break: break-word; }
.e404 { text-align: center; padding: 80px 20px 40px; }
.e404 .code { font: 700 clamp(90px, 16vw, 200px) var(--font-display); letter-spacing: -.06em; line-height: .9; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.e404 h1 { margin-top: 16px; font-size: clamp(24px, 3vw, 36px); letter-spacing: -.03em; }
.e404 p { margin: 12px auto 0; max-width: 52ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .result-row .thumb { flex-basis: 100px; } }
.ad-video { margin: 44px 0; width: 100%; aspect-ratio: 21 / 7; }
@media (max-width: 600px) { .ad-video { aspect-ratio: 16 / 9; } }

/* reklam kreativləri: yer əvvəlcədən ayrılır (səhifə "atılmır"), şəkil/video slotdan böyük olmur */
.ad.creative { position: relative; display: block; text-align: center; min-height: 0; }
.ad.creative .ad-box-in { position: relative; display: block; width: 100%; margin: 0 auto; overflow: hidden; border-radius: var(--r-card); background: var(--surface-2); }
.ad.creative .ad-box-in img, .ad.creative .ad-box-in video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ad.creative .ad-box-in:not([style*="aspect-ratio"]) img, .ad.creative .ad-box-in:not([style*="aspect-ratio"]) video { height: auto; }
.ad-label { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(6,13,23,.55); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ad-sound { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(6,13,23,.6); color: #fff; font-size: 15px; display: grid; place-items: center; }
.ad-billboard.creative, .ad-tall.creative, .ad-box.creative, .ad-video.creative { min-height: 0; aspect-ratio: auto; border: 0; background: transparent; }
.ad-sticky .ad-box-in { max-height: 50px; }
