/*
Theme Name: College NUOS
Theme URI: https://college.nuos.edu.ua/beta/
Author: College NUOS
Description: Кастомна тема Фахового коледжу НУК. Каркас шапки/підвалу за макетом Figma.
Version: 0.11.31
Text Domain: college-nuos
*/

:root {
  --cn-accent: #003399;
  --cn-accent-2: #fcca02;
  --cn-white: #ffffff;
  --cn-dark: #1e2d3d;
  --cn-grey: #626262;
  --cn-footer-bg: #e8edef;
  --cn-header-item: rgba(0, 0, 0, 0.12);
  --cn-pad: clamp(16px, calc(16px + 64 * (100vw - 393px) / 1047), 80px);
  --cn-max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cn-dark);
  background: var(--cn-white);
}

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

a {
  color: var(--cn-accent);
}

.site-header {
  background: var(--cn-accent);
  position: relative;
  z-index: 40;
}

.site-header__strip {
  background: var(--cn-accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 40;
}

@media (min-width: 1001px) {
  .site-header__strip {
    position: sticky;
    top: 0;
  }

  .admin-bar .site-header__strip {
    top: 32px;
  }

  .primary-menu {
    gap: 0.556cqi;
  }

  .header-search {
    margin-right: -1.389cqi;
  }
}

.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-header;
}

.site-header__shell {
  padding: 16px 5.556cqi 0.556cqi;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-header__shell--bar {
  padding: 0 5.556cqi 12px;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.111cqi;
}

.menu-toggle {
  display: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle img {
  display: block;
  width: 28px;
  height: 28px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1.25cqi;
  min-width: 0;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 1.25cqi;
  min-width: 0;
  text-decoration: none;
  color: var(--cn-white);
}

.site-header__emblem {
  width: 6.94cqi;
  height: 6.94cqi;
  overflow: clip;
  flex-shrink: 0;
}

.site-header__emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-header__emblem--nuk {
  flex-shrink: 0;
}

.site-header__titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.site-header__eyebrow {
  margin: 0;
  font-size: 0.903cqi;
  font-weight: 500;
  line-height: 1.2;
  color: var(--cn-accent-2);
}

.site-header__name {
  margin: 0;
  font-size: 1.806cqi;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--cn-white);
  white-space: nowrap;
}

.site-header__sub {
  margin: 0;
  font-size: 1.042cqi;
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--cn-white);
}

.site-header__bar {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__nav {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 11.46cqi);
}

.primary-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu > li {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

.primary-menu > li > .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 50;
  width: 320px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #002266;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.primary-menu > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: 0;
}

.primary-menu .sub-menu > li {
  position: relative;
}

.primary-menu .sub-menu .sub-menu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 51;
  width: 300px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #001a5c;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.primary-menu .sub-menu li.opens-left > .sub-menu {
  left: auto;
  right: 100%;
}

.primary-menu.js-nav li:hover > .sub-menu,
.primary-menu.js-nav li:focus-within > .sub-menu {
  display: none;
}

.primary-menu.js-nav li.is-open > .sub-menu {
  display: block;
}

.primary-menu:not(.js-nav) li:hover > .sub-menu,
.primary-menu:not(.js-nav) li:focus-within > .sub-menu {
  display: block;
}

.primary-menu a ._mi,
.footer-menu ._mi {
  display: none !important;
}

