/* =============================================================
   RELOGRAPH — Editorial design system
   Fonts: Fraunces (display), Onest (body), JetBrains Mono (data)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,700;9..144,900&family=Onest:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Palette */
  --paper: #F5F1EA;
  --paper-deep: #EBE4D7;
  --ink: #1A1814;
  --ink-soft: #4A463F;
  --ink-mute: #8B8579;
  --rule: #D9D2C2;
  --terracotta: #B8472D;
  --terracotta-soft: #E8826B;
  --teal: #2C5F5D;
  --teal-soft: #5C8A88;
  --gold: #C8932B;
  --good: #4A7C59;
  --bad: #B8472D;

  /* Typography */
  --display: 'Fraunces', Georgia, serif;
  --body: 'Onest', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Layout */
  --container: 1280px;
  --rule-w: 1px;
}

/* =============================================================
   Base
   ============================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  /* Subtle paper texture */
  background-image:
    radial-gradient(circle at 25% 30%, rgba(184,71,45,0.025) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(44,95,93,0.02) 0%, transparent 45%);
  min-height: 100vh;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-thickness 120ms;
}
a:hover {
  text-decoration-thickness: 2px;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* =============================================================
   Layout primitives
   ============================================================= */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.rule {
  border: 0;
  border-top: var(--rule-w) solid var(--ink);
  margin: 0;
}
.rule--soft { border-top-color: var(--rule); }
.rule--double { border-top: 3px double var(--ink); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow--accent { color: var(--terracotta); }

/* =============================================================
   Header / Masthead
   ============================================================= */

.masthead {
  border-bottom: 3px double var(--ink);
  padding: var(--s-5) 0 var(--s-3);
  background: var(--paper);
}

.masthead__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}

.masthead__top-right { display: flex; gap: var(--s-4); }
.masthead__top a { text-decoration: none; }
.masthead__top a:hover { color: var(--terracotta); }

.masthead__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.logo::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--terracotta) 0%,
    var(--terracotta) 20%,
    var(--ink) 20%,
    var(--ink) 35%,
    var(--gold) 35%,
    var(--gold) 50%,
    var(--ink) 50%,
    var(--ink) 65%,
    var(--teal) 65%,
    var(--teal) 100%
  );
  margin-top: 6px;
}

.tagline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: var(--s-3);
  letter-spacing: 0.01em;
}

/* Navigation */
.nav {
  border-top: 1px solid var(--rule);
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  display: flex;
  justify-content: center;
  gap: var(--s-6);
  flex-wrap: wrap;
}
.nav a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms;
}
.nav a:hover { border-bottom-color: var(--terracotta); }
.nav a.is-active { border-bottom-color: var(--ink); }

/* =============================================================
   DEMO DATA badge
   ============================================================= */

.demo-banner {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: var(--s-2) var(--s-4);
}
.demo-banner strong { color: var(--gold); font-weight: 700; }

.demo-pill {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 6px;
  vertical-align: middle;
}

/* =============================================================
   Hero / Issue header
   ============================================================= */

.issue-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: var(--s-5);
  padding: var(--s-7) 0 var(--s-5);
  border-bottom: 1px solid var(--ink);
}

.issue-header__left,
.issue-header__right {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.6;
}

.issue-header__center {
  text-align: center;
}
.issue-header__center h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.issue-header__center .month-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-3);
}

.issue-header__right { text-align: right; }

@media (max-width: 720px) {
  .issue-header { grid-template-columns: 1fr; gap: var(--s-3); }
  .issue-header__left, .issue-header__right { text-align: center; }
}

/* =============================================================
   Lead / dek
   ============================================================= */

.lead {
  max-width: 760px;
  margin: var(--s-6) auto;
  text-align: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.lead em { color: var(--terracotta); font-style: italic; }

/* =============================================================
   Rating table — the signature element
   ============================================================= */

.rating-section {
  padding: var(--s-7) 0;
}

.rating-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
}
.rating-header h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.rating-header .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Rating filters */
.rating-filters {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.filter-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 0;
  transition: all 120ms;
}
.filter-chip:hover { background: var(--ink); color: var(--paper); }
.filter-chip.is-active { background: var(--ink); color: var(--paper); }

/* The actual table */
.rating-table {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.rating-row {
  display: grid;
  grid-template-columns: 60px 1fr 240px 130px 110px 110px;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: background 100ms;
}
.rating-row:last-child { border-bottom: none; }
.rating-row:hover { background: rgba(184,71,45,0.04); }

.rating-row__rank {
  font-family: var(--display);
  font-weight: 900;
  font-size: 44px;
  line-height: 0.9;
  font-variation-settings: "opsz" 144;
  text-align: center;
  color: var(--ink);
}
.rating-row__rank--top {
  color: var(--terracotta);
}

.rating-row__country {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rating-row__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.rating-row__capital {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Sub-score bars */
.subscores {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.subscore {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.subscore__bar {
  height: 4px;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.subscore__bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--w, 0%);
  background: var(--ink);
}
.subscore__bar--good::after { background: var(--good); }
.subscore__bar--warn::after { background: var(--gold); }
.subscore__bar--bad::after { background: var(--bad); }
.subscore__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.rating-row__score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  text-align: right;
  font-variation-settings: "opsz" 144;
}
.rating-row__score-max {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
}

.rating-row__cost {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}
.rating-row__cost-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 2px;
}

.trend {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}
.trend--up { color: var(--good); }
.trend--down { color: var(--bad); }
.trend--flat { color: var(--ink-mute); }

@media (max-width: 900px) {
  .rating-row {
    grid-template-columns: 50px 1fr auto;
    gap: var(--s-3);
  }
  .rating-row .subscores,
  .rating-row__cost,
  .rating-row .trend { display: none; }
  .rating-row__rank { font-size: 32px; }
  .rating-row__name { font-size: 18px; }
  .rating-row__score { font-size: 26px; }
}

/* =============================================================
   Method note
   ============================================================= */

.method-note {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--paper-deep);
  border-left: 3px solid var(--terracotta);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.method-note strong { color: var(--ink); font-weight: 600; }

/* =============================================================
   Editorial / articles
   ============================================================= */

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 3px double var(--ink);
  margin-bottom: var(--s-5);
}
.section-title h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.section-title .more {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.section-title .more:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* Filters bar */
.section-filters {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-5);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-6);
}

