/* Qonaev visual identity: warm limestone, logo blue and gold. */
:root {
  --q-ink: #2d3c69;
  --q-text: #3f4f74;
  --q-muted: #525f7e;
  --q-accent: var(--q-ink);
  --q-accent-hover: #233057;
  --q-warm: #f7f5eb;
  --q-paper: #fdfcf8;
  --q-white: #fffefa;
  --q-soft: #ebeff7;
  --q-surface-tint: #f4f6fb;
  --q-border: #d6deee;
  --q-gold: #8b6029;
  --q-banner-title: #927228;
  --q-font: Onest, Arial, sans-serif;
}

.theme-editorial {
  --ink: var(--q-ink);
  --text: var(--q-text);
  --muted: var(--q-muted);
  --paper: var(--q-paper);
  --surface: var(--q-white);
  --line: var(--q-border);
  --gold: var(--q-gold);
  --sage: var(--q-soft);
  --blue: var(--q-accent);
  --serif: var(--q-font);
  background: var(--q-paper);
  color: var(--q-ink);
  font-family: var(--q-font);
}

.theme-editorial :is(h1, h2, h3, h4) {
  font-weight: 650;
  letter-spacing: -.024em;
}

.theme-editorial :is(h1, h2, h3, h4, h5, h6, input, button, select, textarea, .button),
.theme-editorial :is(p, a, li, span, small, summary, figcaption, dt, dd):not(.ph) {
  font-family: var(--q-font) !important;
}

.theme-editorial .site-header {
  background: rgb(255 254 250 / .97);
  border-color: var(--q-border);
}

.site-header .brand {
  align-items: center;
}

.site-header .brand img {
  flex: none;
  object-fit: contain;
  transform: translateY(-2px);
}

.theme-editorial .site-header .main-nav .nav-main-link {
  font-size: .88rem;
}

.theme-editorial .cms-extra-nav {
  gap: .4rem;
  padding-block: .65rem;
  background: transparent;
}

.theme-editorial .cms-extra-nav > a {
  border-color: transparent;
  border-radius: 8px;
  padding: .38rem .66rem;
  color: var(--q-accent);
  background: transparent;
  font-size: .88rem;
}

.theme-editorial .cms-extra-nav > a:hover {
  border-color: var(--q-border);
  background: var(--q-soft);
}

.theme-editorial .button:not(.button-secondary),
.theme-editorial .assist-apply,
.theme-editorial .journey-tab[aria-selected="true"] {
  background: var(--q-accent);
  border-color: var(--q-accent);
  color: white;
}

.theme-editorial .button:not(.button-secondary):hover,
.theme-editorial .assist-apply:hover {
  background: var(--q-accent-hover);
  border-color: var(--q-accent-hover);
}

.theme-editorial .button-secondary,
.theme-editorial .full-pill {
  background: rgb(235 239 247 / .72);
  color: var(--q-accent);
  border-color: var(--q-border);
}

.theme-editorial :is(.button-secondary, .full-pill):hover {
  background: var(--q-soft);
  border-color: var(--q-accent);
}

.theme-editorial .full-intro {
  background: linear-gradient(120deg, var(--q-warm), var(--q-soft));
}

.qonaev-page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.theme-editorial .full-intro.qonaev-page-banner {
  min-height: 13rem;
  padding-block: clamp(1.3rem, 3vw, 2.65rem);
}

.theme-editorial .announcement-section.qonaev-page-banner {
  min-height: 6.75rem;
}

.theme-editorial .qonaev-page-banner :is(h1, .full-lead) {
  max-width: min(52rem, 82%);
}

.theme-editorial .qonaev-page-banner :is(.full-lead, .breadcrumbs a) {
  color: var(--q-ink);
}

.theme-editorial .qonaev-page-banner .edition {
  padding: .28rem .55rem;
  border-radius: 5px;
  background: rgb(255 254 250 / .82);
  color: var(--q-ink);
}

.theme-editorial :is(.editorial-about, .editorial-open, .editorial-cta, .full-contact-cta, .contact-band) {
  background: var(--q-soft);
  color: var(--q-ink);
}

.theme-editorial.full-prototype :is(.application-section, .soft-section) {
  background: var(--q-warm);
  color: var(--q-ink);
}

.theme-editorial .site-footer {
  background: var(--q-white);
  color: var(--q-muted);
}

.qonaev-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.theme-editorial .qonaev-social-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-block-size: 44px;
  padding: .5rem .85rem;
  border: 1px solid var(--q-border);
  border-radius: 999px;
  background: var(--q-surface-tint);
  color: var(--q-ink);
  font-size: .875rem;
  font-weight: 620;
  text-decoration: none;
}