.primary-menu a {
  display: flex;
  align-items: center;
  gap: 0.417cqi;
  height: 3.333cqi;
  padding: 0 1.111cqi;
  min-width: 0;
  color: var(--cn-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.111cqi;
  line-height: 1.5;
  border-radius: 0.833cqi;
  white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li > .menu-item-head > a:hover,
.primary-menu .sub-menu a:hover {
  background: rgba(0, 0, 0, 0.22);
}

.primary-menu .sub-menu a {
  height: auto;
  min-height: 40px;
  padding: 8px 16px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  border-radius: 0;
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current-menu-item > .menu-item-head > a,
.primary-menu .current_page_item > .menu-item-head > a {
  background: var(--cn-header-item);
}

.primary-menu .menu-item-has-children > a::after,
.primary-menu .menu-item-has-children > .menu-item-head > a::after {
  content: "";
  width: 1.667cqi;
  height: 1.667cqi;
  flex-shrink: 0;
  background: url("assets/img/icon-chevron.svg") center / 1.667cqi 1.667cqi no-repeat;
  transition: transform 0.15s ease;
}

.primary-menu > .menu-item-has-children > a::after,
.primary-menu > .menu-item-has-children > .menu-item-head > a::after {
  width: 1.667cqi;
  height: 1.667cqi;
  flex-shrink: 0;
  background-size: 1.667cqi 1.667cqi;
}

.menu-item-head {
  display: contents;
}

.submenu-toggle {
  display: none;
}

.primary-menu .sub-menu li:hover > a::after,
.primary-menu .sub-menu li.is-open > a::after,
.primary-menu .sub-menu li:hover > .menu-item-head > a::after,
.primary-menu .sub-menu li.is-open > .menu-item-head > a::after {
  transform: rotate(-90deg);
}

.footer-menu .sub-menu {
  display: none;
}

.header-search {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  min-width: 0;
  height: 3.333cqi;
  margin-left: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.header-search__toggle {
  display: flex;
  align-items: center;
  gap: 0.417cqi;
  height: 3.333cqi;
  padding: 0 1.111cqi;
  border: 0;
  border-radius: 0.833cqi;
  background: transparent;
  color: var(--cn-white);
  font: 500 1.111cqi / 1.5 Inter, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.header-search__toggle::after {
  content: "";
  width: 1.667cqi;
  height: 1.667cqi;
  flex-shrink: 0;
  background: url("assets/img/icon-chevron.svg") center / 1.667cqi 1.667cqi no-repeat;
}

.header-search__toggle:hover,
.header-search.is-open .header-search__toggle {
  background: rgba(0, 0, 0, 0.22);
}

.header-search.is-open .header-search__toggle::after {
  transform: rotate(-90deg);
}

.header-search__panel {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 50;
  width: 320px;
  padding: 12px;
  background: #002266;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  align-items: center;
  gap: 8px;
}

.header-search.is-open .header-search__panel {
  display: flex;
}

.header-search input[type="search"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: var(--cn-white);
  font: 500 14px / 20px Inter, sans-serif;
  appearance: none;
  -webkit-appearance: none;
}

.header-search input[type="search"]::-webkit-search-decoration,
.header-search input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.header-search input::placeholder {
  color: var(--cn-white);
  opacity: 1;
}

.header-search__btn {
  display: block;
  flex: 0 0 1.389cqi;
  width: 1.389cqi;
  height: 1.389cqi;
  padding: 0;
  border: 0;
  background: none;
  overflow: visible;
  cursor: pointer;
}

.header-search__btn img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(100vw * 806 / 1440);
  overflow: hidden;
  display: grid;
  place-items: center;
  container-type: inline-size;
  container-name: cn-hero;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 51, 153, 0.3), rgba(0, 51, 153, 0.6) 79%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--cn-max);
  margin: 0 auto;
  padding: 24px clamp(16px, 5.556cqi, 80px);
}

.hero__title {
  margin: 0;
  min-width: 0;
  max-width: min(18em, 100%);
  color: var(--cn-white);
  font-weight: 900;
  font-size: clamp(40px, 3.33cqi, 48px);
  line-height: 1.29;
  overflow-wrap: break-word;
}

.hero__lead {
  margin: 16px 0 0;
  min-width: 0;
  max-width: min(36em, 100%);
  color: var(--cn-white);
  font-weight: 500;
  font-size: clamp(14px, 1.11cqi, 16px);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.hero__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 56px;
  padding: 0 30px;
  background: var(--cn-accent-2);
  color: #000;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.hero__cta:hover {
  color: var(--cn-accent);
  filter: none;
  background: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08)), var(--cn-accent-2);
}

.btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 23px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 60px;
  background: transparent;
  color: var(--cn-accent-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sec:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cn-accent-2);
}

.btn-news {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 60px;
  background: transparent;
  color: var(--cn-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-news:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--cn-accent);
}

.about {
  background: var(--cn-white);
}

.about__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-about;
}

.about__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 43.06cqi);
  column-gap: clamp(32px, 5.556cqi, 80px);
  row-gap: clamp(32px, 3.33cqi, 48px);
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.about__head {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(24px, 2.778cqi, 40px);
  align-items: flex-end;
}

.about__title-block {
  flex: 0 1 43cqi;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.about__badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: 42px;
  padding: 0 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
}

.about__badge {
  border: 1px solid rgba(0, 51, 153, 0.31);
  background: rgba(0, 51, 153, 0.08);
  box-shadow: 4px 5px 30px rgba(0, 51, 153, 0.07);
  color: var(--cn-accent);
}