.article-lead {
  border-right: 1px solid var(--rule);
  padding-right: var(--s-6);
}
.article-lead .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-3);
}
.article-lead h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.article-lead h3 a { text-decoration: none; color: var(--ink); }
.article-lead h3 a:hover { color: var(--terracotta); }
.article-lead .dek {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.article-lead .byline {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.article-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--s-4);
}
.article-card:last-child { border-bottom: none; }
.article-card .kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-2);
}
.article-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.article-card h4 a { text-decoration: none; color: var(--ink); }
.article-card h4 a:hover { color: var(--terracotta); }
.article-card .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
}

@media (max-width: 900px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .article-lead { border-right: none; padding-right: 0; padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule); }
}

/* =============================================================
   YouTube vitrine
   ============================================================= */

.youtube-section {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-7) 0;
  margin-top: var(--s-7);
}
.youtube-section .section-title {
  border-bottom-color: var(--paper);
}
.youtube-section .section-title h2 { color: var(--paper); }
.youtube-section .section-title .more { color: var(--paper); border-color: var(--paper); }
.youtube-section .filter-chip {
  border-color: var(--paper);
  color: var(--paper);
}
.youtube-section .filter-chip:hover,
.youtube-section .filter-chip.is-active {
  background: var(--paper);
  color: var(--ink);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}

.video-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--paper);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink-soft);
  overflow: hidden;
  margin-bottom: var(--s-3);
}
.video-card__thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--terracotta), var(--ink-soft));
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__thumb-bg.gradient-2 { background: linear-gradient(135deg, var(--teal), var(--ink-soft)); }
.video-card__thumb-bg.gradient-3 { background: linear-gradient(135deg, var(--gold), var(--terracotta)); }
.video-card__thumb-bg.gradient-4 { background: linear-gradient(135deg, var(--teal-soft), var(--teal)); }
.video-card__thumb-bg.gradient-5 { background: linear-gradient(135deg, var(--terracotta-soft), var(--terracotta)); }

.video-card__thumb-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  line-height: 0.95;
  text-align: center;
  color: var(--paper);
  padding: var(--s-3);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.video-card__duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.85);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms;
}
.video-card:hover .video-card__play { opacity: 1; }
.video-card__play::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 4px;
}

.video-card__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: var(--s-2);
}
.video-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.video-card__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
}

/* =============================================================
   Country page specifics
   ============================================================= */

.country-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  padding: var(--s-7) 0;
  border-bottom: 3px double var(--ink);
}
@media (max-width: 800px) {
  .country-hero { grid-template-columns: 1fr; gap: var(--s-5); }
}

.country-hero__left .breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
}
.country-hero__left .breadcrumb a { text-decoration: none; }
.country-hero__left h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: var(--s-4);
  font-variation-settings: "opsz" 144;
}
.country-hero__left .flag {
  display: inline-block;
  font-size: 32px;
  vertical-align: middle;
  margin-right: var(--s-3);
}
.country-hero__left .dek {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 500px;
}

.country-rank-card {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
}
.country-rank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--terracotta) 0%, var(--terracotta) 25%,
    var(--gold) 25%, var(--gold) 50%,
    var(--teal-soft) 50%, var(--teal-soft) 75%,
    var(--paper) 75%
  );
}

.country-rank-card .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
}
.country-rank-card .rank-big {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  font-family: var(--display);
  font-variation-settings: "opsz" 144;
}
.country-rank-card .rank-big .num {
  font-weight: 900;
  font-size: 120px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.country-rank-card .rank-big .of {
  font-weight: 300;
  font-size: 32px;
  font-style: italic;
  color: var(--ink-mute);
}
.country-rank-card .composite {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--ink-soft);
  padding-top: var(--s-3);
}
.country-rank-card .composite-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.country-rank-card .composite-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
}
.country-rank-card .vote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  border-top: 1px solid var(--ink-soft);
  padding-top: var(--s-3);
}
.country-rank-card .user-rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.country-rank-card .user-rating .label { color: var(--ink-mute); }
.country-rank-card .user-rating .value {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
}
.vote-btn {
  background: var(--terracotta);
  color: var(--paper);
  border: none;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 120ms;
}
.vote-btn:hover { background: var(--terracotta-soft); }

/* Sub-scores grid for country page */
.subscore-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-3);
}
.subscore-grid .subscore__bar { height: 6px; }
.subscore-grid .subscore__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  margin-top: 4px;
}
.subscore-grid .subscore__label-full {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
  line-height: 1.3;
}

/* =============================================================
   Country page content blocks
   ============================================================= */

.country-section {
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--rule);
}
.country-section:last-child { border-bottom: none; }

.country-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: baseline;
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--ink);
}
.country-section__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.9;
  font-variation-settings: "opsz" 144;
  color: var(--terracotta);
}
.country-section__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.country-section__title h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.country-section__title .sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Visa cards */
.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
}
.visa-card {
  background: var(--paper-deep);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  border-top: 3px solid var(--terracotta);
}
.visa-card.is-banking { border-top-color: var(--teal); }
.visa-card.is-utility { border-top-color: var(--gold); }
.visa-card .kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.visa-card h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.visa-card .duration {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta);
}
.visa-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.visa-card .specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  margin-top: auto;
}
.visa-card .specs li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted var(--rule);
  padding-bottom: 4px;
  font-family: var(--mono);
  font-size: 12px;
}
.visa-card .specs li span:first-child { color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.05em; font-size: 10px; }
.visa-card .specs li span:last-child { font-weight: 500; }
.visa-card .more-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 1px;
  align-self: flex-start;
}

/* Living costs grid */
.costs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.cost-tile {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: var(--s-4);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-height: 130px;
}
.cost-tile .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cost-tile .value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cost-tile .value-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}
.cost-tile .delta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  margin-top: auto;
}
.cost-tile .delta.up { color: var(--bad); }
.cost-tile .delta.down { color: var(--good); }
.cost-tile .delta.flat { color: var(--ink-mute); }

