@font-face {
  font-family: Inter;
  src: url("/local/templates/fresh_journal/assets/fonts/inter-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Inter;
  src: url("/local/templates/fresh_journal/assets/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --blue: #003dff;
  --blue-hover: #0031cc;
  --paper: #fff;
  --ink: #292d34;
  --text-2: #4a5466;
  --muted: #5a687b;
  --placeholder: #a3adbd;
  --cream: #f3f6fa;
  --mist: #ecf0f5;
  --line: #e4e9f2;
  --navy: #0b1b3f;
  --radius-block: 30px;
  --radius-card: 24px;
  --radius-tile: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--article-scroll-offset, 24px);
}
body {
  margin: 0;
  background: var(--line);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
p,
h1,
h2,
h3,
ol,
ul {
  margin: 0;
}
button {
  border: 0;
}
h1 {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.5px;
}
h2 {
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 20px;
  line-height: 26px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
.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;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  background: white;
  padding: 12px;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.page-shell {
  width: calc(100% - 60px);
  max-width: 1380px;
  margin: 30px auto 24px;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  height: 60px;
  white-space: nowrap;
}
.brand-block {
  display: flex;
  align-items: center;
  background: var(--blue);
  border-radius: 20px;
  flex: none;
  width: 250px;
  height: 60px;
}
.menu-toggle {
  height: 60px;
  width: 58px;
  flex: none;
  display: grid;
  place-items: center;
  background: transparent;
  border-right: 1px solid #ffffff40;
}
.brand-block .menu-toggle:focus-visible {
  outline-color: #fff;
  outline-offset: -4px;
}
.brand-block .brand-link:focus-visible {
  outline-color: #fff;
}
.brand-link {
  padding-left: 15px;
  display: flex;
  align-items: center;
}
.brand-logo {
  width: 160px;
  height: 19px;
  object-fit: contain;
}
.icon {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--icon-size, 20px);
  height: var(--icon-size, 20px);
}
.icon img {
  width: var(--icon-size, 20px);
  height: var(--icon-size, 20px);
  object-fit: contain;
  flex: none;
}
.header-search,
.header-contacts,
.header-login,
.header-nav {
  background: var(--paper);
  border-radius: 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: var(--muted);
}
.header-search {
  flex: none;
}
.header-nav {
  flex: 1;
  justify-content: space-between;
  gap: 13px;
  font-size: 14px;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--blue);
}
.header-contacts {
  font-size: 15px;
  flex: none;
}
.header-login {
  flex: none;
}
.header-mobile-actions {
  display: none;
}
.page-flow {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.surface {
  background: var(--paper);
  border-radius: var(--radius-block);
}
.hero {
  padding: 40px 40px 32px;
}
.hero p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
  margin-top: 10px;
}
.section-tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.section-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cream);
  border-radius: 20px;
  min-height: 150px;
  padding: 18px 18px 22px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  transition:
    transform 0.24s,
    color 0.24s,
    box-shadow 0.24s;
}
.tile-label {
  font-size: 16px;
  font-weight: 600;
  line-height: 21px;
  max-width: 150px;
  position: relative;
}
.tile-icon {
  height: 44px;
  width: 44px;
  background: white;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
  position: relative;
}
.section-tile:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160%;
  height: 250%;
  border-radius: 50%;
  left: -130%;
  bottom: -210%;
  background: var(--blue);
  transition: transform 0.45s;
}
.tile-arrow {
  position: absolute;
  right: 18px;
  bottom: 21px;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  font-size: 24px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading > p {
  font-size: 14px;
  color: var(--muted);
}
.popular-grid {
  display: grid;
  grid-template-columns: minmax(0, 890fr) minmax(0, 470fr);
  gap: 20px;
}
.popular-large {
  padding: 6px 6px 22px;
  border-radius: 24px;
  background: white;
  display: block;
}
.popular-large > .card-photo {
  height: 380px;
  border-radius: 20px;
}
.card-photo {
  width: 100%;
  object-fit: cover;
  background: var(--cream);
}
.popular-large .popular-copy {
  padding: 18px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popular-copy h3 {
  font-size: 20px;
  line-height: 26px;
}
.popular-copy p {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
}
.meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}
.popular-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.popular-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 20px;
  padding: 6px 16px 6px 6px;
  min-height: 108px;
}
.popular-mini > .card-photo {
  width: 104px;
  height: 96px;
  flex: none;
  border-radius: 16px;
}
.popular-mini .popular-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.popular-mini h3 {
  font-size: 14.5px;
  line-height: 19px;
  font-weight: 600;
}
.selections {
  --selection-inset: 40px;
  background: var(--blue);
  color: white;
  border-radius: 30px;
  padding: 40px 0 32px 40px;
  overflow: hidden;
}
.selections > p {
  font-size: 15px;
  line-height: 22px;
  margin-top: 6px;
}
.selection-track {
  display: flex;
  gap: 16px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 24px;
  margin-left: calc(-1 * var(--selection-inset));
  padding-inline: var(--selection-inset);
  scroll-padding-inline: var(--selection-inset);
}
.selection-track::-webkit-scrollbar {
  display: none;
}
.selection-card {
  width: 196px;
  min-height: 248px;
  border-radius: 20px;
  background: white;
  color: var(--ink);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: none;
  scroll-snap-align: start;
  transition: transform 0.2s;
}
.selection-image {
  height: 164px;
  width: 100%;
  background: var(--paper);
  object-fit: contain;
  border-radius: 16px;
  flex: none;
}
.selection-card span {
  font-size: 19px;
  font-weight: 600;
  line-height: 25px;
  padding: 0 12px;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  padding-right: var(--selection-inset);
  margin-top: 24px;
}
.slider-dots button {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 32px;
  padding: 0;
  border-radius: 4px;
  background: transparent;
  position: relative;
}
.slider-dots button:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #ffffff80;
}
.slider-dots button.active:before {
  width: 24px;
  background: #fff;
}
.slider-dots button:focus-visible {
  outline-color: #fff;
}
.selection-card:focus-visible {
  outline-color: var(--blue);
  outline-offset: -4px;
}
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.listing-main {
  min-width: 0;
}
.listing-main > h2 {
  margin-bottom: 20px;
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow: auto;
  scrollbar-width: none;
  padding: 0 0 4px;
  margin-bottom: 16px;
}
.filter-chip {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex: none;
  font-size: 14px;
  font-weight: 500;
}
.filter-chip small {
  color: var(--muted);
  font-size: 12.5px;
}
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.filter-chip[aria-pressed="true"] small {
  color: var(--placeholder);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.article-card {
  padding: 6px 6px 20px;
  background: white;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: stretch;
  transition:
    transform 0.24s,
    box-shadow 0.24s;
}
.article-card .card-photo {
  height: 212px;
  border-radius: 20px;
  transition: filter 0.24s;
}
.card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 12px 0;
  flex: 1;
  min-width: 0;
}
.card-content h3 {
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
}
.card-content > p {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  padding-top: 8px;
  margin-top: auto;
}
.card-date {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
}
.card-stats {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
}
.card-stats span,
.stat-button {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-button {
  background: transparent;
  padding: 0;
  color: var(--blue);
  border-radius: 4px;
}
.stat-button[aria-pressed="true"] {
  color: var(--blue-hover);
  font-weight: 700;
}
.promo {
  grid-column: 1/-1;
  background: var(--navy);
  color: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding-right: 20px;
  overflow: hidden;
}
.promo img {
  height: 80px;
  width: 180px;
  object-fit: cover;
  align-self: stretch;
}
.promo p {
  font-size: 19px;
  line-height: 25px;
  font-weight: 600;
}
.promo .button {
  margin-left: auto;
  white-space: nowrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--blue-hover);
}
.button:active {
  transform: translateY(1px);
}
.button.white {
  background: white;
  color: var(--blue);
}
.button.white:hover {
  background: #e5ecff;
}
.button.outline {
  border: 1.5px solid #fff;
  background: transparent;
  color: white;
}
.load-more {
  margin-top: 20px;
  min-height: 46px;
  width: 100%;
  background: white;
  color: var(--text-2);
  border-radius: 12px;
  font-size: 14px;
}
.load-more:hover {
  background: var(--cream);
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.search-form {
  background: white;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 14px;
  padding: 0 14px;
  min-width: 0;
}
.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}
.search-form input::placeholder {
  color: var(--placeholder);
}
.search-form:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.search-form input:focus-visible {
  outline: 0;
}
.search-form .search-submit {
  display: none;
}
.sidebar-widget {
  background: white;
  border-radius: 24px;
  padding: 20px;
}
.sidebar-widget h3 {
  font-size: 16px;
  line-height: 21px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ranked-list {
  list-style: none;
  padding: 0;
  counter-reset: rank;
}
.ranked-list li {
  counter-increment: rank;
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 21px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ranked-list li:first-child {
  padding-top: 0;
}
.ranked-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ranked-list li:before {
  content: counter(rank);
  font-weight: 600;
  color: var(--blue);
}
.ranked-list a:hover {
  color: var(--blue);
}
.subscribe {
  background: var(--blue);
  color: white;
  border-radius: 24px;
  padding: 20px;
}
.subscribe h3 {
  font-size: 20px;
  line-height: 26px;
  margin: 0 0 10px;
}
.subscribe p {
  font-size: 14px;
  line-height: 21px;
  color: #d6e0ff;
  margin: 0 0 14px;
}
.subscribe input {
  height: 44px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  color: var(--ink);
  min-width: 0;
}
.subscribe .button {
  width: 100%;
  min-height: 44px;
  padding: 10px;
}
.subscribe .telegram-link {
  font-size: 13px;
  line-height: 18px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: block;
  text-align: center;
  margin-top: 12px;
}
.mobile-search {
  display: none;
}
.form-status {
  font-size: 13px !important;
  line-height: 18px !important;
  margin: 10px 0 0 !important;
  white-space: normal;
  color: inherit !important;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  margin: -16px 0 24px;
}
.breadcrumbs a:hover {
  color: var(--blue);
}
.breadcrumbs span:last-child {
  color: var(--ink);
}
.section-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 30px;
  min-height: 354px;
  color: white;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.cover-photo,
.cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
}
.cover-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(6, 18, 36, 0.88),
    rgba(6, 18, 36, 0.05)
  );
}
.section-cover h1 {
  max-width: 510px;
}
.section-cover p {
  font-size: 15px;
  line-height: 22px;
  max-width: 610px;
  margin-top: 10px;
}
.section-cover .meta {
  color: #fff;
  margin-top: 12px;
}
.section-nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  overflow: auto;
  scrollbar-width: none;
}
.section-nav a {
  border: 1px solid #ffffff33;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  line-height: 16px;
  flex: 1;
  min-width: 0;
  background: #0b1b3f40;
}
.section-nav a.active {
  background: white;
  color: var(--blue);
  border-color: white;
}
.section-page .listing-main > h2 {
  margin-bottom: 16px;
}
.section-page .card-grid {
  gap: 16px 20px;
}
.section-page .selections {
  margin-top: 24px;
}
.dark-cta {
  background: var(--navy);
  color: #fff;
}
.dark-cta p {
  font-size: 14px;
  line-height: 21px;
  color: var(--placeholder);
  margin-bottom: 16px;
}
.dark-cta .button {
  width: 100%;
  font-size: 14px;
  padding: 12px;
}
.search-page {
  max-width: 860px;
  margin: 0 auto;
}
.search-page .breadcrumbs {
  margin-bottom: 12px;
}
.search-form.large {
  min-height: 64px;
  border-radius: 20px;
  gap: 12px;
  padding: 8px 8px 8px 22px;
}
.search-form.large input {
  font-size: 20px;
}
.search-form.large .search-submit {
  display: inline-flex;
  flex: none;
  min-height: 48px;
}
.clear-search {
  background: var(--mist);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  flex: none;
  line-height: 1;
}
.search-summary {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}
.search-summary strong {
  font-weight: 600;
  color: var(--ink);
}
.search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-result {
  background: white;
  border-radius: 24px;
  padding: 6px;
  display: flex;
  gap: 20px;
  align-items: stretch;
}
.search-result > .card-photo {
  width: 300px;
  min-height: 192px;
  border-radius: 20px;
  object-fit: cover;
  align-self: stretch;
}
.search-result .result-copy {
  padding: 14px 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.result-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 16px;
  color: var(--muted);
}
.result-copy h2 {
  font-size: 19px;
  line-height: 25px;
  letter-spacing: 0;
  font-weight: 600;
}
.result-copy p {
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
}
.result-copy .result-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
  align-items: center;
}
.read-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  white-space: nowrap;
}
.search-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 127px;
  background: var(--blue);
  color: white;
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.search-banner .cover-photo {
  z-index: -2;
}
.search-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #003dffdf;
  z-index: -1;
}
.search-banner small {
  font-size: 12.5px;
  line-height: 16px;
}
.search-banner h2 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  margin: 2px 0 6px;
}
.search-banner p {
  font-size: 14px;
  line-height: 21px;
}
.search-banner .button {
  margin-left: auto;
  flex: none;
}
.empty-state {
  padding: 40px;
  background: white;
  border-radius: 24px;
}
.empty-state h2 {
  font-size: 24px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 20px;
}
.article-hero {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  padding: 56px;
  border-radius: 30px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}
