.articles-page,
.article-page,
.home-articles {
  --color-bg: var(--milk, #f0ece5);
  --color-surface: #fff;
  --color-text: var(--ink, #171717);
  --color-muted: var(--muted, #545454);
  --color-green: var(--green, #004c32);
  --color-green-dark: var(--green-deep, #003d29);
  --color-border: var(--line, #c9c3b8);
  --radius-card: 22px;
  --radius-small: 14px;
  --shadow-card: var(--soft-shadow, 0 22px 58px rgba(28, 24, 17, .1));
  --container-width: min(1460px, calc(100% - 80px));
  --content-width: 860px;
  --space-section: 48px;
  --space-block: 28px;
}

.article-page {
  --container-width: min(1380px, calc(100% - 80px));
}

.articles-page,
.article-page {
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: clip;
}

html:has(.article-page) {
  overflow-x: clip;
}

.article-page .site-header,
.article-page .site-footer {
  width: var(--container-width);
  background: var(--color-bg);
}

.article-page .site-header {
  z-index: 40;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-articles,
.articles-catalog,
.article-shell,
.article-container {
  width: var(--container-width);
  margin-inline: auto;
}

.home-page .home-articles {
  width: var(--home-container, var(--container-width));
  max-width: 1220px;
  padding: clamp(56px, 6vw, 88px) 0 8px;
}

.articles-page .articles-catalog {
  padding-bottom: 48px;
}

.articles-page .articles-about.about,
.article-page .about {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 16px 0 40px !important;
  padding: 26px !important;
  overflow: hidden;
  border-radius: 16px !important;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(42, 135, 95, .22), transparent 34%),
    linear-gradient(135deg, #003d29, #00593c);
  box-shadow: 0 18px 44px rgba(0, 76, 50, .18);
  contain-intrinsic-size: auto !important;
}

.article-page .about .about-inner,
.articles-page .articles-about .about-inner {
  display: grid !important;
  grid-template-columns: 260px minmax(300px, 1fr) minmax(260px, 360px) !important;
  gap: 34px !important;
  align-items: center !important;
  height: auto !important;
  min-height: 0 !important;
}

.article-page .about .about-photo,
.articles-page .articles-about .about-photo {
  display: block;
  width: 260px !important;
  height: 260px !important;
  max-width: 100%;
  margin: 0 !important;
  aspect-ratio: auto !important;
  border-radius: 12px !important;
  object-fit: cover;
}

.article-page .about .about-text .kicker,
.articles-page .articles-about .about-text .kicker {
  margin: 0 0 6px !important;
  color: #fff;
  font-size: 15px !important;
  font-weight: 800;
  line-height: 1;
}

.article-page .about .about-text h2,
.articles-page .articles-about .about-text h2 {
  margin: 0 0 12px !important;
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: clamp(26px, 3vw, 36px) !important;
  font-weight: 800;
  line-height: 1.05;
}

.article-page .about .about-text p,
.articles-page .articles-about .about-text p {
  max-width: 560px !important;
  margin: 0 0 10px !important;
  color: rgba(255, 255, 255, .92);
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.article-page .about .about-text p:last-child,
.articles-page .articles-about .about-text p:last-child {
  margin-bottom: 0 !important;
}

.article-page .about .note-paper,
.articles-page .articles-about .note-paper {
  position: relative;
  width: min(340px, 100%) !important;
  max-width: 340px !important;
  padding: 28px 34px !important;
  justify-self: end !important;
  color: #171717;
  background: #fffaf0;
  transform: rotate(-2deg);
}

.article-page .about .note-paper li,
.articles-page .articles-about .note-paper li {
  color: #171717;
  font-family: Caveat, cursive;
  font-size: 21px !important;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .article-page .about .about-inner,
  .articles-page .articles-about .about-inner {
    grid-template-columns: 220px minmax(0, 1fr) !important;
  }

  .article-page .about .about-photo,
  .articles-page .articles-about .about-photo {
    width: 220px !important;
    height: 240px !important;
  }

  .article-page .about .note-paper,
  .articles-page .articles-about .note-paper {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}

@media (max-width: 760px) {
  .article-page .about {
    width: 100% !important;
    margin: 16px 0 32px !important;
    padding: 18px !important;
    border-radius: 16px !important;
  }

  .article-page .about .about-inner {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .article-page .about .about-photo {
    width: 92px !important;
    height: 116px !important;
    border-radius: 12px !important;
  }

  .article-page .about .about-text h2 {
    font-size: 24px !important;
  }

  .article-page .about .about-text p {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  .article-page .about .note-paper {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    padding: 20px 24px !important;
  }
}

/* Cards */

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(201, 195, 184, .78);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}

.article-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  border-radius: inherit;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow, 0 22px 48px rgba(28, 24, 17, .12));
}

.article-card-hit:focus-visible {
  outline: 3px solid rgba(0, 76, 50, .32);
  outline-offset: 3px;
}

.article-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #ece7dc;
}

.article-card-media img,
.article-hero-cover img,
.article-figure img,
.article-gallery img,
.article-steps img,
.article-case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 160px;
  color: var(--color-green);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 64px;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 18px;
}

.article-card-meta,
.article-hero-meta,
.article-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--color-muted);
  font-size: 13px;
}

.article-card-chips,
.article-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-card-meta time,
.article-hero-meta time {
  margin-left: 0;
}

.article-card-meta > time {
  margin-left: auto;
}

.article-card-meta-end {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}

.article-chip,
.article-filter {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 76, 50, .16);
  border-radius: 999px;
  background: #eef4f0;
  color: var(--color-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.article-chip-muted {
  background: #f4f1ea;
  color: #3d4a45;
}

.article-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card p,
.article-card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
}

.article-read {
  color: var(--color-green);
  font-size: 14px;
  font-weight: 800;
}

.article-read::after {
  content: " →";
}

.article-reading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-muted);
  font-size: 13px;
}

.article-reading svg {
  flex: 0 0 auto;
}

/* Home */

.home-articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-articles-titles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 18px;
}

.home-articles-titles h2,
.articles-intro h1 {
  margin: 0;
  color: var(--color-text);
  text-transform: uppercase;
}

.home-articles-titles h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
  line-height: .82;
  letter-spacing: .01em;
}

