@charset "UTF-8";
/* Chesu / Абитуриенту — тема поверх исходной выгрузки VIKON.
   Подключать ПОСЛЕ vendor.css и abitur.css. Все новые стили находятся здесь.
   Пути ресурсов относительны этому файлу; специальные настройки VIKON сохраняются. */
@font-face {
  font-family: "Geist";
  src: url("assets/chesu/geist-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/chesu/geist-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* Общая геометрия. Правила действуют на главной странице и в разделе бакалавриата
   и отключаются при включении штатной версии для слабовидящих. */
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) {
  --chesu-primary: #194b96;
  --chesu-text: #1f2937;
  --chesu-heading: #030712;
  --chesu-surface: #fff;
  --chesu-background: #f3f4f6;
  background: var(--chesu-background);
  color: var(--chesu-text);
  font-family: "Geist", Arial, sans-serif !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -.03em;
  min-width: 320px;
}

/* :where() позволяет читать селекторы без лишнего роста специфичности.
   Корневой селектор выше при этом побеждает исходные правила VIKON. */
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(a) {
  color: var(--chesu-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(a[href]:hover) {
  color: #123970;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(a[href], button):focus-visible {
  outline: 3px solid var(--chesu-primary);
  outline-offset: 4px;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.container) {
  width: 100%;
  max-width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.row) {
  padding: 0;
  margin: 0;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.row)::before,
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.row)::after {
  display: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(#vikon-section) {
  background: var(--chesu-background);
  padding: 48px 0 0;
  margin-bottom: 0 !important;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-content {
  width: 100%;
  float: none;
  padding: 0;
  color: var(--chesu-text);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -.03em;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .row:has(.breadcrumb) {
  display: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-content > h1 {
  color: #111827;
  font-size: 44px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -.04em;
  padding: 0;
  margin: 0 0 32px;
  border: 0;
}

/* Шапка и навигация. */
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-header {
  background: var(--chesu-surface);
  border-bottom: 1px solid var(--chesu-background);
  box-shadow: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .vikon-header-head {
  border: 0;
  box-shadow: none;
  padding-top: 20px;
  padding-bottom: 20px;
  background: transparent;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .vikon-header-h1-block {
  width: 100%;
  float: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.02em;
  color: #4b5563;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .vikon-header-h1-block > div:last-child {
  color: var(--chesu-primary);
  font-size: 20px;
  line-height: 28px;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-menu-top {
  max-width: none;
  background: var(--chesu-surface);
  padding: 0;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar {
  max-width: 1440px;
  padding: 12px 40px;
  margin: 0 auto;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-header {
  display: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikonNavbarCollapse {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  height: auto !important;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikonNavbarCollapse::before,
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikonNavbarCollapse::after {
  display: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-nav {
  display: flex;
  float: none;
  gap: 4px;
  padding: 0;
  margin: 0 !important;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-nav > li {
  float: none;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-menu-top .navbar-nav > li > a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  color: var(--chesu-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.02em;
  border-radius: 12px;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-menu-top .navbar-nav:not(.navbar-right) > li > a {
  background: transparent;
  color: var(--chesu-text);
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-menu-top .navbar-nav:not(.navbar-right) > li > a:hover {
  background: #f3f4f6;
  color: var(--chesu-text);
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-menu-top .navbar-nav:not(.navbar-right) > li > a[aria-current] {
  background: #f3f6f9;
  color: var(--chesu-primary);
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-right .accessability {
  background: #f8f9fb;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .accessability .glyphicon-eye-open {
  top: 0;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("assets/chesu/eye.svg") center / 20px 20px no-repeat;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .accessability .glyphicon-eye-open::before {
  content: none;
}

/* Личный кабинет. */
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-welcome {
  margin: 0 0 40px;
  padding: 24px;
  background: var(--chesu-surface);
  border-radius: 32px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome > .col-sm-12 {
  width: 100%;
  padding: 0;
  float: none;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-welcome h2 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -.04em;
  text-align: left !important;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome p {
  max-width: 740px;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 28px;
  text-align: left !important;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome p :where(strong) {
  font-weight: 400;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome p a {
  color: inherit;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-welcome h4 {
  display: flex;
  margin: 0;
  font-size: 0;
  line-height: 24px;
  text-align: left !important;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome h4 a,
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 + .text-size-3 a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -.02em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-welcome h4 a::after,
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 + .text-size-3 a::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("assets/chesu/arrow-link.svg") center / 20px 20px no-repeat;
}

/* Кампания и архив: в выгрузке это два соседних блока, визуально — одна карточка. */
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .abitur-welcome + .col-sm-12 {
  width: 100%;
  float: none;
  padding: 24px 24px 32px;
  background: var(--chesu-surface);
  border-radius: 32px 32px 0 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 > .row > .col-xs-12 {
  width: 100%;
  float: none;
  padding: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 .text-size-3 {
  margin: 0 0 32px;
  padding: 0;
  color: var(--chesu-heading);
  font-size: 44px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -.04em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .list-without-type {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .list-without-type li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--chesu-background);
  box-shadow: none;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .list-without-type .text-size-4 {
  padding: 0;
  margin: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .list-without-type a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
  color: var(--chesu-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -.02em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .list-without-type a::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("assets/chesu/arrow-right.svg") center / 20px 20px no-repeat;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 + .text-size-3 {
  display: flex;
  margin: 0;
  padding: 0 24px 24px;
  background: var(--chesu-surface);
  border-radius: 0 0 32px 32px;
  font-size: 0;
  line-height: 24px;
}

/* Контакты приемной комиссии. */
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-priem-commission {
  padding: 0;
  margin: 40px 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission > .col-md-12 {
  float: none;
  width: 100%;
  padding: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-priem-commission h3 {
  color: var(--chesu-heading);
  margin: 0 0 32px;
  font-size: 44px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -.04em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p {
  margin: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:first-of-type,
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:nth-of-type(5),
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:nth-of-type(6) {
  margin-bottom: 20px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:nth-of-type(n+2):nth-of-type(-n+5) {
  position: relative;
  padding-left: 16px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:nth-of-type(n+2):nth-of-type(-n+5)::before {
  content: "\2022";
  position: absolute;
  left: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission p:nth-of-type(n+2):nth-of-type(-n+4) {
  margin-bottom: 8px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission ul {
  padding: 0 0 0 16px;
  margin: 0;
  list-style-position: outside;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission li {
  margin: 0 0 8px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission li:last-child {
  margin: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-priem-commission a {
  color: inherit;
}

/* Документы: данные, подписи и штатное раскрытие VIKON остаются на месте. */
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 20px;
  margin: 0;
  padding: 0;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .chesu-docs-heading,
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc:not(:has(.chesu-docs-heading))::before {
  content: "Документы и аккредитация";
  display: block;
  grid-column: 1 / -1;
  padding: 0;
  margin: 0;
  color: var(--chesu-heading);
  font-size: 44px;
  font-weight: 500;
  line-height: 52px;
  letter-spacing: -.04em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc > .col-md-4 {
  width: auto;
  min-width: 0;
  float: none;
  padding: 20px;
  background: var(--chesu-surface);
  border-radius: 20px;
  align-self: start;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc .copy-doc-content {
  position: relative;
  min-height: 240px;
  margin: 0 0 16px;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc .copy-doc-content.short {
  height: 240px;
  max-height: 240px;
  overflow: hidden;
  /* Маска скрывает нижние строки и не перехватывает клики по документам. */
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 48px), transparent 100%);
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc .text-size-4 {
  padding: 0;
  margin: 0 0 20px;
  color: var(--chesu-heading);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -.02em;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc .word-break-all {
  display: block;
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--chesu-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -.02em;
  word-break: normal;
  overflow-wrap: anywhere;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc .icon-signature {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("assets/chesu/document.svg") center / 20px 20px no-repeat;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc br {
  display: none;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc .read-more {
  text-align: left;
  padding: 0;
  margin: 0;
  font-weight: 500;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc .read-more::before,
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc .read-more::after {
  display: none !important;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .read-more .button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--chesu-text);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.02em;
  cursor: pointer;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .read-more .button::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("assets/chesu/chevron-down.svg") center / 20px 20px no-repeat;
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .copy-doc-content:not(.short) + .read-more .button::after {
  transform: rotate(180deg);
}
body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .read-more .button:hover {
  background: #f8f9fb;
}

/* Ссылки на министерства. */
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-footer {
  position: static;
  padding: 40px 0 48px;
  background: var(--chesu-background);
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .vikon-footer-default {
  background: transparent;
  color: var(--chesu-text);
  text-align: left;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .sveden_footer_gov {
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  float: none;
  padding: 16px;
  margin: 0;
  min-height: 72px;
  border-radius: 16px;
  background: var(--chesu-surface);
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #min_nauki_logo {
  width: 34px;
  height: 36px;
  margin: 0;
  object-fit: cover;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #min_prosv_logo {
  width: 33px;
  height: 36px;
  margin: 0;
  object-fit: cover;
}
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #link_nauki,
body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #link_prosv {
  width: 224px;
  color: var(--chesu-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -.02em;
}

/* Узкие экраны. */
@media (max-width: 1199px) {
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.container),
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar {
    padding-left: 24px;
    padding-right: 24px;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikonNavbarCollapse {
    flex-wrap: wrap;
    gap: 12px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 599px) {
  /* На телефоне длинный заголовок лицензии оставляет место для первых ссылок. */
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-main-copy-doc .copy-doc-content.short {
    height: 360px;
    max-height: 360px;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) :where(.container),
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar {
    padding-left: 20px;
    padding-right: 20px;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #vikon-section {
    padding-top: 32px;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-right,
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-right > li {
    width: 100%;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .navbar-right .accessability {
    font-size: 12px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > h1,
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 .text-size-3,
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-priem-commission h3,
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .chesu-docs-heading,
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) .abitur-main-copy-doc:not(:has(.chesu-docs-heading))::before {
    font-size: 32px;
    line-height: 40px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-welcome h2 {
    font-size: 28px;
    line-height: 36px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-welcome {
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 32px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .abitur-welcome + .col-sm-12 {
    padding: 20px 20px 24px;
    border-radius: 24px 24px 0 0;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content > .col-sm-12 + .text-size-3 {
    padding: 0 20px 20px;
    border-radius: 0 0 24px 24px;
  }
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) #vikon-content .abitur-priem-commission {
    margin: 32px 0;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) .sveden_footer_gov {
    width: 100%;
  }
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #link_nauki,
  body.vikon-wrapper:is(:has(#vikon-content.abitur .abitur-welcome), .chesu-bachelor, .chesu-spo, .chesu-graduate, .chesu-admission, .chesu-sveden):not(.special-version-on) #link_prosv {
    width: auto;
    flex: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.vikon-wrapper:has(#vikon-content.abitur .abitur-welcome):not(.special-version-on) :where(a, .button) {
    transition: background-color .15s ease, color .15s ease;
  }
}

/* Общие прямые ссылки между разделами; длинная кнопка переносится на узком экране. */
body.vikon-wrapper:not(.special-version-on) #vikon-menu-top .navbar-nav:not(.navbar-right) {
  flex-wrap: wrap;
  max-width: 100%;
}
body.vikon-wrapper:not(.special-version-on) #vikon-menu-top .navbar-nav:not(.navbar-right) > li {
  min-width: 0;
  max-width: 100%;
}

/* На телефоне и планшете цепочку заменяет обычная HTML-ссылка на родительский раздел.
   Ссылки и микроразметка цепочки сохраняются для остальных экранов. */
.chesu-mobile-back-label { display: none; }
@media (max-width: 1199px) {
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    list-style: none;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > li:not(.chesu-breadcrumb-parent),
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent > :not(a),
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb .chesu-breadcrumb-parent-label {
    display: none;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent::before {
    content: none;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: #1f2937;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -.02em;
    text-decoration: none;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent > a::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: url("assets/chesu/arrow-right.svg") center / 20px 20px no-repeat;
    transform: rotate(180deg);
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb .chesu-mobile-back-label {
    display: inline;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent > a:hover {
    background: #f3f4f6;
  }
  body.vikon-wrapper:not(.special-version-on):has(#vikon-content, #vikon-content-abitur) :is(#vikon-content, #vikon-content-abitur) .chesu-responsive-breadcrumb > .chesu-breadcrumb-parent > a:focus-visible {
    outline: 3px solid #194b96;
    outline-offset: 3px;
  }
}