.article-hero .cover-shade {
  background: linear-gradient(90deg, #061224e6, rgba(6, 18, 36, 0.1));
}
.article-hero > div:last-child {
  min-width: 0;
}
.article-hero h1 {
  font-size: 48px;
  line-height: 52px;
  letter-spacing: -0.6px;
  max-width: 860px;
  overflow-wrap: anywhere;
}
.article-hero .meta {
  color: white;
  margin-top: 20px;
  gap: 14px;
  flex-wrap: wrap;
}
.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 790px) 300px;
  gap: 20px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 20px;
  background: white;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toc-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
}
.toc-heading span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}
.reading-track {
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--mist);
  margin: 0 0 2px;
}
.reading-track span {
  display: block;
  background: var(--blue);
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms linear;
}
.toc ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: contents;
}
.toc li {
  counter-increment: contents;
}
.toc a {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
}
.toc a:before {
  content: counter(contents, decimal-leading-zero);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  line-height: 21px;
  color: var(--muted);
  flex: 0 0 2ch;
}
.toc a.active,
.toc a.active:before {
  color: var(--blue);
}
.article-paper {
  background: white;
  border-radius: 30px;
  padding: 40px 56px;
  min-width: 0;
}
.article-body {
  font-size: 15px;
  line-height: 22px;
}
.article-body > p,
.article-body > ul {
  margin-bottom: 16px;
}
.article-body > p.lead {
  font-size: 17px;
  line-height: 28px;
}
.article-body h2 {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 0;
  margin: 28px 0 16px;
  scroll-margin-top: 24px;
}
.article-body ul {
  padding-left: 20px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-callout {
  background: var(--cream);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-2);
}
.article-callout strong {
  display: block;
  font-size: 12.5px;
  line-height: 16px;
  color: var(--blue);
  margin-bottom: 8px;
}
.article-cta {
  margin-top: 24px;
  background: var(--blue);
  border-radius: 24px;
  padding: 28px;
  color: white;
}
.article-cta h2 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  margin: 0 0 12px;
}
.article-cta p {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 12px;
  color: #d6e0ff;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.article-feedback {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 24px;
  font-size: 13px;
  line-height: 18px;
}
.feedback-row,
.share-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.feedback-row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.feedback-row strong {
  font-size: 14.5px;
  font-weight: 600;
}
.small-button {
  border-radius: 10px;
  padding: 6px 12px;
  background: var(--cream);
  font-size: 12.5px;
  line-height: 16px;
  font-weight: 500;
}
.small-button[aria-pressed="true"] {
  background: var(--blue);
  color: white;
}
.share-row {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.comments h2 {
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.comments h2 span {
  color: var(--blue);
  font-size: 14px;
  margin-left: 8px;
}
.comment-form {
  padding: 12px;
  background: var(--cream);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comment-form textarea {
  resize: vertical;
  min-height: 64px;
  width: 100%;
  background: white;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 21px;
}
.comment-form input {
  height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
.comment-form > div {
  display: flex;
  gap: 8px;
  align-items: center;
}
.comment-form .button {
  flex: none;
}
.comment-form > p {
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
}
input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
}
.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 21px;
}
.comment-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.avatar {
  height: 30px;
  width: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
}
.comment-top strong {
  font-size: 13px;
  font-weight: 600;
}
.comment-top time {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--muted);
}
.comment .comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  color: var(--blue);
  font-size: 12.5px;
}
.expert-reply {
  margin: 14px 0 0 24px;
  background: #e5ecff;
  border-radius: 16px;
  padding: 16px;
}
.expert-reply .avatar {
  background: var(--blue);
  color: white;
}
.verified {
  color: var(--blue);
}
.all-comments {
  width: 100%;
  margin-top: 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-2);
}
.article-sidebar .sidebar-widget {
  padding: 20px;
}
.widget-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-size: 13px;
  line-height: 18px;
  border-bottom: 1px solid var(--line);
}
.widget-links a:last-child {
  border: 0;
}
.widget-links span {
  font-size: 12.5px;
  color: var(--muted);
}
.widget-comment > p {
  background: var(--cream);
  border-radius: 14px;
  font-size: 13px;
  line-height: 18px;
  padding: 12px;
}
.widget-comment > a {
  margin-top: 14px;
  display: block;
  text-align: center;
  font-size: 13px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--blue);
}
.related {
  padding: 40px;
  background: white;
  border-radius: 30px;
  margin-top: 24px;
}
.related .section-heading p {
  margin-top: 6px;
}
.related .section-heading {
  align-items: center;
}
.related .article-card {
  border: 1px solid var(--line);
  border-radius: 20px;
}
.related .article-card .card-photo {
  height: 200px;
}
.related .card-grid {
  gap: 20px;
}
.mobile-toc {
  display: none;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0b1b3f66;
}
.drawer-panel {
  background: white;
  width: min(390px, 100%);
  height: 100%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: auto;
  overscroll-behavior: contain;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-top .brand-logo {
  filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(7085%)
    hue-rotate(230deg);
}
.drawer-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: 12px;
  font-size: 24px;
}
.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer nav a {
  padding: 12px;
  border-radius: 12px;
  background: var(--cream);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  border-radius: 14px;
  z-index: 100;
  font-size: 14px;
  box-shadow: 0 8px 30px #0002;
}
.modal {
  border: 0;
  border-radius: 24px;
  width: min(440px, calc(100vw - 32px));
  padding: 28px;
  color: var(--ink);
}
.modal::backdrop {
  background: #0b1b3f66;
}
.modal .modal-close {
  float: right;
  background: var(--cream);
  border-radius: 10px;
  width: 32px;
  height: 32px;
  font-size: 22px;
}
.modal h2 {
  font-size: 24px;
  line-height: 30px;
  margin: 0 30px 14px 0;
}
.modal p {
  margin: 12px 0;
  color: var(--muted);
  font-size: 14px;
}
.modal input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin: 6px 0;
}
.modal .button {
  width: 100%;
  margin-top: 12px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .section-tile:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 22px #003dff21;
  }
  .section-tile:hover:before {
    transform: translate(70%, -65%);
  }
  .section-tile:hover .tile-icon {
    transform: rotate(-8deg);
  }
  .section-tile:hover .tile-arrow {
    opacity: 1;
    transform: none;
  }
  .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px #24375c12;
  }
  .selection-card:hover {
    transform: translateY(-3px);
  }
}
@media (min-width: 1441px) {
  .site-header {
    justify-content: space-between;
  }
  .header-nav {
    flex: none;
  }
}
@media (max-width: 1390px) and (min-width: 901px) {
  .header-nav {
    gap: 12px;
    padding: 0 16px;
  }
  .header-nav a:nth-child(5),
  .header-nav a:nth-child(6) {
    display: none;
  }
  .header-contacts {
    padding: 0 14px;
  }
  .header-contacts .city,
  .header-contacts .pin {
    display: none;
  }
  .brand-block {
    width: 220px;
  }
  .brand-logo {
    width: 140px;
  }
  .article-layout {
    grid-template-columns: 210px minmax(0, 1fr) 260px;
  }
  .toc {
    padding: 16px;
  }
  .article-paper {
    padding: 32px;
  }
  .listing-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .article-card .card-photo {
    height: 185px;
  }
.card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .header-search {
    padding: 0 14px;
  }
  .header-login {
    padding: 0 16px;
  }
}
@media (max-width: 1150px) and (min-width: 901px) {
  .header-nav a:nth-child(2),
  .header-nav a:nth-child(7) {
    display: none;
  }
  .header-login span:not(.icon) {
    display: none;
  }
  .header-contacts {
    font-size: 13px;
  }
  .header-search span:not(.icon) {
    display: none;
  }
  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .article-sidebar {
    display: none;
  }
  .listing-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promo img {
    width: 120px;
  }
  .promo p {
    font-size: 14px;
  }
  .promo {
    gap: 14px;
  }
  .promo .button {
    font-size: 13px;
    padding: 12px;
  }
  .section-nav a {
    font-size: 11px;
    padding: 10px;
  }
  .section-tiles {
    gap: 8px;
  }
  .section-tile {
    padding: 16px 12px;
  }
  .tile-label {
    font-size: 14px;
    line-height: 19px;
  }
}
@media (max-width: 900px) {
  .page-shell {
    width: calc(100% - 40px);
    margin: 20px auto;
  }
  .site-header {
    height: 52px;
    margin-bottom: 28px;
  }
  .brand-block {
    height: 52px;
    width: 220px;
  }
  .menu-toggle {
    height: 52px;
    width: 48px;
  }
  .brand-logo {
    width: 146px;
  }
  .header-search,
  .header-nav,
  .header-contacts,
  .header-login {
    display: none;
  }
  .header-mobile-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
    align-items: center;
  }
  .header-mobile-actions a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cream);
  }
  .listing-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    display: none;
  }
  .mobile-search {
    display: flex;
    margin-bottom: 16px;
  }
  .hero {
    padding: 28px;
  }
  .section-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .popular-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 16px;
  }
  .popular-large > .card-photo {
    height: 280px;
  }
  .popular-mini > .card-photo {
    width: 82px;
    height: 88px;
  }
  .popular-mini {
    padding-right: 10px;
    gap: 10px;
  }