.about h2 {
  margin: 0;
  color: var(--cn-dark);
  font-weight: 800;
  font-size: clamp(30px, 2.778cqi, 40px);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.about__lead {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--cn-accent);
  font-family: "PT Serif", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(16px, 1.389cqi, 20px);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.about__copy {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.778cqi, 40px);
  min-width: 0;
}

.about__copy p {
  margin: 0;
  color: var(--cn-dark);
  font-weight: 400;
  font-size: clamp(14px, 1.25cqi, 18px);
  line-height: 1.44;
  overflow-wrap: break-word;
}

.about__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.111cqi, 16px);
}

.about__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--cn-dark);
  font-size: clamp(14px, 1.25cqi, 18px);
  line-height: 1.44;
}

.about__list li::before {
  content: "";
  flex: 0 0 clamp(20px, 1.806cqi, 26px);
  width: clamp(20px, 1.806cqi, 26px);
  height: clamp(20px, 1.806cqi, 26px);
  background: url("assets/img/icon-check.svg") center / contain no-repeat;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.about__cta {
  margin-top: 0;
}

.about__social {
  display: flex;
  gap: 24px;
}

.about__social img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: none;
}

.about__pip {
  --pip-r: 24px;
  --pip-gap: 6px;
  --pip-scoop: 18px;
  grid-column: 2;
  grid-row: 2;
  position: relative;
  min-width: 0;
  aspect-ratio: 620 / 478;
  overflow: hidden;
  border-radius: var(--pip-r);
  container-type: inline-size;
  container-name: cn-pip;
}

.about__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("assets/img/about-photo-mask.svg") no-repeat center / 100% 100%;
  mask: url("assets/img/about-photo-mask.svg") no-repeat center / 100% 100%;
}

.about__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.about__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0.64deg, rgba(0, 51, 153, 0.5) 27%, rgba(0, 51, 153, 0) 100%);
  pointer-events: none;
}

.about__trust {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  width: 38.71%;
  height: 36.61%;
  padding: 2.097cqi 2.581cqi 1.935cqi;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.29cqi;
  background: var(--cn-accent);
  color: var(--cn-white);
  text-decoration: none;
  border-radius: var(--pip-scoop);
  text-align: center;
  box-shadow: 0 0 0 var(--pip-gap) var(--cn-white);
}

.about__trust img {
  width: 5.806cqi;
  height: 5.806cqi;
  max-width: none;
  flex: none;
}

.about__trust-title,
.about__trust-text {
  display: block;
  max-width: 100%;
  min-width: 0;
}

.about__trust-title {
  font-weight: 500;
  font-size: 2.258cqi;
  line-height: 1.43;
}

.about__trust-text {
  font-weight: 500;
  font-size: 1.935cqi;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.about__trust:hover {
  color: var(--cn-white);
}

.specs {
  background: var(--cn-dark);
}

.specs__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-specs;
}

.specs__shell {
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.specs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.778cqi, 40px);
  align-items: stretch;
}

.specs__intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: start;
  gap: 40px;
  min-width: 0;
}

.specs__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.specs__badge {
  margin: 0;
  display: block;
  width: 145px;
  max-width: 100%;
  line-height: 0;
}

.specs__badge img {
  display: block;
  width: 100%;
  height: auto;
}

.specs h2 {
  margin: 0;
  color: var(--cn-white);
  font-weight: 800;
  font-size: clamp(30px, 2.778cqi, 40px);
  line-height: 1.25;
  overflow-wrap: break-word;
}

.specs__lead {
  margin: 0;
  color: var(--cn-accent-2);
  font-family: "PT Serif", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(16px, 1.389cqi, 20px);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.specs__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.29);
  border-radius: 24px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.13);
  padding: 2px 2px 16px;
  box-sizing: border-box;
  backdrop-filter: blur(32px);
}

.specs__photo {
  position: relative;
  aspect-ratio: 396 / 196;
  overflow: hidden;
  border-radius: 22px;
  background: #15202c;
}

.specs__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.specs__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 0;
}

.specs__name {
  margin: 0;
  color: var(--cn-white);
  font-weight: 700;
  font-size: clamp(16px, 1.25cqi, 18px);
  line-height: 1.33;
}

.specs__qual {
  margin: 0;
  color: var(--cn-white);
  font-weight: 400;
  font-size: clamp(13px, 0.972cqi, 14px);
  line-height: 1.43;
  letter-spacing: -0.08px;
}

.specs__qual strong {
  font-weight: 600;
}

.specs__btn {
  width: 100%;
  margin-top: auto;
  box-sizing: border-box;
}

.specs__btn img {
  display: block;
  width: 24px;
  height: 24px;
  flex: none;
}