.home-articles-titles h2 {
  font-size: clamp(64px, 7vw, 100px);
}

.home-articles-titles .hand,
.articles-intro-hand {
  margin: 0 0 10px;
  color: var(--color-green);
  font-size: clamp(26px, 2.3vw, 38px);
  line-height: .95;
  transform: rotate(-5deg);
}

.home-articles-all {
  color: var(--color-green);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.home-articles-all:hover,
.article-read:hover,
.home-articles-all:focus-visible {
  color: var(--color-green-dark);
}

.home-articles-grid,
.articles-grid,
.articles-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.home-page .article-card-home .article-card-foot {
  flex-direction: row-reverse;
}

/* Catalog intro */

.articles-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 20px;
  align-items: start;
  padding: 8px 0 0;
}

.articles-intro-copy {
  min-width: 0;
}

.articles-intro-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px 18px;
  margin-bottom: 8px;
}

.articles-intro h1 {
  font-family: var(--section-display, "Unbounded", "Inter", sans-serif);
  font-size: clamp(56px, 4.75vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.articles-intro-hand {
  margin: 0 0 16px;
}

.articles-lead {
  max-width: 58ch;
  margin: 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.55;
}

.articles-intro-note {
  display: grid;
  justify-items: start;
  gap: 4px;
  max-width: 168px;
  margin: 12px 8px 0 auto;
  color: var(--color-green);
  font-size: 20px;
  line-height: 1.05;
  text-align: left;
  transform: rotate(6deg);
  z-index: 1;
}

.articles-note-arrow {
  width: 78px;
  height: 46px;
  margin-left: -8px;
  color: var(--color-green);
}

.articles-toolbar {
  position: relative;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 40px;
}

.articles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-filter {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  font-size: 13px;
}

.article-filter.is-active,
.article-filter:hover,
.article-device-switch a.is-active {
  background: var(--color-green);
  color: #fff;
  border-color: var(--color-green);
}

.articles-search {
  position: relative;
  display: flex;
  flex: 0 1 320px;
  align-items: center;
}

.articles-search svg {
  position: absolute;
  left: 16px;
  color: var(--color-muted);
  pointer-events: none;
}

.articles-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px 0 42px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
}

.articles-search-suggest {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  width: max(100%, min(440px, 92vw));
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.articles-search-suggest[hidden] {
  display: none;
}

.articles-search-hit {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.articles-search-hit:hover,
.articles-search-hit.is-active {
  background: rgba(0, 76, 50, .06);
}

.articles-search-thumb {
  width: 72px;
  height: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: #e7e1d6;
}

.articles-search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.articles-search-thumb-empty {
  display: grid;
  place-items: center;
  color: var(--color-green);
  font-family: var(--section-display, "Unbounded", "Inter", sans-serif);
  font-size: 18px;
  font-weight: 800;
}

.articles-search-copy {
  min-width: 0;
}

.articles-search-copy strong {
  display: block;
  overflow: hidden;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.articles-search-copy em,
.articles-search-empty,
.articles-search-all {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.3;
}

.articles-search-copy mark {
  color: var(--color-green);
  background: rgba(0, 76, 50, .1);
  font-weight: inherit;
}

.articles-search-empty,
.articles-search-all {
  padding: 10px 12px;
}

.articles-search-all {
  color: var(--color-green);
  font-weight: 800;
  text-decoration: none;
}

.articles-search-all:hover {
  color: var(--color-green-dark);
}

.articles-filter-more {
  display: none;
}

.articles-featured {
  margin: 0 0 22px;
}

.article-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
  grid-template-rows: minmax(min-content, auto);
  height: auto;
  min-height: 0;
  align-items: stretch;
}

.article-card-featured .article-card-media {
  position: relative;
  aspect-ratio: unset;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
}

.article-card-featured .article-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-featured .article-card-body {
  gap: 10px;
  align-self: start;
  flex: none;
  justify-content: flex-start;
  min-width: 0;
  height: auto;
  padding: 24px 28px;
}

.article-card-featured .article-card-foot {
  margin-top: 8px;
}

.article-card-featured h3 {
  -webkit-line-clamp: 3;
  font-size: clamp(24px, 1.9vw, 30px);
}

.article-card-featured p {
  -webkit-line-clamp: 3;
  font-size: 16px;
}

.articles-grid[data-count="1"],
.articles-grid[data-count="2"],
.articles-related-grid[data-count="1"],
.articles-related-grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.articles-grid[data-count="1"],
.articles-related-grid[data-count="1"] {
  max-width: 720px;
}

.articles-empty,
.articles-pager {
  padding: 12px 0 36px;
}

.articles-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.articles-pager a,
.articles-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--color-green);
  border-radius: 999px;
  color: var(--color-green);
  font-weight: 700;
}

.articles-pager a.is-active {
  background: var(--color-green);
  color: #fff;
}

.articles-topic-cta {
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 8px;
  padding: 22px;
  border-radius: 22px;
  background: var(--color-green);
  color: #fff;
}

.articles-topic-cta .kicker {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.articles-topic-cta p {
  margin: 0;
}

.articles-topic-cta .telegram-link {
  background: #fff;
  color: var(--color-green);
  border-color: #fff;
}

/* Article hero */

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(440px, .85fr);
  gap: 20px 64px;
  align-items: start;
  margin: 12px 0 48px;
}

.article-crumbs {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.article-crumbs a {
  color: var(--color-green);
}

.article-hero-chips {
  margin-bottom: 16px;
}

.article-hero-chips .article-chip {
  min-height: 34px;
  font-size: 13px;
}

.article-hero-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 8px;
}

.article-hero-meta {
  justify-content: flex-start;
  margin: 0;
  font-size: 14px;
}

.article-hero-meta time {
  margin-left: 0;
}

.article-hero h1 {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.025em;
  text-wrap: pretty;
  overflow-wrap: normal;
  hyphens: manual;
}

.article-kicker {
  margin: 0 0 16px;
  color: var(--color-green);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1;
  transform: none;
}

.article-hero-excerpt {
  max-width: 46ch;
  margin: 0 0 22px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
}

.article-hero-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.article-hero-author img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.article-hero-author strong {
  display: block;
  font-size: 15px;
}

.article-hero-author span {
  color: var(--color-muted);
  font-size: 13px;
}

.article-hero-cover {
  min-width: 0;
  margin: 0;
}

.article-hero-cover img {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  background: #ece7dc;
  object-fit: cover;
}

.article-hero-cover figcaption,
.article-figure figcaption,
.article-gallery figcaption {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(340px, 1fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 0;
}

.article-content {
  min-width: 0;
  max-width: none;
  color: #222;
  font-size: 18px;
  line-height: 1.7;
  counter-reset: article-h2;
}

.article-content > * + * {
  margin-top: var(--space-block);
}

.article-content > .article-steps {
  margin-top: 48px;
}

.article-content > .article-steps + .article-figure,
.article-content > .article-steps + .article-gallery {
  margin-top: 48px;
}

.article-content > .article-table-wrap + .article-heading {
  margin-top: 40px;
}

.article-content > h3.article-heading + .article-prose {
  margin-top: 8px;
}

.article-content > .article-callout {
  margin-top: 20px;
}

.article-content > h2.article-heading + .article-checklist {
  margin-top: 36px;
}

.article-heading {
  scroll-margin-top: 96px;
}

.article-content h2.article-heading {
  margin: 80px 0 18px;
  color: var(--color-text);
  font-family: Unbounded, Inter, sans-serif;
  font-size: clamp(36px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
  counter-increment: article-h2;
}

.article-content h2.article-heading::before {
  content: counter(article-h2, decimal-leading-zero) ". ";
  color: var(--color-green);
}

.article-content h2.article-heading:first-child,
.article-content > .article-toc-mobile + .article-heading,
.article-toc-mobile + h2.article-heading {
  margin-top: 0;
}

.article-content h3,
.article-steps h3 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.article-content h3.article-heading {
  margin-bottom: 0;
}

.article-prose p {
  margin: 0 0 1em;
}

.article-prose p:last-child {
  margin-bottom: 0;
}

.article-figure,
.article-video {
  margin: 8px 0 0;
}

.article-zoom {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.article-figure img,
.article-gallery img,
.article-video video,
.article-embed iframe {
  width: 100%;
  border-radius: 18px;
}

.article-embed {
  position: relative;
  aspect-ratio: 16 / 9;
}

.article-embed iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
}

.article-gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
}

.article-gallery[data-count="1"] {
  grid-template-columns: 1fr;
}

.article-gallery[data-count="2"] {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.article-gallery[data-count="2"] figure {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.article-gallery[data-count="2"] a {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
}

.article-gallery[data-count="2"] img {
  height: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 10;
}

.article-gallery[data-count="3"] {
  grid-template-rows: 1fr 1fr;
}

.article-gallery[data-count="3"] figure:first-child {
  grid-row: 1 / span 2;
}

.article-gallery figure {
  margin: 0;
}

.article-gallery img {
  width: 100%;
  min-height: 180px;
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.article-gallery[data-count="3"] figure:first-child,
.article-gallery[data-count="3"] figure:first-child a,
.article-gallery[data-count="3"] figure:first-child img {
  height: 100%;
  min-height: 100%;
}

.article-gallery[data-count="3"] figure:first-child img {
  aspect-ratio: auto;
}

.article-quote {
  position: relative;
  margin: 40px 0;
  padding: 32px;
  border-radius: 22px;
  background: #dcefe4;
  color: var(--color-green);
}

.article-quote-mark {
  display: block;
  margin-bottom: 4px;
  color: var(--color-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: .7;
}

.article-quote p {
  margin: 0;
  max-width: 38ch;
  font-family: Caveat, cursive;
  font-size: clamp(28px, 2.2vw, 36px);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
}

.article-quote footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.article-quote cite {
  color: var(--color-green);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.article-quote footer::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 76, 50, .22);
}

.article-callout {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 26px 28px;
  border: 1px solid rgba(0, 76, 50, .1);
  border-radius: 22px;
  background: #cfe8d8;
}

.article-callout svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  margin-top: 0;
  padding: 9px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-green);
}

.article-callout strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}

.article-callout-tip {
  background: #cfe8d8;
}

.article-callout-warning {
  background: #f6eedc;
}

.article-checklist,
.article-list-ol,
.article-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-checklist {
  padding: 22px 24px;
  border-radius: 22px;
  background: #eef6f1;
}

.article-checklist li,
.article-list-ol li {
  position: relative;
  padding: 8px 0 8px 36px;
}

.article-checklist li::before {
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.article-list-ol {
  counter-reset: ol;
}

.article-list-ol li {
  counter-increment: ol;
}

.article-list-ol li::before {
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--color-green);
  content: counter(ol, decimal-leading-zero);
  font-weight: 800;
}

.article-steps {
  display: grid;
  gap: 0;
}

.article-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 40px;
}

.article-steps li:last-child {
  padding-bottom: 0;
}

.article-steps li:not(:last-child)::before {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(0, 76, 50, .18);
  content: "";
}

.article-step-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  font-family: Unbounded, Inter, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  z-index: 1;
}

