:root {
  --ink: #16181D;
  --ink-2: #4A4E57;
  --ink-3: #5B5F68;
  --bg: #F5F4F0;
  --surface: #FFFFFF;
  --line: #E2E0DA;
  --line-2: #EEECE7;
  --navy: #1F3A5F;
  --navy-2: #24436B;
  --navy-3: #3A5679;
  --navy-soft: #EEF2F7;
  --accent: #B45309;
  --accent-2: #92400E;
  --warm-bg: #FFF7ED;
  --warm-line: #F3D9B8;
  --warm-ink: #9A3412;
  --green: #14532D;
  --green-bg: #E7F0EC;
  --red: #9F1239;
  --radius: 12px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}
.lang-ka { --font: "Noto Sans Georgian", "Inter", system-ui, sans-serif; --serif: "Noto Sans Georgian", Georgia, serif; }
.lang-ar { --font: "Noto Sans Arabic", "Inter", system-ui, sans-serif; --serif: "Noto Sans Arabic", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: #142842; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0; }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
.h3, h3 { font-size: 22px; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid #F59E0B; outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.lead { font-size: 18px; color: var(--ink-2); line-height: 1.6; }
.center { text-align: center; }
.narrow { max-width: 820px; }
.section { padding-block: 56px 16px; display: flex; flex-direction: column; gap: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-lg { min-height: 50px; padding: 12px 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #142842; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost-light { border-color: #8FA6C4; color: #fff; background: transparent; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EDEBE6; color: var(--ink); }
.btn-outline-dark { border-color: #4A4E57; color: #fff; }
.btn-outline-dark:hover { background: #24272e; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Top bar */
.topbar { background: var(--ink); color: #E8E6E1; font-size: 13px; }
.topbar-in { display: flex; flex-wrap: nowrap; gap: 12px; align-items: center; justify-content: space-between; padding-block: 6px; min-height: 44px; }
.online { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.online { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; display: inline-block; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); } 70% { box-shadow: 0 0 0 7px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }
.langs { display: flex; flex-wrap: wrap; gap: 2px; }
.langs a { color: #E8E6E1; text-decoration: none; padding: 6px 9px; border-radius: 4px; min-height: 32px; display: inline-flex; align-items: center; }
.langs a:hover { background: #2A2D34; color: #fff; }
.langs a.on { background: #E8E6E1; color: var(--ink); font-weight: 600; }
.lang-drop { display: none; position: relative; flex-shrink: 0; }
.lang-drop summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 10px; border: 1px solid #3A3D44; border-radius: 6px; cursor: pointer; color: #E8E6E1; }
.lang-drop summary::-webkit-details-marker { display: none; }
.lang-drop[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px -14px rgba(22,24,29,.4); z-index: 70; display: flex; flex-direction: column; }
.lang-menu a { color: var(--ink); text-decoration: none; padding: 11px 12px; border-radius: 6px; font-size: 15px; }
.lang-menu a:hover { background: var(--navy-soft); }
.lang-menu a.on { background: var(--navy-soft); color: var(--navy); font-weight: 600; }
@media (max-width: 640px) {
  .langs { display: none; }
  .lang-drop { display: block; }
}

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-mark { width: 40px; height: 40px; border-radius: 8px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-name { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; font-size: 20px; white-space: nowrap; }
.mainnav { display: flex; align-items: center; flex-wrap: nowrap; gap: 0; margin-inline-start: auto; font-weight: 500; font-size: 15px; min-width: 0; }
.mainnav > a { color: var(--ink); text-decoration: none; padding: 8px 9px; border-radius: 6px; white-space: nowrap; }
.mainnav > a:hover, .mainnav > a[aria-current] { background: var(--navy-soft); color: var(--navy); }
.nav-search { position: relative; margin-inline-start: 4px; flex-shrink: 0; }
.search-toggle { width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; }
.search-toggle:hover, .search-toggle[aria-expanded=true] { border-color: var(--navy); color: var(--navy); }
.search-pop { display: none; position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; gap: 8px; box-shadow: 0 16px 40px -16px rgba(22,24,29,.35); z-index: 60; }
.search-pop.open { display: flex; }
.search-pop input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid #C9C6BE; border-radius: 8px; }
.search-pop .btn { min-height: 42px; padding: 8px 14px; }
.nav-toggle { display: none; margin-inline-start: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.header-cta { white-space: nowrap; flex-shrink: 0; }
/* Tight header: first step when the menu does not fit (long labels). */
.header.tight .header-in { gap: 10px; }
.header.tight .mainnav { font-size: 14px; }
.header.tight .mainnav > a { padding: 8px 7px; }
.header.tight .header-cta { padding: 9px 14px; font-size: 14px; }
.header.tight .brand-name { font-size: 18px; }
.cta-short { display: none; }
.header.tight .cta-full { display: none; }
.header.tight .cta-short { display: inline; }
/* Two-row header: switched on by JS whenever the menu does not fit on one line
   (long labels in Georgian, Russian, Azerbaijani, Arabic or narrow windows).
   The menu stays visible on its own row; the hamburger is used only on phones. */
.header.compact .header-in { flex-wrap: wrap; row-gap: 0; padding-bottom: 0; }
.header.compact .header-cta { margin-inline-start: auto; }
.header.compact .mainnav { order: 5; width: 100%; margin: 12px 0 0; padding-block: 4px; border-top: 1px solid var(--line-2); flex-wrap: wrap; row-gap: 2px; }
.header.compact .mainnav > a { padding: 10px 10px; }
.header.compact .nav-search { margin-inline-start: auto; }
.header.compact .mainnav > a { padding: 10px 9px; }
@media (max-width: 760px) {
  .header .header-in { flex-wrap: wrap; padding-bottom: 14px; }
  .header .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .header .mainnav { display: none; width: 100%; order: 5; flex-direction: column; align-items: stretch; margin: 0; padding-top: 8px; border-top: 1px solid var(--line-2); }
  .header .mainnav.open { display: flex; }
  .header .mainnav > a { padding: 12px; white-space: normal; }
  .header .nav-search { margin: 8px 0 0; }
  .header .search-toggle { display: none; }
  .header .search-pop { display: flex; position: static; width: 100%; box-shadow: none; padding: 0; border: 0; }
  .header .header-cta { order: 4; width: 100%; margin: 0; }
  .header .brand-name { font-size: 17px; }
}
@media (max-width: 600px) {
  .header { position: static; }
}

/* Georgian flag (logo mark + hero) */
.flag-ge { display: block; border-radius: 4px; box-shadow: 0 0 0 1px rgba(22,24,29,.12); background: #fff; }
.brand-flag { width: 48px; height: 32px; flex-shrink: 0; }
.hero-flag { flex: 0 1 400px; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-flag::before { content: ""; position: absolute; inset: -10% -6%; background: radial-gradient(closest-side, rgba(255,255,255,.10), rgba(255,255,255,0)); pointer-events: none; }
.flag-wave { position: relative; width: 100%; max-width: 360px; height: auto; overflow: visible; filter: drop-shadow(0 18px 28px rgba(5,14,30,.45)) drop-shadow(0 2px 4px rgba(5,14,30,.25)); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.eyebrow-flag { display: none; width: 30px; height: 20px; }
@media (max-width: 1000px) {
  .hero-flag { display: none; }
  .eyebrow-flag { display: inline-block; vertical-align: middle; margin-inline-end: 8px; }
}

/* Alerts */
.alert { margin-top: 20px; padding: 14px 16px; border-radius: 10px; border: 1px solid; }
.alert-success { background: var(--green-bg); border-color: #B7D7C5; color: var(--green); }
.alert-error { background: #FDECEE; border-color: #F3C4C4; color: var(--red); }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero-in { padding-block: 72px 56px; display: flex; flex-direction: column; gap: 40px; }
.hero-copy { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; }
.hero p { font-size: 19px; line-height: 1.6; color: #DCE4EF; }
.eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #C9D6E8; font-weight: 600; }
.eyebrow-blue { color: var(--navy); font-size: 12px; font-weight: 700; }
.eyebrow-warm { color: var(--warm-ink); font-size: 12px; font-weight: 700; }
.lang-ar .eyebrow, .lang-ka .eyebrow { letter-spacing: 0; }
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--navy-3); border-radius: var(--radius); overflow: hidden; }
.counter { background: var(--navy-2); padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.counter .num { font-size: 32px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.counter .num .dot { width: 10px; height: 10px; }
.counter .lbl { font-size: 14px; color: #C9D6E8; }
.counters-light { background: var(--line); }
.counters-light .counter { background: var(--surface); }
.counters-light .counter .lbl { color: var(--ink-3); }
@media (max-width: 800px) { .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-in { padding-block: 48px 40px; } .hero p { font-size: 17px; } }

/* Section heads */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.section-head > a { font-weight: 600; font-size: 15px; }
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 48px 36px; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); }
.page-head-row { flex-direction: row !important; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }

/* Compare */
.compare { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.compare + .compare { margin-top: 20px; }
.compare-title { font-size: 22px; }
.compare-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare-law, .compare-practice { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.compare-law { background: var(--surface); border: 1px solid var(--line); }
.compare-practice { background: var(--warm-bg); border: 1px solid var(--warm-line); }
.compare .prose { font-size: 17px; }
.link-warm { color: var(--warm-ink); font-weight: 600; font-size: 14px; }
@media (max-width: 760px) { .compare-cols { grid-template-columns: 1fr; } }

/* Cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 16 / 9; background: #E4E2DC; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: #8A8D94; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-title { font-family: var(--serif); font-size: 21px; line-height: 1.3; margin: 0; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--navy); text-decoration: underline; }
.card-text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.views { display: inline-flex; align-items: center; gap: 6px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 600; }
.chip { padding: 4px 10px; border-radius: 999px; }
.chip-grey { background: #F1EFEA; color: #3F434B; }
.chip-green { background: var(--green-bg); color: var(--green); }
.chip-blue { background: var(--navy-soft); color: var(--navy); }
.chip-outline { border: 1px solid var(--line); color: var(--ink-3); }
.right-card { padding: 24px; text-decoration: none; color: var(--ink); gap: 10px; transition: border-color .15s; }
.right-card:hover { border-color: var(--navy); color: var(--ink); }
.right-title { font-size: 18px; font-weight: 700; }
.icon-box { width: 44px; height: 44px; border-radius: 10px; background: var(--navy-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.empty-cta { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share-label { font-weight: 600; margin-inline-end: 6px; }
.share-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; }
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-compact .share-btn { width: 40px; height: 40px; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: 32px; flex-direction: row; }
.split-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-side { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.split-even { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .split-even { grid-template-columns: 1fr; } }
.list-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.list-row { display: flex; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; color: var(--ink); align-items: center; }
.list-row:last-child { border-bottom: 0; }
.list-row:hover .list-title { color: var(--navy); text-decoration: underline; }
.list-thumb { width: 112px; height: 76px; flex-shrink: 0; border-radius: 8px; background: #E4E2DC; overflow: hidden; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.list-title { font-size: 17px; font-weight: 600; line-height: 1.4; }
@media (max-width: 500px) { .list-thumb { width: 80px; height: 60px; } .list-title { font-size: 15px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.link-strong { font-weight: 600; font-size: 15px; }
.bar-row { display: flex; flex-direction: column; gap: 6px; }
.bar-label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bar { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.bar-thick { height: 10px; }
.bar-accent > span { background: var(--accent); }
.dark-box { background: var(--ink); color: #fff; border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.dark-box p { color: #C9CCD2; line-height: 1.6; }
.petition-box { padding: 36px; border-radius: 16px; }
.petition-box .btn { align-self: flex-start; }

/* Map */
.map { border-radius: 8px; background: #E4E2DC; z-index: 0; }
.map-small { height: 220px; }
.map-large { height: 460px; }
@media (max-width: 600px) { .map-large { height: 340px; } }
.chart-box { position: relative; height: 280px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }

/* Newsletter */
.newsletter { background: #E9E7E1; margin-top: 56px; }
.newsletter-in { padding-block: 44px; display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; justify-content: space-between; }
.newsletter-in > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 6px; }
.newsletter-in h2 { font-size: 28px; }
.newsletter-form { flex: 1 1 440px; display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter-form input[type=email] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 1px solid #C9C6BE; border-radius: 8px; background: #fff; }

/* Footer */
.footer { background: var(--ink); color: #C9CCD2; }
.footer .wrap { padding-block: 56px 28px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid > nav, .footer-grid > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer a { color: #C9CCD2; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 22px; color: #fff; }
.footer-about p { line-height: 1.6; max-width: 360px; font-size: 14px; }
.fh { color: #fff; font-weight: 600; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.socials a { width: 44px; height: 44px; border-radius: 8px; border: 1px solid #3A3D44; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { background: #2A2D34; text-decoration: none; }
.socials-dark a { border-color: var(--line); color: var(--ink); }
.socials-dark a:hover { background: var(--navy-soft); }
.footer-bottom { border-top: 1px solid #2E3137; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #9A9EA6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom a { color: #9A9EA6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* Article */
.article { padding-block: 40px 24px; max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.back { font-weight: 600; text-decoration: none; font-size: 15px; }
.article-head { display: flex; flex-direction: column; gap: 12px; }
.article-head h1 { font-size: clamp(30px, 4.2vw, 46px); }
.article-cover img { border-radius: var(--radius); width: 100%; }
.article-cover { margin: 0; }
.article-share { padding-top: 16px; border-top: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.75; color: #22252B; overflow-wrap: anywhere; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 1em; }
.prose h2 { font-size: 26px; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 21px; margin: 1.2em 0 .4em; }
.prose blockquote { border-inline-start: 4px solid var(--accent); padding-inline-start: 16px; color: var(--ink-2); }
.prose img { border-radius: 8px; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.story-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.story-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.story-facts { flex: 1 1 260px; position: sticky; top: 96px; }
.story-facts dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.story-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.story-facts dd { margin: 2px 0 0; font-weight: 600; }
.flag-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.flag-list li { display: flex; gap: 8px; align-items: flex-start; }
.flag-list svg { color: var(--green); flex-shrink: 0; margin-top: 3px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 8px; }
.doc-link { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; align-self: flex-start; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-layout { display: flex; flex-wrap: wrap; gap: 32px; flex-direction: row; align-items: flex-start; }
.form-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
@media (max-width: 900px) { .form-side, .story-facts { position: static; } }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: 15px; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, .filters select, .search-big input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C9C6BE; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input[type=file] { padding: 12px; border: 1px dashed #C9C6BE; border-radius: 8px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(31,58,95,.2); }
.hint { font-size: 13px; color: var(--ink-3); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.fieldset-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #FBFAF8; gap: 16px; }
.fieldset-box > legend { padding-inline: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg-opt { flex: 1 1 200px; position: relative; }
.seg-opt input { position: absolute; opacity: 0; }
.seg-opt span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 1px solid #C9C6BE; border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; }
.seg-opt input:checked + span { border-color: var(--navy); background: var(--navy-soft); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.seg-opt input:focus-visible + span { outline: 3px solid #F59E0B; outline-offset: 2px; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.check-consent { background: var(--warm-bg); border: 1px solid var(--warm-line); padding: 14px; border-radius: 8px; }
.privacy-panel { background: var(--navy-soft); border-color: #D5DEEA; }
.success-panel { align-items: flex-start; }
.success-panel svg { color: var(--green); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-3); flex: 1 1 200px; }
.search-big { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.search-big input { flex: 1 1 260px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding-top: 12px; }
.pager a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-decoration: none; font-weight: 600; }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.dir-head { margin-top: 12px; }
.dir-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sig-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sig-list li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }

.toast { position: fixed; bottom: 20px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; z-index: 200; font-size: 14px; }
[dir=rtl] .toast { transform: translateX(50%); }
[dir=rtl] .back, [dir=rtl] .section-head > a, [dir=rtl] .link-strong, [dir=rtl] .link-warm { unicode-bidi: plaintext; }

/* Long scripts: slightly smaller hero headline */
.lang-ka .hero h1, .lang-ru .hero h1, .lang-az .hero h1 { font-size: clamp(28px, 4vw, 46px); }

.tr-note { font-size: 14px; color: var(--ink-3); background: var(--navy-soft); border-radius: 8px; padding: 8px 12px; align-self: flex-start; }
.tr-note a { font-weight: 600; }