/* Goods price table */
.goods-table-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.goods-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
.goods-table thead th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--ink);
  background: var(--paper-deep);
}
.goods-table thead th.num { text-align: right; }
.goods-table tbody td {
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.goods-table tbody tr:hover { background: rgba(184,71,45,0.03); }
.goods-table tbody td.num { text-align: right; font-weight: 500; }
.goods-table tbody td.delta-up { color: var(--bad); text-align: right; }
.goods-table tbody td.delta-down { color: var(--good); text-align: right; }
.goods-table tbody td.delta-flat { color: var(--ink-mute); text-align: right; }
.goods-table .category-row td {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  background: var(--paper-deep);
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--s-2) var(--s-4);
}
.goods-table .item-name { font-family: var(--body); font-weight: 500; }

.goods-table-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-4);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.report-price-btn {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 120ms;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.report-price-btn:hover { background: var(--ink); color: var(--paper); }

/* Compare CTA */
.compare-cta {
  background: var(--paper-deep);
  padding: var(--s-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
  border-left: 4px solid var(--teal);
}
.compare-cta h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.compare-cta p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 500px;
}
.compare-cta-btn {
  background: var(--teal);
  color: var(--paper);
  border: none;
  padding: 14px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
.compare-cta-btn:hover { background: var(--teal-soft); }
@media (max-width: 700px) { .compare-cta { grid-template-columns: 1fr; } }

/* Forum stub */
.forum-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  background: var(--paper);
  padding: var(--s-5);
  border: 1px solid var(--rule);
}
.forum-thread {
  border-left: 2px solid var(--terracotta);
  padding-left: var(--s-3);
}
.forum-thread .topic {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: var(--s-2);
}
.forum-thread .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
@media (max-width: 700px) { .forum-card { grid-template-columns: 1fr; } }

/* =============================================================
   Compare page
   ============================================================= */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.compare-col {
  padding: var(--s-5);
}
.compare-col:first-child { border-right: 1px solid var(--ink); }
.compare-col h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--s-2);
}
.compare-col .rank {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-4);
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-5);
  border-top: 1px solid var(--rule);
  align-items: center;
}
.compare-row:first-of-type { border-top: 1px solid var(--ink); }
.compare-row .label {
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.compare-row .left, .compare-row .right {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.compare-row .left { text-align: right; }
.compare-row .left.winner, .compare-row .right.winner {
  color: var(--good);
  font-weight: 700;
}
.compare-row .left.winner::before { content: "✓ "; }
.compare-row .right.winner::after { content: " ✓"; }

@media (max-width: 700px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col:first-child { border-right: none; border-bottom: 1px solid var(--ink); }
}

/* =============================================================
   Footer
   ============================================================= */

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-7) 0 var(--s-5);
  margin-top: var(--s-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--ink-soft);
}
.footer-brand .logo { color: var(--paper); font-size: 48px; }
.footer-brand .logo::after { display: none; }
.footer-brand p {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
  margin-top: var(--s-3);
  max-width: 380px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-bottom: var(--s-3);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.footer-col a {
  color: var(--paper);
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover { color: var(--terracotta-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  flex-wrap: wrap;
  gap: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}
.footer-bottom .credit em { color: var(--terracotta-soft); font-style: normal; }
.footer-bottom .footer-legal { font-size: 10px; max-width: 660px; line-height: 1.5; opacity: 0.72; }
.footer-bottom .footer-legal a { color: var(--terracotta-soft); text-decoration: none; }
.footer-bottom .footer-legal a:hover { text-decoration: underline; }
.footer-bottom { flex-direction: column; align-items: flex-start; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* Footer social strip */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(245,241,234,0.08);
  margin-bottom: var(--s-5);
}
.footer-social__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  align-self: center;
  flex: 0 0 auto;
  margin-right: var(--s-3);
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.footer-social__link:hover { opacity: 1; color: var(--terracotta-soft); }
.footer-social__link svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.footer-social__link--yt { color: #FF4444; opacity: 0.9; }
.footer-social__link--tg { color: #54A8E1; opacity: 0.9; }
.footer-social__link--ig { color: #C86DD0; opacity: 0.9; }
.footer-social__link--fb { color: #7B9FD8; opacity: 0.9; }
.footer-social__link--yt:hover { color: #FF2222; opacity: 1; }
.footer-social__link--tg:hover { color: #2B8DC8; opacity: 1; }

/* YouTube Serbia prominent block */
.yt-serbia-block {
  background: linear-gradient(135deg, #1a0e0a 0%, #2a1208 100%);
  border: 1px solid rgba(212,97,58,0.25);
  padding: var(--s-5) var(--s-6);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
}
.yt-serbia-block__icon { font-size: 36px; line-height: 1; }
.yt-serbia-block__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--s-2);
}
.yt-serbia-block__meta {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.yt-serbia-block__meta strong { color: var(--terracotta-soft); font-weight: 500; }
.yt-serbia-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF0000;
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  text-decoration: none;
  flex-shrink: 0;
}
.yt-serbia-btn:hover { background: #CC0000; color: #fff; }
@media (max-width: 600px) { .yt-serbia-block { grid-template-columns: 1fr; } }

/* =============================================================
   Animations
   ============================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fadeup { animation: fadeUp 600ms ease-out backwards; }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }

@keyframes barFill {
  from { width: 0; }
}
.subscore__bar::after { animation: barFill 1.2s cubic-bezier(0.65, 0, 0.35, 1) 200ms backwards; }

/* =============================================================
   v2 ADDITIONS — compact homepage, feed, article page, TG embed
   ============================================================= */

/* --- Compact masthead override --- */
.masthead--compact {
  padding: var(--s-3) 0 0;
  border-bottom: 1px solid var(--ink);
}
.masthead--compact .masthead__top { margin-bottom: var(--s-3); }
.masthead--compact .masthead__brand {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: var(--s-4);
}
.masthead--compact .logo { font-size: clamp(32px, 4vw, 44px); }
.masthead--compact .logo::after { height: 4px; margin-top: 3px; }
.masthead--compact .tagline { font-size: 13px; margin-top: 0; text-align: right; }
.masthead--compact .nav { margin-top: var(--s-3); padding-top: var(--s-3); gap: var(--s-5); }
.masthead--compact .nav a { font-size: 12px; }

/* --- Compact issue strip --- */
.issue-strip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.issue-strip__left {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.issue-strip__center {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ink);
  letter-spacing: -0.005em;
  text-align: center;
  flex: 1;
  min-width: 0;
}
.issue-strip__right {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- Triptych hero --- */
.triptych {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 0;
  border-bottom: 3px double var(--ink);
}
.triptych__panel {
  padding: var(--s-5);
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.triptych__panel:last-child { border-right: none; }
.triptych__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--ink);
}

.tri-rating { display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.tri-rating__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: var(--s-3);
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dotted var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition: color 100ms;
}
.tri-rating__row:last-child { border-bottom: none; }
.tri-rating__row:hover { color: var(--terracotta); }
.tri-rating__rank {
  font-family: var(--display);
  font-weight: 900;
  font-size: 24px;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.tri-rating__rank--1 { color: var(--terracotta); }
.tri-rating__name { font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.tri-rating__name .flag { margin-right: 4px; }
.tri-rating__score { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.tri-rating__cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  margin-top: var(--s-3);
  align-self: flex-start;
}
.tri-rating__cta:hover { color: var(--terracotta); border-color: var(--terracotta); }

.tri-lead h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.tri-lead h2 a { text-decoration: none; color: var(--ink); }
.tri-lead h2 a:hover { color: var(--terracotta); }
.tri-lead .dek {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.tri-lead .byline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
  padding-top: var(--s-3);
}

.tri-video { display: flex; flex-direction: column; gap: var(--s-3); }
.tri-video__featured { text-decoration: none; color: var(--ink); }
.tri-video__thumb {
  position: relative;
  aspect-ratio: 16/9;
  margin-bottom: var(--s-2);
  overflow: hidden;
}
.tri-video__thumb-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tri-video__thumb-text {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  line-height: 0.95;
  color: var(--paper);
  letter-spacing: -0.02em;
  padding: 8px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.tri-video__duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0,0,0,0.85);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 5px;
}
.tri-video__title {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.tri-video__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.tri-video__mini {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-2);
  text-decoration: none;
  color: var(--ink);
  padding-top: var(--s-2);
  border-top: 1px dotted var(--rule);
}
.tri-video__mini-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.tri-video__mini-title {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .triptych { grid-template-columns: 1fr; }
  .triptych__panel { border-right: none; border-bottom: 1px solid var(--ink); }
  .triptych__panel:last-child { border-bottom: none; }
}

/* --- Feed banner --- */
.feed-banner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0 var(--s-3);
  margin-top: var(--s-6);
  border-bottom: 1px solid var(--ink);
}
.feed-banner h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.feed-banner .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- Interleaved feed --- */
.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  padding: var(--s-5) 0;
}
.feed__item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  text-decoration: none;
  color: var(--ink);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.feed__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feed__kicker.k-article { color: var(--terracotta); }
.feed__kicker.k-news { color: var(--teal); }
.feed__kicker.k-video { color: var(--gold); }
.feed__kicker.k-razbor { color: var(--terracotta); font-weight: 600; }
.feed__kicker.k-tested { color: var(--good); font-weight: 600; }
.feed__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.feed__title a { text-decoration: none; color: inherit; }
.feed__title a:hover { color: var(--terracotta); }
.feed__dek { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.feed__meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: auto;
  padding-top: var(--s-2);
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.feed__item--video {
  grid-row: span 1;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-4);
  border-bottom: none;
}
.feed__item--video .feed__title,
.feed__item--video .feed__title a { color: var(--paper); }
.feed__item--video .feed__title a:hover { color: var(--terracotta-soft); }
.feed__item--video .feed__meta { color: var(--ink-mute); }
.feed__video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: var(--s-3);
}
.feed__video-thumb-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  line-height: 0.95;
  color: var(--paper);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  padding: 8px;
}
.feed__video-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,0.85);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 5px;
}

.feed__item--feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: var(--s-5);
}
.feed__item--feature .feed__feature-img {
  background: linear-gradient(135deg, var(--paper-deep), var(--ink-soft));
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.feed__item--feature .feed__feature-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(184,71,45,0.25), transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(44,95,93,0.25), transparent 50%);
}
.feed__item--feature .feed__title {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.05;
}

@media (max-width: 900px) {
  .feed { grid-template-columns: repeat(2, 1fr); }
  .feed__item--feature { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .feed { grid-template-columns: 1fr; }
  .feed__item--feature { grid-column: span 1; }
}

.loadmore-wrap { text-align: center; padding: var(--s-6) 0; }
.loadmore-btn {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 120ms;
  cursor: pointer;
}
.loadmore-btn:hover { background: var(--ink); color: var(--paper); }
.loadmore-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* =============================================================
   Article page
   ============================================================= */

.breadcrumb-bar {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
}
.breadcrumb-bar a { text-decoration: none; color: var(--ink-soft); }
.breadcrumb-bar a:hover { color: var(--terracotta); }
.breadcrumb-bar .sep { margin: 0 var(--s-2); color: var(--ink-mute); }

.article-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-4) var(--s-5);
  text-align: center;
}
.article-hero__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--s-3);
}
.article-hero__kicker.is-razbor { color: var(--terracotta); }
.article-hero__kicker.is-tested { color: var(--good); }
.article-hero__kicker.is-news { color: var(--teal); }
.article-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-4);
  font-variation-settings: "opsz" 144;
}
.article-hero .dek {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto var(--s-5);
}
.article-hero__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.article-hero__meta .sep { color: var(--ink-mute); }

