/* Shared editorial composition for the public pages that are not part of the
   official-information registry. Loaded last so legacy page styles cannot
   split the interface back into disconnected cards. */

.visually-hidden,
.sr_only {
  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;
}

.editorial_page {
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--gray);
}

.editorial_content {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 24px;
}

.editorial_panel,
.editorial_summary {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.editorial_summary--single {
  grid-template-columns: minmax(0, 900px);
}

.editorial_summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr);
  align-items: center;
  gap: clamp(30px, 4vw, 58px);
  overflow: hidden;
}

.editorial_summary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
  content: "";
}

.editorial_summary_copy {
  min-width: 0;
  padding-left: 8px;
}

.editorial_summary h1,
.editorial_detail_title {
  max-width: 860px;
  margin: 0;
  color: var(--black);
  font-size: clamp(31px, 3.2vw, 47px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.editorial_lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.65;
}

.editorial_metrics {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
}

.editorial_metrics > div {
  display: grid;
  grid-template-columns: minmax(95px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.editorial_metrics dt {
  color: var(--primary);
  font-size: clamp(23px, 2.35vw, 32px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.04em;
}

.editorial_metrics dd {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

:is(.editorial_nav, .teacher_toc, .economic_toc, .official_toc) {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(16px, 1.8vw, 28px);
  row-gap: 12px;
  padding-block: 20px;
}

.editorial_nav strong {
  color: var(--black);
  font-size: 19px;
  line-height: 1.2;
}

:is(.editorial_nav_links, .teacher_toc_links, .economic_toc_links, .official_toc_links) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.editorial_nav_links :is(a, button),
.editorial_pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--gray);
  font: 700 12px/1.25 var(--font-sans);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.editorial_nav_links :is(a, button):hover,
.editorial_pill:hover {
  color: var(--primary);
  border-color: rgba(var(--primary-rgb), .35);
  background: var(--primary-soft);
}

.editorial_panel_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.editorial_panel_header :is(h2, h3) {
  margin: 0;
  color: var(--black);
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.editorial_panel_header > p {
  max-width: 470px;
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.editorial_count {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: var(--secondary) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--gray);
  font-size: 13px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

.editorial_count strong {
  color: var(--primary);
}

.editorial_empty {
  padding: 22px;
  color: var(--secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--gray);
}

.editorial_arrow_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.editorial_arrow_link img {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.editorial_arrow_link:hover img {
  transform: translateX(3px);
}

/* Admission */
.admission_program_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 1181px) {
  .admission_program_grid:has(> .admission_program:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.admission_program {
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admission_program:hover {
  border-color: rgba(var(--primary-rgb), .38);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.admission_program_media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 8.8;
  background: var(--primary-soft);
}

.admission_program_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.admission_program:hover .admission_program_media img {
  transform: scale(1.025);
}

.admission_program_body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.admission_program_code,
.editorial_kicker {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admission_program h3 {
  margin: 13px 0 0;
  color: var(--black);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}

.admission_program_desc {
  margin: 13px 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.55;
}

.admission_program_meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.admission_program_meta > div {
  min-width: 0;
  padding: 11px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.admission_program_meta dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admission_program_meta dd {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admission_program .editorial_arrow_link {
  margin-top: auto;
  padding-top: 22px;
}

.admission_document_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.admission_document {
  display: grid;
  min-width: 0;
  min-height: 180px;
  grid-template-columns: 52px minmax(0, 1fr);
  align-content: start;
  gap: 18px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.admission_document_index {
  color: var(--primary);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.admission_document_media {
  width: 52px;
  height: 52px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.admission_document_media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admission_document_body h3 {
  margin: 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.admission_document_body p {
  margin: 9px 0 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.5;
}

.editorial_form_layout {
  display: grid;
  grid-template-columns: minmax(230px, .58fr) minmax(0, 1.42fr);
  align-items: start;
  gap: clamp(26px, 4vw, 56px);
}

#certificateFormSection .editorial_form_intro {
  position: sticky;
  top: calc(112px + var(--page-gutter));
  align-self: start;
}

.editorial_form_intro h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(27px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.editorial_form_intro p:not(.section_eyebrow) {
  margin: 16px 0 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.6;
}

.editorial_form_layout .faculties_layout_contact,
.editorial_form_layout .contact-form,
.editorial_form_layout .cert_form_section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.editorial_form_layout .faculties_layout_contact,
.editorial_form_layout .cert_form_section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#transfer-form .faculties_layout_contact {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial_form_layout .faculty_page_title_contact {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.editorial_form_layout .contact-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Graduates */
.partner_tools {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--gray);
}

.partner_search_sort {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr);
  gap: 10px;
}

.partner_search_sort :is(input, select) {
  width: 100%;
}

.partner_search_sort :is(.search, .select) {
  display: block;
  width: 100%;
  min-width: 0;
}

.partner_search_sort .search input,
.partner_search_sort .select select,
.partner_search_sort .fancy-select__btn {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.partner_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.partner_filters .chip.is-active {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.partner_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.partner_grid .partner_card,
.partner_grid .cta_card {
  flex: 1 1 340px;
  min-width: 0;
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.partner_grid .logo_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 190px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--gray);
}

.partner_grid .logo {
  min-height: 0;
  max-height: 100%;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.partner_grid .p_title {
  font-size: 21px;
}

.partner_grid .p_desc,
.partner_grid .partner_pitch {
  font-size: 13px;
}

.partner_grid .pbtn,
.partner_grid .ui-btn {
  width: auto;
  align-self: flex-start;
  padding: 0;
  color: var(--primary) !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partner_grid .pbtn:hover,
.partner_grid .ui-btn:hover {
  color: var(--primary-dark) !important;
  background: transparent;
  box-shadow: none;
}

.partner_grid .cta_card {
  justify-content: center;
  gap: 24px;
  border-style: dashed;
  background: var(--primary-soft);
}

/* Contacts */
.contact_quick_facts {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
}

.contact_quick_facts > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact_quick_facts dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.contact_quick_facts dd {
  margin: 0;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.contact_quick_facts a {
  color: inherit;
}

.contacts_workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 16px;
}

.contacts_map {
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
}

.contacts_map :is(iframe, .external_content_gate) {
  width: 100%;
  height: 100%;
  min-height: 470px;
  border: 0;
}

.contacts_map .legal_action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 9px 13px;
  color: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary);
  font: 700 12px/1.2 var(--font-sans);
  cursor: pointer;
}

.contacts_map .external_content_gate__inner > a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
}

.contacts_hours {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
}

.contacts_hours > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contacts_hours dt {
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contacts_hours dd {
  margin: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

/* News */
.editorial_news_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.editorial_news_card {
  display: flex;
  min-width: 0;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.editorial_news_card:first-child {
  grid-column: span 2;
}

.editorial_news_card:hover {
  border-color: rgba(var(--primary-rgb), .38);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.editorial_news_media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--primary-soft);
}

.editorial_news_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.editorial_news_card:hover .editorial_news_media img {
  transform: scale(1.025);
}

.editorial_news_body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.editorial_news_body time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .07em;
}

.editorial_news_body h2 {
  margin: 12px 0 0;
  color: var(--black);
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.editorial_news_body p {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.55;
}

.editorial_news_body .editorial_arrow_link {
  margin-top: auto;
  padding-top: 20px;
}

.schedule_news_grid .editorial_news_card:first-child {
  grid-column: auto;
}

/* Programme and course details */
.editorial_detail_shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: start;
  gap: 16px;
}

.editorial_detail_main,
.editorial_detail_aside {
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.editorial_detail_head {
  position: relative;
  padding-left: 18px;
}

.editorial_detail_head::before {
  position: absolute;
  inset: 4px auto 4px 0;
  width: 4px;
  border-radius: var(--radius-xs);
  background: var(--primary);
  content: "";
}

.editorial_detail_head .editorial_kicker {
  margin-bottom: 10px;
}

.editorial_detail_intro {
  display: grid;
  grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr);
  gap: 28px;
  margin-top: 30px;
}

.editorial_detail_media {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  background: var(--primary-soft);
}

.editorial_detail_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial_detail_copy {
  min-width: 0;
}

.editorial_detail_copy > p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  line-height: 1.65;
}

.editorial_detail_meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 22px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.editorial_detail_meta > div {
  min-width: 0;
  padding: 13px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.editorial_detail_meta dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.editorial_detail_meta dd {
  margin: 0;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.editorial_detail_features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.editorial_detail_feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--gray);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.editorial_detail_feature img {
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

.editorial_richtext {
  margin-top: 28px;
  padding-top: 28px;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
}

.editorial_richtext :is(h2, h3) {
  margin: 24px 0 12px;
  color: var(--black);
  line-height: 1.2;
}

.editorial_notice_list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.editorial_notice {
  padding: 15px 16px;
  color: var(--secondary);
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.editorial_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.editorial_action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), .35);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.editorial_action--primary {
  color: var(--white);
  border-color: var(--primary);
  background: var(--primary);
}

.editorial_action img {
  width: 15px;
  height: 15px;
}

.editorial_action--primary img {
  filter: brightness(0) invert(1);
}

.editorial_detail_aside h2 {
  margin: 0 0 18px;
  color: var(--black);
  font-size: 21px;
  line-height: 1.2;
}

.editorial_related_list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.editorial_related {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 0;
  color: var(--black);
  border-bottom: 1px solid var(--border);
}

.editorial_related img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.editorial_related small {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.editorial_related strong {
  display: block;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
}

.editorial_related:hover {
  color: var(--primary);
}

.editorial_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
}

.editorial_tags span {
  padding: 6px 9px;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 800;
}

/* Schedule */
.schedule_hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.schedule_hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--gray);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.schedule_hint img {
  width: 14px;
  height: 14px;
}

.schedule_bell_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.schedule_day {
  min-width: 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.schedule_day h3 {
  margin: 0;
  padding: 16px 18px;
  color: var(--black);
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  line-height: 1.2;
}

.schedule_pair,
.schedule_break {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.schedule_pair:last-child,
.schedule_break:last-child {
  border-bottom: 0;
}

.schedule_pair > span:first-child {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.schedule_times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.schedule_times span {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.schedule_times b {
  color: var(--primary);
}

.schedule_break {
  display: flex;
  justify-content: center;
  min-height: 38px;
  padding-block: 7px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.schedule_table_page .table_card {
  margin: 0;
  border-color: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.schedule_table_page .timetable_pivot :is(th, td) {
  border-color: var(--border);
}

/* Transfer and certificates */
.transfer_step_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.transfer_step_card {
  min-width: 0;
  min-height: 260px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.transfer_step_card small {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 800;
}

.transfer_step_card h3 {
  margin: 22px 0 10px;
  color: var(--black);
  font-size: 18px;
  line-height: 1.22;
}

.transfer_step_card p {
  margin: 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.55;
}

.transfer_step_card p + p {
  margin-top: 8px;
}

.transfer_step_hint {
  margin-top: 12px;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 11px;
  line-height: 1.45;
}

.certificate_types {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--border);
  list-style: none;
  counter-reset: cert;
}

.certificate_types li {
  position: relative;
  padding: 14px 0 14px 38px;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  counter-increment: cert;
}

.certificate_types li::before {
  position: absolute;
  top: 12px;
  left: 0;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--primary);
  border-radius: 50%;
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 800;
  content: counter(cert, decimal-leading-zero);
}

.certificate_tax {
  margin-top: 22px;
  padding: 18px;
  color: var(--secondary);
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  font-size: 13px;
  line-height: 1.55;
}

.certificate_tax .editorial_action {
  margin-top: 14px;
}

.support_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  list-style: none;
}

.support_list li {
  display: grid;
  min-height: 130px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.support_list span {
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.support_list p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.55;
}

.useinfo_editorial .info-article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.useinfo_editorial .useinfo-tools {
  margin-top: 0;
}

.useinfo_editorial .acc {
  margin-top: 16px;
}

@media (min-width: 1181px) {
  .department_editorial .documents_grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Announcement side cards: legacy component had two competing columns. */
.ann_sidebar .ann_sidebar_grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.ann_sidebar .announce_card {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 15px 0;
  color: var(--black);
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ann_sidebar .announce_media {
  grid-column: 1;
  grid-row: 1;
  width: 76px;
  height: 62px;
  margin: 0;
  overflow: hidden;
  flex: none;
  border-radius: var(--radius-sm);
}

.ann_sidebar .announce_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ann_sidebar .announce_info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 0;
}

.ann_sidebar .announce_date {
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
}

.ann_sidebar .announce_name {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ann_sidebar .announce_desc,
.ann_sidebar .announce_btn {
  display: none;
}

@media (max-width: 1180px) {
  .admission_program_grid,
  .admission_document_grid,
  .partner_grid,
  .editorial_news_grid,
  .transfer_step_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial_detail_shell {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr);
  }
}

@media (max-width: 900px) {
  .editorial_summary,
  .editorial_detail_shell,
  .editorial_form_layout,
  .contacts_workspace {
    grid-template-columns: 1fr;
  }

  #certificateFormSection .editorial_form_intro {
    position: static;
  }

  .editorial_summary {
    align-items: start;
  }

  :is(.editorial_nav, .teacher_toc, .economic_toc, .official_toc),
  .partner_tools {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .editorial_detail_aside {
    padding-top: 28px;
  }

  .editorial_related_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }
}

@media (max-width: 760px) {
  .editorial_page {
    padding-top: 24px;
    padding-bottom: 64px;
  }

  .editorial_content {
    gap: 14px;
  }

  .editorial_panel,
  .editorial_summary,
  .editorial_detail_main,
  .editorial_detail_aside {
    padding: 22px;
    border-radius: var(--radius-lg);
  }

  .editorial_summary_copy {
    padding-left: 5px;
  }

  .editorial_summary h1,
  .editorial_detail_title {
    font-size: clamp(29px, 9vw, 39px);
  }

  .editorial_lead {
    margin-top: 15px;
    font-size: 14px;
  }

  :is(.editorial_nav, .teacher_toc, .economic_toc, .official_toc) {
    gap: 14px;
    padding-block: 20px;
  }

  .editorial_panel_header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .editorial_panel_header :is(h2, h3),
  .editorial_form_intro h2 {
    font-size: 27px;
  }

  .admission_program_grid,
  .admission_document_grid,
  .partner_grid,
  .editorial_news_grid,
  .transfer_step_grid,
  .schedule_bell_grid,
  .editorial_detail_intro,
  .editorial_detail_features,
  .editorial_detail_meta,
  .partner_search_sort {
    grid-template-columns: 1fr;
  }

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

  .admission_program,
  .partner_grid .partner_card,
  .partner_grid .cta_card,
  .editorial_news_card,
  .transfer_step_card {
    min-height: 0;
  }

  .editorial_news_card:first-child {
    grid-column: auto;
  }

  .admission_document_grid,
  .transfer_step_grid,
  .schedule_bell_grid {
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .admission_document {
    min-height: 150px;
  }

  .editorial_detail_intro {
    gap: 20px;
  }

  .editorial_detail_media {
    aspect-ratio: 16 / 9;
  }

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

  .contacts_map,
  .contacts_map :is(iframe, .external_content_gate) {
    min-height: 360px;
  }

  .editorial_form_layout .contact-form,
  .editorial_form_layout .transfer-form {
    padding: 0;
  }
}

/* XLSX schedule and operational changes */
.schedule_picker,
.schedule_change_filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px) auto;
  align-items: end;
  gap: clamp(20px, 3vw, 48px);
}

.schedule_picker h2,
.schedule_change_filter h2 {
  margin: 4px 0 8px;
}

.schedule_picker p,
.schedule_change_filter p {
  margin-bottom: 0;
}

.schedule_picker form,
.schedule_change_filter form {
  display: grid;
  gap: 8px;
}

.schedule_picker label,
.schedule_change_filter label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.schedule_picker select,
.schedule_change_filter select {
  width: 100%;
  min-height: 50px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--secondary);
  font: inherit;
  font-weight: 700;
}

.schedule_picker .editorial_action {
  align-self: end;
  min-height: 50px;
  white-space: nowrap;
}

.schedule_picker .editorial_action span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--primary);
  font-size: 11px;
}

.schedule_day_list,
.schedule_change_dates {
  display: grid;
  gap: 18px;
}

.schedule_day {
  padding: 0;
  overflow: hidden;
}

.schedule_day > header,
.schedule_change_date > header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}

.schedule_day > header > span {
  color: var(--primary);
  font-size: 28px;
  font-weight: 800;
}

.schedule_day > header h2,
.schedule_change_date > header h2 {
  margin: 2px 0 0;
}

.schedule_day > header small {
  margin-left: auto;
  color: var(--muted);
}

.schedule_lesson_list article {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
}

.schedule_lesson_list article:last-child {
  border-bottom: 0;
}

.schedule_lesson_list small,
.schedule_change_list small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
}

.schedule_lesson_list h3,
.schedule_change_list h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.schedule_lesson_time {
  display: flex;
  align-items: center;
  gap: 14px;
}

.schedule_lesson_time span,
.schedule_change_number {
  color: var(--primary);
  font-size: 25px;
  font-weight: 800;
}

.schedule_lesson_time strong,
.schedule_lesson_room strong {
  font-size: 13px;
}

.schedule_change_date {
  padding: 0;
  overflow: hidden;
}

.schedule_change_date time {
  display: grid;
  min-width: 62px;
  text-align: center;
}

.schedule_change_date time strong {
  color: var(--primary);
  font-size: 30px;
}

.schedule_change_date time span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.schedule_change_list article {
  display: grid;
  grid-template-columns: 170px 80px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--primary);
}

.schedule_change_list article:last-child {
  border-bottom: 0;
}

.schedule_change_list article.is-cancellation {
  border-left-color: var(--danger-strong);
}

.schedule_change_list article > div:first-child {
  display: grid;
  gap: 6px;
}

.schedule_change_list article > div:first-child span {
  color: var(--muted);
  font-size: 11px;
}

.schedule_change_list dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.schedule_change_list dl div {
  margin: 0;
}

.schedule_change_list dt {
  color: var(--muted);
  font-size: 10px;
}

.schedule_change_list dd {
  margin: 4px 0 0;
  font-weight: 700;
}

@media (max-width: 980px) {
  .schedule_picker,
  .schedule_change_filter {
    grid-template-columns: 1fr 1fr;
  }

  .schedule_picker > div,
  .schedule_change_filter > div {
    grid-column: 1 / -1;
  }

  .schedule_lesson_list article {
    grid-template-columns: 160px minmax(0, 1fr) 120px;
  }

  .schedule_change_list article {
    grid-template-columns: 140px 60px minmax(0, 1fr);
  }

  .schedule_change_list dl {
    grid-column: 3;
  }
}

@media (max-width: 680px) {
  .schedule_picker,
  .schedule_change_filter {
    grid-template-columns: 1fr;
  }

  .schedule_picker > div,
  .schedule_change_filter > div {
    grid-column: auto;
  }

  .schedule_picker .editorial_action {
    justify-content: center;
  }

  .schedule_day > header,
  .schedule_change_date > header,
  .schedule_lesson_list article,
  .schedule_change_list article {
    padding: 17px;
  }

  .schedule_lesson_list article {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .schedule_lesson_list article > div:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .schedule_lesson_room {
    text-align: right;
  }

  .schedule_change_list article {
    grid-template-columns: 1fr auto;
  }

  .schedule_change_list article > div:nth-child(3),
  .schedule_change_list dl {
    grid-column: 1 / -1;
  }
}

.schedule_push {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 64px);
  background: linear-gradient(135deg, var(--primary-soft), var(--white) 68%);
}

.schedule_push_intro h2 {
  margin: 5px 0 12px;
}

.schedule_push_intro > p:last-of-type {
  color: var(--muted);
  line-height: 1.6;
}

.schedule_push_intro > small {
  display: block;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.5;
}

.schedule_push_state {
  align-self: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.schedule_push_state > span {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.schedule_push_state > strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
}

.schedule_push_state > p {
  margin: 6px 0 18px;
  color: var(--muted);
}

.schedule_push_state > div:first-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.schedule_push_state button:not(.ui_btn) {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--secondary);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.schedule_push_ios {
  margin-top: 17px;
  padding: 15px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.schedule_push_ios ol {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.schedule_push_settings {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.schedule_push_settings summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

.schedule_push_settings summary span {
  display: grid;
  gap: 4px;
}

.schedule_push_settings summary small {
  color: var(--muted);
}

.schedule_push_settings summary b {
  color: var(--primary);
}

.schedule_push_settings form {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.schedule_push_settings fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.schedule_push_settings legend {
  margin-bottom: 12px;
  font-weight: 800;
}

.schedule_push_options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.schedule_push_options label,
.schedule_push_chips label,
.schedule_push_all,
.schedule_push_consent {
  cursor: pointer;
}

.schedule_push_options label {
  display: flex;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.schedule_push_options label span {
  display: grid;
  gap: 5px;
}

.schedule_push_options small {
  color: var(--muted);
  line-height: 1.4;
}

.schedule_push_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.schedule_push_chips label input {
  position: absolute;
  opacity: 0;
}

.schedule_push_chips label span {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.schedule_push_chips label input:checked + span {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.schedule_push_consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .schedule_push {
    grid-template-columns: 1fr;
  }

  .schedule_push_settings {
    grid-column: auto;
  }

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

@media (max-width: 580px) {
  .schedule_push_options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .editorial_panel,
  .editorial_summary,
  .editorial_detail_main,
  .editorial_detail_aside {
    padding: 18px;
  }

  .editorial_metrics > div {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .editorial_nav_links :is(a, button) {
    flex: 1 1 140px;
  }

  .admission_program_body,
  .editorial_news_body,
  .transfer_step_card,
  .admission_document {
    padding: 18px;
  }

  .admission_document {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
  }

  .admission_document_index {
    font-size: 30px;
  }

  .admission_document_media {
    width: 42px;
    height: 42px;
  }

  .schedule_pair {
    grid-template-columns: 58px minmax(0, 1fr);
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admission_program,
  .admission_program_media img,
  .editorial_news_card,
  .editorial_news_media img,
  .editorial_arrow_link img {
    transition: none !important;
  }
}

/* Inner-page chrome -------------------------------------------------------
   Breadcrumbs are context, not a separate content panel. Keep the trail
   compact and visually join it to the page surface that follows. */
.breadcrumbs {
  flex-wrap: nowrap;
  gap: 8px;
  min-height: 0;
  padding-top: 12px;
  padding-bottom: 0;
  overflow-x: auto;
  background: var(--gray);
  scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
  display: none;
}

.breadcrumbs a,
.breadcrumbs > span {
  flex: 0 0 auto;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.breadcrumbs a::after {
  display: none;
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs [aria-current="page"] {
  max-width: min(48vw, 560px);
  overflow: hidden;
  color: var(--secondary);
  font-weight: 700;
  text-overflow: ellipsis;
}

.breadcrumbs .breadcrumbs_sep {
  width: 10px;
  height: 10px;
  opacity: .55;
  transform: none;
}

.breadcrumbs:has(+ .legal_page) {
  background: var(--white);
}

.breadcrumbs + .sections {
  padding-top: clamp(16px, 1.8vw, 26px);
}

@media (max-width: 760px) {
  .breadcrumbs {
    gap: 7px;
    padding-top: 10px;
  }

  .breadcrumbs + .sections {
    padding-top: 14px;
  }

  .breadcrumbs [aria-current="page"] {
    max-width: 58vw;
  }
}