.popular-mini h3 {
    font-size: 12.5px;
    line-height: 16px;
  }
  .popular-mini .meta {
    font-size: 11px;
    line-height: 14px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .selections {
    --selection-inset: 28px;
    padding-left: 28px;
    padding-top: 28px;
  }
  .selection-track {
    padding-right: var(--selection-inset);
  }
  .subscribe.mobile-subscribe {
    display: block;
    margin-top: 24px;
    background: white;
    color: var(--ink);
  }
  .subscribe.mobile-subscribe p {
    color: var(--muted);
  }
  .subscribe.mobile-subscribe input {
    background: var(--cream);
  }
  .subscribe.mobile-subscribe .button {
    background: var(--blue);
    color: white;
  }
  .subscribe.mobile-subscribe .telegram-link {
    color: var(--blue);
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc,
  .article-sidebar {
    display: none;
  }
  .article-paper {
    padding: 32px;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }
  .article-hero {
    min-height: 400px;
    padding: 36px;
  }
  .article-hero h1 {
    font-size: 40px;
    line-height: 44px;
    max-width: 660px;
  }
  .mobile-toc {
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 8px;
    z-index: 10;
    background: white;
    padding: 4px;
    margin-bottom: 14px;
    border-radius: 14px;
    box-shadow: 0 2px 12px #0b1b3f10;
  }
  .mobile-toc-links {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    gap: 20px;
    scrollbar-width: none;
    min-width: 0;
    flex: 1;
    padding: 4px 8px;
  }
  .mobile-toc-links::-webkit-scrollbar {
    display: none;
  }
  .mobile-toc-links a {
    display: inline-flex;
    align-items: center;
    flex: none;
    min-height: 44px;
    font-size: 14px;
    white-space: nowrap;
    line-height: 21px;
    color: var(--text-2);
  }
  .mobile-toc-links a.active {
    color: var(--blue);
  }
  .mobile-comment-link {
    background: var(--blue);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 13px;
    flex: none;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .mobile-comment-link .icon img {
    filter: brightness(0) invert(1);
  }
  .article-body h2[id] {
    scroll-margin-top: 0;
  }
  .related {
    padding: 28px;
  }
  .related .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .related .card-content {
    padding: 12px 8px 0;
  }
  .related .card-content h3 {
    font-size: 14px;
    line-height: 19px;
  }
  .related .card-photo {
    height: 140px !important;
  }
.related .card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .related .card-content > p {
    display: none;
  }
  .section-cover {
    padding: 32px;
  }
  .section-nav a {
    flex: none;
    min-width: 150px;
  }
  .section-nav {
    margin-left: -16px;
    margin-right: -32px;
    padding-left: 16px;
    padding-right: 32px;
  }
  .search-result > .card-photo {
    width: 240px;
  }
  .search-page {
    max-width: 860px;
  }
  .search-banner {
    padding: 24px;
  }
}
@media (min-width: 901px) {
  .article-layout > .article-paper {
    grid-column: 2;
  }
  .mobile-subscribe {
    display: none;
  }
}
@media (max-width: 600px) {
  html {
    scroll-padding-top: var(--article-scroll-offset, 76px);
  }
  .page-shell {
    width: 100%;
    margin: 0 auto 0;
  }
  .site-header {
    padding: 16px;
    height: 72px;
    margin: 0 0 16px;
    background: white;
    gap: 10px;
  }
  .brand-block {
    height: 40px;
    width: 208px;
    border-radius: 12px;
  }
  .menu-toggle {
    height: 40px;
    width: 40px;
  }
  .menu-toggle .icon {
    --icon-size: 20px;
  }
  .brand-link {
    padding-left: 12px;
  }
  .brand-logo {
    width: 144px;
    height: 17px;
  }
  .header-mobile-actions {
    gap: 10px;
  }
  .header-mobile-actions a:first-child {
    background: white;
  }
  .header-mobile-actions .icon {
    --icon-size: 20px;
  }
  .page-flow {
    gap: 24px;
  }
  .page-flow > section,
  .page-flow > .listing-layout,
  .page-flow > .selections {
    margin-left: 16px;
    margin-right: 16px;
    width: calc(100% - 32px);
  }
  h1 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.3px;
  }
  h2 {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0;
  }
  .hero {
    padding: 24px 20px;
    border-radius: 24px;
  }
  .hero p {
    font-size: 14px;
    line-height: 21px;
    margin-top: 8px;
  }
  .section-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }
  .section-tile {
    min-height: 60px;
    padding: 10px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border-radius: 14px;
  }
  .tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    flex: none;
  }
  .tile-icon .icon {
    --icon-size: 18px;
  }
  .tile-label {
    font-size: 12.5px;
    line-height: 16px;
    font-weight: 600;
  }
  .tile-arrow,
  .section-tile:before {
    display: none;
  }
  .section-heading {
    margin-bottom: 16px;
    gap: 12px;
  }
  .section-heading > p {
    display: none;
  }
  .popular-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .popular-large {
    width: 100%;
    padding-bottom: 20px;
  }
  .popular-large > .card-photo {
    height: 380px;
    border-radius: 20px;
  }
  .popular-large .popular-copy {
    padding: 16px 14px 0;
    gap: 8px;
  }
  .popular-copy h3 {
    font-size: 19px;
    line-height: 25px;
  }
  .popular-copy p {
    font-size: 14px;
    line-height: 21px;
  }
  .popular-mini-list {
    width: 100%;
    gap: 10px;
  }
  .popular-mini {
    gap: 12px;
    min-height: 108px;
    border-radius: 18px;
    padding: 6px 12px 6px 6px;
  }
  .popular-mini > .card-photo {
    width: 104px;
    height: 96px;
    border-radius: 14px;
  }
  .popular-mini h3 {
    font-size: 14px;
    line-height: 19px;
  }