.article-steps p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

.article-table-wrap {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 18px;
}

.article-table th,
.article-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: #dcefe4;
  color: var(--color-green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
}

.article-table td {
  border-top: 1px solid rgba(201, 195, 184, .45);
}

.article-table th:nth-child(1),
.article-table td:nth-child(1) {
  background: #fff;
}

.article-table td:nth-child(1) {
  font-weight: 700;
}

.article-table th:nth-child(2),
.article-table td:nth-child(2) {
  background: #f3eee6;
}

.article-table th:nth-child(3),
.article-table td:nth-child(3) {
  background: #e7f3ec;
}

.article-table th + th,
.article-table td + td {
  border-left: 1px solid rgba(0, 76, 50, .08);
}

.article-td-label {
  display: none;
}

.article-faq {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.article-faq-item {
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
}

.article-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 18px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  transition: color .18s ease;
}

.article-faq-item summary::-webkit-details-marker {
  display: none;
}

.article-faq-item summary::after {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-green);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.article-faq-item[open] summary::after {
  content: "−";
}

.article-faq-item summary:hover,
.article-faq-item summary:focus-visible {
  color: var(--color-green);
}

.article-faq-body {
  overflow: hidden;
  max-height: 0;
  padding: 0 4px;
  color: var(--color-muted);
  transition: max-height .28s ease, padding .28s ease;
}

