/* Current edu controllers stay the copy/data source. V2 presents their stable
   class contracts inside the isolated .edu-v2 namespace. */

.edu-v2 .wrapper,
.edu-v2 .wrapper.big,
.edu-v2 .container,
.edu-v2 .container-fluid {
  width: min(calc(100% - 32px), var(--edu-container));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Home: editorial hero */
.edu-v2.edu-route-home .main-banner {
  position: relative;
  width: 100%;
  padding: clamp(52px, 7vw, 102px) 0 clamp(70px, 9vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 23%, rgba(232, 207, 145, .17), transparent 25%),
    linear-gradient(135deg, #0d2038 0%, #172c46 62%, #243f5b 100%);
  color: rgba(255, 255, 255, .82);
}

.edu-v2.edu-route-home .main-banner::before {
  position: absolute;
  top: -24vw;
  right: -12vw;
  width: min(64vw, 960px);
  aspect-ratio: 1;
  border: 1px solid rgba(232, 207, 145, .18);
  border-radius: 50%;
  content: "";
}

.edu-v2.edu-route-home .main-banner > .wrapper { position: relative; z-index: 1; }

.edu-v2.edu-route-home .main-banner > .wrapper > .d-flex:first-child {
  min-height: min(650px, calc(100svh - var(--edu-header-height) - 70px));
  display: grid !important;
  grid-template-columns: minmax(300px, .7fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
}

.edu-v2.edu-route-home .main-banner .img-cont {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: .78;
  margin-inline: auto;
}

.edu-v2.edu-route-home .main-banner .img-cont::before,
.edu-v2.edu-route-home .main-banner .img-cont::after,
.edu-v2.edu-route-home .main-banner .img-cont > span {
  position: absolute;
  border: 1px solid rgba(232, 207, 145, .52);
  content: "";
}

.edu-v2.edu-route-home .main-banner .img-cont::before {
  inset: 5% 8%;
  border-radius: 48% 48% 18px 18px;
}

.edu-v2.edu-route-home .main-banner .img-cont::after {
  inset: 11% 15%;
  border-radius: 48% 48% 14px 14px;
}

.edu-v2.edu-route-home .main-banner .img-cont > span:first-child {
  right: -18px;
  bottom: 13%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--edu-action-dark-bg);
  border-color: var(--edu-action-dark-bg);
}

.edu-v2.edu-route-home .main-banner .img-cont > span:nth-child(2) {
  top: 12%;
  left: -10px;
  width: 46px;
  height: 46px;
  transform: rotate(45deg);
  border-color: rgba(232, 207, 145, .72);
}

.edu-v2.edu-route-home .main-banner .img-cont .img {
  position: absolute;
  inset: 15% 19% 0;
  border-radius: 48% 48% 10px 10px;
  background:
    linear-gradient(180deg, transparent 56%, rgba(13, 32, 56, .32)),
    url("../images/home-hero.jpg") center bottom / cover no-repeat;
  filter: saturate(.75) contrast(1.04);
}

.edu-v2.edu-route-home .main-banner h6 {
  max-width: 64ch;
  margin: 0 0 26px;
  color: var(--edu-gold-soft);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.55;
  text-transform: uppercase;
}

.edu-v2.edu-route-home .main-banner h1 {
  max-width: 11.5ch;
  margin: 0 0 38px;
  color: var(--edu-white);
}

.edu-v2.edu-route-home .main-banner h1 font { color: var(--edu-gold-soft); }

.edu-v2.edu-route-home .main-banner .btn-yellow {
  background: var(--edu-action-dark-bg);
  color: var(--edu-action-dark-fg);
}

.edu-v2.edu-route-home .main-banner .btn-yellow:hover {
  background: var(--edu-action-dark-hover);
  color: var(--edu-action-dark-fg);
}

.edu-v2.edu-route-home .main-banner > .wrapper > h2 {
  margin: clamp(64px, 8vw, 112px) 0 32px;
  color: var(--edu-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.edu-v2.edu-route-home .advantages {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch !important;
  gap: 16px;
}

.edu-v2.edu-route-home .advantages article {
  position: relative;
  min-height: 330px;
  display: flex !important;
  grid-column: span 6;
  flex-direction: column;
  justify-content: flex-end !important;
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--edu-radius-md);
  background-color: rgba(255, 255, 255, .05);
  background-position: center;
  background-size: cover;
  color: rgba(255, 255, 255, .82);
}

.edu-v2.edu-route-home .advantages .shadow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(13, 32, 56, .06) 0%, rgba(13, 32, 56, .94) 86%);
}

.edu-v2.edu-route-home .advantages h3,
.edu-v2.edu-route-home .advantages p { position: relative; z-index: 1; }

.edu-v2.edu-route-home .advantages h3 {
  max-width: 22ch;
  margin: 0 0 16px;
  color: var(--edu-white);
}

.edu-v2.edu-route-home .advantages p {
  max-width: 60ch;
  margin: 0;
  font-size: .92rem;
  line-height: 1.58;
}

/* Course selection and cards */
.edu-v2 .programms {
  width: 100%;
  padding: clamp(72px, 9vw, 130px) 0;
  background: var(--edu-paper);
}

.edu-v2 .programms > .wrapper > h2 { max-width: 12ch; margin-bottom: 44px; }

.edu-v2 .programms > .wrapper > h1 {
  max-width: 12ch;
  margin: 0 0 44px;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}

.edu-v2 .programms > .wrapper > .d-flex {
  display: grid !important;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start !important;
  gap: clamp(24px, 3vw, 42px);
}

.edu-v2 .filter {
  position: static;
  padding: 14px 16px 12px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-card);
  background: rgba(251, 250, 246, .96);
  box-shadow: var(--edu-shadow-sm);
}

.edu-v2 .filter .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--edu-line);
  background: transparent;
}

