.apex {
  --display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --accent: #424b12;
  --ink: #151814;
  --muted: #62665f;
  --soft: #f3f4f0;
  --line: #d6d9d0;
}
/* отступ под левую колонку не на body: тизерный виджет копирует padding body в каждую карточку */
.apex > :not(.site-header):not(.skip-link) {
  margin-left: 214px;
}
.apex .wrap {
  max-width: 1120px;
  width: calc(100% - 72px);
}
.apex .site-header {
  position: fixed;
  inset: 0 auto 0 0;
  width: 214px;
  background: #ecf48d;
  border-right: 1px solid #c8d079;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  overflow-y: auto;
}
.apex .brand {
  font: 700 30px/1.05 var(--display);
  display: inline-flex;
  flex-direction: column;
}
.apex .brand b {
  font-size: 70px;
  margin-bottom: 12px;
}
.apex .brand span {
  display: block;
}
.apex-rail-label {
  font: 12px/1.5 var(--body);
  margin-top: 16px;
}
.apex .site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-top: 34px;
  font: 600 14px/1.5 var(--body);
}
.apex .site-nav a {
  border-top: 1px solid #bbc36b;
  padding-block: 16px;
}
.apex .site-nav a:hover {
  background: #dce875;
  text-decoration: none;
}
.apex .header-controls {
  margin-top: 18px;
}
.apex-rail-note {
  margin-top: auto;
  padding-top: 28px;
  font: 12px/1.7 var(--body);
}
.apex .section {
  padding-block: 36px;
}
.apex .eyebrow,
.apex .story-meta,
.apex .section-heading > a,
.apex .breadcrumbs {
  font-family: var(--body);
}
.apex-desk-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 5px solid var(--ink);
}
.apex-desk-heading h1 {
  font-size: 43px;
  line-height: 1.1;
}
.apex-desk-heading > a {
  font: 600 13px/1.5 var(--body);
  flex-shrink: 0;
}
.apex .story-source {
  display: none;
}
.apex .story-meta {
  font-size: 12px;
  font-weight: 400;
  gap: 8px 18px;
}
.apex .story-meta > span {
  font-weight: 700;
}
.apex-bulletin .story {
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.apex-bulletin .story-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 36px;
  align-items: center;
}
.apex-bulletin .story-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
}
.apex-bulletin .story-media {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1.55;
}
.apex-bulletin .story h2 {
  font-size: 27px;
  line-height: 1.2;
}
.apex-bulletin .story-description {
  font-size: 14px;
  margin-top: 10px;
  max-width: 680px;
}
.apex-bulletin .story:first-child {
  padding-block: 30px;
}
.apex-bulletin .story:first-child h2 {
  font-size: 37px;
}
.apex-bulletin .story:first-child .story-link {
  grid-template-columns: minmax(0, 1fr) 270px;
}
.apex-bulletin .story:first-child .story-media {
  aspect-ratio: 1.15;
}
.apex-bulletin .story-link:hover h2 {
  color: #53600f;
}
.apex-screen {
  background: #f1f2ee;
  border-block: 1px solid var(--line);
}
.apex-screen-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 42px;
}
.apex-screen h2 {
  font: 700 28px/1.2 var(--display);
}
.apex-screen .disclosure {
  max-width: 260px;
  font-size: 11px;
}
.apex-media-feed .story {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.apex-media-feed .story:first-child {
  padding-top: 0;
}
.apex-media-feed .story:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.apex-media-feed .story-media,
.apex-media-feed .story-description {
  display: none;
}
.apex-media-feed .story-copy {
  padding: 0;
}
.apex-media-feed .story h2 {
  font-size: 22px;
  line-height: 1.25;
}
.apex .news-grid {
  grid-template-columns: 1fr;
  gap: 0;
}
.apex .news-grid .story {
  padding-block: 24px;
}
.apex .news-grid .story-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  gap: 28px;
  align-items: center;
}
.apex .news-grid .story-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 0;
}
.apex .news-grid .story-media {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1.5;
}
.apex .news-grid .story h2 {
  font-size: 25px;
  line-height: 1.22;
}
.apex .news-grid .story-description {
  font-size: 14px;
}
.apex .section-heading h1 {
  font-size: 39px;
}
.apex .article-heading {
  max-width: 920px;
}
.apex .article-heading h1 {
  font-size: 43px;
  line-height: 1.12;
}
.apex .article-body {
  font: 18px/1.9 var(--body);
}
.apex .article-photo {
  max-width: 920px;
}
.apex .site-footer {
  background: #ecf48d;
  color: #151814;
  padding-block: 25px 20px;
}
.apex-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.apex .site-footer .brand {
  flex-direction: row;
  align-items: center;
  gap: 15px;
  font-size: 24px;
}
.apex .site-footer .brand b {
  margin: 0;
  font-size: 44px;
}
.apex-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font: 13px/1.5 var(--body);
}
.apex .footer-bottom {
  color: #41472c;
  font: 12px/1.5 var(--body);
  margin-top: 20px;
}
.apex .social-links a {
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.apex .social-links a:hover {
  background: #d5df71;
}
.apex .social-links {
  gap: 0;
  border-left: 1px solid #a3b147;
  padding-left: 12px;
}
.apex .social-links img {
  width: 19px;
  height: 19px;
}
.apex .icon-button:hover {
  background: #dce875;
}
@media (max-width: 1150px) and (min-width: 801px) {
  .apex > :not(.site-header):not(.skip-link) {
    margin-left: 176px;
  }
  .apex .site-header {
    width: 176px;
    padding: 26px 20px;
  }
  .apex .wrap {
    width: calc(100% - 48px);
  }
  .apex-bulletin .story-link {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 24px;
  }
  .apex-bulletin .story:first-child .story-link {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
  .apex-bulletin .story:first-child h2 {
    font-size: 31px;
  }
  .apex-bulletin .story h2 {
    font-size: 23px;
  }
  .apex-screen-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
  }
  .apex-screen h2 {
    font-size: 23px;
  }
  .apex-footer-top {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .apex > :not(.site-header):not(.skip-link) {
    margin-left: 0;
  }
  .apex .wrap {
    width: calc(100% - 36px);
  }
  .apex .site-header {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 18px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid #c8d079;
    overflow: visible;
  }
  .apex .site-header .brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 24px;
  }
  .apex .brand b {
    font-size: 42px;
    margin: 0;
  }
  .apex-rail-label,
  .apex-rail-note {
    display: none;
  }
  .apex .header-controls {
    margin: 0 0 0 auto;
    gap: 0;
  }
  .apex .site-nav {
    margin-top: 16px;
  }
  .js .apex .site-nav {
    display: none;
  }
  .js .apex .site-nav.is-open {
    display: flex;
  }
  .apex .section {
    padding-block: 28px;
  }
  .apex-desk-heading h1 {
    font-size: 36px;
  }
  .apex-bulletin .story-link,
  .apex-bulletin .story:first-child .story-link {
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 20px;
  }
  .apex-bulletin .story h2,
  .apex-bulletin .story:first-child h2 {
    font-size: 25px;
  }
  .apex-bulletin .story-description {
    display: none;
  }
  .apex-bulletin .story:first-child,
  .apex-bulletin .story {
    padding-block: 24px;
  }
  .apex-bulletin .story-media,
  .apex-bulletin .story:first-child .story-media {
    aspect-ratio: 1.25;
  }
  .apex-screen-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .apex-screen h2 {
    font-size: 26px;
  }
  .apex-screen .disclosure {
    max-width: 540px;
    margin-top: 20px;
  }
  .apex .news-grid .story-link {
    grid-template-columns: minmax(0, 1fr) 144px;
    gap: 20px;
  }
  .apex .article-heading h1 {
    font-size: 36px;
  }
  .apex-footer-top {
    align-items: start;
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 520px) {
  .apex .site-header .brand {
    font-size: 21px;
  }
  .apex .brand b {
    font-size: 34px;
  }
  .apex-desk-heading {
    flex-direction: column;
    align-items: start;
    gap: 14px;
    padding-bottom: 22px;
  }
  .apex-desk-heading h1 {
    font-size: 34px;
  }
  .apex-bulletin .story-link,
  .apex-bulletin .story:first-child .story-link,
  .apex .news-grid .story-link {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 16px;
  }
  .apex-bulletin .story h2,
  .apex-bulletin .story:first-child h2,
  .apex .news-grid .story h2 {
    font-size: 23px;
  }
  .apex-bulletin .story-media,
  .apex-bulletin .story:first-child .story-media,
  .apex .news-grid .story-media {
    aspect-ratio: 1;
  }
  .apex .news-grid .story-description {
    display: none;
  }
  .apex .article-heading h1 {
    font-size: 32px;
  }
}
