/* weareturks.com — public site. Mobile-first. Brand: turquoise (from logo). */
:root {
  color-scheme: light;
  --brand: #1497a6;         /* logo turquoise: accents, rules, flags ring */
  --brand-ink: #0b6f7a;     /* turquoise for text/links (>= 4.5:1 on white) */
  --brand-strong: #0a6670;  /* button background (white text >= 5:1) */
  --brand-tint: #e3f4f6;
  --red: #c1121f;           /* logo ".com" red — used sparingly */
  --bg: #ffffff;
  --surface: #f6f8f9;
  --line: #e2e7ea;
  --ink: #15191c;
  --ink-2: #4b555c;
  --ink-3: #6f7a81;
  --shadow: 0 1px 2px rgba(16, 24, 28, .06), 0 4px 16px rgba(16, 24, 28, .05);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand: #2bb7c6;
    --brand-ink: #5fd0dc;
    --brand-strong: #138896;
    --brand-tint: #12313a;
    --red: #ef4b55;
    --bg: #0f1416;
    --surface: #161d20;
    --line: #253035;
    --ink: #eef3f4;
    --ink-2: #b4c0c5;
    --ink-3: #8b989e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.flag { display: inline-block; vertical-align: middle; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); object-fit: cover; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); }
.site-header::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--brand) 0 85%, var(--red) 85%); }
.hdr { display: flex; align-items: center; gap: 10px; height: 60px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 32px; width: auto; display: block; }
.search { flex: 1 1 auto; display: flex; min-width: 0; margin-left: auto; max-width: 360px; }
.search input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
  background: var(--surface); color: var(--ink); padding: 0 12px; font: inherit; font-size: 15px; }
.search button { width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 0 10px 10px 0; background: var(--surface);
  color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.langs { position: relative; flex: 0 0 auto; }
.langs summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; right: 0; top: 46px; margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); min-width: 180px; }
.langs li a { display: block; padding: 9px 12px; border-radius: 8px; }
.langs li a:hover, .langs li a[aria-current] { background: var(--brand-tint); color: var(--brand-ink); }
@media (max-width: 560px) {
  .hdr { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .brand img { height: 28px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .langs { margin-left: auto; }
}

.cats { border-top: 1px solid var(--line); }

/* mobile: categories move into the ☰ drawer, countries become a flag strip */
.menu-btn, .flagbar { display: none; }
.menu-btn { flex: 0 0 auto; width: 40px; height: 38px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  color: var(--ink); cursor: pointer; place-items: center; }
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .cats, .pt-home .countries:not(.region-chips), .pt-home .ctry-row { display: none; }
  .flagbar { display: flex; justify-content: space-between; gap: 4px; padding: 8px 16px 10px; border-top: 1px solid var(--line); }
  .flagbar a { flex: 1; display: grid; place-items: center; padding: 6px 0; border-radius: 10px; }
  .flagbar a[aria-current] { background: var(--brand-tint); }
  .flagbar .flag { width: 34px; height: 25px; border-radius: 4px; }
  .site-header .langs { margin-left: auto; }
}
html.noscroll { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--bg); padding: 0 16px 32px; }
.drawer[hidden] { display: none; }
.drawer-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 0;
  background: var(--bg); border-bottom: 1px solid var(--line); }
.drawer-head b { font-size: 18px; }
.drawer-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink);
  font-size: 18px; cursor: pointer; }