.edu-v2 .filter .accordion-header {
  margin: 0;
  font: inherit;
  line-height: 1;
}

.edu-v2 .filter .accordion-button {
  position: relative;
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 24px 8px 0;
  border: 0;
  background: transparent;
  color: var(--edu-ink-deep);
  cursor: pointer;
  font-family: var(--edu-font-ui);
  font-size: .76rem;
  font-weight: 600;
  text-align: left;
}

.edu-v2 .filter .accordion-button::before,
.edu-v2 .filter .accordion-button::after {
  position: absolute;
  top: 50%;
  right: 1px;
  width: 12px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 180ms var(--edu-ease), opacity 180ms var(--edu-ease);
}

.edu-v2 .filter .accordion-button::after { transform: rotate(90deg); }
.edu-v2 .filter .accordion-button[aria-expanded="true"]::after { opacity: 0; }

.edu-v2 .filter .accordion-body { padding: 1px 0 8px; font-size: .72rem; }

.edu-v2 .filter .accordion-collapse[hidden] { display: none !important; }

.edu-v2 .filter .accordion-body > div:not(.edu-hours-slider):not(.edu-range-fields) {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin: 0;
}

.edu-v2 .filter input[type="checkbox"],
.edu-v2 .filter input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--edu-action-light-bg);
}

.edu-v2 .filter .accordion-body label {
  min-height: 34px;
  display: flex;
  align-items: center;
  cursor: pointer;
  line-height: 1.25;
}

.edu-v2 .filter .edu-range-fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

.edu-v2 .filter .edu-range-fields label {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: var(--edu-ink-soft);
  font-size: .66rem;
}

.edu-v2 .filter .edu-range-fields input { min-width: 0; min-height: 36px; padding: 5px 8px; }

.edu-v2 .filter form > p:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
}

.edu-v2 .filter input[type="submit"],
.edu-v2 .btn-blue {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: var(--edu-radius-control);
  background: var(--edu-ink-deep);
  color: var(--edu-white);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.edu-v2 .filter .reset {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edu-ink-soft);
  font-size: .7rem;
}

.edu-v2 .filter input[type="submit"] {
  min-height: 40px;
  padding: 8px 10px;
  font-size: .72rem;
}