.popular-mini .meta {
    font-size: 12px;
    line-height: 16px;
  }
  .selections {
    --selection-inset: 20px;
    padding: 24px 0 24px 20px;
    border-radius: 24px;
  }
  .selections > p {
    font-size: 14px;
    line-height: 21px;
    padding-right: 20px;
    max-width: 310px;
  }
  .selection-track {
    margin-top: 20px;
    gap: 12px;
    padding-right: 20px;
  }
  .selection-card {
    width: 230px;
  }
  .selection-image {
    width: 218px;
    height: 164px;
  }
  .selection-card span {
    font-size: 19px;
    line-height: 25px;
  }
  .slider-dots {
    margin-top: 20px;
    padding-right: 20px;
  }
  .listing-main > h2 {
    margin-bottom: 16px;
  }
  .filter-row {
    gap: 8px;
    margin-right: -16px;
    padding-right: 16px;
    margin-bottom: 12px;
  }
  .filter-chip {
    padding: 0 12px;
    font-size: 13px;
    height: 36px;
    border-radius: 10px;
  }
  .filter-chip small {
    font-size: 12px;
  }
  .search-form {
    border-radius: 12px;
    min-height: 44px;
  }
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .article-card {
    padding: 6px;
    min-height: 122px;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    border-radius: 18px;
  }
  .article-card > a.card-image-link {
    flex: none;
    width: 104px;
  }
  .article-card .card-photo {
    height: 100%;
    min-height: 110px;
    max-height: 150px;
    width: 104px;
    border-radius: 14px;
    object-fit: cover;
  }
  .card-content {
    padding: 6px 6px 6px 0;
    gap: 6px;
  }
  .card-content h3 {
    font-size: 14.5px;
    line-height: 19px;
    font-weight: 600;
  }