.drawer h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 20px 0 10px; }
.drawer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer li a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-weight: 600; font-size: 15px; }
.drawer li a[aria-current] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-ink); }
.dr-foot { margin-top: 22px; color: var(--ink-3); font-size: 14px; }
.dr-foot a { color: var(--brand-ink); font-weight: 600; }
.scroller { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; scroll-snap-type: x proximity; }
.scroller::-webkit-scrollbar { display: none; }
.scroller a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; scroll-snap-align: start; }
.scroller a:hover { color: var(--brand-ink); background: var(--brand-tint); }
.scroller a[aria-current] { color: #fff; background: var(--brand-strong); }

/* sections */
main { padding-top: 16px; padding-bottom: 48px; min-height: 60vh; }
.sec { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 1.2; margin: 32px 0 14px; letter-spacing: -.01em; }
.sec::before { content: ""; width: 4px; height: 20px; border-radius: 2px; background: var(--brand); }
.sec .flag + * , .sec .more { margin-left: auto; }
.sec .more { font-size: 14px; font-weight: 600; color: var(--brand-ink); }
.page-h { display: flex; align-items: center; gap: 12px; font-size: clamp(24px, 5vw, 34px); line-height: 1.15; margin: 8px 0 20px; letter-spacing: -.02em; }
.countries { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 2px; }
.countries::-webkit-scrollbar { display: none; }
.countries a { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; background: var(--bg); }
.countries a:hover { border-color: var(--brand); color: var(--brand-ink); }
.region-chips { margin: -4px 0 14px; }
.ctry-row { display: flex; align-items: center; gap: 8px; }
.ctry-row .countries { flex: 1 1 auto; min-width: 0; }
.reg-menu { position: relative; flex: 0 0 auto; }
.reg-menu summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--brand); color: var(--brand-ink); font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.reg-menu summary::-webkit-details-marker { display: none; }
.reg-menu[open] summary { background: var(--brand-tint); }
.reg-menu ul { position: absolute; right: 0; top: 44px; z-index: 30; list-style: none; margin: 0; padding: 6px; min-width: 230px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.reg-menu li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: 14.5px; }
.reg-menu li a:hover { background: var(--brand-tint); color: var(--brand-ink); }

/* cards */
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid > *, .top-grid > *, .hdr > *, .card-link { min-width: 0; }  /* long words must not widen the page */
.card h3, .story h1, .body p { overflow-wrap: break-word; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .by-country .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 12px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: var(--shadow); transform: translateY(-1px); }
.card-link { display: block; flex: 1; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* whole card clickable */
.card-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.card-top .flag { width: 28px; height: 21px; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  color: var(--brand-ink); background: var(--brand-tint); text-transform: uppercase; }
.chip.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.card h3 { font-size: 17px; line-height: 1.32; margin: 0 0 8px; letter-spacing: -.005em; }
.card:hover h3 { color: var(--brand-ink); }
.excerpt { margin: 0; color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-3); }
.meta span { font-weight: 600; color: var(--ink-2); }

.thumb { position: relative; margin: -14px -16px 12px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, var(--brand-tint), var(--surface)); }
.thumb .photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .thumb .photo { transform: scale(1.03); }
.thumb .flag { position: absolute; top: 10px; left: 10px; width: 30px; height: 22px; box-shadow: 0 0 0 2px #fff, 0 2px 8px rgba(0,0,0,.25); }
.thumb.broken { aspect-ratio: auto; margin: 0 0 10px; background: none; overflow: visible; }
.thumb.broken .photo { display: none; }
.thumb.broken .flag { position: static; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.card.big .thumb { margin: -20px -20px 16px; }
.thumb.ph { aspect-ratio: 21 / 9; }
.thumb.ph::before { content: ""; position: absolute; inset: -20px; background: var(--flag) center / cover; filter: blur(18px) saturate(1.2); opacity: .55; transform: scale(1.1); }
.thumb.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--bg) 70%, transparent)); }
.thumb.ph .flag { z-index: 1; }
.hero { margin: 0 0 22px; }
.hero img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); display: block; background: var(--surface); }
.hero figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.top-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .top-grid { grid-template-columns: 1.4fr 1fr; grid-auto-rows: auto; } .top-grid .big { grid-row: span 4; } }
.card.big { background: linear-gradient(160deg, var(--brand-tint), var(--bg) 60%); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); padding: 20px; }
.card.big h3 { font-size: clamp(21px, 3vw, 28px); line-height: 1.22; letter-spacing: -.015em; }
.card.big .excerpt { -webkit-line-clamp: 6; font-size: 16px; }
.top-grid .card:not(.big) .excerpt { -webkit-line-clamp: 2; }
@media (min-width: 420px) {
  .top-grid .card:not(.big).has-img .card-link { display: grid; grid-template-columns: 128px 1fr; column-gap: 14px; align-content: start; }
  .top-grid .card:not(.big) .thumb:not(.broken) { grid-row: span 3; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; }
  .top-grid .card:not(.big) .thumb .flag { width: 24px; height: 18px; top: 6px; left: 6px; }
}