.edu-v2 .catalog-list.lt-grid {
  min-width: 0;
  display: grid !important;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.edu-v2 .edu-catalog-toolbar {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 240px) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.edu-v2 .edu-catalog-toolbar input,
.edu-v2 .edu-catalog-toolbar select {
  min-height: 48px;
  border-radius: var(--edu-radius-control);
  background-color: var(--edu-paper-soft);
}

.edu-v2 .edu-catalog-count {
  color: var(--edu-ink-soft);
  font-size: .78rem;
  white-space: nowrap;
}

.edu-v2 .edu-catalog-active-filters {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.edu-v2 .edu-catalog-active-filters[hidden] { display: none; }

.edu-v2 .edu-catalog-chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 12px;
  border: 1px solid var(--edu-line-strong);
  border-radius: 999px;
  background: var(--edu-paper-soft);
  color: var(--edu-ink-deep);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
}

.edu-v2 .edu-catalog-chip:hover { border-color: var(--edu-accent); color: var(--edu-accent); }

.edu-v2 .edu-catalog-chip__remove {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.edu-v2 .edu-catalog-chip__remove::before,
.edu-v2 .edu-catalog-chip__remove::after {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 1px;
  content: "";
  background: currentColor;
}

.edu-v2 .edu-catalog-chip__remove::before { transform: rotate(45deg); }
.edu-v2 .edu-catalog-chip__remove::after { transform: rotate(-45deg); }

.edu-v2 .edu-catalog-clear {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 5px 4px;
  color: var(--edu-ink-soft);
  font-size: .76rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.edu-v2 .edu-catalog-filter-toggle {
  display: none;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--edu-line-strong);
  border-radius: var(--edu-radius-control);
  background: var(--edu-paper-soft);
  color: var(--edu-ink-deep);
  cursor: pointer;
  font-weight: 600;
}

.edu-v2.edu-route-catalog .programms > .wrapper > .d-flex {
  grid-template-rows: auto auto auto;
}

.edu-v2.edu-route-catalog .programms .filter {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
}

.edu-v2.edu-route-catalog .edu-catalog-toolbar {
  grid-column: 2;
  grid-row: 1;
}

.edu-v2.edu-route-catalog .catalog-list.lt-grid {
  grid-column: 2;
  grid-row: 2;
}

.edu-v2.edu-route-catalog .edu-catalog-more {
  grid-column: 2;
  grid-row: 3;
}

.edu-v2.edu-route-catalog .programms > .wrapper > .d-flex > .lt-archive {
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  grid-row: 4;
  margin: 0;
  padding: 0;
}

.edu-v2.edu-route-catalog .programms > .wrapper > .d-flex > .lt-archive > .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.edu-v2 .edu-catalog-more {
  grid-column: 2;
  min-width: 210px;
  min-height: 50px;
  display: block;
  margin: 30px auto 0;
  padding: 11px 22px;
  border: 1px solid var(--edu-ink-deep);
  border-radius: var(--edu-radius-control);
  background: transparent;
  color: var(--edu-ink-deep);
  cursor: pointer;
  font-weight: 600;
}

.edu-v2 .edu-catalog-more:hover {
  background: var(--edu-ink-deep);
  color: var(--edu-white);
}

.edu-v2 .edu-catalog-empty {
  grid-column: 2;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-card);
  background: var(--edu-paper-soft);
  color: var(--edu-ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

.edu-v2 .edu-catalog-empty[hidden],
.edu-v2 .edu-catalog-filter-backdrop[hidden] { display: none; }

.edu-v2 .edu-filter-drawer-heading {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: 1.08rem;
  font-weight: 400;
}

.edu-v2 .edu-catalog-filter-close { display: none; }

.edu-v2 .lt-card {
  position: relative;
  min-width: 0;
  min-height: 470px;
  display: flex !important;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper-soft) !important;
  color: var(--edu-ink);
  box-shadow: none;
  transition: border-color 190ms var(--edu-ease), box-shadow 190ms var(--edu-ease), transform 190ms var(--edu-ease);
}

.edu-v2 .lt-card:hover {
  border-color: var(--edu-line-strong);
  box-shadow: var(--edu-shadow-sm);
  transform: translateY(-3px);
}

.edu-v2 .lt-card--horizontal {
  grid-column: span 2;
  min-height: 360px;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
  gap: 30px;
}

.edu-v2 .lt-card__head { margin: 0 0 18px; }

.edu-v2 .lt-card .type {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--edu-line);
  border-radius: 999px;
  color: var(--edu-gold);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.edu-v2 .lt-card__content {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.edu-v2 .lt-card__content > img {
  width: 100%;
  height: 168px;
  margin-bottom: 22px;
  border-radius: var(--edu-radius-card);
  object-fit: cover;
}

.edu-v2 .lt-card__title {
  display: block;
  margin-bottom: 14px;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  text-decoration: none;
}

.edu-v2 .lt-card__title:hover { color: var(--edu-accent); }

.edu-v2 .lt-card__desc,
.edu-v2 .lt-side__desc {
  color: var(--edu-ink-soft);
  font-size: .82rem;
  line-height: 1.55;
}

.edu-v2 .lt-card__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  border-left: 1px solid var(--edu-line);
}

.edu-v2 .lt-side__title { margin-bottom: 12px; color: var(--edu-ink-deep); font-weight: 600; }

.edu-v2 .lt-priceBox { margin-top: auto; padding-top: 24px; }
.edu-v2 .lt-priceBox__row { display: flex; align-items: baseline; gap: 10px; }
.edu-v2 .lt-priceBox__price { color: var(--edu-ink-deep); font-family: var(--edu-font-display); font-size: 1.55rem; }
.edu-v2 .lt-priceBox__date { margin-top: 7px; color: var(--edu-ink-soft); font-size: .76rem; }
.edu-v2 .lt-priceBox__date--warn { color: var(--edu-gold); }

.edu-v2 .lt-card__actions { display: flex; gap: 9px; margin-top: 24px; }
.edu-v2 .lt-card__actions .lt-btn { min-width: 0; flex: 1 1 0; }

.edu-v2 .lt-card--course {
  min-height: 460px;
  padding: clamp(22px, 2.4vw, 30px);
}

.edu-v2 .lt-card--course .lt-card__head { padding-right: 104px; }

.edu-v2 .lt-card--course .lt-card__image,
.edu-v2 .lt-card--course .lt-card__media-fallback {
  width: 100%;
  height: 168px;
  margin-bottom: 22px;
  border-radius: var(--edu-radius-card);
}

.edu-v2 .lt-card--course .lt-card__image { display: block; object-fit: cover; }

.edu-v2 .lt-card__media-fallback {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--edu-ink-deep);
}

.edu-v2 .lt-card__media-fallback span {
  width: 58px;
  height: 74px;
  display: block;
  border: 1px solid rgba(232, 207, 145, .72);
  border-radius: 48% 48% var(--edu-radius-control) var(--edu-radius-control);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.edu-v2 .lt-card--course .lt-card__desc {
  color: var(--edu-ink-soft);
  font-size: 1rem;
  line-height: 1.58;
}

.edu-v2 .lt-card--course .lt-priceBox__date { font-size: .875rem; line-height: 1.45; }

.edu-v2 .lt-card__status {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(114, 80, 15, .38);
  border-radius: var(--edu-radius-control);
  background: var(--edu-paper-soft);
  color: var(--edu-gold);
  font-size: .72rem;
  font-weight: 600;
}

.edu-v2 .lt-card--course .lt-card__actions {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.edu-v2 .lt-card__signup-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid var(--edu-line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--edu-ink-deep);
  cursor: pointer;
  font: 600 .82rem/1.2 var(--edu-font-ui);
  text-decoration: none;
}

.edu-v2 .lt-card__signup-link:hover { border-color: var(--edu-accent); color: var(--edu-accent); }

.edu-v2 .lt-sticker {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: -43px;
  width: 160px;
  height: 27px;
  transform: rotate(38deg);
  background: var(--edu-action-dark-bg);
}

.edu-v2 .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.edu-v2.edu-route-home .programms > .wrapper > .d-flex { grid-template-columns: 1fr; }
.edu-v2.edu-route-home .programms .filter,
.edu-v2.edu-route-home .edu-home-filter-toggle { display: none !important; }
.edu-v2.edu-route-home .catalog-list.lt-grid { grid-column: 1; }
.edu-v2.edu-route-home .catalog-list > .lt-card:nth-of-type(n + 5) { display: none !important; }

.edu-v2 .programms > .wrapper > p[align="center"] { margin: 38px 0 0; text-align: center; }
.edu-v2 .programms .btn-blue { display: inline-flex; min-width: 190px; align-items: center; justify-content: center; }

/* Archive */
.edu-v2.edu-route-home .container > .lt-archive,
.edu-v2.edu-route-home .lt-archive { margin: 0 !important; padding: clamp(68px, 8vw, 112px) 0; }

.edu-v2 .lt-archive__title {
  margin: 0 0 42px !important;
  padding: 0 !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
}

.edu-v2 .lt-archive__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.edu-v2 .lt-archive__grid > .lt-archCard:nth-child(n + 5) { display: none; }

.edu-v2 .lt-archCard {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper-soft);
}

.edu-v2 .lt-archCard__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--edu-radius-card);
  background: var(--edu-paper-deep);
}

