:root {
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #1b2420;
  --muted: #66716b;
  --line: #d8ddd4;
  --green: #0f6b4f;
  --green-dark: #0a4837;
  --red: #c43b32;
  --gold: #c4952d;
  --blue: #225c7a;
  --shadow: 0 18px 40px rgba(21, 33, 28, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link,
.screen-reader-text {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topline {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.topline__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 36px;
}

.topline a {
  margin-left: auto;
  color: #f2d37d;
}

.navline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 15px;
}

.brand__text {
  font-size: 20px;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
}

.primary-nav a:hover {
  background: #eef4ee;
  color: var(--green-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.site-ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 44px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.ticker__label {
  display: grid;
  place-items: center;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker__viewport {
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  animation: smTicker 42s linear infinite;
  padding-left: 34px;
  will-change: transform;
}

.ticker__track span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.site-ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes smTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  padding: 64px 0 44px;
  background:
    linear-gradient(110deg, rgba(10, 72, 55, 0.94), rgba(27, 36, 32, 0.84)),
    radial-gradient(circle at 70% 20%, rgba(196, 149, 45, 0.35), transparent 32%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 92px);
  color: #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow,
.article-head .eyebrow {
  color: #f2d37d;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 48px;
}

h2 {
  margin: 0;
  font-size: 32px;
}

h3 {
  font-size: 22px;
}

.hero p {
  max-width: 680px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-search {
  display: flex;
  gap: 8px;
  max-width: 620px;
  margin-top: 28px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 6px;
  padding: 14px 16px;
  font: inherit;
}

.hero-search button,
.search-submit {
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.hero__panel {
  display: grid;
  gap: 10px;
}

.hero__panel a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 12px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__panel span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #f2d37d;
  font-weight: 900;
}

.hero__panel strong {
  font-size: 18px;
}

.hero__panel small {
  color: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 58px 0;
}

.section--muted {
  background: #eef1ea;
}

.section__head,
.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.split {
  align-items: start;
  margin-bottom: 0;
}

.split > div:first-child {
  max-width: 520px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(15, 107, 79, 0.88), rgba(34, 92, 122, 0.84)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 18px);
  color: #fff;
  font-weight: 900;
  text-align: center;
  padding: 20px;
}

.content-card__body {
  padding: 18px;
}

.content-card__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.content-card h2 {
  margin: 10px 0;
  font-size: 21px;
}

.content-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.guide-list {
  display: grid;
  gap: 10px;
  min-width: min(100%, 520px);
}

.guide-row {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guide-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.archive-head,
.article-head {
  padding: 52px 0;
  background: var(--green-dark);
  color: #fff;
}

.archive-head p,
.article-head p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
}

.article-head__inner {
  max-width: 880px;
}

.article-meta {
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.72);
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 44px;
  align-items: start;
  padding-top: 46px;
  padding-bottom: 64px;
}

.article-layout--single {
  display: block;
  max-width: 860px;
}

.article-aside {
  position: sticky;
  top: 172px;
  padding: 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
  border-radius: 8px;
}

.article-aside p {
  color: var(--muted);
  font-size: 14px;
}

.article-content {
  min-width: 0;
  font-size: 18px;
}

.article-content h2,
.article-content h3 {
  margin-top: 34px;
}

.article-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
}

.article-content th,
.article-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-content th {
  background: #eef4ee;
}

.pagination {
  margin-top: 28px;
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer p,
.footer-note {
  color: rgba(255, 255, 255, 0.72);
}

.brand--footer .brand__mark {
  background: var(--gold);
  color: var(--ink);
}

.site-footer .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .menu a {
  display: inline-block;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-note {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-note strong {
  color: #f2d37d;
  font-size: 24px;
}

@media (max-width: 900px) {
  .topline__inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .topline a {
    margin-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 112px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    display: grid;
  }

  .hero__grid,
  .article-layout,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .section__head,
  .split {
    display: grid;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .brand__text {
    font-size: 17px;
  }

  .site-ticker {
    grid-template-columns: 1fr;
  }

  .ticker__label {
    min-height: 32px;
  }

  .hero-search {
    display: grid;
  }

  .hero-search button {
    min-height: 44px;
  }
}

/* BEGIN SITE SPECIFICITY */
.signature-section { padding: 48px 0 22px; background: var(--bg); }
.signature-shell { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; align-items: stretch; }
.signature__intro { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.signature__intro p:last-child { margin-bottom: 0; color: var(--muted); }
.signature__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.signature-card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.signature-card span { display: inline-flex; min-width: 38px; justify-content: center; margin-bottom: 12px; padding: 5px 8px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.signature-card strong { display: block; margin-bottom: 8px; font-size: 19px; line-height: 1.2; }
.signature-card p { margin: 0; color: var(--muted); }
.section--mobile-lab { padding: 24px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mobile-lab { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.mobile-lab h2 { font-size: 24px; }
.mobile-lab__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.mobile-lab__chips span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font-weight: 800; }
@media (max-width: 900px) {
  .site-header { isolation: isolate; }
  .topline__inner { align-items: flex-start; gap: 10px 14px; }
  .topline__inner span:nth-child(2) { min-width: 0; flex: 1 1 220px; }
  .primary-nav { top: calc(100% - 1px); max-height: min(70vh, 520px); overflow: auto; }
  .hero { padding: 44px 0 34px; }
  .hero p { font-size: 16px; }
  .hero__grid, .signature-shell, .mobile-lab { grid-template-columns: 1fr; gap: 22px; }
  .signature__items { grid-template-columns: 1fr 1fr; }
  .hero__panel a { padding: 14px; }
  .content-card h2 { font-size: 20px; }
  .article-content { font-size: 16px; overflow-wrap: anywhere; }
  .article-content table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .container { width: min(100% - 22px, 1160px); }
  .topline__inner { display: grid; padding: 9px 0; }
  .topline a { justify-self: start; }
  .navline { min-height: 64px; gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text { max-width: 190px; line-height: 1.15; }
  .hero { padding: 34px 0 28px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .signature-section, .section { padding: 36px 0; }
  .signature__items { grid-template-columns: 1fr; }
  .signature-card { padding: 15px; }
  .mobile-lab__chips { display: grid; }
  .site-ticker { min-height: 0; }
  .ticker__track { gap: 22px; padding-left: 22px; animation-duration: 52s; }
}
.hero--moscow-desk { background: linear-gradient(112deg, rgba(10,72,55,.96), rgba(34,92,122,.78)), repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 1px, transparent 1px 76px); }
.city-board { padding: 48px 0 18px; background: var(--bg); }
.city-board__grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: stretch; }
.city-board__lead { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); border-left: 8px solid var(--red); }
.city-board__lead p:last-child { color: var(--muted); }
.city-board__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.city-board__items article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 22px rgba(21,33,28,.06); }
.city-board__items span { display: inline-flex; margin-bottom: 10px; padding: 5px 8px; border-radius: 8px; background: #eef4ee; color: var(--green-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.city-board__items strong { display: block; margin-bottom: 8px; font-size: 19px; line-height: 1.2; }
.city-board__items p { margin: 0; color: var(--muted); }
.metro-strip { padding: 24px 0; background: var(--green-dark); color: #fff; }
.metro-strip__grid { display: flex; flex-wrap: wrap; gap: 10px; }
.metro-strip__grid span { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); font-weight: 800; }
@media (min-width: 901px) {
  .hero--moscow-desk .hero__panel a:nth-child(2) { transform: translateY(18px); }
  .hero--moscow-desk .hero__panel a:nth-child(3) { transform: translateY(36px); }
  .card-grid .content-card:first-child { grid-column: span 2; }
}
@media (max-width: 900px) {
  .city-board__grid, .city-board__items { grid-template-columns: 1fr; }
  .hero--moscow-desk .hero__panel a { transform: none; }
}
@media (max-width: 560px) {
  .metro-strip__grid { display: grid; }
}
/* END SITE SPECIFICITY */