.btn-news img {
  display: block;
  width: 24px;
  height: 24px;
}

.feed {
  background: #f4f4f4;
}

.feed__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-feed;
}

.feed__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.333cqi, 48px);
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.feed__head {
  display: flex;
  gap: clamp(16px, 2.778cqi, 40px);
  align-items: flex-end;
}

.feed h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cn-dark);
  font-weight: 800;
  font-size: clamp(30px, 2.778cqi, 40px);
  line-height: 1.25;
}

.feed__cols {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: clamp(24px, 2.778cqi, 40px);
  align-items: start;
}

.feed__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.778cqi, 40px);
}

.feed-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.feed-card__photo {
  display: block;
  aspect-ratio: 400 / 210;
  overflow: hidden;
  border-radius: 20px;
  background: #d7dbe0;
}

.feed-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feed-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--cn-dark);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.feed-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 10px;
  background: #8f9094;
  flex: none;
}

.feed-card__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.feed-card__title a,
.feed-aside__item {
  color: var(--cn-dark);
  text-decoration: none;
}

.feed-card__title a:hover,
.feed-aside__item:hover .feed-aside__name {
  color: var(--cn-accent);
}

.feed-aside {
  background: var(--cn-white);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feed-aside__title {
  margin: 0;
  color: var(--cn-dark);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
}

.feed-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feed-aside__list > li:not(:last-child)::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin: 16px auto;
  background: #c8c9cc;
}

.feed-aside__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-aside .feed-card__meta {
  color: var(--cn-grey);
}

.feed-aside .feed-card__dot {
  background: #b4b5b8;
}

.feed-aside__name {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.feed__all--mid {
  display: none;
}

.feed__all--aside {
  align-self: center;
}

.news-hero {
  background: #003399;
}

.news-hero__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-news-hero;
}

.news-hero__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.778cqi, 24px);
  padding: clamp(16px, 1.667cqi, 24px) clamp(16px, 5.556cqi, 80px) clamp(40px, 5.556cqi, 80px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.crumbs a {
  color: var(--cn-white);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs img {
  width: 12px;
  height: 12px;
  flex: none;
}

.crumbs__here {
  color: rgb(255 255 255 / 60%);
}

.news-hero h1 {
  margin: 0;
  color: var(--cn-white);
  font-weight: 900;
  font-size: clamp(30px, 3.333cqi, 48px);
  line-height: 1.2917;
}

.news-archive {
  background: #f4f4f4;
  scroll-margin-top: 16px;
}

.news-archive__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-news-archive;
}

.news-archive__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.333cqi, 48px);
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.778cqi, 40px);
}

.news-archive__empty {
  margin: 0;
  color: var(--cn-dark);
}

.news-pager {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.news-pager ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: clamp(6px, 1.319cqi, 19px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-pager li {
  flex: 0 1 auto;
  min-width: 0;
}

.news-pager a.page-numbers,
.news-pager span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: clamp(28px, 2.778cqi, 40px);
  padding: clamp(4px, 0.417cqi, 6px) clamp(4px, 0.694cqi, 10px);
  color: #212121;
  font-weight: 500;
  font-size: clamp(12px, 0.972cqi, 14px);
  line-height: 1.4286;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.news-pager a.page-numbers:hover {
  color: var(--cn-accent);
}

.news-pager span.page-numbers.current {
  background: var(--cn-accent-2);
  color: var(--cn-accent);
  border-radius: clamp(8px, 0.833cqi, 12px);
  pointer-events: none;
}

.news-pager span.page-numbers.dots {
  min-height: 0;
  padding-inline: 0;
  color: #212121;
}

.news-pager__arr {
  display: block;
  width: clamp(16px, 1.667cqi, 24px);
  height: clamp(16px, 1.667cqi, 24px);
}

.news-pager__arr--prev {
  transform: rotate(180deg);
}

.page-hero {
  background: #003399;
}

.page-hero__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-page-hero;
}

.page-hero__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4.167cqi, 60px);
  padding: clamp(16px, 1.667cqi, 24px) clamp(16px, 5.556cqi, 80px) clamp(32px, 5.556cqi, 80px);
}

.page-hero .crumbs {
  min-width: 0;
}

.page-hero .crumbs__here {
  min-width: 0;
}

.page-hero__head {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.222cqi, 32px);
  min-width: 0;
}

.page-hero h1 {
  margin: 0;
  color: var(--cn-white);
  font-weight: 900;
  font-size: clamp(30px, 3.333cqi, 48px);
  line-height: 1.2917;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cn-white);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.page-hero__meta > span:not(.feed-card__dot) {
  min-width: 0;
  overflow-wrap: anywhere;
}