.edu-v2 .lt-archCard__thumb img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.edu-v2 .lt-archCard__body {
  min-height: 188px;
  display: flex;
  flex-direction: column;
  padding: 18px 8px 6px;
}

.edu-v2 .lt-archCard__date {
  margin-bottom: 10px;
  color: var(--edu-gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.edu-v2 .lt-archCard__title {
  margin: 0;
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1.15;
}

.edu-v2 .lt-archCard__title a { color: var(--edu-ink-deep); text-decoration: none; }
.edu-v2 .lt-archCard__btn { width: 100%; max-width: none !important; margin: auto 0 0 !important; }

/* Narrative sections */
.edu-v2.edu-route-home .how,
.edu-v2.edu-route-home .platform,
.edu-v2.edu-route-home .services,
.edu-v2.edu-route-home .teachers,
.edu-v2.edu-route-home .companies {
  width: 100%;
  padding: clamp(72px, 9vw, 126px) 0;
}

.edu-v2.edu-route-home .how,
.edu-v2.edu-route-home .services,
.edu-v2.edu-route-home .companies { background: var(--edu-paper-soft); }

.edu-v2.edu-route-home .how h2,
.edu-v2.edu-route-home .services h2,
.edu-v2.edu-route-home .teachers h2,
.edu-v2.edu-route-home .companies h2 { max-width: 13ch; margin-bottom: 44px; }

.edu-v2.edu-route-home .how .owl-carousel,
.edu-v2.edu-route-home .services .list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.edu-v2.edu-route-home .how .owl-stage-outer,
.edu-v2.edu-route-home .how .owl-stage { display: contents; }
.edu-v2.edu-route-home .how .owl-item { width: auto !important; }

.edu-v2.edu-route-home .how .item,
.edu-v2.edu-route-home .services .item {
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper);
}

.edu-v2.edu-route-home .how .item h3,
.edu-v2.edu-route-home .services .item h3 { margin-bottom: 18px; }

.edu-v2.edu-route-home .how .item p,
.edu-v2.edu-route-home .services .item p {
  margin: 0;
  color: var(--edu-ink-soft);
  font-size: .87rem;
}

.edu-v2.edu-route-home .how .owl-nav,
.edu-v2.edu-route-home .how .owl-dots { display: none; }

.edu-v2.edu-route-home .platform {
  overflow: hidden;
  background: var(--edu-ink-deep);
  color: var(--edu-white);
}

.edu-v2.edu-route-home .platform h2 { margin: 0 auto 48px; color: var(--edu-white); text-align: center; }
.edu-v2.edu-route-home .platform p[align="center"] { margin: 0; }

.edu-v2.edu-route-home .platform .screen {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 76px 7% 0;
}

.edu-v2.edu-route-home .platform .screen::before {
  position: absolute;
  inset: 16px 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(232, 207, 145, .55), transparent);
}

.edu-v2.edu-route-home .platform .screen > span {
  display: inline-flex;
  width: 32%;
  min-height: 80px;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
  vertical-align: top;
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
}

.edu-v2.edu-route-home .platform .screen i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(232, 207, 145, .6);
  border-radius: 50%;
  color: var(--edu-gold-soft);
  font-style: normal;
}

.edu-v2.edu-route-home .platform .screen > img {
  width: 100%;
  margin-top: 28px;
  border: 8px solid rgba(255, 255, 255, .08);
  border-bottom: 0;
  border-radius: var(--edu-radius-panel) var(--edu-radius-panel) 0 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.edu-v2.edu-route-home .services .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edu-v2.edu-route-home .teachers { background: var(--edu-paper-deep); }

.edu-v2.edu-route-home .teachers .subtitle,
.edu-v2.edu-route-home .companies .subtitle {
  max-width: 72ch;
  margin: -24px 0 42px;
  color: var(--edu-ink-soft);
  font-family: var(--edu-font-ui);
  font-size: 1rem;
  line-height: 1.6;
}

.edu-v2.edu-route-home .teachers .edu-teacher-list,
.edu-v2.edu-route-home .companies .owl-carousel {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.edu-v2.edu-route-home .companies .owl-stage-outer,
.edu-v2.edu-route-home .companies .owl-stage { display: contents; }

.edu-v2.edu-route-home .companies .owl-item { width: auto !important; }

.edu-v2.edu-route-home .teachers .item {
  min-width: 0;
  padding: 10px 10px 20px;
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper-soft);
}

.edu-v2.edu-route-home .teachers .edu-teacher-card__photo,
.edu-v2.edu-route-home .teachers .edu-teacher-card__fallback {
  width: 100%;
  aspect-ratio: .84;
  margin-bottom: 18px;
  border-radius: var(--edu-radius-card);
  background-color: var(--edu-ink);
  object-fit: cover;
  object-position: center top;
  filter: saturate(.78);
}

.edu-v2.edu-route-home .teachers .edu-teacher-card__fallback {
  display: grid;
  place-items: center;
  color: var(--edu-gold-on-dark);
  font-family: var(--edu-font-display);
  font-size: 4rem;
}

.edu-v2.edu-route-home .teachers .item h3 {
  margin: 0 5px 8px;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.15;
}

.edu-v2.edu-route-home .teachers .edu-teacher-card__description {
  margin: 0 5px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--edu-ink-soft);
  font-size: .76rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.edu-v2.edu-route-home .teachers .edu-teacher-list > .item:nth-child(n + 9) { display: none; }

.edu-v2.edu-route-home .teachers .owl-nav,
.edu-v2.edu-route-home .teachers .owl-dots,
.edu-v2.edu-route-home .companies .owl-nav,
.edu-v2.edu-route-home .companies .owl-dots { display: none; }

.edu-v2.edu-route-home .companies .item {
  min-width: 0;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-white);
}