.theme-editorial .qonaev-social-links a:hover {
  border-color: var(--q-accent);
  background: var(--q-soft);
}

.qonaev-social-links .ph {
  flex: none;
  font-size: 1.12rem;
}

.qonaev-footer-social {
  margin-block-start: 1.25rem;
}

.theme-editorial .footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1rem;
}

.footer-legal .qonaev-footer-credit {
  margin: 0 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.footer-legal .qonaev-footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.qonaev-contact-social {
  margin-block-end: 1.25rem;
}

.theme-editorial .assist-dock {
  background: rgb(255 254 250 / .96);
  border-color: var(--q-border);
}

.theme-editorial :is(.section-icon, .doc-symbol) {
  color: var(--q-accent);
  background: var(--q-soft);
}

.theme-editorial :is(.program-card, .document-card, .section-card, .full-news-card, .person-card) {
  border-color: var(--q-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px #17382f06;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.theme-editorial :is(.program-card, .document-card, .section-card, .full-news-card):hover {
  border-color: #8b9dbf;
  box-shadow: 0 8px 24px #2d3c6912;
  transform: translateY(-2px);
}

.theme-editorial :is(.editorial-section, .cms-bulletin, .editorial-about) h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.22;
}

.theme-editorial main > .section {
  padding-block: 3.7rem;
}

html:not([data-spk-mode]) .theme-editorial :is(main, .contact-band, .site-footer, .assist-dock) .ph {
  color: var(--q-accent) !important;
}

html:not([data-spk-mode]) .theme-editorial :is(.button:not(.button-secondary), .assist-apply, .journey-tab[aria-selected="true"]) .ph {
  color: currentColor !important;
}

.qonaev-home-contacts {
  position: relative;
  z-index: 1;
  padding-block: .65rem;
  border-block: 1px solid var(--q-border);
  background: var(--q-soft);
  font-style: normal;
}

.qonaev-home-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.65rem;
}

.qonaev-home-contact-links a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: .45rem;
  color: var(--q-ink);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
}

.qonaev-home-contact-links a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.qonaev-home-contact-links a span {
  overflow-wrap: anywhere;
}

.qonaev-home-contact-links a .ph {
  flex: none;
  font-size: 1.06em;
}

.qonaev-home-hero {
  position: relative;
  isolation: isolate;
  background: var(--q-warm);
  color: var(--q-ink);
  border-bottom: 1px solid var(--q-border);
}

:is(.qonaev-home-photo, .qonaev-page-photo) {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

:is(.qonaev-home-photo, .qonaev-page-photo) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.qonaev-page-photo img {
  object-position: center 29%;
}

.qonaev-page-photo--topic img {
  object-position: center;
}

.qonaev-page-photo--field-guide img {
  object-position: center 38%;
}

/* Frame the produce photo in the upper-right quarter of this collage. */
.qonaev-page-photo--food-market img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 262%;
  height: auto;
  max-width: none;
  transform: translate(-51.8%, -28%);
}

.qonaev-page-photo--field img {
  object-position: center 60%;
}

:is(.qonaev-home-hero, .qonaev-page-banner)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

.qonaev-page-banner::before {
  background: linear-gradient(90deg, rgb(247 245 235 / 50%) 0 42%, transparent 76%);
}

.qonaev-home-hero::before {
  background: radial-gradient(ellipse 67% 77% at 12% 62%,
    rgb(247 245 235 / 54%) 0%, rgb(247 245 235 / 40%) 40%,
    rgb(247 245 235 / 15%) 75%, transparent 100%);
}

.qonaev-home-copy {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(53%, 40rem);
  min-block-size: clamp(32rem, 40.2vw, 36rem);
  padding-block: clamp(4.6rem, 6.95vw, 6.9rem) clamp(3rem, 4.85vw, 4.5rem);
}

html:not([data-spk-mode]) .qonaev-home-region {
  text-shadow: 0 1px 2px rgb(255 254 250 / 90%), 0 0 6px rgb(255 254 250 / 60%);
}

.qonaev-home-region {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .85rem;
  color: #553b21;
  font-size: .87rem;
  font-weight: 640;
}

.qonaev-home-region .ph {
  font-size: 1.12rem;
}

html:not([data-spk-mode]) .theme-editorial .qonaev-home-region .ph {
  color: inherit !important;
}