.page-hero__meta .feed-card__dot {
  background: #8f9094;
}

.entry-wrap {
  background: #f4f4f4;
}

.entry-wrap__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-entry;
}

.entry-wrap__shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(24px, 5.556cqi, 80px);
  align-items: start;
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.entry-body {
  min-width: 0;
  color: #5c5c5a;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.entry-body > *:first-child {
  margin-top: 0;
}

.entry-body h1,
.entry-body h2,
.entry-body h3 {
  color: #212121;
  font-weight: 700;
  font-size: clamp(22px, 2.083cqi, 30px);
  line-height: 1.267;
  margin: 40px 0 20px;
}

.entry-body p {
  margin: 0 0 8px;
}

.entry-body p:last-child {
  margin-bottom: 0;
}

.entry-body ul,
.entry-body ol {
  margin: 0 0 8px;
  padding-left: 24px;
}

.entry-body li {
  margin-bottom: 8px;
}

.entry-body img,
.entry-body figure {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 40px 0;
  border-radius: 20px;
}

.entry-body figure {
  margin-left: 0;
  margin-right: 0;
}

.entry-body .wp-block-image,
.entry-body .wp-block-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.entry-body a {
  color: var(--cn-accent);
}

.entry-body .entry-lead {
  margin: 0 0 40px;
}

.entry-body .entry-lead a.cn-media-link {
  display: block;
}

.entry-body .entry-lead img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 20px;
}

body .entry-body .wp-block-gallery,
body .entry-body .wp-block-gallery.is-layout-flex,
body .entry-body .wp-block-gallery.has-nested-images,
body .entry-body .gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  column-gap: 16px !important;
  row-gap: 16px !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 40px 0;
  padding: 0;
}

body .entry-body .wp-block-gallery:has(+ .wp-block-gallery),
body .entry-body .wp-block-gallery:has(+ .gallery),
body .entry-body .gallery:has(+ .gallery),
body .entry-body .gallery:has(+ .wp-block-gallery) {
  margin-bottom: 0;
}

body .entry-body .wp-block-gallery + .wp-block-gallery,
body .entry-body .wp-block-gallery + .gallery,
body .entry-body .gallery + .gallery,
body .entry-body .gallery + .wp-block-gallery {
  margin-top: 16px;
}

body .entry-body .wp-block-gallery > figure,
body .entry-body .wp-block-gallery .wp-block-image,
body .entry-body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
body .entry-body .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image),
body .entry-body .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
body .entry-body .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2) ~ figure.wp-block-image:not(#individual-image),
body .entry-body .gallery .gallery-item {
  box-sizing: border-box;
  display: block !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  float: none;
}

body .entry-body .wp-block-gallery > figure.wp-block-image:last-of-type:nth-of-type(odd),
body .entry-body .wp-block-gallery.has-nested-images > figure.wp-block-image:last-of-type:nth-of-type(odd),
body .entry-body .gallery .gallery-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

body .entry-body .wp-block-gallery > figure > a,
body .entry-body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) > a,
body .entry-body .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) > a,
body .entry-body .wp-block-gallery a.cn-media-link,
body .entry-body .gallery .gallery-icon,
body .entry-body .gallery .gallery-icon a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
}

body .entry-body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) img,
body .entry-body .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img,
body .entry-body .wp-block-gallery figure.wp-block-image img,
body .entry-body .wp-block-gallery a.cn-media-link img,
body .entry-body .gallery img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  flex: none !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 20px;
}

body .entry-body .wp-lightbox-overlay,
body .entry-body .wp-lightbox-overlay figure,
body .entry-body .wp-block-gallery .wp-lightbox-overlay,
body .entry-body .wp-block-gallery .wp-lightbox-overlay figure {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0;
  aspect-ratio: auto;
}