.edu-v2.edu-route-home .companies .item a {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: center;
}

.edu-v2.edu-route-home .companies .item img { max-width: 100%; max-height: 76px; object-fit: contain; }
.edu-v2.edu-route-home .companies .item p { margin: 24px 0 0; color: var(--edu-ink-soft); font-size: .74rem; }

.edu-v2.edu-route-home .companies .owl-item:nth-child(n + 5),
.edu-v2.edu-route-home .companies .owl-carousel > .item:nth-child(n + 5) { display: none; }

/* Existing application dialogs: presentation only, submission contract untouched. */
.edu-v2 .modal {
  position: fixed;
  z-index: 10040;
  inset: 0;
  display: none;
  padding: 20px;
  overflow: auto;
  background: rgba(13, 32, 56, .72);
}

.edu-v2 .modal.is-open,
.edu-v2 .modal.show { display: grid !important; place-items: center; }
.edu-v2 .modal-dialog { width: min(620px, 100%); margin: auto; }

.edu-v2 .modal-content {
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-lg);
  background: var(--edu-paper-soft);
  box-shadow: var(--edu-shadow-lg);
}

.edu-v2 .modal-header,
.edu-v2 .modal-body { padding: clamp(22px, 4vw, 38px) !important; }

.edu-v2 .modal-header { position: relative; border-bottom: 1px solid var(--edu-line); }

.edu-v2 .modal-title {
  max-width: 18ch;
  margin: 0;
  padding-right: 48px;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.edu-v2 .modal .btn-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--edu-radius-control);
  background: transparent;
  cursor: pointer;
}

.edu-v2 .modal .btn-close::before,
.edu-v2 .modal .btn-close::after {
  position: absolute;
  top: 21px;
  left: 11px;
  width: 22px;
  height: 1px;
  content: "";
  background: var(--edu-ink-deep);
}

.edu-v2 .modal .btn-close::before { transform: rotate(45deg); }
.edu-v2 .modal .btn-close::after { transform: rotate(-45deg); }

.edu-v2 .modal form { display: grid; gap: 18px; }
.edu-v2 .modal .edu-form-field { display: grid; gap: 7px; }

.edu-v2 .modal .edu-marketing-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--edu-ink-soft);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.5;
}

.edu-v2 .modal .edu-marketing-consent input { width: 20px; height: 20px; margin: 1px 0 0; }
.edu-v2 .modal .edu-marketing-consent a { color: var(--edu-ink-deep); }
.edu-v2 .modal .edu-form-actions { margin-top: 4px; }
.edu-v2 .modal .edu-form-actions .btn-yellow { width: 100%; }
.edu-v2 .modal .edu-form-consent,
.edu-v2 .modal .edu-local-captcha {
  margin: 18px 0 !important;
  padding: 14px !important;
  border: 1px solid var(--edu-line) !important;
  border-radius: var(--edu-radius-sm) !important;
  background: var(--edu-paper) !important;
}

.edu-v2 .modal .edu-form-consent label {
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  gap: 10px !important;
}

.edu-v2 .modal input[type="checkbox"] { width: 20px !important; height: 20px; accent-color: var(--edu-action-light-bg); }

.edu-v2 .modal .edu-captcha-refresh {
  min-height: 44px;
  border-color: var(--edu-line-strong) !important;
  border-radius: var(--edu-radius-control) !important;
  background: var(--edu-white) !important;
}