.article-faq-item[open] .article-faq-body {
  max-height: 480px;
  padding: 0 4px 22px;
}

.article-ba {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}

.article-ba-stage {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #ece7dc;
}

.article-ba-stage > img:first-of-type {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-ba-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 0 0 50%);
}

.article-ba-range {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  width: auto;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.article-ba figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
}

.article-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-radius: 22px;
  background: #e7f3ec;
}

.article-inline-cta p {
  margin: 0;
  max-width: 42ch;
}

.article-divider {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.article-share,
.article-neighbors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 36px 0 0;
}

.article-share > span {
  margin-right: 4px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.article-share a,
.article-share .article-copy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0, 76, 50, .18);
  border-radius: 999px;
  background: #fff;
  color: var(--color-green);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(28, 24, 17, .06);
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-share a:hover,
.article-share .article-copy-link:hover {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 76, 50, .18);
}

.article-share a:active,
.article-share .article-copy-link:active {
  transform: translateY(0) scale(.96);
  box-shadow: 0 4px 10px rgba(0, 76, 50, .12);
}

.article-share .article-copy-link.is-copied {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #fff;
}

.article-neighbors a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
}

.article-neighbors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px 0 28px;
}

.article-neighbors a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 72px;
  padding: 16px 18px;
}

.article-neighbors a span {
  color: var(--color-muted);
  font-size: 13px;
}