.theme-editorial .qonaev-home-hero h1 {
  max-width: 100%;
  margin: 0 0 1.65rem;
  color: var(--q-ink);
  font-size: clamp(2.45rem, 4.6vw, 4.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.042em;
  overflow-wrap: break-word;
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .theme-editorial
  :is(.qonaev-home-hero, .qonaev-page-banner) :is(h1, .announcement-section-label) {
  color: var(--q-banner-title);
  -webkit-text-stroke: .024em var(--q-warm);
  paint-order: stroke fill;
  text-shadow: 0 1px .12em rgb(255 254 250 / 75%);
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .theme-editorial .qonaev-home-hero h1 {
  -webkit-text-stroke-width: .015em;
  text-shadow: 0 1px .09em rgb(255 254 250 / 75%);
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .theme-editorial .qonaev-page-banner.qonaev-news-banner h1 {
  color: var(--q-ink);
  -webkit-text-stroke: .025em rgb(255 254 250 / 90%);
  text-shadow: 0 1px .12em rgb(255 254 250 / 95%), 0 0 .36em rgb(255 254 250 / 72%);
}

.theme-editorial .qonaev-page-banner .qonaev-leader-banner-text {
  box-sizing: border-box;
  inline-size: fit-content;
  max-inline-size: min(100%, 44rem);
  padding: clamp(.7rem, 1.45vw, 1.15rem) clamp(.85rem, 2vw, 1.5rem);
  border-radius: .7rem;
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .qonaev-leader-banner-text {
  background: rgb(255 253 247 / 86%);
}

.theme-editorial .qonaev-page-banner .qonaev-leader-banner-text :is(h1, .full-lead) {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}

.theme-editorial .qonaev-page-banner .qonaev-leader-banner-text h1 {
  font-size: clamp(1.75rem, 3.35vw, 3.1rem);
  line-height: 1.13;
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .theme-editorial .qonaev-page-banner .qonaev-leader-banner-text :is(h1, .full-lead) {
  color: var(--q-ink);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.theme-editorial .qonaev-page-banner .qonaev-leader-banner-text .full-lead {
  margin-top: .38rem;
  line-height: 1.4;
}

.theme-editorial .rich-content img.qonaev-news-cover {
  display: block;
  width: auto;
  height: auto;
  max-inline-size: 100%;
  max-block-size: clamp(12rem, 26vw, 21rem);
  object-fit: contain;
  margin-inline: auto;
}

html[lang="en"] .qonaev-home-hero h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.7rem);
}

.qonaev-home-mission {
  max-inline-size: 38.5rem;
  color: var(--q-ink);
  font-size: clamp(.96rem, 1.18vw, 1.05rem);
  font-weight: 540;
  line-height: 1.44;
}

html:not([data-spk-palette]:not([data-spk-palette="site"])) .qonaev-home-mission {
  text-shadow: 0 1px 2px rgb(255 254 250 / 94%), 0 0 .42em rgb(255 254 250 / 79%);
}

.qonaev-home-mission h2 {
  margin: 0 0 .34rem;
  font-size: .83rem;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: .035em;
}

.qonaev-home-mission p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.qonaev-home-mission p + p {
  margin-block-start: .55rem;
}

.qonaev-home-mission .qonaev-home-description {
  font-size: .9rem;
  line-height: 1.4;
}

.qonaev-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-block-start: auto;
  padding-block-start: 1.4rem;
}

.theme-editorial .qonaev-home-actions .button {
  min-height: 46px;
  padding: .65rem 1.07rem;
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 650;
}

.theme-editorial .qonaev-home-actions .button-secondary {
  background: rgb(255 254 250 / 58%);
  border-color: rgb(45 60 105 / 46%);
}

.qonaev-home-actions .ph {
  font-size: 1.1rem;
}

.qonaev-home-links {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-top: -1.25rem;
}

.qonaev-home-links > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  min-height: 62px;
  padding: .8rem .92rem;
  border: 1px solid var(--q-border);
  border-radius: 12px;
  background: var(--q-white);
  color: var(--q-ink);
  box-shadow: 0 6px 20px #17382f0c;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
  transition: background .2s, border-color .2s;
}

.qonaev-home-links > a:hover {
  background: var(--q-soft);
  border-color: #8b9dbf;
}

.qonaev-home-links .ph:first-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 1.15rem;
  background: var(--q-soft);
  border-radius: 8px;
}

.qonaev-home-links .ph:last-child {
  font-size: .93rem;
}

.qonaev-home-news {
  margin-block: 3.1rem 2.5rem;
}

.qonaev-home-news-heading {
  display: flex;
  gap: .75rem 1.1rem;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.qonaev-home-news-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  color: var(--q-ink);
}

.qonaev-home-news-heading a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-block: .38rem;
  color: var(--q-accent);
  font-size: .88rem;
  font-weight: 650;
  text-underline-offset: .22em;
}

.qonaev-home-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.qonaev-home-card-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.theme-editorial .section-sidebar nav a {
  font-size: .875rem;
  line-height: 1.45;
}

.theme-editorial .section-sidebar nav a > .ph {
  flex-shrink: 0;
}

.theme-editorial .full-news-card > .news-image > img {
  object-fit: contain;
  transform: none;
}

.theme-editorial :is(.catalog-items, .two-grid, .cms-bulletin-cards) > .full-news-card:has(> .news-image) {
  display: grid;
  grid-template-columns: minmax(0, min(34%, 11.5rem)) minmax(0, 1fr);
}

.theme-editorial :is(.catalog-items, .two-grid, .cms-bulletin-cards) > .full-news-card > .news-image {
  display: grid;
  align-items: center;
  height: auto;
  min-height: 0;
  padding: .5rem;
  background: var(--q-surface-tint);
}

.theme-editorial :is(.catalog-items, .two-grid, .cms-bulletin-cards) > .full-news-card > .news-image > img {
  display: block;
  height: auto;
  max-height: 12rem;
}

.theme-editorial :is(.catalog-items, .two-grid, .cms-bulletin-cards) > .full-news-card > .news-copy {
  min-inline-size: 0;
  overflow-wrap: anywhere;
  padding: .9rem 1rem;
}

.theme-editorial .cms-bulletin-cards:has(> .full-news-card > .news-image) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.theme-editorial :is(.two-grid, .cms-bulletin-cards) > .full-news-card:has(> .news-image):last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.qonaev-home-card-grid .full-news-card {
  background: var(--q-white);
}

.qonaev-home-card-grid .full-news-card:has(.news-image) {
  display: grid;
  grid-template-columns: minmax(0, min(43%, 22rem)) minmax(0, 1fr);
  align-items: center;
}

.qonaev-home-card-grid .news-image {
  display: grid;
  align-content: center;
  align-self: stretch;
  height: auto;
  background: var(--q-soft);
}

.qonaev-home-card-grid .news-image img {
  display: block;
  width: 100%;
  height: auto;
}

.qonaev-home-card-grid .full-news-card h3 {
  font-size: 1.14rem;
  line-height: 1.38;
}

.qonaev-home-card-grid .news-copy {
  min-width: 0;
}

.theme-editorial .qonaev-report-intro {
  padding-block: clamp(1.5rem, 3vw, 2.65rem);
}

.qonaev-report-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0 0 1.5rem;
}