@media (max-width: 1024px) {
  .edu-v2 .programms > .wrapper > .d-flex { grid-template-columns: 1fr; }
  .edu-v2 .filter { position: static; }
  .edu-v2 .edu-catalog-toolbar {
    grid-column: auto;
    grid-template-columns: auto minmax(180px, 1fr) minmax(150px, 220px) auto;
  }
  .edu-v2 .edu-catalog-filter-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .edu-v2.edu-route-catalog .programms .filter.is-enhanced {
    position: fixed;
    z-index: 10020;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(430px, 100%);
    max-height: 100dvh;
    padding: 22px 20px max(22px, env(safe-area-inset-bottom));
    overflow-y: auto;
    border-radius: var(--edu-radius-panel) 0 0 var(--edu-radius-panel);
    background: var(--edu-paper-soft);
    transform: translateX(104%);
    visibility: hidden;
    box-shadow: -24px 0 70px rgba(13, 32, 56, .24);
    transition: transform 220ms var(--edu-ease), visibility 220ms;
  }
  .edu-v2 .filter .edu-filter-drawer-heading {
    min-height: 44px;
    margin-bottom: 8px;
    font-size: 1.35rem;
  }
  .edu-v2 .filter .accordion-button {
    min-height: 48px;
    padding-block: 10px;
    font-size: .82rem;
  }
  .edu-v2 .filter .accordion-body { font-size: .78rem; }
  .edu-v2 .filter .accordion-body > div:not(.edu-hours-slider):not(.edu-range-fields),
  .edu-v2 .filter .accordion-body label { min-height: 44px; }
  .edu-v2 .filter input[type="checkbox"],
  .edu-v2 .filter input[type="radio"] { width: 20px; height: 20px; }
  .edu-v2 .filter .edu-range-fields input,
  .edu-v2 .filter input[type="submit"],
  .edu-v2 .filter .reset { min-height: 44px; }
  .edu-v2.edu-route-catalog .programms .filter.is-enhanced.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .edu-v2 .edu-catalog-filter-backdrop {
    position: fixed;
    z-index: 10010;
    inset: 0;
    background: rgba(13, 32, 56, .58);
  }
  .edu-v2 .edu-catalog-filter-close {
    position: relative;
    width: 44px;
    min-width: 44px;
    height: 44px;
    display: block;
    border: 1px solid var(--edu-line-strong);
    border-radius: var(--edu-radius-control);
    background: var(--edu-paper-soft);
    color: var(--edu-ink-deep);
    cursor: pointer;
  }
  .edu-v2 .edu-catalog-filter-close span::before,
  .edu-v2 .edu-catalog-filter-close span::after {
    position: absolute;
    top: 21px;
    left: 12px;
    width: 20px;
    height: 1px;
    content: "";
    background: currentColor;
  }
  .edu-v2 .edu-catalog-filter-close span::before { transform: rotate(45deg); }
  .edu-v2 .edu-catalog-filter-close span::after { transform: rotate(-45deg); }
  .edu-v2 .filter .edu-filter-actions {
    position: sticky;
    bottom: calc(-1 * max(22px, env(safe-area-inset-bottom)));
    margin: 22px -20px calc(-1 * max(22px, env(safe-area-inset-bottom))) !important;
    padding: 14px 20px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--edu-line);
    background: var(--edu-paper-soft);
  }
  .edu-v2.is-catalog-filter-open,
  body.is-catalog-filter-open { overflow: hidden; }
  .edu-v2 .catalog-list.lt-grid,
  .edu-v2 .edu-catalog-more,
  .edu-v2 .edu-catalog-empty { grid-column: auto; }
  .edu-v2.edu-route-catalog .programms .filter,
  .edu-v2.edu-route-catalog .edu-catalog-toolbar,
  .edu-v2.edu-route-catalog .catalog-list.lt-grid,
  .edu-v2.edu-route-catalog .edu-catalog-more {
    grid-column: auto;
    grid-row: auto;
  }
  .edu-v2.edu-route-home .teachers .edu-teacher-list,
  .edu-v2.edu-route-home .companies .owl-carousel,
  .edu-v2 .lt-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .edu-v2 .wrapper,
  .edu-v2 .wrapper.big,
  .edu-v2 .container,
  .edu-v2 .container-fluid { width: min(calc(100% - 24px), var(--edu-container)); }

  .edu-v2.edu-route-home .main-banner { padding-top: 42px; }

  .edu-v2.edu-route-home .main-banner > .wrapper > .d-flex:first-child {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .edu-v2.edu-route-home .main-banner .img-cont { order: 2; width: min(74vw, 310px); }

  .edu-v2.edu-route-home .main-banner h1 {
    margin-bottom: 28px;
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .edu-v2.edu-route-home .advantages { grid-template-columns: 1fr; }

  .edu-v2.edu-route-home .advantages article {
    min-height: 300px;
    grid-column: auto;
  }

  .edu-v2 .catalog-list.lt-grid,
  .edu-v2.edu-route-home .how .owl-carousel,
  .edu-v2.edu-route-home .services .list,
  .edu-v2.edu-route-home .teachers .edu-teacher-list,
  .edu-v2.edu-route-home .companies .owl-carousel,
  .edu-v2 .lt-archive__grid { grid-template-columns: 1fr; }

  .edu-v2 .lt-card,
  .edu-v2 .lt-card--horizontal { min-height: 0; grid-column: auto; grid-template-columns: 1fr; }

  .edu-v2 .lt-card__side { padding: 20px 0 0; border-top: 1px solid var(--edu-line); border-left: 0; }
  .edu-v2 .lt-card__actions { flex-direction: column; }
  .edu-v2 .lt-card--course { min-height: 0; }
  .edu-v2 .lt-card--course .lt-card__head { padding-right: 96px; }
  .edu-v2 .lt-card--course .lt-card__actions { grid-template-columns: 1fr; }
  .edu-v2 .lt-card--course .lt-card__image,
  .edu-v2 .lt-card--course .lt-card__media-fallback { height: 190px; }
  .edu-v2 .lt-archive__grid > .lt-archCard:nth-child(n + 4) { display: none; }

  .edu-v2.edu-route-home .how .item,
  .edu-v2.edu-route-home .services .item { min-height: 0; }

  .edu-v2.edu-route-home .platform .screen { padding: 38px 0 0; }

  .edu-v2.edu-route-home .platform .screen > span {
    width: 100%;
    min-height: 58px;
    padding-inline: 0;
  }

  .edu-v2.edu-route-home .teachers .edu-teacher-list > .item:nth-child(n + 5),
  .edu-v2.edu-route-home .companies .owl-item:nth-child(n + 4),
  .edu-v2.edu-route-home .companies .owl-carousel > .item:nth-child(n + 4) { display: none; }

  .edu-v2 .modal { padding: 8px; place-items: end center; }
  .edu-v2 .modal-content { border-radius: var(--edu-radius-panel); }

  .edu-v2 .edu-catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .edu-v2 .edu-catalog-toolbar input {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .edu-v2 .edu-catalog-filter-toggle { grid-column: 1; grid-row: 2; }
  .edu-v2 .edu-catalog-toolbar select { grid-column: 2; grid-row: 2; }
  .edu-v2 .edu-catalog-count { grid-column: 1 / -1; grid-row: 3; }
}

/* Articles and long-form reading */
.edu-v2.edu-route-articles .page,
.edu-v2.edu-route-article .page,
.edu-v2.edu-route-contacts .page {
  width: 100%;
  padding: clamp(54px, 8vw, 112px) 0;
  background: var(--edu-paper);
}

.edu-v2.edu-route-articles .page > .wrapper > .d-flex,
.edu-v2.edu-route-article .page > .wrapper > .d-flex,
.edu-v2.edu-route-contacts .page > .wrapper > .d-flex {
  display: block !important;
}

.edu-v2.edu-route-articles .news,
.edu-v2.edu-route-article .news,
.edu-v2.edu-route-contacts .news-detail {
  width: min(100%, 1040px) !important;
  margin: 0 auto !important;
}

.edu-v2.edu-route-articles .news > h1,
.edu-v2.edu-route-article .news > h1,
.edu-v2.edu-route-contacts .news-detail > h1 {
  max-width: 15ch;
  margin: 0 0 clamp(42px, 6vw, 74px);
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.edu-v2.edu-route-articles .news .catalog-list {
  display: grid;
  gap: 16px;
}

.edu-v2.edu-route-articles .edu-article-card {
  min-height: 300px;
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: stretch !important;
  gap: clamp(24px, 4vw, 54px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper-soft);
}

.edu-v2.edu-route-articles .edu-article-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.edu-v2.edu-route-articles .news .catalog-list h2 {
  margin: 0 0 18px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.edu-v2.edu-route-articles .news .catalog-list a {
  color: var(--edu-ink-deep) !important;
  text-decoration: none;
}

.edu-v2.edu-route-articles .edu-article-card__summary {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--edu-ink-soft);
  font-size: .9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.edu-v2.edu-route-articles .edu-article-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--edu-radius-card);
  background: var(--edu-paper-deep);
}

.edu-v2.edu-route-articles .news .catalog-list img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border-radius: 0;
  object-fit: cover;
}

.edu-v2.edu-route-articles .news .catalog-list .see-more {
  min-height: 46px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 18px;
  border: 1px solid var(--edu-line-strong);
  border-radius: var(--edu-radius-control);
  font-size: .8rem;
  font-weight: 600;
}

.edu-v2 .edu-pagination { margin-top: 30px; }

.edu-v2.edu-route-article .news {
  width: min(100%, 880px) !important;
  color: var(--edu-ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

.edu-v2.edu-route-article .news > p:first-child {
  margin-bottom: 38px;
  font-size: .82rem;
}

.edu-v2.edu-route-article .news h1 {
  max-width: 17ch;
  color: var(--edu-ink-deep);
  line-height: .98;
}

.edu-v2.edu-route-article .edu-article-lead {
  display: block;
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--edu-gold);
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.45;
}

.edu-v2.edu-route-article .edu-article-body { max-width: 72ch; }

.edu-v2.edu-route-article .edu-article-tags {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--edu-line);
  color: var(--edu-ink-soft);
  font-size: .78rem;
}

.edu-v2.edu-route-article .news .preview-pic,
.edu-v2.edu-route-article .news > img {
  width: 100%;
  max-height: 620px;
  margin: 12px 0 44px;
  border-radius: var(--edu-radius-md);
  object-fit: cover;
}

.edu-v2.edu-route-article .news h2 {
  margin: 2.1em 0 .65em;
  color: var(--edu-ink-deep);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.edu-v2.edu-route-article .news h2 span,
.edu-v2.edu-route-article .news p span,
.edu-v2.edu-route-article .news li span {
  color: inherit !important;
}

.edu-v2.edu-route-article .news ul,
.edu-v2.edu-route-article .news ol {
  padding-left: 1.3em;
}

.edu-v2.edu-route-article .news li {
  margin-bottom: .7em;
  padding-left: .35em;
}

.edu-v2.edu-route-article .news a { color: var(--edu-accent) !important; }

.edu-v2.edu-route-article .news .see-more {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.edu-v2.edu-route-article .news .see-more .item {
  min-height: 210px;
  display: flex !important;
  padding: 22px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper-soft);
}

.edu-v2.edu-route-article .news .see-more .seemore-title {
  color: var(--edu-ink-deep) !important;
  font-family: var(--edu-font-display);
  font-size: 1.3rem;
  line-height: 1.18;
  text-decoration: none;
}

.edu-v2.edu-route-article .news .see-more font {
  color: var(--edu-gold);
  font-size: .72rem;
}

.edu-v2.edu-route-article .edu-related-date {
  display: block;
  margin-bottom: 18px;
  color: var(--edu-gold);
  font-size: .72rem;
}

.edu-v2.edu-route-article .seemore_link,
.edu-v2.edu-route-article .edu-article-back a {
  color: var(--edu-action-light-bg) !important;
  font-weight: 600;
  text-underline-offset: 5px;
}

.edu-v2.edu-route-article .edu-article-back { margin-top: 42px; }

/* Contacts */
.edu-v2.edu-route-contacts .news-detail {
  min-height: 0;
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-lg);
  background: var(--edu-paper-soft);
  box-shadow: var(--edu-shadow-sm);
  color: var(--edu-ink-soft);
}

.edu-v2.edu-route-contacts .news-detail > h1 {
  margin-bottom: 48px;
  color: var(--edu-ink-deep);
}

.edu-v2.edu-route-contacts .news-detail > img {
  width: min(34%, 300px) !important;
  max-height: 390px;
  margin: 0 0 24px clamp(28px, 5vw, 58px) !important;
  border-radius: var(--edu-radius-md);
  object-fit: cover;
  object-position: center top;
  filter: saturate(.8);
}

.edu-v2.edu-route-contacts .news-detail p {
  max-width: 58ch;
  font-size: 1.02rem;
}

.edu-v2.edu-route-contacts .news-detail p strong {
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.edu-v2.edu-route-contacts .news-detail a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--edu-action-light-bg);
  text-underline-offset: 4px;
}