.article-sidebar {
  position: static;
  display: grid;
  gap: 20px;
  min-width: 0;
}

.article-toc-sticky {
  position: sticky;
  top: 110px;
  z-index: 4;
}

.article-toc-mobile {
  display: none;
  margin-bottom: 8px;
}

.article-toc-sidebar,
.article-toc-mobile details {
  padding: 24px 26px 16px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-surface);
}

.article-toc-mobile details {
  padding: 0;
}

.article-toc-title,
.article-toc-mobile summary {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}

.article-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 12px 18px;
  cursor: pointer;
  list-style: none;
}

.article-toc-mobile summary::-webkit-details-marker {
  display: none;
}

.article-toc-mobile summary::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-green);
  border-bottom: 2px solid var(--color-green);
  transform: rotate(45deg);
  transition: transform .2s ease;
  content: "";
}

.article-toc-mobile details[open] summary::after {
  transform: translateY(3px) rotate(-135deg);
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 10px;
  margin: 0 -10px;
  border-radius: 12px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.4;
}

.article-toc a span {
  flex: 0 0 auto;
  color: var(--color-green);
  font-weight: 800;
}

.article-toc a em {
  flex: 1 1 auto;
  min-width: 0;
  font-style: normal;
  font-weight: inherit;
}

.article-toc a.is-active,
.article-toc a:hover {
  background: #eef6f1;
  color: var(--color-green);
}