/* featured slider (newest featured first, max 15) + latest headlines */
.featured { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 14px 0 6px; }
@media (min-width: 980px) { .featured { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.slider-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); align-self: start; }
.slider { position: relative; background: #0e1a1d; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 16 / 9; overflow: hidden; color: #fff; }
@media (max-width: 640px) { .slide { aspect-ratio: 4 / 3; } }
.slide .ph { position: absolute; inset: 0; background: var(--flag) center / cover; filter: blur(22px) saturate(1.2); transform: scale(1.25); opacity: .9; }
.slide .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease-out; }
.slide:hover .photo { transform: scale(1.04); }
.slide.noimg .photo { display: none; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.88)); }
.slide .flag { position: absolute; z-index: 2; top: 12px; left: 12px; width: 34px; height: 25px; box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(0,0,0,.35); }
.cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 16px 18px 18px; }
.kicker { display: inline-block; margin-bottom: 8px; padding: 4px 10px; background: var(--red); color: #fff; font-size: 12.5px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; border-radius: 4px; }
.headline { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font-size: clamp(20px, 3.3vw, 34px); line-height: 1.16; font-weight: 800; letter-spacing: -.015em; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.snav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.42); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.snav:hover { background: rgba(0,0,0,.62); }
.snav.prev { left: 10px; } .snav.next { right: 10px; }
@media (hover: none) { .snav { width: 34px; height: 34px; font-size: 22px; background: rgba(0,0,0,.3); } }
.dots { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; background: var(--bg); }
.dots::-webkit-scrollbar { display: none; }
.dots li { flex: 1 0 auto; }
.dots button { width: 100%; min-width: 34px; height: 38px; border: 0; background: none; color: var(--ink-2); font: inherit; font-weight: 700;
  font-size: 14px; cursor: pointer; font-variant-numeric: tabular-nums; }
.dots button:hover { color: var(--brand-ink); background: var(--brand-tint); }
.dots button[aria-current] { background: var(--brand-strong); color: #fff; }
.side-latest { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 6px; background: var(--bg); align-self: start; }
.side-latest h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 6px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(193,18,31,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(193,18,31,0); } 100% { box-shadow: 0 0 0 0 rgba(193,18,31,0); } }
.side-latest ol { list-style: none; margin: 0; padding: 0; }
.side-latest li + li { border-top: 1px solid var(--line); }
.side-latest a { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: start; padding: 10px 0; font-size: 14.5px; line-height: 1.35; font-weight: 600; }
.side-latest a:hover span { color: var(--brand-ink); }
.side-latest time { color: var(--red); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 1px; }
.side-latest .flag { margin-top: 2px; }
.side-latest span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 979px) { .side-latest ol li:nth-child(n+5) { display: none; } }