/* Payment: existing controller and POST contract stay untouched. */
.edu-v2 .edu-pay-page {
  min-height: 72vh;
  padding: clamp(42px, 7vw, 96px) 16px;
  background:
    radial-gradient(circle at 86% 14%, rgba(232, 207, 145, .34), transparent 22%),
    var(--edu-paper);
}

.edu-v2 .edu-pay-shell { max-width: 1080px; }

.edu-v2 .edu-pay-back {
  min-height: 44px;
  color: var(--edu-ink-soft);
  font-size: .82rem;
}

.edu-v2 .edu-pay-card {
  border-color: var(--edu-line);
  border-radius: var(--edu-radius-lg);
  background: var(--edu-paper-soft);
  box-shadow: var(--edu-shadow-lg);
}

.edu-v2 .edu-pay-head {
  padding: clamp(28px, 5vw, 58px);
  border-color: var(--edu-line);
  background: transparent;
}

.edu-v2 .edu-pay-kicker { color: var(--edu-gold); }

.edu-v2 .edu-pay-head h1 {
  max-width: 14ch;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: clamp(2.55rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.05em;
}

.edu-v2 .edu-pay-course {
  max-width: 58ch;
  color: var(--edu-ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.edu-v2 .edu-pay-body {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 58px);
}

.edu-v2 .edu-pay-option {
  border-color: var(--edu-line);
  border-radius: var(--edu-radius-sm);
  background: var(--edu-white);
}

.edu-v2 .edu-pay-option:has(input:checked) {
  border-color: var(--edu-action-light-bg);
  background: rgba(23, 44, 70, .055);
}

.edu-v2 .edu-pay-input {
  height: 52px;
  border-color: var(--edu-line-strong);
  border-radius: var(--edu-radius-sm);
}

.edu-v2 .edu-pay-input:focus {
  border-color: var(--edu-focus);
  box-shadow: 0 0 0 3px rgba(11, 112, 209, .14);
}

.edu-v2 .edu-pay-check a { color: var(--edu-action-light-bg); }

.edu-v2 .edu-pay-submit {
  min-height: 52px;
  border-radius: var(--edu-radius-control);
  background: var(--edu-action-light-bg);
  color: var(--edu-action-light-fg);
}

.edu-v2 .edu-pay-submit:hover { background: var(--edu-action-light-hover); }

.edu-v2 .edu-pay-side {
  padding: 26px;
  border: 1px solid var(--edu-line);
  border-radius: var(--edu-radius-md);
  background: var(--edu-paper);
}

.edu-v2 .edu-pay-side h2 {
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-display);
  font-size: 1.65rem;
  font-weight: 400;
}

/* Legal documents */
.edu-v2.edu-route-legal .edu-main {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(52px, 8vw, 112px) clamp(16px, 4vw, 40px);
  background: var(--edu-paper);
}

.edu-v2.edu-route-legal .edu-legal-page {
  width: 100%;
  padding: clamp(28px, 5vw, 64px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--edu-ink-soft);
  box-shadow: none;
  font-size: clamp(.96rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.edu-v2.edu-route-legal .edu-legal-page h1 {
  max-width: none;
  margin: 0 0 clamp(42px, 6vw, 72px);
  color: var(--edu-ink-deep);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  overflow-wrap: break-word;
}

.edu-v2.edu-route-legal .edu-legal-page h2 {
  margin: 2.2em 0 .7em;
  color: var(--edu-ink-deep);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.edu-v2.edu-route-legal .edu-legal-page h3 {
  margin: 1.8em 0 .6em;
  color: var(--edu-ink-deep);
  font-family: var(--edu-font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
}

.edu-v2.edu-route-legal .edu-legal-page a { color: var(--edu-action-light-bg); }
.edu-v2.edu-route-legal .edu-legal-page ul,
.edu-v2.edu-route-legal .edu-legal-page ol { padding-left: 1.35em; }
.edu-v2.edu-route-legal .edu-legal-page li { margin-bottom: .55em; }

/* Existing 404 content, without changing its copy. */
.edu-v2.edu-route-not-found .wrapper.page {
  min-height: 68vh;
  width: min(calc(100% - 32px), var(--edu-container));
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: clamp(72px, 10vw, 150px) clamp(24px, 5vw, 72px) !important;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 40%, rgba(232, 207, 145, .36), transparent 20%),
    linear-gradient(125deg, var(--edu-paper-soft), var(--edu-paper-deep)) !important;
  background-image: none !important;
}

.edu-v2.edu-route-not-found .wrapper.page h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
}

.edu-v2.edu-route-not-found .wrapper.page > p {
  max-width: 56ch;
  color: var(--edu-ink-soft);
  font-size: 1.08rem;
}

.edu-v2.edu-route-not-found .wrapper.page > h3 {
  margin-top: 46px;
  font-family: var(--edu-font-ui);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.edu-v2 .edu-not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
}

.edu-v2 .edu-not-found-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--edu-action-light-bg);
  font-weight: 600;
  text-underline-offset: 5px;
}

@media (max-width: 767px) {
  .edu-v2.edu-route-articles .edu-article-card {
    grid-template-columns: 1fr;
  }

  .edu-v2.edu-route-articles .edu-article-card__media { min-height: 210px; }
  .edu-v2.edu-route-articles .news .catalog-list img { height: 210px; min-height: 0; }
  .edu-v2.edu-route-articles .news .catalog-list .see-more { width: 100%; margin-top: 24px; }

  .edu-v2.edu-route-article .news .see-more { grid-template-columns: 1fr; }

  .edu-v2.edu-route-contacts .news-detail { min-height: 0; }

  .edu-v2.edu-route-contacts .news-detail > img {
    width: 100% !important;
    max-width: none !important;
    max-height: 420px !important;
    float: none !important;
    margin: 0 0 32px !important;
  }

  .edu-v2 .edu-pay-page { padding: 24px 8px 48px; }
  .edu-v2 .edu-pay-body { grid-template-columns: 1fr; padding: 24px 18px; }
  .edu-v2 .edu-pay-side { order: 2; }
  .edu-v2 .edu-pay-head { padding: 28px 20px; }
  .edu-v2 .edu-pay-head h1 { font-size: 2.8rem; }

  .edu-v2.edu-route-legal .edu-legal-page {
    width: 100%;
    padding: 16px 2px;
    border-radius: 0;
  }

  .edu-v2.edu-route-legal .edu-legal-page h1 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
    overflow-wrap: anywhere;
  }
}

.edu-v2 [hidden] { display: none !important; }