.verify-row {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--s-3) var(--s-4);
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.verify-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}
.verify-badge .check {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--good);
  position: relative;
  flex-shrink: 0;
}
.verify-badge .check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(40deg);
}
.verify-badge--expert .check { background: var(--teal); }
.verify-badge--field .check { background: var(--terracotta); }
.verify-badge--community .check { background: var(--gold); }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-4);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.article-body > *:first-child {
  font-size: 22px;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.5;
}
.article-body > *:first-child::first-letter {
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  float: left;
  margin: 6px 8px 0 0;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144;
}
.article-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: var(--s-7) 0 var(--s-3);
}
.article-body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: var(--s-5) 0 var(--s-2);
}
.article-body p { margin-bottom: var(--s-4); }
.article-body p strong { font-weight: 600; }
.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body ul {
  list-style: none;
  margin: var(--s-4) 0;
  padding: 0;
}
.article-body ul li {
  padding-left: var(--s-4);
  margin-bottom: var(--s-3);
  position: relative;
}
.article-body ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 600;
}

.pull-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--terracotta);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: var(--s-5) 0;
  margin: var(--s-6) 0;
  text-align: center;
}

.expert-quote {
  margin: var(--s-6) 0;
  padding: var(--s-5);
  background: var(--paper-deep);
  border-left: 4px solid var(--teal);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-4);
  align-items: start;
}
.expert-quote__avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.expert-quote__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.expert-quote__text {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.expert-quote__attribution {
  font-family: var(--body);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.expert-quote__attribution strong {
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
@media (max-width: 600px) {
  .expert-quote { grid-template-columns: 1fr; text-align: left; }
  .expert-quote__avatar { width: 64px; height: 64px; font-size: 22px; }
}

.razbor-section {
  margin: var(--s-6) 0;
  border-top: 3px solid var(--terracotta);
  padding-top: var(--s-5);
}
.razbor-section__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.razbor-section h2 { margin-top: 0 !important; }
.razbor-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3) var(--s-4);
  margin: var(--s-4) 0;
  font-size: 16px;
  line-height: 1.5;
}
.razbor-grid dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}
.razbor-grid dd {
  padding-top: 4px;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.tested-block {
  margin: var(--s-6) 0;
  padding: var(--s-5);
  background: var(--paper);
  border: 2px solid var(--good);
  position: relative;
}
.tested-block::before {
  content: "ПРОВЕРЕНО НА СЕБЕ";
  position: absolute;
  top: -10px;
  left: var(--s-4);
  background: var(--good);
  color: var(--paper);
  padding: 3px 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 600;
}
.tested-block__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: var(--s-2) 0 var(--s-3);
  line-height: 1.2;
}
.tested-block__steps {
  display: grid;
  gap: var(--s-3);
  margin: var(--s-4) 0;
  list-style: none;
  padding: 0;
}
.tested-block__steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-3);
  align-items: start;
  padding: 0 !important;
  margin: 0 !important;
}
.tested-block__steps li::before { display: none !important; }
.tested-block__step-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: var(--good);
  font-variation-settings: "opsz" 144;
}
.tested-block__step-body { font-size: 16px; line-height: 1.5; }
.tested-block__step-body strong { display: block; font-weight: 600; margin-bottom: 4px; }
.tested-block__verdict {
  margin-top: var(--s-4);
  padding: var(--s-3);
  background: var(--good);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.tested-block__verdict strong { font-weight: 700; }
.tested-block__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: var(--s-3);
}
.tested-block__photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--paper-deep), var(--ink-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  text-align: center;
  padding: 4px;
  position: relative;
  overflow: hidden;
}
.tested-block__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(184,71,45,0.3), transparent 50%);
}
.tested-block__photo span { position: relative; z-index: 1; }