/* article */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 8px; font-size: 13px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a:hover { color: var(--brand-ink); }
.story { max-width: 760px; margin: 0 auto; }
.story h1 { font-size: clamp(26px, 5.4vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 12px; }
.story .ctry { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.byline { color: var(--ink-3); font-size: 14px; margin: 0 0 22px; }
.byline a { color: var(--brand-ink); font-weight: 600; }
.body p { font-size: 18px; line-height: 1.7; margin: 0 0 18px; }
.body p:first-child { font-size: 19.5px; color: var(--ink); }
.src-box { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.btn { display: inline-flex; flex-direction: column; justify-content: center; min-height: 46px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); font-weight: 700; font-size: 15px; }
.btn small { font-weight: 500; font-size: 12px; color: var(--ink-3); }
.btn.primary { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.btn:hover { border-color: var(--brand); }
.btn.primary:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .btn { flex: 1 1 100%; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.tags a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tags a::before { content: "#"; color: var(--brand); margin-right: 2px; }
.tags a:hover { color: var(--brand-ink); border-color: var(--brand); }
.tg-cta { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius);
  background: #229ed9; color: #fff; font-weight: 700; }
.tg-cta span { margin-left: auto; font-weight: 500; opacity: .9; }
.tg-cta:hover { filter: brightness(1.06); }
.ai-note { font-size: 13px; color: var(--ink-3); border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; margin: 0 0 8px; }
.ctry-list { list-style: none; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ctry-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }

/* trust pages + digest */
.prose h2 { font-size: 21px; margin: 30px 0 8px; letter-spacing: -.01em; }
.prose p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.lead { font-size: 19px !important; color: var(--ink-2); margin-bottom: 22px !important; }
.see-also { margin-top: 28px !important; font-weight: 600; }
.see-also a { color: var(--brand-ink); }
.contact-list { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.contact-list span { min-width: 90px; color: var(--ink-3); font-size: 14px; }
.contact-list a { color: var(--brand-ink); font-weight: 700; overflow-wrap: anywhere; }
.src-h { display: flex; align-items: center; gap: 10px; }
.src-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.src-list li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.src-list a { font-weight: 700; color: var(--brand-ink); }
.src-list span { color: var(--ink-3); font-size: 13px; text-transform: uppercase; }
.kicker-line { color: var(--brand-ink); font-weight: 800; letter-spacing: .02em; margin: 6px 0 0; }
.digest-list { list-style: none; counter-reset: d; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.digest-list li { counter-increment: d; }
.digest-list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 4px;
  align-content: start; padding: 14px 16px 14px 56px; border: 1px solid var(--line); border-radius: var(--radius); }
.digest-list a > :not(.dthumb) { grid-column: 1; }
.digest-list a::before { content: counter(d); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand-strong); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.digest-list a:hover { border-color: var(--brand); }
.dthumb { grid-column: 2; grid-row: 1 / span 3; width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }
.ico-paper { width: 1.1em; height: 1.1em; vertical-align: -0.15em; }
.dmeta { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.dtitle { font-weight: 800; font-size: 17px; line-height: 1.3; }
.dlead { color: var(--ink-2); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 520px) { .dthumb { width: 84px; height: 60px; } }
.digest-banner { display: flex; align-items: center; gap: 14px; margin: 22px 0 0; padding: 14px 18px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-strong), #0e7f8b); color: #fff; }
.db-icon { font-size: 28px; }
.db-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.db-text b { font-size: 16px; }
.db-text span { font-size: 13.5px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-go { font-weight: 800; white-space: nowrap; }
@media (max-width: 560px) { .db-go { display: none; } }
/* News | Travel switch */
.switch { display: flex; flex: 0 0 auto; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.switch a { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.switch a .ico-paper { width: 17px; height: 17px; }
.switch a[aria-current] { background: var(--brand-strong); color: #fff; }
.sec-travel .switch a[aria-current] { background: var(--sand-strong); }
@media (max-width: 760px) {
  .switch { order: 3; flex-basis: 100%; }
  .switch a { flex: 1; justify-content: center; }
  .hdr .search { order: 4; }
}

/* travel section: turquoise + warm sand */
:root { --sand: #c99a4e; --sand-strong: #9a6b22; --sand-tint: #f7efe1; }
@media (prefers-color-scheme: dark) { :root { --sand: #d9ad62; --sand-strong: #a87a2c; --sand-tint: #2b2416; } }
.sec-travel .site-header::before { background: linear-gradient(90deg, var(--sand) 0 70%, var(--brand) 70%); }
.sec-travel .scroller a[aria-current] { background: var(--sand-strong); }
.sec-travel .sec::before { background: var(--sand); }
.preview-bar { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--sand-tint); color: var(--sand-strong); font-size: 14px; font-weight: 600; }
.t-hero { margin: 18px 0 8px; padding: 26px 22px; border-radius: var(--radius); color: #fff;
  background: linear-gradient(120deg, #9a6b22, #c99a4e 45%, #1497a6); }
.t-hero h1 { margin: 0 0 14px; font-size: clamp(26px, 5vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.t-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.t-quick a { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 700; font-size: 14px; }
.t-quick a:hover { background: rgba(255,255,255,.3); }
.tgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tgrid.big { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg);
  transition: transform .15s, box-shadow .15s; }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tc-img { position: relative; aspect-ratio: 4 / 3; background: var(--sand-tint); overflow: hidden; }
.tgrid.big .tc-img { aspect-ratio: 16 / 9; }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr 1fr; gap: 10px; } .tgrid.big { grid-template-columns: 1fr; }
  .tc-body b { font-size: 15px; } .tc-body { padding: 10px; } }
.tc-img > img:not(.flag) { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-ph { position: absolute; inset: -20px; background: var(--flag) center / cover; filter: blur(16px) saturate(1.2); opacity: .7; }
.tc-img .flag { position: absolute; top: 10px; left: 10px; box-shadow: 0 0 0 2px #fff; }
.unesco { display: inline-block; padding: 2px 7px; border-radius: 5px; background: #0b5ea8; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.tc-img .unesco { position: absolute; top: 10px; right: 10px; }
.tc-body { display: grid; gap: 4px; padding: 12px 14px 14px; }
.tc-body b { font-size: 17px; }
.tc-body span { color: var(--ink-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st { font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--sand-strong); }
.t-entity { max-width: 900px; margin: 0 auto; }
.t-cover { margin: 12px 0 0; }
.t-cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); display: block; height: auto; }
.t-cover figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.t-cover figcaption a { text-decoration: underline; }
.t-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.t-title h1 { margin: 0; font-size: clamp(28px, 5.4vw, 44px); letter-spacing: -.02em; line-height: 1.1; }
.t-sec h2 { font-size: 22px; margin: 26px 0 8px; }
.t-sec p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.t-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 18px 0 8px;
  background: var(--sand-tint); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.t-facts div { padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.t-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--sand-strong); font-weight: 800; }
.t-facts dd { margin: 4px 0 0; font-weight: 700; }
.t-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 18px 0 6px; }
.t-extras a { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 14px 16px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--sand-strong), var(--sand)); color: #fff; }
.t-extras a:hover { filter: brightness(1.06); }
.tx-kind { grid-column: 1; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; opacity: .9; }
.t-extras b { grid-column: 1; font-size: 17px; }
.tx-go { grid-column: 2; grid-row: 1 / span 2; font-size: 22px; font-weight: 800; }
.t-map { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.t-news { list-style: none; padding: 0; display: grid; gap: 8px; }
.t-news a { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; }

/* events calendar */
.ev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ev-list li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.ev-date { display: grid; place-items: center; align-content: center; border-radius: 12px; background: var(--sand-tint); color: var(--sand-strong); height: 64px; }
.ev-date b { font-size: 22px; line-height: 1; }
.ev-date small { font-size: 12px; text-transform: uppercase; font-weight: 700; }
.ev-body { display: grid; gap: 4px; }
.ev-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ev-top b { font-size: 17px; margin-left: 4px; }
.ev-desc { color: var(--ink-2); font-size: 15px; }
.ev-var { font-size: 12.5px; color: var(--sand-strong); }

/* Turkic phrasebook */
.pb .lead { max-width: 70ch; }
.pb-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.pb-toc a { padding: 6px 12px; border-radius: 999px; background: var(--sand-tint); color: var(--sand-strong); font-weight: 700; font-size: 14px; }
.pb-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.pb-table { border-collapse: collapse; min-width: 980px; width: 100%; font-size: 15px; }
.pb-table th { position: sticky; top: 0; background: var(--surface); text-align: left; font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pb-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 600; }
.pb-table tr:last-child td { border-bottom: 0; }
.pb-table tbody tr:hover td { background: var(--sand-tint); }
.pb-table td small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; font-style: italic; }
.pb-table .mine { position: sticky; left: 0; background: var(--bg); box-shadow: 1px 0 0 var(--line); color: var(--sand-strong); z-index: 1; }
.pb-table th.mine { background: var(--surface); z-index: 2; }

/* x-default root page (language editions) */
.root-page { max-width: 980px; padding-top: 40px; padding-bottom: 60px; }
.root-logo { height: 52px; width: auto; display: block; margin: 0 auto 14px; }
.root-page h1 { text-align: center; font-size: clamp(20px, 3.4vw, 28px); margin: 0 0 28px; color: var(--ink-2); }
.editions { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.editions a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.editions a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.editions b { font-size: 18px; color: var(--brand-ink); }
.ed-tag { font-weight: 700; }
.ed-desc { color: var(--ink-2); font-size: 14px; }

/* floating Telegram button (sits above the digest button) */
.tgfab { position: fixed; right: 18px; bottom: 18px; z-index: 39; display: flex; flex-direction: row-reverse; align-items: center;
  height: 58px; min-width: 58px;
  border-radius: 999px; background: linear-gradient(140deg, #2aabee, #1c8fcf); color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: 0 6px 20px rgba(28, 143, 207, .45); overflow: hidden; animation: dfab-in .6s cubic-bezier(.2, 1.4, .4, 1) 1.3s both; }
.tgfab.above { bottom: 88px; }
.tgfab-ico { flex: 0 0 58px; height: 58px; display: grid; place-items: center; }
.tgfab-ico svg { animation: tg-wiggle 6s ease-in-out 3s infinite; transform-origin: 50% 50%; }
.tgfab-label { max-width: 0; white-space: nowrap; opacity: 0; transition: max-width .45s ease, opacity .3s ease, padding .45s ease; }
.tgfab.open .tgfab-label, .tgfab:hover .tgfab-label, .tgfab:focus-visible .tgfab-label { max-width: 260px; opacity: 1; padding-left: 20px; }
.tgfab:hover { filter: brightness(1.06); }
@keyframes tg-wiggle { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-14deg) translate(-1px, 1px); }
  94% { transform: rotate(10deg) translate(2px, -2px); } 97% { transform: rotate(-4deg); } }
@media (max-width: 560px) { .tgfab { right: 14px; bottom: 14px; height: 54px; min-width: 54px; } .tgfab.above { bottom: 80px; }
  .tgfab-ico { flex-basis: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .tgfab, .tgfab-ico svg { animation: none; } .tgfab-label { transition: none; } }

/* floating daily-digest button */
.dfab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dfab-btn { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong)); box-shadow: 0 6px 20px rgba(10, 102, 112, .45);
  display: grid; place-items: center; animation: dfab-in .6s cubic-bezier(.2, 1.4, .4, 1) .8s both; transition: transform .2s; }
.dfab-btn .ico-paper { width: 27px; height: 27px; }
.dfab-btn:hover { transform: scale(1.07); }
.dfab.fresh .dfab-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--brand);
  animation: dfab-ring 2.2s ease-out 1.6s infinite; }
.dfab-dot { position: absolute; top: 3px; right: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 2px #fff; }
.dfab-pop { position: relative; width: min(320px, calc(100vw - 36px)); padding: 16px 16px 14px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0, 0, 0, .18); transform-origin: bottom right;
  animation: dfab-pop .25s ease-out; }
.dfab-pop[hidden] { display: none; }
.dfab-kicker { display: flex; align-items: center; gap: 6px; color: var(--brand-ink); font-weight: 800; font-size: 13px; }
.dfab-pop b { display: block; font-size: 18px; margin: 4px 0 6px; }
.dfab-pop p { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.dfab-pop .btn { width: 100%; justify-content: center; align-items: center; }
.dfab-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none;
  color: var(--ink-3); cursor: pointer; font-size: 15px; }
.dfab-x:hover { background: var(--surface); }
@keyframes dfab-in { 0% { transform: scale(0) translateY(30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes dfab-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes dfab-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) { .dfab { right: 14px; bottom: 14px; } .dfab-btn { width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .dfab-btn, .dfab-pop, .dfab.fresh .dfab-btn::before { animation: none; } }

.arch-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.arch-list a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.arch-list b { color: var(--brand-ink); }
.arch-list span { color: var(--ink-2); font-size: 14.5px; }

.pager { display: flex; justify-content: space-between; margin-top: 22px; }
.pager a { padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--brand-ink); }
.empty { color: var(--ink-3); padding: 40px 0; text-align: center; }
.nf { text-align: center; padding: 60px 0; }
.nf .big { font-size: 72px; font-weight: 800; color: var(--brand); margin: 0; }

/* footer */
.site-footer { background: #0e1a1d; color: #c9d6d9; margin-top: 48px; border-top: 3px solid var(--brand); }
.foot { display: grid; gap: 30px; grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 28px; }
@media (min-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .foot { grid-template-columns: 1.2fr 1.5fr 1fr .9fr; gap: 40px; } }
.f-logo { height: 30px; width: auto; display: block; }
.foot p { font-size: 14px; line-height: 1.6; color: #93a5aa; max-width: 34ch; margin: 14px 0 16px; }
.f-tg { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #229ed9;
  color: #fff !important; font-weight: 700; font-size: 14px; }
.f-tg:hover { filter: brightness(1.08); }
.foot h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 4px 0 14px; opacity: .9; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 14px; }
.foot ul.two { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.foot a { display: inline-flex; align-items: center; gap: 9px; color: #c9d6d9; }
.foot a:hover { color: #fff; }
.f-flags .flag { width: 22px; height: 16px; flex: 0 0 auto; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 16px; padding-bottom: 26px; border-top: 1px solid #1f2f33; font-size: 12.5px; color: #7c8e93; }
.f-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.f-langs a { color: #93a5aa; }
.f-langs a:hover, .f-langs a[aria-current] { color: #fff; }
.flag { object-fit: cover; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