.card-tags .tag {
    font-size: 10.5px;
    line-height: 14px;
    padding: 3px 7px;
  }
  .card-footer {
    padding-top: 0;
    align-items: center;
    flex-direction: row;
    gap: 4px;
  }
  .card-date {
    font-size: 10.5px;
    line-height: 14px;
  }
  .card-stats {
    font-size: 12px;
    line-height: 16px;
    gap: 8px;
  }
  .card-stats .icon {
    --icon-size: 14px;
  }
  .promo {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 6px 16px;
    border-radius: 20px;
    margin: 0;
  }
  .promo img {
    width: 100%;
    height: 140px;
    border-radius: 14px;
    align-self: auto;
  }
  .promo p {
    font-size: 16px;
    line-height: 21px;
    padding: 16px 14px 14px;
  }
  .promo .button {
    margin: 0 14px;
    min-height: 44px;
    font-size: 14px;
  }
  .load-more {
    margin-top: 12px;
    min-height: 44px;
  }
  .subscribe.mobile-subscribe {
    padding: 20px;
    border-radius: 20px;
    margin-top: 24px;
  }
  .subscribe h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .breadcrumbs {
    margin: 0 16px 16px;
    font-size: 12px;
    line-height: 18px;
    gap: 8px;
  }
  .section-page {
    margin: 0 16px;
  }
  .section-page > .breadcrumbs {
    margin-left: 0;
    margin-right: 0;
  }
  .section-cover {
    padding: 24px 20px 14px;
    min-height: 354px;
    margin-bottom: 20px;
    border-radius: 24px;
    justify-content: flex-start;
  }
  .section-cover h1 {
    max-width: 280px;
  }
  .section-cover p {
    font-size: 14px;
    line-height: 21px;
    max-width: 300px;
    margin-top: 10px;
  }
  .section-cover .meta {
    font-size: 12px;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  .section-cover .cover-shade {
    background: linear-gradient(90deg, #061224df, #06122440);
  }
  .section-nav {
    margin-top: auto;
    margin-left: -10px;
    margin-right: -20px;
    padding: 18px 20px 0 10px;
    gap: 8px;
  }
  .section-nav a {
    min-width: 172px;
    height: 46px;
    font-size: 12px;
    padding: 10px;
  }
  .section-page .card-grid {
    gap: 12px;
  }
  .section-page .listing-main > h2 {
    margin-bottom: 16px;
  }
  .section-page .selections {
    margin-top: 24px;
  }
  .search-page {
    margin: 0 16px;
  }
  .search-page .breadcrumbs {
    margin: 0 0 12px;
  }
  .search-form.large {
    min-height: 48px;
    border-radius: 14px;
    padding: 8px 12px;
    gap: 8px;
  }
  .search-form.large input {
    font-size: 16px;
  }
  .search-form.large .search-submit {
    display: none;
  }
  .clear-search {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }
  .search-summary {
    font-size: 13px;
    line-height: 18px;
    margin: 12px 0 16px;
  }
  .search-result {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 20px;
    padding: 6px;
  }
  .search-result > .card-photo {
    width: 100%;
    height: 240px;
    min-height: 0;
    border-radius: 16px;
    align-self: auto;
  }
  .search-result .result-copy {
    padding: 14px 12px 12px;
    gap: 10px;
  }
  .result-meta {
    font-size: 11px;
    line-height: 15px;
    gap: 8px;
  }
.result-copy h2 {
    font-size: 16px;
    line-height: 21px;
  }
  .result-copy p {
    font-size: 14px;
    line-height: 21px;
  }
  .result-copy .result-bottom {
    padding-top: 2px;
  }
  .read-link {
    font-size: 12px;
  }
  .search-banner {
    padding: 24px 20px;
    border-radius: 20px;
    min-height: 218px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .search-banner .button {
    margin-left: 0;
    min-height: 44px;
    font-size: 14px;
  }
  .empty-state {
    padding: 24px;
  }
  .empty-state h2 {
    font-size: 22px;
  }
  .article-page > .breadcrumbs {
    margin-bottom: 16px;
  }
  .article-hero {
    margin: 0 16px 14px;
    min-height: 420px;
    border-radius: 24px;
    padding: 24px 20px;
  }
  .article-hero h1 {
    font-size: 28px;
    line-height: 32px;
    max-width: 310px;
    letter-spacing: -0.3px;
  }
  .article-hero .meta {
    font-size: 12px;
    line-height: 18px;
    gap: 8px 12px;
    margin-top: 14px;
  }
  .article-hero .cover-photo {
    object-position: 65% center;
  }
  .mobile-toc {
    margin-left: 16px;
    margin-right: 16px;
    top: 8px;
    min-height: 52px;
  }
  .mobile-toc-links {
    padding-left: 8px;
  }
  .mobile-toc-links a {
    font-size: 14px;
    line-height: 21px;
  }
  .article-layout {
    margin: 0 16px;
  }
  .article-paper {
    padding: 20px;
    border-radius: 24px;
  }
  .article-body {
    font-size: 14px;
    line-height: 22px;
  }
  .article-body > p.lead {
    font-size: 17px;
    line-height: 28px;
  }
  .article-body h2 {
    font-size: 22px;
    line-height: 28px;
    margin: 24px 0 14px;
    scroll-margin-top: 82px;
  }
  .article-body > p,
  .article-body > ul {
    margin-bottom: 14px;
  }
  .article-callout {
    padding: 16px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 21px;
  }
  .article-cta {
    margin-top: 20px;
    padding: 22px 20px;
    border-radius: 20px;
  }
  .article-cta h2 {
    font-size: 20px;
    line-height: 26px;
  }
  .article-cta .button {
    font-size: 13px;
    min-height: 44px;
    padding: 10px 16px;
  }
  .cta-actions {
    gap: 8px;
  }
  .article-feedback {
    gap: 12px;
    margin-top: 16px;
  }
  .feedback-row,
  .share-row {
    gap: 8px;
  }
  .share-row {
    font-size: 12px;
  }
  .small-button {
    font-size: 11.5px;
    padding: 6px 9px;
  }
  .comments h2 {
    font-size: 22px;
    line-height: 28px;
  }
  .comment-form .button {
    padding: 10px 14px;
    min-height: 44px;
    font-size: 13px;
  }
  .comment-form input {
    padding: 12px;
    font-size: 13px;
  }
  .comment-form > p {
    font-size: 11px;
    line-height: 16px;
  }
  .comment-top {
    gap: 6px;
    flex-wrap: wrap;
  }
  .comment-top time {
    font-size: 10.5px;
  }
  .comment-top strong {
    font-size: 12px;
  }
  .comment {
    font-size: 13px;
    line-height: 20px;
  }
  .expert-reply {
    margin-left: 0;
    padding: 14px;
  }
  .related {
    margin: 14px 16px 0;
    padding: 20px;
    border-radius: 24px;
  }
  .related .section-heading {
    margin-bottom: 12px;
  }
  .related .section-heading p,
  .related .section-heading > a {
    display: none;
  }
  .related .card-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .related .article-card {
    border: 0;
    padding: 0;
    gap: 10px;
  }
  .related .article-card .card-photo {
    width: 104px;
    height: 100% !important;
    min-height: 120px;
    max-height: 180px;
  }
  .related .card-content {
    padding: 6px 0;
    gap: 6px;
  }
  .related .card-content h3 {
    font-size: 14.5px;
    line-height: 19px;
  }
.related .card-footer {
    flex-direction: row;
    align-items: center;
  }
  .drawer-panel {
    padding: 20px;
  }
  .toast {
    bottom: 16px;
    width: max-content;
    font-size: 13px;
  }
}
@media (max-width: 359px) {
  .brand-block {
    width: 184px;
  }
  .brand-logo {
    width: 124px;
  }
  .header-mobile-actions {
    gap: 6px;
  }
  .header-mobile-actions a {
    width: 30px;
  }
  .tile-label {
    font-size: 11px;
  }
  .card-content h3 {
    font-size: 13px;
    line-height: 18px;
  }
  .card-date {
    font-size: 9px;
  }
  .card-stats {
    gap: 5px;
    font-size: 11px;
  }
  .article-card > a.card-image-link,
  .article-card .card-photo {
    width: 88px;
  }
  .article-paper {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.article-body > p,
.article-body > h2,
.article-body > ul {
  max-width: 660px;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-hero .cover-shade {
  background:
    linear-gradient(180deg, rgba(5, 18, 43, 0) 50%, rgba(5, 18, 43, 0.5) 100%),
    linear-gradient(
      90deg,
      rgba(5, 18, 43, 0.62) 0%,
      rgba(5, 18, 43, 0.32) 42%,
      rgba(5, 18, 43, 0) 75%
    );
}
.search-banner:before {
  background: linear-gradient(
    90deg,
    rgba(0, 40, 170, 0.96),
    rgba(0, 61, 255, 0.88) 50%,
    rgba(0, 61, 255, 0.25)
  );
}
.widget-links > button {
  width: 100%;
  justify-content: space-between;
  padding: 14px 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}
.widget-links > button span {
  color: var(--muted);
  font-size: 12.5px;
}
@media (max-width: 600px) {
  .article-body {
    font-size: 14px;
  }
  .article-hero .cover-shade {
    background: linear-gradient(0deg, #061224f2, #0612248c 95%);
  }
}

/* Figma mobile geometry; responsive constraints preserve content at smaller widths. */
.section-tile:before {
  width: 300%;
  height: 300%;
  left: -100%;
  bottom: -100%;
  transform: scale(0);
  transform-origin: bottom left;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .section-tile:hover:before {
    transform: scale(1);
  }
}
.mobile-search > .search-form {
  width: 100%;
}
@media (max-width: 600px) {
  .site-header {
    border-radius: 0 0 16px 16px;
  }
  .brand-block {
    width: 192px;
  }
  .menu-toggle {
    width: 34px;
    border: 0;
  }
  .brand-link {
    padding-left: 10px;
  }
  .brand-logo {
    width: 134px;
    height: 16px;
  }
  .header-mobile-actions a:last-child {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
  .header-mobile-actions {
    gap: 12px;
  }
  .header-mobile-actions a:first-child .icon {
    --icon-size: 24px;
  }
  .page-flow {
    gap: 20px;
  }
  .hero {
    padding: 22px 16px 16px;
  }
  .hero p {
    font-size: 15px;
    line-height: 22px;
    margin-top: 16px;
  }
  .section-tiles {
    margin-top: 16px;
  }
  .section-tile {
    height: 62px;
    min-height: 62px;
    padding: 10px;
    border-radius: 16px;
  }
  .tile-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .tile-icon .icon {
    --icon-size: 20px;
  }
  .tile-label {
    font-size: 14.5px;
    line-height: 19px;
    flex: 1;
    min-width: 0;
  }
  .selections {
    padding-bottom: 20px;
  }
  .selections > p {
    font-size: 15px;
    line-height: 22px;
    margin-top: 16px;
    max-width: 338px;
  }
  .selection-track {
    margin-top: 16px;
  }
  .selection-card {
    width: 170px;
  }
  .selection-image {
    width: 100%;
    height: 164px;
  }
  .selection-card span {
    padding: 0 8px;
    font-size: 17px;
  }
  .slider-dots {
    margin-top: 16px;
  }
  .article-card {
    padding: 6px 14px 6px 6px;
    gap: 14px;
  }
  .article-card > a.card-image-link,
  .article-card .card-photo {
    width: 96px;
  }
  .card-content {
    padding: 8px 0 6px;
    gap: 8px;
  }
.card-footer {
    gap: 4px;
    flex-wrap: wrap;
  }
  .card-date {
    font-size: 13px;
    line-height: 18px;
  }
  .card-stats {
    font-size: 14px;
    line-height: 18px;
    gap: 12px;
  }
  .card-stats .icon {
    --icon-size: 15px;
  }
  .search-result > .card-photo {
    height: 195px;
    border-radius: 20px;
  }
  .search-result .result-copy {
    padding: 12px 10px 10px;
  }
  .result-meta {
    font-size: 13px;
    line-height: 18px;
    gap: 6px 10px;
  }
.search-result {
    border-radius: 24px;
  }
}
@media (max-width: 359px) {
  .brand-block {
    width: 180px;
  }
  .brand-logo {
    width: 124px;
  }
  .tile-label {
    font-size: 12px;
    line-height: 16px;
  }
  .tile-icon {
    width: 30px;
    height: 30px;
  }
  .card-date {
    font-size: 11px;
  }
  .card-stats {
    font-size: 12px;
    gap: 8px;
  }
  .article-card {
    gap: 10px;
    padding-right: 10px;
  }
  .card-footer {
    gap: 2px;
  }
}


/* Align both outer edges of the editorial feature. */
@media (min-width: 601px) {
  .popular-grid { align-items: stretch; }
  .popular-large { display: flex; flex-direction: column; }
  .popular-large > .card-photo { flex: 1 1 auto; min-height: 380px; }
  .popular-large .popular-copy { flex: 0 0 auto; }
  .popular-mini-list { display: grid; grid-template-rows: repeat(4, minmax(min-content, 1fr)); }
}
@media (min-width: 601px) and (max-width: 900px) {
  .popular-large > .card-photo { min-height: 280px; }
}

/* Match the reference: the feed scrolls naturally; its final widget sticks. */
@media (min-width: 901px) {
  .listing-layout > .sidebar {
    align-self: stretch;
  }
  .listing-layout > .sidebar > :last-child {
    position: sticky;
    top: var(--sidebar-sticky-top, 24px);
  }
  .article-layout > .article-sidebar,
  .article-layout > .toc {
    position: sticky;
    top: var(--sidebar-sticky-top, 12px);
    align-self: start;
  }
  .listing-layout > .sidebar > *,
  .article-layout > .article-sidebar > *,
  .article-layout > .toc > * { flex-shrink: 0; }
}

.mobile-copy {
  display: none;
}
mark {
  background: none;
  color: inherit;
  font-weight: 600;
}
@media (max-width: 600px) {
  .desktop-copy {
    display: none;
  }
  .mobile-copy {
    display: inline;
  }
}

.card-content > .card-reading-time { font-size: 13px; line-height: 18px; color: var(--muted); }
.breadcrumbs { align-items: baseline; }
.breadcrumbs > a,.breadcrumbs > [aria-hidden] { flex: none; }
.breadcrumbs > [aria-current="page"] { flex: 1; min-width: 0; overflow-wrap: anywhere; }