.sources-section {
  max-width: 720px;
  margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--s-4);
  border-top: 3px double var(--ink);
}
.sources-section h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
  font-weight: 600;
}
.sources-list { list-style: none; margin: 0; padding: 0; }
.sources-list li {
  padding: var(--s-2) 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 14px;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-3);
}
.sources-list li::before { display: none; }
.sources-list .source-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 2px;
}

.verify-timeline {
  margin-top: var(--s-5);
  padding: var(--s-4);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.verify-timeline strong { color: var(--ink); font-weight: 600; }
.verify-timeline .step {
  display: grid;
  grid-template-columns: 110px 16px 1fr;
  gap: var(--s-3);
  align-items: baseline;
  margin-bottom: var(--s-2);
}
.verify-timeline .step:last-child { margin-bottom: 0; }
.verify-timeline .step .date { color: var(--ink-mute); }
.verify-timeline .step .marker { font-weight: 700; color: var(--good); text-align: center; }

.tg-embed {
  max-width: 720px;
  margin: var(--s-7) auto 0;
  padding: 0 var(--s-4);
}
.tg-embed__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--ink);
  margin-bottom: var(--s-3);
}
.tg-embed__head h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.tg-embed__head .meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tg-embed__channel {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  background: var(--paper-deep);
  margin-bottom: var(--s-3);
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid #2AABEE;
}
.tg-embed__channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #2AABEE;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
}
.tg-embed__channel-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.tg-embed__channel-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
}
.tg-embed__messages { display: flex; flex-direction: column; gap: var(--s-3); }
.tg-msg {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--s-3);
  padding: var(--s-3);
  background: var(--paper);
  border: 1px solid var(--rule);
}
.tg-msg__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.tg-msg__avatar.c1 { background: var(--terracotta); }
.tg-msg__avatar.c2 { background: var(--teal); }
.tg-msg__avatar.c3 { background: var(--gold); }
.tg-msg__avatar.c4 { background: var(--ink-soft); }
.tg-msg__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.tg-msg__name { font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--ink); }
.tg-msg__time { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); }
.tg-msg__body { font-size: 14px; line-height: 1.5; color: var(--ink); }
.tg-msg__verified {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--paper-deep);
  padding: 1px 5px;
  margin-left: 6px;
  border: 1px solid var(--teal);
}
.tg-embed__cta { margin-top: var(--s-4); text-align: center; }
.tg-embed__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: #2AABEE;
  color: var(--paper);
  text-decoration: none;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.tg-embed__btn:hover { background: #229AD3; }

.related-section {
  max-width: 1100px;
  margin: var(--s-7) auto 0;
  padding: var(--s-5) var(--s-4);
  border-top: 1px solid var(--rule);
}
.related-section h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: var(--s-4);
  letter-spacing: -0.01em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 800px) { .related-grid { grid-template-columns: 1fr; } }

.news-controls {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--ink);
}
.news-controls__row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.news-controls__row .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
  min-width: 90px;
}

.page-hero {
  padding: var(--s-7) 0 var(--s-3);
  border-bottom: 3px double var(--ink);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-variation-settings: "opsz" 144;
}
.page-hero .dek {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  margin-top: var(--s-3);
  max-width: 720px;
}