body .entry-body .wp-lightbox-overlay .wp-block-image,
body .entry-body .wp-block-gallery .wp-lightbox-overlay .wp-block-image {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

body .entry-body .wp-lightbox-overlay img,
body .entry-body .wp-block-gallery .wp-lightbox-overlay img {
  display: block !important;
  width: var(--wp--lightbox-image-width) !important;
  height: var(--wp--lightbox-image-height) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 0;
  flex: none !important;
  margin: 0;
}

.entry-body .gallery .gallery-caption,
.entry-body .wp-block-gallery figcaption {
  margin: 8px 0 0;
}

@media (max-width: 767px) {
  body .entry-body .wp-block-gallery,
  body .entry-body .wp-block-gallery.is-layout-flex,
  body .entry-body .wp-block-gallery.has-nested-images,
  body .entry-body .gallery {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

.entry-pages {
  margin-top: 24px;
}

.entry-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.entry-trust {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 175px;
  padding: 25px 24px;
  background: var(--cn-accent);
  color: var(--cn-white);
  text-align: center;
  text-decoration: none;
  border-radius: 18px;
}

.entry-trust:hover {
  color: var(--cn-white);
}

.entry-trust img {
  width: 36px;
  height: 36px;
  flex: none;
}

.entry-trust__title {
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.entry-trust__text {
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: rgb(255 255 255 / 80%);
}

.feed-aside__who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feed-aside__ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.press {
  background: #f4f4f4;
}

.press__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-press;
}

.press__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.333cqi, 48px);
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px);
}

.press h2 {
  margin: 0;
  color: var(--cn-dark);
  font-weight: 800;
  font-size: clamp(30px, 2.778cqi, 40px);
  line-height: 1.25;
}

.press__cols {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 1px minmax(0, 1fr);
  gap: clamp(24px, 2.778cqi, 40px);
  align-items: start;
}

.press__rule {
  width: 1px;
  align-self: stretch;
  background: rgba(30, 45, 61, 0.12);
}

.press-news,
.press-events {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.222cqi, 32px);
  min-width: 0;
}

.press__row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.press__kicker {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cn-dark);
  font-weight: 700;
  font-size: clamp(20px, 1.667cqi, 24px);
  line-height: 1.33;
}

.press__all {
  flex: none;
}

.press__all img {
  display: block;
  width: 24px;
  height: 24px;
}

.press__all--mob {
  display: none;
}

.press-news__viewport {
  overflow: hidden;
  container-type: inline-size;
}

.press-news__track {
  display: flex;
  gap: clamp(20px, 2.778cqi, 40px);
  transition: transform 0.35s ease;
}