.qonaev-report-nav a {
  min-width: 0;
  white-space: normal;
}

.qonaev-report-group {
  margin-block: 1.8rem;
  scroll-margin-top: 7rem;
}

.theme-editorial .cms-kpis {
  margin-block: 2.4rem;
}

.theme-editorial .cms-kpi-grid > div {
  background: var(--q-soft);
  border-color: var(--q-border);
}

.theme-editorial .mobile-menu-extra {
  border-color: var(--q-border);
}

.theme-editorial .mobile-menu-extra :is(a, i) {
  color: var(--q-accent);
}

.theme-editorial .mobile-menu-extra a:hover {
  background: var(--q-soft);
}

html:not([data-spk-mode]) .theme-editorial .languages a[aria-current="page"] {
  background: var(--q-soft);
  color: var(--q-accent-hover);
  border-radius: 999px;
}

html:not([data-spk-mode]) .theme-editorial :is(a, button, summary, input, select):focus-visible {
  outline: 2px solid var(--q-accent);
  outline-offset: 3px;
}

/* Contrast palettes hide the decorative photograph and provide their own colors. */
html[data-spk-palette]:not([data-spk-palette="site"]) :is(.qonaev-home-hero, .qonaev-page-banner)::before,
html[data-spk-palette]:not([data-spk-palette="site"]) :is(.qonaev-home-photo, .qonaev-page-photo) {
  display: none;
}

html[data-spk-palette]:not([data-spk-palette="site"]) :is(.qonaev-home-mission, .qonaev-home-contacts, .qonaev-home-card-grid .news-image) {
  background: transparent;
  border-color: var(--spk-border);
}