.article-toc .lvl-3 {
  padding-left: 0;
  font-size: inherit;
}

.article-author-card,
.article-help-card {
  overflow: hidden;
  padding: 26px;
  border-radius: 22px;
}

.article-author-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.article-author-card img {
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
  object-fit: cover;
  border-radius: 22px;
}

.article-author-card .kicker {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 14px;
}

.article-author-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.article-author-card p:not(.kicker) {
  display: -webkit-box;
  margin: 8px 0 16px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.article-author-card .telegram-link {
  width: 100%;
  justify-content: center;
}

.article-help-card {
  background: var(--color-green);
  color: #fff;
}

.article-help-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.article-help-card p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .9);
}

.article-help-card .telegram-link,
.article-final-cta .telegram-link,
.articles-topic-cta .telegram-link {
  min-height: 48px;
  background: #fff;
  color: var(--color-green);
  border-color: #fff;
}

.article-sidebar-case h2,
.article-sidebar-related h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.article-sidebar .article-case-card {
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 18px;
}

.article-sidebar .article-case-card-media {
  aspect-ratio: 16 / 10;
}

.article-sidebar .article-case-card-title {
  font-size: 20px;
}

.article-side-related-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 12px;
  padding: 8px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: inherit;
}

.article-side-related-media,
.article-side-related-media img {
  width: 92px;
  height: 68px;
  overflow: hidden;
  object-fit: cover;
  border-radius: 12px;
  background: #ece7dc;
}

.article-side-related-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-side-related-copy time {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.article-related {
  margin: 12px 0 36px;
}

.article-related h2,
.article-related-head h2 {
  margin: 0 0 18px;
  font-family: Unbounded, Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.article-related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.article-related-head a {
  color: var(--color-green);
  font-weight: 700;
}

.article-case-card {
  display: grid;
  grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 280px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}

.article-case-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  height: 100%;
  min-height: 180px;
  border-radius: 16px;
  background: #ece7dc;
}

.article-case-card-body {
  display: grid;
  gap: 8px;
  padding-right: 12px;
}

.article-case-card-meta {
  color: var(--color-muted);
  font-size: 14px;
}

.article-case-card-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
}

.article-case-card-text {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.5;
}

.article-case-card-more {
  color: var(--color-green);
  font-weight: 800;
}

.article-case-card-more::after {
  content: " →";
}

.article-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  margin: 28px 0 56px;
  padding: 28px 34px;
  border-radius: 30px;
  background: var(--color-green);
  color: #fff;
  box-shadow: 0 30px 80px rgba(0, 76, 50, .16);
}

.article-final-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}

.article-final-cta p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
}

.article-final-cta .messenger-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.article-final-cta .telegram-link {
  min-height: 48px;
  background: #fff;
  color: var(--color-green);
  border-color: #fff;
}