.press-card {
  flex: 0 0 calc((100cqi - clamp(20px, 2.778cqi, 40px)) / 2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.press-card__photo {
  display: block;
  aspect-ratio: 290 / 210;
  overflow: hidden;
  border-radius: 20px;
  background: #d7dbe0;
}

.press-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.press-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--cn-dark);
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.press-meta--author {
  display: flex;
  gap: 8px;
  align-items: center;
}

.press-meta--cat {
  display: none;
}

.press-meta__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.press-meta__dot {
  width: 3px;
  height: 3px;
  border-radius: 10px;
  background: #8f9094;
  flex: none;
}

.press-card__title {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.press-card__title a {
  color: var(--cn-dark);
  text-decoration: none;
}

.press-card__title a:hover {
  color: var(--cn-accent);
}

.press-news__pager {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.press-news__arrow {
  display: flex;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.press-news__arrow img {
  display: block;
  width: 24px;
  height: 24px;
}

.press-news__arrow--prev img {
  transform: rotate(180deg);
}

.press-news__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.press-news__dots {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.press-news__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: rgba(30, 45, 61, 0.26);
  cursor: pointer;
}

.press-news__dot.is-active {
  width: 24px;
  background: var(--cn-accent);
}

.press-events__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.press-event__link {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  text-decoration: none;
}

.press-event__date {
  display: flex;
  flex-direction: column;
  flex: none;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 1px solid rgba(16, 66, 110, 0.6);
  border-radius: 12px;
  background: var(--cn-white);
}

.press-event__month {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  background: var(--cn-accent);
  color: var(--cn-white);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.press-event__day {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  color: var(--cn-dark);
  font-weight: 500;
  font-size: 28px;
  line-height: 24px;
}

.press-event__title {
  color: #10426e;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.press-event__link:hover .press-event__title {
  color: var(--cn-accent);
}

.site-main {
  max-width: var(--cn-max);
  margin: 0 auto;
  padding: 40px var(--cn-pad) 64px;
}

.entry {
  margin-bottom: 32px;
}

.entry h2,
.page-title {
  font-size: clamp(24px, 2.78vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  overflow-wrap: break-word;
}

.site-footer {
  background: var(--cn-footer-bg);
}

.site-footer__inner {
  max-width: var(--cn-max);
  margin: 0 auto;
  container-type: inline-size;
  container-name: cn-footer;
}

.site-footer__shell {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.778cqi, 40px);
  padding: clamp(40px, 5.556cqi, 80px) clamp(16px, 5.556cqi, 80px) 40px;
}

.site-footer__grid {
  display: flex;
  gap: clamp(36px, 5.556cqi, 80px);
  align-items: flex-start;
}

.site-footer__col {
  flex: 1 1 0;
  min-width: 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--cn-accent);
  overflow-wrap: break-word;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cn-grey);
  font-style: normal;
  overflow-wrap: break-word;
}

.site-footer__row {
  display: flex;
  gap: clamp(24px, 2.778cqi, 40px);
  margin-top: clamp(24px, 2.778cqi, 40px);
}

.site-footer__row > div {
  flex: 0 1 auto;
  min-width: 0;
  width: min(290px, 20.14cqi);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--cn-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 60px;
  transition: border-color 0.15s ease;
}

.social-links a:hover {
  border-color: var(--cn-accent);
}

.social-links img {
  width: 28px;
  height: 28px;
}

.footer-links-card {
  width: min(400px, 27.78cqi);
  flex: 0 1 auto;
  min-width: 0;
  background: var(--cn-white);
  border-radius: 20px;
  padding: 16px;
}

.footer-links-card h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  color: var(--cn-dark);
  text-transform: none;
}

.footer-links-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-card li {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
}

.footer-links-card a {
  color: var(--cn-dark);
  text-decoration: none;
}

.footer-links-card a:hover {
  color: var(--cn-accent);
  text-decoration: underline;
}

.site-footer__bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(93, 95, 98, 0.25);
  text-align: center;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.footer-menu a {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  color: var(--cn-grey);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  border-radius: 12px;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a {
  background: rgba(0, 0, 0, 0.12);
  color: var(--cn-accent);
}

.site-footer__copy {
  margin: 0;
  color: var(--cn-grey);
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  overflow-wrap: break-word;
}

@media (max-width: 1000px) {
  .site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header__shell {
    padding: 12px var(--cn-pad);
    gap: 0;
  }

  .site-header__shell--bar {
    padding: 0;
  }

  .site-header__strip {
    position: relative;
    height: 0;
    overflow: visible;
    z-index: 45;
    border-bottom: 0;
  }

  .site-header__brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .site-header__emblem--nuk {
    display: none;
  }

  .site-header__eyebrow {
    font-size: clamp(10px, 1.4cqi, 12px);
  }

  .site-header__name {
    font-size: clamp(16px, 2.4cqi, 22px);
  }

  .site-header__sub {
    font-size: clamp(11px, 1.5cqi, 14px);
  }

  .header-search {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start;
    padding: 8px 0 0;
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-search__toggle {
    display: none;
  }

  .header-search__panel {
    display: flex;
    position: static;
    width: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header__bar {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 45;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px var(--cn-pad) 24px;
    background: var(--cn-accent);
    max-height: min(80vh, calc(100dvh - 85px));
    overflow: auto;
  }

  .site-wrap.is-nav-open .site-header__bar {
    display: flex;
  }

  .site-header__nav {
    overflow: visible;
    max-width: none;
  }

  .primary-menu a {
    white-space: normal;
    height: auto;
    min-height: 48px;
    padding: 0 16px;
    overflow: visible;
    font-size: 16px;
    line-height: 24px;
    gap: 6px;
  }

  .primary-menu {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
  }

  .primary-menu > li {
    flex: 0 0 auto;
    min-width: 0;
  }

  .primary-menu a {
    white-space: normal;
    height: auto;
    min-height: 48px;
    padding: 0 16px;
    overflow: visible;
    font-size: 16px;
    line-height: 24px;
    gap: 6px;
  }

  .primary-menu .menu-item-has-children {
    position: relative;
  }

  .menu-item-head {
    display: block;
    position: relative;
  }

  .submenu-toggle {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 48px;
    padding: 0;
    border: 0;
    background: url("assets/img/icon-chevron.svg") center / 24px 24px no-repeat;
    cursor: pointer;
  }

  .primary-menu .menu-item-has-children > .menu-item-head > a,
  .primary-menu .menu-item-has-children > a {
    padding-right: 48px;
  }

  .primary-menu .menu-item-has-children > .menu-item-head > a::after,
  .primary-menu .menu-item-has-children > a::after {
    display: none;
  }

  .primary-menu li.is-open > .menu-item-head > .submenu-toggle {
    transform: rotate(-90deg);
  }

  .primary-menu > li > .sub-menu,
  .primary-menu .sub-menu .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .primary-menu > li:nth-last-child(-n+3) > .sub-menu {
    left: auto;
    right: auto;
  }

  .header-search input[type="search"] {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    font: 500 16px/24px Inter, sans-serif;
  }

  .header-search__panel {
    width: 100%;
  }

  .header-search__btn {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 900px) {
  .about__shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__head {
    flex-direction: column;
    align-items: stretch;
  }

  .about__title-block {
    flex: 1 1 auto;
  }

  .about__pip {
    display: contents;
  }

  .about__visual {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 620 / 478;
    border-radius: 24px;
    overflow: hidden;
    -webkit-mask: none;
    mask: none;
  }

  .about__copy {
    grid-column: 1;
    grid-row: 3;
  }

  .about__trust {
    position: static;
    grid-column: 1;
    grid-row: 4;
    width: 100%;
    height: auto;
    min-height: 175px;
    padding: 13px 16px 12px;
    gap: 8px;
    box-shadow: none;
    border-radius: 18px;
  }

  .about__trust img {
    width: 36px;
    height: 36px;
  }

  .about__trust-title {
    font-size: 14px;
    line-height: 20px;
  }

  .about__trust-text {
    font-size: 12px;
    line-height: 18px;
  }

  .about__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about__cta {
    width: 100%;
    box-sizing: border-box;
  }

  .about__social {
    justify-content: center;
    width: 100%;
  }

  .specs__intro {
    grid-column: 1 / -1;
  }

  .specs__lead {
    max-width: none;
  }

  .feed__head {
    flex-wrap: wrap;
  }

  .feed__all--head {
    display: none;
  }

  .feed__all--mid {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
  }

  .feed__cols:has(.feed-aside) .feed__all--mid {
    display: none;
  }

  .feed__all--aside {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
  }

  .feed__cols,
  .feed__grid {
    grid-template-columns: 1fr;
  }

  .feed .feed-card:nth-child(n + 6) {
    display: none;
  }

  .news-archive__grid {
    grid-template-columns: 1fr;
  }

  .entry-wrap__shell {
    grid-template-columns: 1fr;
  }

  .specs__grid {
    grid-template-columns: 1fr;
  }

  .press h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .press__cols {
    grid-template-columns: 1fr;
  }

  .press__rule {
    display: none;
  }

  .press__all--desk {
    display: none;
  }

  .press__all--mob {
    display: inline-flex;
    width: 100%;
    box-sizing: border-box;
  }

  .press-news__viewport {
    overflow: visible;
  }

  .press-news__track {
    flex-direction: column;
    transform: none !important;
  }

  .press-card {
    flex: 0 0 auto;
    width: 100%;
  }

  .press-card:nth-child(n + 6) {
    display: none;
  }

  .press-meta--author {
    display: none;
  }

  .press-meta--cat {
    display: inline;
  }

  .press-news__pager {
    display: none;
  }

  .press-events__list {
    gap: 24px;
  }

  .site-footer__grid,
  .site-footer__row {
    flex-direction: column;
  }

  .footer-links-card,
  .site-footer__row > div {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero {
    height: calc(100vw * 424 / 393);
  }

  .site-footer__bottom {
    border-top: 0;
    padding-top: 0;
  }

  .footer-menu {
    margin-bottom: 24px;
  }

  .site-header__shell {
    padding: min(12px, 3.05cqi) min(16px, 4.07cqi);
  }

  .site-header__top {
    gap: min(8px, 2.04cqi);
  }

  .site-header__brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: min(16px, 4.07cqi);
  }

  .site-header__logo {
    gap: min(10px, 2.54cqi);
    min-width: 0;
    flex: 1 1 auto;
  }

  .menu-toggle {
    width: 28px;
    height: 28px;
  }

  .menu-toggle img {
    width: 100%;
    height: 100%;
  }

  .site-header__emblem--college {
    width: min(60px, 15.27cqi);
    height: min(60px, 15.27cqi);
  }

  .site-header__titles {
    gap: min(4px, 1.02cqi);
  }

  .page-hero h1 {
    font-weight: 700;
  }

  .page-hero .crumbs {
    flex-wrap: nowrap;
  }

  .page-hero .crumbs__here {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@container cn-header (max-width: 392px) {
  .site-header__name {
    white-space: normal;
  }
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--cn-accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 51, 153, 0.35);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.to-top img {
  display: block;
  width: 22px;
  height: 22px;
  transform: rotate(180deg);
}

.to-top:hover {
  background: #002266;
}

.admin-bar .to-top {
  bottom: 56px;
}

@media (min-width: 1001px) {
  .to-top {
    right: 24px;
    bottom: 32px;
  }
}