/* =============================================================
   v3 ADDITIONS — profile, sparklines, history chart,
   reminder banner, subjective ratings, prices comparison
   ============================================================= */

/* ---- Sparklines ---- */
.sparkline-svg { display: block; overflow: visible; }
.rating-row__score-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.rating-row__spark { opacity: 0.85; }
.tri-rating__score-wrap { display: flex; align-items: center; gap: 8px; }
.tri-rating__spark { opacity: 0.8; flex-shrink: 0; }

/* ---- User profile widget ---- */
.user-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.user-profile__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.user-profile__name {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  display: none;
}
@media (min-width: 900px) { .user-profile__name { display: block; } }
.user-profile__caret {
  font-size: 8px;
  color: var(--ink-mute);
  transition: transform 200ms;
}
.user-profile.is-open .user-profile__caret { transform: rotate(180deg); }

.profile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 200;
  padding: var(--s-4);
}
.user-profile.is-open .profile-dropdown { display: block; }
.profile-header { display: flex; gap: var(--s-3); align-items: center; margin-bottom: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--rule); }
.profile-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: var(--paper); font-family: var(--mono); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-name { font-weight: 600; font-size: 14px; }
.profile-meta { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); margin-top: 2px; letter-spacing: 0.04em; }
.profile-section-label { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--terracotta-soft); margin: var(--s-3) 0 var(--s-2); }
.profile-lived-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; padding: 3px 0; }
.profile-lived-period { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); }
.profile-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; padding: 4px 0; }
.profile-toggle input { accent-color: var(--terracotta); }
.profile-actions { display: flex; justify-content: space-between; margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--rule); }
.profile-action-link { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--teal); text-decoration: none; }
.profile-action-link--out { color: var(--terracotta); }

/* ---- Reminder banner ---- */
.reminder-banner {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 0;
  border-bottom: 2px solid var(--terracotta);
}
.reminder-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.reminder-banner__text { font-size: 14px; line-height: 1.4; }
.reminder-banner__hi { font-weight: 600; color: var(--terracotta-soft); }
.reminder-banner__actions { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.reminder-banner__btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--terracotta);
  border: none;
  padding: 6px 14px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}
.reminder-banner__dismiss {
  background: none;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  line-height: 1;
}
.reminder-banner__dismiss:hover { color: var(--paper); }

/* ---- History chart ---- */
.history-chart-section {
  background: var(--paper-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-6) 0;
}
.history-chart-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.history-chart-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.history-chart-delta {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.history-chart-svg-wrap {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: var(--s-3) var(--s-2) var(--s-2);
}
.history-chart-svg { display: block; }

/* ---- Subjective ratings ---- */
.subjective-section { padding: var(--s-7) 0; border-top: 1px solid var(--rule); }
.subj-folk { margin-bottom: var(--s-6); }
.subj-section-label {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta-soft);
  margin-bottom: var(--s-4);
}
.subj-votes { color: var(--ink-mute); font-size: 9px; }
.subj-user-tag { color: var(--teal); font-size: 9px; }
.subj-row {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
}
.subj-row__label { font-size: 13px; color: var(--ink-soft); }
.subj-row__bar-wrap { height: 6px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.subj-row__bar { height: 100%; background: var(--teal); border-radius: 3px; transition: width 600ms ease-out; }
.subj-row__val { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink); text-align: right; }

.subj-form { border-left: 3px solid var(--teal); padding-left: var(--s-4); }
.subj-form__row { margin-bottom: var(--s-3); }
.subj-form__label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.subj-form__stars { display: flex; gap: 4px; flex-wrap: wrap; }
.subj-star {
  width: 28px; height: 28px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms, color 150ms, border-color 150ms;
}
.subj-star:hover, .subj-star.is-active {
  background: var(--teal);
  color: var(--paper);
  border-color: var(--teal);
}
.subj-submit {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 150ms;
}
.subj-submit:hover { background: var(--teal); }
.subj-saved {
  margin-top: var(--s-3);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--good);
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .subj-row { grid-template-columns: 1fr 80px 32px; }
  .subj-row__label { display: none; }
}

/* ---- Consumer prices comparison ---- */
.prices-cmp-head { margin-bottom: var(--s-5); }
.prices-cmp-head h3 { font-family: var(--display); font-weight: 700; font-size: 28px; margin: var(--s-2) 0; }
.prices-cmp-head p { font-size: 14px; color: var(--ink-soft); }
.prices-cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.prices-cmp-table thead th {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: var(--s-3) var(--s-4);
  border-bottom: 2px solid var(--ink);
  text-align: center;
}
.prices-cmp-table thead th:first-child { text-align: right; }
.prices-cmp-table thead th:last-child { text-align: left; }
.prices-cmp-table tbody tr:nth-child(even) { background: var(--paper-deep); }
.prices-cmp__item {
  padding: 10px var(--s-4);
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
}
.prices-cmp__unit {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.prices-cmp__val {
  padding: 10px var(--s-4);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: var(--ink-mute);
  white-space: nowrap;
}
.prices-cmp__val--win {
  color: var(--good);
  font-weight: 700;
  background: rgba(74,124,89,0.07);
}

/* ---- Compare trends ---- */
.cmp-trends-section { padding: var(--s-6) 0; border-top: 1px solid var(--rule); }
.cmp-trends-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-3); }
.cmp-trend-card {
  padding: var(--s-4);
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cmp-trend-name { font-family: var(--display); font-weight: 700; font-size: 16px; }
.cmp-trend-delta { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.cmp-trend-months { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); letter-spacing: 0.05em; text-transform: uppercase; }
@media (max-width: 600px) { .cmp-trends-grid { grid-template-columns: 1fr; } }

/* =============================================================
   CITIZENSHIP PATH — блок "Путь к гражданству"
   ============================================================= */

.citizen-header {
  display: flex;
  gap: var(--s-6);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-5) var(--s-6);
  margin-bottom: var(--s-6);
}
.citizen-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.citizen-score {
  font-family: var(--display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  font-variation-settings: "opsz" 144;
}
.citizen-score-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
  line-height: 1.4;
}
.citizen-years-line {
  font-family: var(--display);
  font-size: 18px;
  color: var(--paper);
  margin-bottom: var(--s-3);
}
.citizen-years-line strong { color: var(--gold); }
.citizen-badges { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.citizen-badge {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.citizen-badge--good { background: rgba(74,124,89,0.25); color: #7DC496; }
.citizen-badge--warn { background: rgba(184,71,45,0.25); color: var(--terracotta-soft); }
.citizen-badge--gold { background: rgba(200,147,43,0.25); color: var(--gold); }

/* Stages flowchart */
.citizen-stages {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
}
.citizen-stage {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: var(--s-4);
  flex: 1;
  min-width: 160px;
}
.citizen-stage__num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144;
  flex-shrink: 0;
}
.citizen-stage__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.citizen-stage__years {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.citizen-stage__note {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.citizen-arrow {
  font-size: 20px;
  color: var(--ink-mute);
  flex-shrink: 0;
  font-family: var(--mono);
}

/* Requirements & notes */
.citizen-reqs {
  background: var(--paper-deep);
  border-left: 3px solid var(--teal);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
}
.citizen-reqs-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--s-3);
}
.citizen-reqs ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}
.citizen-reqs ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}
.citizen-reqs ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 11px;
}
.citizen-notes {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--gold);
}