.article-final-cta .max-link {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: #fff;
  border-color: #fff;
}

.article-final-cta .max-link img {
  width: 22px;
  height: 22px;
}

.article-lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-width: 92vw;
  padding: 0;
  border: 0;
  background: transparent;
}

.article-lightbox::backdrop {
  background: rgba(12, 18, 16, .84);
}

.article-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 120px);
  object-fit: contain;
  border-radius: 16px;
}

.article-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.article-lightbox-caption {
  margin: 10px 0 0;
  color: #fff;
  text-align: center;
}

.article-preview-bar,
.article-preview-checks {
  width: var(--container-width);
  margin: 12px auto;
}

.article-preview-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.article-device-switch {
  display: flex;
  gap: 8px;
}

.article-device-switch a {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
}

.article-preview-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.article-preview-checks li.ok { color: #147a4b; }
.article-preview-checks li.bad { color: #b42318; }

body.device-tablet .article-shell,
body.device-tablet .site-header,
body.device-tablet .site-footer { width: min(768px, 100vw - 24px); }

body.device-mobile .article-shell,
body.device-mobile .site-header,
body.device-mobile .site-footer { width: min(390px, 100vw - 16px); }

.article-filter:focus-visible,
.articles-search input:focus-visible,
.articles-search-hit:focus-visible,
.articles-search-all:focus-visible,
.article-faq-item summary:focus-visible,
.article-ba-range:focus-visible,
.article-copy-link:focus-visible,
.article-zoom:focus-visible,
.article-toc a:focus-visible,
.article-lightbox-close:focus-visible {
  outline: 3px solid rgba(0, 76, 50, .28);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .article-hero,
  .article-layout,
  .article-final-cta {
    grid-template-columns: 1fr;
  }

  .article-toc-sticky {
    position: static;
  }

  .article-help-card {
    display: none;
  }

  .article-toc-mobile {
    display: block;
  }

  .article-toc-sidebar {
    display: none;
  }
}

@media (max-width: 1024px) {
  .home-articles-grid,
  .articles-grid,
  .articles-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card-featured,
  .article-case-card {
    grid-template-columns: 1fr;
  }

  .articles-intro {
    grid-template-columns: minmax(0, 1fr) 140px;
  }

  .article-card-featured .article-card-media {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .articles-page,
  .article-page,
  .home-articles {
    --container-width: calc(100% - 40px);
  }

  .home-articles-grid,
  .articles-grid,
  .articles-grid[data-count="1"],
  .articles-grid[data-count="2"],
  .articles-related-grid,
  .articles-related-grid[data-count="1"],
  .articles-related-grid[data-count="2"],
  .article-preview-checks,
  .article-neighbors,
  .article-gallery,
  .article-gallery[data-count="2"],
  .article-gallery[data-count="3"] {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-articles-head,
  .article-final-cta,
  .articles-topic-cta,
  .article-inline-cta {
    display: grid;
  }

  .articles-intro {
    grid-template-columns: minmax(0, 1fr) 110px;
    padding-top: 8px;
  }

  .articles-intro-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .articles-intro h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 0.98;
  }

  .articles-intro-hand {
    margin: -4px 0 10px;
  }

  .articles-intro-note {
    margin: 18px 0 0;
  }

  .articles-toolbar {
    margin: 16px 0 28px;
  }

  .articles-search {
    flex: 1 1 100%;
  }

  .articles-search-suggest {
    left: 0;
    right: 0;
    width: 100%;
  }

  .articles-filter-more {
    display: inline;
  }

  .article-filter {
    min-height: 44px;
  }

  .article-card-featured {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    height: auto;
  }

  .article-card-featured .article-card-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .article-card-featured .article-card-body {
    flex: none;
    width: 100%;
    padding: 16px;
  }

  .article-hero {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 28px;
  }

  .article-crumbs {
    grid-column: auto;
  }

  .article-hero-cover {
    order: 2;
    width: 100%;
  }

  .article-hero h1 {
    max-width: none;
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1.02;
    letter-spacing: -.02em;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.65;
  }

  .article-content h2.article-heading {
    margin-top: 48px;
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.12;
  }

  .article-content h3,
  .article-steps h3 {
    font-size: 22px;
  }

  .article-content > .article-toc-mobile + .article-heading {
    margin-top: 12px;
  }

  .article-gallery,
  .article-gallery[data-count="2"],
  .article-gallery[data-count="3"] {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 14px;
  }

  .article-gallery[data-count="3"] figure:first-child,
  .article-gallery[data-count="3"] figure:first-child a,
  .article-gallery[data-count="3"] figure:first-child img {
    grid-row: auto;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .article-gallery img {
    min-height: 220px;
    height: auto;
  }

  .article-page {
    padding-bottom: 84px;
  }

  .article-toc-mobile {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    margin: 0;
  }

  .article-toc-mobile details {
    border: 1px solid var(--color-border);
    box-shadow: 0 18px 48px rgba(28, 24, 17, .16);
  }

  .article-toc-mobile summary {
    min-height: 54px;
    padding: 0 20px;
    font-size: 16px;
  }

  .article-toc-mobile details[open] summary {
    border-bottom: 1px solid var(--color-border);
  }

  .article-toc-mobile ol {
    max-height: min(52vh, 380px);
    padding: 8px 12px 12px;
    overflow: auto;
  }

  .article-toc-mobile a {
    min-height: 44px;
    align-items: center;
    font-size: 15px;
  }

  .article-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .article-table {
    table-layout: auto;
    font-size: 16px;
  }

  .article-table thead {
    display: none;
  }

  .article-table,
  .article-table tbody,
  .article-table tr,
  .article-table td {
    display: block;
    width: 100%;
  }

  .article-table tbody {
    display: grid;
    gap: 12px;
  }

  .article-table tr {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-surface);
    box-shadow: none;
  }

  .article-table td {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 10px 0 0;
    border: 0;
    background: transparent;
  }

  .article-table td + td {
    border-top: 1px solid rgba(201, 195, 184, .35);
    border-left: 0;
    padding-top: 12px;
  }

  .article-table td:nth-child(1),
  .article-table td:nth-child(2),
  .article-table td:nth-child(3) {
    background: transparent;
  }

  .article-td-label {
    display: block;
    color: var(--color-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .article-td-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
  }

  .article-table td:last-child .article-td-value {
    color: var(--color-green);
  }

  .article-side-related-item {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .article-side-related-media,
  .article-side-related-media img {
    width: 120px;
    height: 88px;
  }

  .article-side-related-copy strong {
    font-size: 16px;
  }

  .articles-topic-cta {
    display: flex;
  }

  .articles-page .articles-about {
    display: none !important;
  }

  .article-final-cta {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .article-final-cta .messenger-actions {
    justify-self: start;
  }

  .article-help-card .telegram-link,
  .article-final-cta .telegram-link,
  .articles-topic-cta .telegram-link,
  .article-filter,
  .articles-more {
    min-height: 44px;
  }

  .home-page .article-card-home {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 132px;
  }

  .home-page .article-card-home .article-card-media {
    aspect-ratio: auto;
    height: 100%;
  }

  .home-page .article-card-home .article-card-body {
    padding: 12px 12px 12px 0;
  }

  .home-page .article-card-home h3 {
    font-size: 18px;
    -webkit-line-clamp: 2;
  }

  .home-page .article-card-home p {
    -webkit-line-clamp: 2;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .articles-page,
  .article-page,
  .home-articles {
    --container-width: calc(100% - 36px);
  }

  .article-card h3 {
    font-size: 20px;
  }
}

/* English covers are full 16:9 pictures. Show the whole frame. */
html[lang="en"] .article-card-featured {
  align-items: start;
}

html[lang="en"] .article-card-featured .article-card-media {
  aspect-ratio: 16 / 9;
  height: auto;
  align-self: start;
  min-height: 0;
}

html[lang="en"] .article-card-featured .article-card-media img,
html[lang="en"] .article-card-media img,
html[lang="en"] .article-hero-cover img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}