@media (1280px <= width < 1440px) {
  .site-header .header-inner.container {
    width: calc(100% - 40px);
    gap: 12px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand img {
    width: 40px;
    height: 46px;
  }

  .site-header .brand-name {
    font-size: 19px;
  }

  .site-header .brand-caption {
    display: none;
  }

  .site-header .main-nav {
    gap: 5px;
  }

  .theme-editorial .site-header .main-nav .nav-main-link {
    font-size: .84rem;
  }

  .site-header .header-actions {
    gap: 8px;
  }
}

@media (width < 1280px) {
  .site-header .header-inner.container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: none;
    min-height: 72px;
    padding: 9px 30px;
    align-items: center;
    gap: 16px;
  }

  .site-header .brand {
    min-width: 0;
    flex: 0 1 auto;
  }

  .site-header .brand img {
    width: 40px;
    height: 46px;
  }

  .site-header .brand-name {
    font: 650 18px/1.2 var(--q-font);
  }

  .site-header .brand-caption {
    display: none;
  }

  .site-header .header-actions {
    display: flex;
    align-items: center;
    width: auto;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 10px;
  }

  .site-header .menu-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    margin: 0;
    border: 1px solid var(--q-border);
    border-radius: 50%;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    max-height: calc(100dvh - 76px);
    overflow: auto;
    padding: 18px 30px;
    background: var(--q-white);
    border: 1px solid var(--q-border);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 14px 30px #17382f18;
  }

  .site-header:has(.menu-button[aria-expanded="true"]) .main-nav {
    display: block;
  }

  .site-header .main-nav .nav-group {
    display: block;
    width: 100%;
    position: static;
  }

  .site-header .main-nav .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header .main-nav .nav-submenu {
    position: static;
    max-width: none;
    width: 100%;
    box-shadow: none;
    transform: none;
  }

  .site-header .main-nav .mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .mobile-menu-extra {
    display: grid;
  }

  .cms-extra-nav {
    display: none !important;
  }
}

@media (max-width: 850px) {
  .qonaev-home-card-grid {
    grid-template-columns: 1fr;
  }

  .qonaev-home-copy {
    width: min(64%, 35rem);
    min-block-size: 31.25rem;
  }

  .qonaev-page-banner::before {
    background: linear-gradient(90deg, rgb(247 245 235 / 50%) 0 54%, transparent 85%);
  }

  .site-header .header-inner.container {
    padding: 8px 20px;
  }

  .site-header .header-search {
    display: none;
  }
}

@media (max-width: 640px) {
  .theme-editorial .cms-bulletin-cards:has(> .full-news-card > .news-image) {
    grid-template-columns: 1fr;
  }

  .theme-editorial .qonaev-page-banner :is(h1, .full-lead) {
    max-width: none;
  }

  .qonaev-home-contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem .65rem;
  }

  .qonaev-home-contact-links a:last-child {
    grid-column: 1 / -1;
  }

  .qonaev-home-contact-links a {
    font-size: .81rem;
  }

  .qonaev-home-hero > .container,
  .full-prototype .container:is(.qonaev-home-links, .qonaev-home-news) {
    width: calc(100% - 36px);
    margin-inline: auto;
  }

  .qonaev-home-photo img {
    object-position: center 48%;
  }

  .qonaev-home-hero::before {
    background: radial-gradient(ellipse 140% 68% at 0% 57%,
      rgb(247 245 235 / 60%) 0%, rgb(247 245 235 / 42%) 62%, transparent 100%);
  }

  .qonaev-home-copy {
    width: 100%;
    min-block-size: 30.75rem;
    padding-block: 3rem 2rem;
  }

  .theme-editorial .qonaev-home-hero h1 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  html[lang="en"] .qonaev-home-hero h1 {
    font-size: clamp(1.8rem, 7.1vw, 2.65rem);
  }

  .qonaev-home-region {
    margin-bottom: .65rem;
  }

  .qonaev-home-actions {
    padding-block-start: 1.35rem;
  }

  .qonaev-home-news {
    margin-block: 1.9rem 1.6rem;
  }

  .qonaev-home-links,
  .qonaev-home-card-grid {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .qonaev-home-links > a {
    min-height: 50px;
    padding-block: .55rem;
    font-size: .93rem;
  }

  .qonaev-home-links .ph:first-child {
    width: 30px;
    height: 30px;
  }

  .theme-editorial main > .section {
    padding-block: 2.25rem;
  }

  .site-header .main-nav {
    padding: 14px 18px;
  }

  .site-header .main-nav .mega-grid {
    grid-template-columns: 1fr;
  }

  .site-header .header-inner.container {
    padding: 8px 18px;
    min-height: 66px;
  }

  .site-header .header-actions {
    gap: 8px;
  }

  .site-header :is(.menu-button, .cms-access-button) {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 5px;
  }
}

@media (max-width: 520px) {
  .qonaev-home-card-grid .full-news-card:has(.news-image) {
    grid-template-columns: 1fr;
  }

  .qonaev-home-card-grid .news-image img {
    max-height: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-editorial :is(.program-card, .document-card, .section-card, .full-news-card, .qonaev-home-links > a) {
    transition: none;
    transform: none !important;
  }
}
