/* ============================================================
   24hours.ge — Global Stylesheet
   Font: Inter (Google Fonts)
   Design tokens match the original React/Tailwind site exactly.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  background: #f8fafc; /* slate-50 */
  color: #1e293b;      /* slate-800 */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* ── Design tokens ────────────────────────────────────────── */
:root {
  --navy:      #11113A;
  --purple:    #6B21A8;
  --purple-sidebar: #4C3092;
  --blue:      #2563EB;
  --sky:       #0284c7;
  --emerald:   #059669;
  --gold:      #FFD700;
  --dark-green:#1a3300;
  --bullet-purple: #512888;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --max-w:     80rem;   /* max-w-7xl = 1280px */
  --max-w-4:   56rem;   /* max-w-4xl = 896px  */
}

/* ── Utility helpers ──────────────────────────────────────── */
.container      { max-width: var(--max-w);  margin: 0 auto; padding: 0 1rem; }
.container-4    { max-width: var(--max-w-4); margin: 0 auto; padding: 0 1rem; }
.no-scrollbar   { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.line-clamp-1   { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2   { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3   { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sr-only        { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── HEADER ───────────────────────────────────────────────── */
.site-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border-bottom: 1px solid #e5e7eb;
}
.header-nav-bar {
  overflow: hidden;
  max-height: 48px;
  transition: max-height .3s ease, opacity .3s ease;
  opacity: 1;
}
.header-nav-bar.nav-hidden {
  max-height: 0;
  opacity: 0;
}
body { padding-top: var(--header-h, 97px); }

.header-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
}
.header-right { justify-content: flex-end; }

.icon-btn {
  padding: .5rem;
  color: #000;
  border-radius: .25rem;
  transition: background .15s;
  line-height: 0;
}
.icon-btn:hover { background: #f3f4f6; }
.icon-btn svg   { width: 1.5rem; height: 1.5rem; }

/* Logo: three black boxes "2 4 H" */
.logo {
  display: flex;
  gap: 2px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.logo-box {
  background: #000;
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1rem;
  font-weight: 700;
}

/* Desktop search button hidden on mobile, vice-versa */
.search-desktop { display: none; }
.search-mobile  { display: flex; }

/* Nav bar (bottom tier of header) */
.header-nav-bar {
  border-top: 1px solid #e5e7eb;
}
.header-nav-bar nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 1.5rem;
  height: 3rem;
  align-items: center;
  overflow-x: auto;
}
.nav-link {
  color: #000;
  font-weight: 700;
  font-size: .9375rem;
  height: 100%;
  display: flex;
  align-items: center;
  padding: .25rem .25rem 0;
  border-bottom: 4px solid transparent;
  transition: border-color .15s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active { border-bottom-color: #000; }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0,0,0,.07);
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 49;
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  font-weight: 700;
  color: #000;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: #f9fafb; }

/* ── SEARCH MODAL ─────────────────────────────────────────── */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(4px);
  flex-direction: column;
}
.search-modal.open { display: flex; }

.search-modal-inner {
  max-width: 48rem;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
}

.search-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.search-close-btn {
  padding: .5rem;
  background: var(--slate-100);
  color: var(--slate-500);
  border-radius: 50%;
  transition: color .15s;
  line-height: 0;
}
.search-close-btn:hover { color: var(--slate-900); }
.search-close-btn svg { width: 1.5rem; height: 1.5rem; }

.search-input-wrap { position: relative; }
.search-input-wrap svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem; height: 1.5rem;
  color: var(--slate-400);
}
#search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.5rem;
  font-size: 1.25rem;
  background: #fff;
  border: 2px solid var(--slate-200);
  border-radius: 1rem;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
#search-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,.2);
}

.search-results {
  margin-top: 2rem;
  max-height: 60vh;
  overflow-y: auto;
}
.search-count {
  font-size: .75rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
}
.search-result-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--slate-100);
  border-radius: .75rem;
  padding: 1rem;
  margin-bottom: .75rem;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
  cursor: pointer;
}
.search-result-item:hover {
  border-color: #bae6fd;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.search-result-thumb {
  width: 6rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: .5rem;
  overflow: hidden;
  background: var(--slate-100);
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.search-result-item:hover .search-result-thumb img { transform: scale(1.05); }
.search-result-cat   { font-size: .75rem; font-weight: 500; color: var(--emerald); display: block; margin-bottom: .25rem; }
.search-result-title { font-weight: 700; color: var(--slate-900); transition: color .15s; }
.search-result-item:hover .search-result-title { color: var(--sky); }
.search-result-excerpt { font-size: .875rem; color: var(--slate-500); margin-top: .25rem; }

.search-empty {
  text-align: center;
  padding: 3rem 0;
}
.search-empty-icon {
  width: 4rem; height: 4rem;
  background: var(--slate-100);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.search-empty-icon svg { width: 2rem; height: 2rem; color: var(--slate-400); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: #cbd5e1;
  padding: 3rem 0;
  margin-top: auto;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo-icon { color: #34d399; } /* emerald-400 */
.footer-logo-icon svg { width: 1.5rem; height: 1.5rem; }
.footer-desc { font-size: .875rem; color: #94a3b8; max-width: 18rem; }

.footer-nav-title,
.footer-newsletter-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { font-size: .875rem; transition: color .15s; }
.footer-nav a:hover { color: #38bdf8; } /* sky-400 */

.newsletter-form { display: flex; gap: .5rem; }
.newsletter-input {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: .375rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  flex: 1;
  color: #fff;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.newsletter-input:focus  { border-color: #38bdf8; }
.newsletter-input::placeholder { color: #64748b; }
.newsletter-btn {
  background: #0284c7;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .375rem;
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: #0369a1; }

.newsletter-success {
  display: none;
  align-items: center;
  gap: .5rem;
  color: #34d399;
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.2);
  border-radius: .375rem;
  padding: .75rem;
  font-size: .875rem;
}
.newsletter-success.show { display: flex; }
.newsletter-success svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding: 2rem 1rem 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: .875rem;
  color: #64748b;
}
.footer-disclaimer { margin-top: .5rem; font-size: .75rem; }

/* ── CATEGORY BADGE ───────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 9999px;
}
.badge-purple { background: #f5f3ff; color: var(--purple); }
.badge-blue   { background: #eff6ff; color: var(--blue);   }
.badge-emerald{ background: #ecfdf5; color: var(--emerald); }
.badge-red    { background: #fef2f2; color: #dc2626; }

/* ── ARTICLE CARD (grid card used in multiple sections) ───── */
.article-card { display: flex; flex-direction: column; text-align: left; }
.article-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: .75rem;
  display: block;
  transition: opacity .2s;
}
.article-card-img:hover { opacity: .9; }
.article-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: #6b7280;
  margin-top: .5rem;
}
.article-card-checkmark { width: 1rem; height: 1rem; color: var(--blue); flex-shrink: 0; }
.article-card-author { font-weight: 500; color: #374151; }
.article-card-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.3;
  margin-top: .75rem;
  transition: color .15s;
}
.article-card-title:hover { color: var(--purple); }

/* ── HOME: HERO ───────────────────────────────────────────── */
.hero-section { background: #fff; padding: 3rem 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.hero-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 1rem;
  transition: color .15s;
}
.hero-title:hover { color: var(--purple); }
.hero-author { font-size: .875rem; color: #6b7280; margin-top: .75rem; }

/* Sidebar "Latest" card */
.sidebar-card {
  background: #fff;
  border: 1px solid var(--purple-sidebar);
  border-radius: .5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sidebar-card-header {
  background: var(--purple-sidebar);
  padding: 1rem;
}
.sidebar-card-header h2 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1rem;
}
.sidebar-card-list { padding: .5rem 1.5rem; flex: 1; }
.sidebar-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.4;
  display: block;
  transition: color .15s;
}
.sidebar-item-title:hover { color: var(--purple); }
.sidebar-item-meta {
  font-size: .8125rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: .375rem;
  margin-top: .25rem;
}
.sidebar-dot { color: #22c55e; font-weight: 700; }

/* ── HOME: SECTION HEADER ─────────────────────────────────── */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}
.section-header-left { display: flex; align-items: center; gap: 1rem; }
.section-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.section-icon-blue   { background: #eff6ff; }
.section-icon-purple { background: #f5f3ff; }
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: color .15s;
  width: fit-content;
  flex-shrink: 0;
}
.section-link-blue   { color: var(--blue); }
.section-link-blue:hover   { color: #1e40af; }
.section-link-purple { color: var(--purple); }
.section-link-purple:hover { color: #581c87; }
.section-link svg { width: 1rem; height: 1rem; }

/* ── HOME: ARTICLE GRID ───────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ── HOME: LATEST LIST ────────────────────────────────────── */
.latest-section { background: #fff; padding: 4rem 0; }
.latest-section h2 { font-size: 1.875rem; font-weight: 700; color: var(--navy); margin-bottom: 2rem; }
.latest-item {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.latest-item:last-child { border-bottom: none; }
.latest-item-content { flex: 1; }
.latest-item-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  transition: color .15s;
  display: block;
  margin-bottom: .75rem;
  margin-top: 1rem;
}
.latest-item-title:hover { color: var(--purple); }
.latest-item-meta { font-size: .8125rem; color: #6b7280; display: flex; align-items: center; gap: .5rem; }
.latest-item-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: .75rem;
  display: block;
  flex-shrink: 0;
}
.latest-more {
  margin-top: 2rem;
  text-align: center;
}

/* ── CATEGORY PAGE ────────────────────────────────────────── */
.cat-hero {
  background: #faf9ff;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--slate-200);
  text-align: center;
}
.cat-hero-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7C3AED;
  margin-bottom: .75rem;
}
.cat-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .75rem;
}
.cat-hero-desc {
  color: var(--slate-500);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto .75rem;
}
.cat-hero p  { color: var(--slate-500); margin-top: .5rem; }
.cat-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.cat-hero-tags span {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  padding: .25rem .75rem;
  border: 1px solid var(--slate-200);
  border-radius: 9999px;
  background: #fff;
}

.cat-grid {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.cat-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
  text-decoration: none;
}
.cat-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.cat-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cat-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.cat-card-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  line-height: 1.35;
  margin-top: .5rem;
  transition: color .15s;
}
.cat-card:hover .cat-card-title { color: var(--sky); }
.cat-card-excerpt { font-size: .875rem; color: var(--slate-500); margin-top: .5rem; line-height: 1.6; }
.cat-card-meta { font-size: .8125rem; color: var(--slate-400); margin-top: auto; padding-top: .75rem; display: flex; gap: .5rem; align-items: center; }

/* empty state */
.cat-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 0;
  color: var(--slate-500);
}
.cat-empty h2 { font-size: 1.25rem; margin-bottom: .5rem; color: var(--slate-800); }

/* ── ARTICLE PAGE ─────────────────────────────────────────── */
.breadcrumbs {
  background: #fff;
  border-bottom: 1px solid var(--slate-100);
}
.breadcrumbs nav {
  max-width: var(--max-w-4);
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .875rem;
  color: var(--slate-500);
  overflow-x: auto;
  white-space: nowrap;
}
.breadcrumbs a { transition: color .15s; }
.breadcrumbs a:hover { color: var(--sky); }
.breadcrumbs svg { width: 1rem; height: 1rem; color: var(--slate-400); flex-shrink: 0; }

.article-page { background: #fff; padding-bottom: 4rem; }

.article-header {
  max-width: var(--max-w-4);
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
}
.article-category-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  background: #ecfdf5;
  color: var(--emerald);
  margin-bottom: 1rem;
}
.article-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: .875rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  padding: 1rem 0;
}
.article-meta-item { display: flex; align-items: center; gap: .5rem; }
.article-meta-item svg { width: 1rem; height: 1rem; color: var(--slate-400); }

.article-hero-img {
  max-width: 72rem;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}
.article-hero-img img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.article-body-wrap {
  max-width: var(--max-w-4);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Table of Contents sidebar */
.article-toc {
  background: var(--slate-50);
  border-radius: .75rem;
  padding: 1.25rem;
  border: 1px solid var(--slate-100);
}
.article-toc h2 { font-weight: 600; color: var(--slate-900); margin-bottom: 1rem; font-size: 1.125rem; }
.article-toc ul { display: flex; flex-direction: column; gap: .75rem; }
.article-toc a { font-size: .875rem; color: var(--slate-600); transition: color .15s; }
.article-toc a:hover { color: var(--sky); }

.toc-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--slate-200); }
.toc-share h2 { font-weight: 600; color: var(--slate-900); font-size: .875rem; margin-bottom: 1rem; }
.share-buttons { display: flex; gap: .75rem; }
.share-btn {
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: 50%;
  color: var(--slate-600);
  transition: color .15s, border-color .15s;
  line-height: 0;
}
.share-btn svg { width: 1rem; height: 1rem; }
.share-btn-fb:hover  { color: var(--sky);     border-color: #bae6fd; }
.share-btn-tw:hover  { color: #38bdf8;        border-color: #bae6fd; }
.share-btn-lnk:hover { color: var(--emerald); border-color: #a7f3d0; }

/* Summary box */
.summary-box { margin-bottom: 2.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.summary-box-header {
  background: var(--dark-green);
  border-radius: .75rem .75rem 0 0;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.summary-box-header svg { width: 1rem; height: 1rem; color: var(--gold); }
.summary-box-header h2 {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .875rem;
}
.summary-box-body {
  background: #fff;
  border: 1px solid var(--dark-green);
  border-top: none;
  border-radius: 0 0 .75rem .75rem;
  padding: 1.5rem 2rem;
}
.summary-box-body ul { display: flex; flex-direction: column; gap: 1.25rem; }
.summary-box-body li { display: flex; align-items: flex-start; gap: 1rem; }
.summary-bullet {
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--bullet-purple);
  flex-shrink: 0;
  margin-top: .625rem;
}
.summary-text { font-size: 1.125rem; color: var(--slate-800); line-height: 1.7; font-family: Georgia, serif; }

/* Summary box v3 — clean minimal style (approved design) */
.summary-box-v3 { background: #fff; border-radius: .75rem; border: 1px solid #e5e7eb; margin-bottom: 2.5rem; overflow: hidden; }
.sbv3-header { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-bottom: 1px solid #e5e7eb; }
.sbv3-book-icon { color: #374151; display: flex; align-items: center; }
.sbv3-title { font-size: .9rem; font-weight: 600; color: #111827; margin: 0; padding: 0; letter-spacing: 0; text-transform: none; }
.sbv3-list { list-style: none; margin: 0; padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.sbv3-item { display: flex; align-items: flex-start; gap: .85rem; }
.sbv3-bullet { flex-shrink: 0; width: .55rem; height: .55rem; margin-top: .5rem; border-radius: 50%; background: #2563eb; }
.sbv3-text { font-size: .975rem; line-height: 1.7; color: #111827; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
@media (max-width: 480px) {
  .sbv3-list { padding: 1rem 1.1rem 1.1rem; }
  .sbv3-header { padding: .8rem 1.1rem; }
}

/* Article prose content */
.article-prose { line-height: 1.8; color: var(--slate-800); }
.article-prose h1, .article-prose h2, .article-prose h3,
.article-prose h4, .article-prose h5, .article-prose h6 {
  color: var(--slate-900);
  font-weight: 700;
  line-height: 1.3;
  margin: 2rem 0 1rem;
  scroll-margin-top: 5rem;
}
.article-prose h1 { font-size: 2rem; }
.article-prose h2 { font-size: 1.5rem; }
.article-prose h3 { font-size: 1.25rem; }
.article-prose h4 { font-size: 1.125rem; }
.article-prose p  { margin-bottom: 1.25rem; }
.article-prose a  { color: var(--sky); }
.article-prose a:hover { color: #0369a1; }
.article-prose ul, .article-prose ol {
  margin: 1rem 0 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { line-height: 1.7; }
.article-prose strong { font-weight: 700; color: var(--slate-900); }
.article-prose em { font-style: italic; }
.article-prose blockquote {
  border-left: 4px solid var(--slate-200);
  padding-left: 1rem;
  color: var(--slate-600);
  font-style: italic;
  margin: 1.5rem 0;
}
.article-prose img { border-radius: .75rem; margin: 1.5rem 0; }
.article-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; }
.article-prose th, .article-prose td { padding: .6rem 1rem; border: 1px solid var(--slate-200); text-align: left; }
.article-prose th { background: var(--slate-50); font-weight: 600; }
.article-prose code {
  background: var(--slate-100);
  padding: .15em .4em;
  border-radius: .25rem;
  font-size: .9em;
}
.article-prose pre {
  background: var(--slate-900);
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: .5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

/* Related articles */
.related-section {
  background: var(--slate-50);
  padding: 4rem 0;
  border-top: 1px solid var(--slate-200);
}
.related-section h2 { font-size: 1.5rem; font-weight: 700; color: var(--slate-900); margin-bottom: 2rem; }
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.related-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  border: 1px solid var(--slate-100);
  text-decoration: none;
  transition: box-shadow .2s;
  display: block;
}
.related-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.related-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.related-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.related-card:hover .related-card-img { transform: scale(1.05); }
.related-card-body { padding: 1.25rem; }
.related-card-cat  { font-size: .75rem; font-weight: 500; color: var(--emerald); margin-bottom: .5rem; display: block; }
.related-card-title { font-weight: 700; color: var(--slate-900); line-height: 1.35; transition: color .15s; }
.related-card:hover .related-card-title { color: var(--sky); }

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.about-hero {
  background: #fff;
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--slate-200);
}
.about-hero h1 { font-size: 2.5rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.about-hero p  { color: var(--slate-600); max-width: 42rem; margin: 0 auto; font-size: 1.125rem; line-height: 1.7; }

.about-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.about-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2rem 0 1rem; }
.about-content p  { color: var(--slate-600); line-height: 1.8; margin-bottom: 1.25rem; }
.about-content ul { margin-left: 1.5rem; list-style: disc; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.about-content li { color: var(--slate-600); line-height: 1.7; }

/* ── ARTICLE TABLE ────────────────────────────────────────── */
.article-table-wrap {
  margin: 1.75rem 0;
  border-radius: .75rem;
  border: 1px solid var(--slate-200);
  /* მობილურზე ცხრილი wrapper-ში სკროლდება, layout არ ტყდება */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  /* უზრუნველყოფს რომ ცხრილი არ შეიკუმშოს wrapper-ზე პატარა */
  min-width: 420px;
}
.article-table thead tr {
  background: var(--slate-50);
}
.article-table th {
  padding: .85rem 1.25rem;
  font-weight: 600;
  color: var(--slate-700);
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
  /* სვეტის სათაური ერთ სტრიქონად რჩება */
  white-space: nowrap;
}
.article-table td {
  padding: .85rem 1.25rem;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}
.article-table tbody tr:last-child td { border-bottom: none; }
.article-table tbody tr:hover { background: var(--slate-50); }
.article-table td:first-child { color: var(--slate-800); font-weight: 500; }

/* colored percentage cells */
.article-table td:nth-child(2) { color: #e11d48; font-weight: 600; }
.article-table td:nth-child(3) { color: var(--slate-500); }
.article-table td:nth-child(4) { color: #94a3b8; }

/* მობილური: padding და font პატარა, სკროლი კომფორტული */
@media (max-width: 480px) {
  .article-table { font-size: .8rem; }
  .article-table th,
  .article-table td { padding: .65rem .85rem; }
}

/* ── ARTICLE CALLOUT ──────────────────────────────────────── */
.article-callout {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 0 .5rem .5rem 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.article-callout strong {
  display: block;
  color: #92400e;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .4rem;
}
.article-callout p {
  margin: 0;
  color: #78350f;
  font-size: .95rem;
  line-height: 1.7;
}

/* ── ARTICLE SOURCES ──────────────────────────────────────── */
.article-sources {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}
.article-sources h3 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
}
.article-sources ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-sources li {
  font-size: .85rem;
  color: var(--slate-500);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.article-sources li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--slate-400);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (min-width: 640px) {
  .search-desktop { display: flex; }
  .search-mobile  { display: none; }
  .container, .container-4 { padding: 0 1.5rem; }
  .logo-box       { width: 2.75rem; height: 2.75rem; font-size: 1.25rem; }
  .search-modal-inner { padding: 2.5rem 1.5rem 1rem; }
  #search-input   { font-size: 1.5rem; }
  .section-icon   { width: 4rem; height: 4rem; font-size: 1.875rem; }
  .section-title  { font-size: 1.875rem; }
  .section-header { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  .hero-grid            { grid-template-columns: 2fr 1fr; }
  .hero-featured-img    { aspect-ratio: 3/2; }
  .hero-title           { font-size: 2.25rem; }
  .article-grid         { grid-template-columns: repeat(2, 1fr); }
  .cat-grid             { grid-template-columns: repeat(2, 1fr); }
  .latest-item          { flex-direction: row; align-items: center; gap: 0; }
  .latest-item-content  { padding-right: 1.5rem; }
  .latest-item-img      { width: 17.5rem; aspect-ratio: 3/2; border-radius: .75rem; }
  .article-hero-img img { height: 31.25rem; }
  .article-title        { font-size: 2.25rem; }
  .article-body-wrap    { flex-direction: row; }
  .article-toc          { width: 25%; flex-shrink: 0; order: 1; position: sticky; top: 6rem; align-self: flex-start; }
  .article-main         { width: 75%; order: 2; }
  .related-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .article-grid         { grid-template-columns: repeat(4, 1fr); }
  .cat-grid             { grid-template-columns: repeat(3, 1fr); }
  .article-title        { font-size: 3rem; }
  .container, .container-4 { padding: 0 2rem; }
}

/* ── HERO CAROUSEL ─────────────────────────────────────── */
.carousel-main { display: flex; flex-direction: column; }

/* Sidebar active state */
.c-sidebar-item {
  transition: background 300ms ease, border-color 300ms ease,
              box-shadow 300ms ease, transform 300ms ease;
  border-left: 4px solid transparent;
  padding: .6rem .75rem .6rem .875rem;
  margin: .1rem -.75rem .1rem -1rem;
  border-radius: 0 .5rem .5rem 0;
  position: relative;
}
.c-sidebar-item:hover {
  background: #f5f0ff;
  border-left-color: #a78bfa;
  transform: translateX(2px);
}
.c-sidebar-item.c-active {
  background: linear-gradient(135deg, #f8f0ff 0%, #ede9fe 100%);
  border-left-color: #6b21a8;
  box-shadow: 0 2px 12px rgba(107,33,168,.12), 0 1px 4px rgba(107,33,168,.08);
  transform: translateX(3px);
}
.c-sidebar-item.c-active .sidebar-item-title {
  color: #581c87;
  font-weight: 700;
}
.c-sidebar-item.c-active .sidebar-item-meta {
  color: #7e22ce;
  opacity: .8;
}

.carousel-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.carousel-img-wrap .hero-featured-img {
  transition: opacity .25s ease;
  display: block;
  width: 100%;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background .15s, transform .15s;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.carousel-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel-arrow svg   { width: 1.25rem; height: 1.25rem; color: #11113A; }
.carousel-arrow-left  { left: .75rem; }
.carousel-arrow-right { right: .75rem; }

.carousel-info { padding-top: 1rem; }

.carousel-dots {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.carousel-dot {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, width .2s;
}
.carousel-dot.active {
  background: var(--purple);
  width: 1.5rem;
}