/* ====================================================
   EDUCATION & INTEGRATION BLOCK  (Интеграция и образование)
   ==================================================== */
.educ-block { background: var(--paper-deep); padding: var(--s-5) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.educ-header { display: flex; gap: var(--s-5); align-items: flex-start; }
.educ-score-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); min-width: 80px; }
.educ-score { font-family: var(--display); font-weight: 900; font-size: 42px; line-height: 1; color: var(--teal-soft); font-variation-settings: "opsz" 144; }
.educ-score-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,241,234,0.6); text-align: center; margin-top: var(--s-1); line-height: 1.4; }
.educ-intro { font-family: var(--display); font-style: italic; font-size: 15px; line-height: 1.6; color: var(--ink-soft); flex: 1; border-left: 3px solid var(--teal); padding-left: var(--s-4); }
.educ-section-title { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: var(--s-2); border-bottom: 1px solid var(--rule); margin-bottom: var(--s-3); display: flex; align-items: center; gap: var(--s-3); }
.educ-sub-score { font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--teal-soft); margin-left: auto; }
.educ-levels { display: flex; flex-direction: column; gap: var(--s-3); }
.educ-level { display: grid; grid-template-columns: 36px 1fr; gap: var(--s-3); align-items: flex-start; background: var(--paper); padding: var(--s-3) var(--s-4); border-left: 3px solid var(--teal); }
.educ-level__icon { font-size: 20px; line-height: 1.4; text-align: center; }
.educ-level__body { display: flex; flex-direction: column; gap: var(--s-2); }
.educ-level__row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.educ-level__name { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; min-width: 90px; }
.educ-level__notes { font-size: 12px; line-height: 1.55; color: var(--ink-soft); }
.educ-access { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; }
.educ-access--full    { background: rgba(74,124,89,0.18);  color: #4A7C59; }
.educ-access--partial { background: rgba(200,155,60,0.20); color: var(--gold); }
.educ-access--limited { background: rgba(184,71,45,0.18);  color: var(--terracotta-soft); }
.educ-cost { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink); margin-left: auto; }
.educ-cost--free { color: #4A7C59; }
.educ-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.educ-sub-section { display: flex; flex-direction: column; }
.educ-sub-head { margin-bottom: var(--s-3); display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.educ-avail { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; }
.educ-avail--yes  { background: rgba(74,124,89,0.18);  color: #4A7C59; }
.educ-avail--no   { background: rgba(184,71,45,0.18);  color: var(--terracotta-soft); }
.educ-avail--warn { background: rgba(200,155,60,0.18); color: var(--gold); }
.educ-prog-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); }
.educ-prog-item { background: var(--paper); padding: var(--s-2) var(--s-3); border-left: 2px solid var(--teal); }
.educ-prog-item__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-2); font-family: var(--display); font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.educ-prog-item__req { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; flex-shrink: 0; }
.educ-prog-item__note { font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
.educ-prog-badge { font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 7px; border-radius: 2px; white-space: nowrap; flex-shrink: 0; }
.educ-prog-badge--free { background: rgba(74,124,89,0.18); color: #4A7C59; }
.educ-prog-badge--paid { background: var(--paper-shade); color: var(--ink-mute); }
.educ-nodata { padding: var(--s-5); font-family: var(--display); font-style: italic; color: var(--ink-mute); font-size: 14px; border-left: 3px solid var(--ink-mute); }
@media (max-width: 768px) {
  .educ-two-col { grid-template-columns: 1fr; gap: var(--s-4); }
  .educ-header { flex-direction: column; gap: var(--s-3); }
  .educ-block { padding: var(--s-4); }
}

/* Country-page subscore grid: 6 columns */
.subscore-grid--6 { grid-template-columns: repeat(6, 1fr); }

/* =============================================================
   SEASONAL FRUIT INDEX
   ============================================================= */

.seasonal-banner {
  background: linear-gradient(135deg, #f9f3e8 0%, #fef5e4 100%);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  padding: var(--s-3) var(--s-5);
  margin-bottom: var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.seasonal-banner__icon { font-size: 28px; flex-shrink: 0; }
.seasonal-banner__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.seasonal-banner__sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.seasonal-banner__desc { font-size: 13px; color: var(--ink-soft); flex: 1; min-width: 200px; }
.seasonal-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--gold);
  padding: 3px 8px;
  white-space: nowrap;
}
.fruit-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fruit-table thead th {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: var(--s-2) var(--s-3);
  text-align: right;
  border-bottom: 2px solid var(--ink);
}
.fruit-table thead th:first-child { text-align: left; }
.fruit-table tbody td {
  padding: 10px var(--s-3);
  border-bottom: 1px solid var(--rule);
  text-align: right;
  font-family: var(--mono);
  font-size: 13px;
}
.fruit-table tbody td.fruit-label {
  text-align: left;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.fruit-unit {
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
}
.fruit-best {
  color: var(--good);
  font-weight: 700;
  background: rgba(74,124,89,0.06);
}
.fruit-delta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
}
.fruit-delta.down { color: var(--good); }
.fruit-delta.up   { color: var(--terracotta); }

/* =============================================================
   PARTNER / AD INTEGRATIONS
   ============================================================= */

/* Ad label (common) */
.ad-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
}
.ad-label::before { content: 'Партнёр'; }

/* Flight widget */
.flight-widget {
  background: #0f1623;
  color: #e8edf5;
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.flight-widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-5);
}
.flight-widget__logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.03em;
}
.flight-widget__logo span { color: #FF6D00; }
.flight-widget__badge {
  font-family: var(--mono);
  font-size: 9px;
  color: rgba(232,237,245,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(232,237,245,0.2);
  padding: 3px 8px;
}
.flight-widget__routes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.flight-route {
  background: rgba(255,255,255,0.06);
  padding: var(--s-3) var(--s-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  transition: background 150ms;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.flight-route:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
.flight-route__from-to {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.flight-route__airline { font-size: 11px; color: rgba(232,237,245,0.5); margin-top: 3px; }
.flight-route__date { font-size: 11px; color: rgba(232,237,245,0.6); text-align: right; }
.flight-route__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #FF6D00;
  white-space: nowrap;
}
.flight-route__price-note { font-size: 10px; color: rgba(232,237,245,0.4); text-align: right; margin-top: 2px; }
.flight-widget__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.flight-widget__cta-text { font-size: 13px; color: rgba(232,237,245,0.6); }
.flight-widget__btn {
  background: #FF6D00;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 150ms;
}
.flight-widget__btn:hover { background: #e55f00; text-decoration: none; color: #fff; }

/* Legal / lawyer partner */
.partner-legal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-4);
  margin: var(--s-6) 0;
}
.partner-legal-card {
  border: 1px solid var(--rule);
  padding: var(--s-4);
  background: var(--paper);
  position: relative;
}
.partner-legal-card__tag {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 2px 6px;
}
.partner-legal-card__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: var(--s-2);
  padding-right: 60px;
}
.partner-legal-card__spec {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s-3);
}
.partner-legal-card__desc { font-size: 13px; color: var(--ink-soft); margin-bottom: var(--s-3); line-height: 1.5; }
.partner-legal-card__price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.partner-legal-card__btn {
  display: block;
  text-align: center;
  background: var(--teal);
  color: var(--paper);
  padding: 9px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 150ms;
}
.partner-legal-card__btn:hover { background: var(--teal-soft); text-decoration: none; color: var(--paper); }

/* Real estate / developer partner */
.partner-realestate {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-6);
  align-items: start;
}
.partner-realestate__label { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--s-2); }
.partner-realestate__title { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: var(--s-3); }
.partner-realestate__desc { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--s-4); line-height: 1.5; max-width: 520px; }
.partner-realestate__projects {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-4);
}
.partner-project-chip {
  border: 1px solid var(--rule);
  padding: var(--s-2) var(--s-3);
  background: var(--paper);
  font-size: 13px;
}
.partner-project-chip .price { font-family: var(--display); font-weight: 700; color: var(--terracotta); }
.partner-realestate__cta {
  background: var(--terracotta);
  color: var(--paper);
  border: none;
  padding: 11px 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 150ms;
  align-self: flex-end;
}
.partner-realestate__cta:hover { background: var(--terracotta-soft); text-decoration: none; color: var(--paper); }
.partner-realestate__side { display: flex; flex-direction: column; gap: var(--s-3); }
.partner-realestate__kpi {
  text-align: center;
  padding: var(--s-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  min-width: 120px;
}
.partner-realestate__kpi .val { font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--terracotta); }
.partner-realestate__kpi .lbl { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }

/* Mobile / telecom partner */
.partner-telecom {
  border: 1px solid var(--rule);
  margin: var(--s-5) 0;
  padding: var(--s-4) var(--s-5);
  display: flex;
  gap: var(--s-6);
  align-items: center;
  flex-wrap: wrap;
}
.partner-telecom__brand {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  min-width: 110px;
  flex-shrink: 0;
}
.partner-telecom__plans {
  display: flex;
  gap: var(--s-3);
  flex: 1;
  flex-wrap: wrap;
}
.telecom-plan {
  border: 1px solid var(--rule);
  padding: var(--s-3);
  min-width: 120px;
  text-align: center;
}
.telecom-plan.is-popular { border-color: var(--teal); }
.telecom-plan__name { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); }
.telecom-plan__price { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 4px 0; }
.telecom-plan__data { font-size: 12px; color: var(--ink-soft); }
.telecom-plan__popular { font-family: var(--mono); font-size: 9px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-top: 4px; }
.partner-telecom__btn {
  background: var(--teal);
  color: var(--paper);
  border: none;
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 150ms;
}
.partner-telecom__btn:hover { background: var(--teal-soft); text-decoration: none; color: var(--paper); }

/* Car rental partner */
.partner-carrental {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--s-3);
  margin: var(--s-5) 0;
}
.carrental-card {
  border: 1px solid var(--rule);
  padding: var(--s-4);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.carrental-card__class { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-mute); }
.carrental-card__model { font-family: var(--display); font-weight: 700; font-size: 15px; }
.carrental-card__specs { font-size: 12px; color: var(--ink-soft); }
.carrental-card__price { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--terracotta); margin-top: auto; }
.carrental-card__price-note { font-size: 11px; color: var(--ink-mute); }

/* Partner strip — compact horizontal */
.partner-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
  margin: var(--s-6) 0;
  display: flex;
  gap: var(--s-6);
  align-items: center;
  flex-wrap: wrap;
}
.partner-strip__label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.partner-strip__items { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }
.partner-strip__item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 120ms;
  white-space: nowrap;
}
.partner-strip__item:hover { color: var(--terracotta); text-decoration: none; }

/* Section sub-label for seasonal project */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--gold);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: var(--s-3);
}

@media (max-width: 768px) {
  .citizen-stages { flex-direction: column; }
  .citizen-arrow { transform: rotate(90deg); }
  .citizen-header { flex-direction: column; gap: var(--s-4); }
  .partner-realestate { grid-template-columns: 1fr; }
  .partner-realestate__side { flex-direction: row; }
  .flight-widget__cta { flex-direction: column; align-items: flex-start; }
}

