/* First screens share the same fluid edges as the page content. */
#main-content .breadcrumbs { padding: 22px var(--page-gutter) 8px; margin: 0; font-size: 12px; gap: 10px; line-height: 1.6; }
#main-content .breadcrumbs :is(a,span) { overflow-wrap: anywhere; min-width: 0; }
/* White editorial spreads: the title and image share the content's full-width grid. */
.page_hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); align-items: center; column-gap: clamp(32px,5vw,88px); position: relative; width: 100%; max-width: none; margin: 0; padding: 38px var(--page-gutter) 42px; background: var(--white); border: 0; border-radius: 0; min-width: 0; }
.page_hero::after { content: ''; position: absolute; height: 1px; bottom: 0; left: var(--page-gutter); right: var(--page-gutter); background: var(--border); }
.page_hero_copy { min-width: 0; padding-block: 12px; }
.page_hero_eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--primary-dark); font-size: 12px; line-height: 1.5; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.page_hero_eyebrow::before { content: ''; width: 26px; height: 2px; flex-shrink: 0; background: currentColor; }
.page_hero h1 { margin: 0; max-width: 25ch; color: var(--black); font-size: clamp(36px,3.8vw,56px); line-height: 1.08; font-weight: 600; letter-spacing: -.04em; overflow-wrap: anywhere; text-wrap: pretty; }
.page_hero_lead { max-width: 66ch; margin-top: 22px; color: var(--secondary); font-size: 16px; line-height: 1.65; }
.page_hero_lead > :first-child { margin-top: 0; }
.page_hero_lead > :last-child { margin-bottom: 0; }
.page_hero_action { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 100%; min-height: 48px; margin-top: 28px; padding: 13px 20px; border: 1px solid var(--primary-dark); border-radius: var(--radius-sm); color: var(--white); background: var(--primary-dark); font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.page_hero_action:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.page_hero_action span { font-size: 22px; line-height: 1; }
.page_hero_aside { min-width: 0; width: 100%; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.page_hero_art { position: relative; display: block; min-width: 0; width: 100%; height: 250px; overflow: hidden; }
.page_hero_art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.page_hero_related { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding: 16px 0 0; margin-top: 16px; border-top: 1px solid var(--border); color: var(--primary-dark); font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.page_hero_related:hover { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.page_hero_related > :last-child { font-size: 24px; }
.page_hero--scene { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
.page_hero--scene .page_hero_art { height: clamp(260px,23vw,350px); border-radius: var(--radius-md); background: var(--surface-subtle); }
.page_hero--scene .page_hero_art img { object-fit: cover; }
.page_hero--scene h1 { max-width: 22ch; }
.page_hero--compact { padding-block: 24px 30px; grid-template-columns: minmax(0,1fr) 180px; }
.page_hero--compact h1 { max-width: 30ch; font-size: clamp(32px,3vw,44px); }
.page_hero--compact .page_hero_art { height: 150px; }
.page_hero--compact .page_hero_eyebrow { margin-bottom: 16px; }
.page_hero--compact .page_hero_lead { margin-top: 16px; }
.page_hero--article { grid-template-columns: minmax(0,1fr); padding-block: 38px 44px; }
.page_hero--article h1 { max-width: 36ch; font-size: clamp(34px,3.6vw,52px); }
.page_hero--article .page_hero_lead { font-size: 14px; }
.page_hero--article .page_hero_action { background: var(--white); color: var(--primary-dark); border-color: var(--border-strong); margin-top: 20px; }
.page_hero--article .page_hero_action:hover { background: var(--primary-soft); }
.page_hero--document { grid-template-columns: minmax(0,1fr) minmax(220px,.32fr); }
.page_hero--document h1 { max-width: 30ch; font-size: clamp(32px,3.2vw,48px); }
.page_hero_note { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0 24px 28px; border-left: 1px solid var(--border); color: var(--black); font-size: 14px; line-height: 1.6; min-width: 0; }
.page_hero_note img { object-fit: contain; }
.page_hero_note p { color: var(--secondary); margin: 0; }
.page_hero_note a { color: var(--primary-dark); text-decoration: none; }
.page_hero_note a:hover { text-decoration: underline; }
#main-content:has(> .page_hero) > .breadcrumbs { background: var(--white); }
@media (max-width:1000px) and (min-width:701px) {
  .page_hero { column-gap: 28px; grid-template-columns: minmax(0,1fr) minmax(220px,.65fr); }
  .page_hero--scene .page_hero_art { height: 300px; }
  .page_hero--compact { grid-template-columns: minmax(0,1fr) 140px; }
  .page_hero--article { grid-template-columns: minmax(0,1fr); }
}
/* Data and service notes remain available in a compact band below the hero. */
.hero_context { display: grid; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); background: transparent; min-width: 0; }
.hero_context:not(:has(*)) { display: none; }
.hero_context > dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; border: 0; background: none; border-radius: 0; }
.hero_context > dl > div { display: block; padding: 0; margin: 0; min-width: 0; border: 0; }
.hero_context dt { color: var(--primary-dark); font-size: 23px; font-weight: 600; line-height: 1.35; }
.hero_context dd { margin: 6px 0 0; color: var(--secondary); font-size: 13px; line-height: 1.5; }
.hero_context .contact_quick_facts dt { font-size: 12px; }
.hero_context .contact_quick_facts dd { font-size: 16px; }
.hero_context .admission_help { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 24px; padding: 0; border: 0; background: transparent; }
.hero_context .admission_help > a:first-of-type { font-size: 22px; }
.hero_context .certificate_types { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; padding: 0; margin: 0; }
.hero_context .certificate_types li { min-height: 0; padding: 12px; font-size: 13px; }
.page_hero + :is(.general_page, .editorial_page, .education_catalog_page, .vacancies_page, .news_detail_page, .ann_page, .legal_page) { padding-top: 28px; }
.editorial_detail_intro:has(> .editorial_detail_copy:only-child) { grid-template-columns: 1fr; }
.hero_document_version .legal_version { margin-top: 0; }
.schedule_hero_context { margin: 0 var(--page-gutter); padding: 18px 0; color: var(--black); }
.schedule_hero_context .mpti_schedule_shell { padding: 0; }
.schedule_hero_status { display: block; }
.schedule_hero_status > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: transparent; padding: 0; border: 0; min-width: 0; }
.schedule_hero_status :is(strong,p,small,span) { color: var(--secondary); margin: 0; font-size: 13px; line-height: 1.5; }
.schedule_hero_status strong { color: var(--black); font-weight: 600; font-size: 16px; }

/* Home returns to two independent light components. */
.home_hero.home_hero--renewed { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: stretch; gap: 36px; min-height: 0; margin: 0; padding: 36px var(--page-gutter); background: var(--white); border: 0; border-radius: 0; }
.home_hero--renewed .home_hero_copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: 24px 20px 24px 0; }
.home_hero--renewed .home_eyebrow { margin: 0 0 22px; color: var(--primary-dark); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.home_hero--renewed h1 { max-width: 23ch; margin: 0; color: var(--black); font-size: clamp(36px,3.65vw,54px); line-height: 1.11; font-weight: 600; letter-spacing: -.035em; text-wrap: pretty; }
.home_hero--renewed .home_hero_lead { max-width: 56ch; margin: 24px 0 0; color: var(--secondary); font-size: 16px; line-height: 1.65; }
.home_hero--renewed .home_actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.home_hero--renewed .home_button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 48px; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.5; font-weight: 600; flex: 0 1 auto; }
.home_hero--renewed .home_button--primary { min-width: 0; background: var(--primary-dark); color: var(--white); border: 1px solid var(--primary-dark); }
.home_hero--renewed .home_button--primary:hover { background: var(--black); border-color: var(--black); }
.home_hero--renewed .home_button--secondary { background: var(--white); color: var(--black); border: 1px solid var(--border-strong); }
.home_hero--renewed .home_button--secondary:hover { background: var(--primary-soft); color: var(--primary-dark); }
.home_hero--renewed .home_hero_visual { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(250px,1fr) auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-subtle); overflow: hidden; }
.home_hero_canvas { position: relative; min-height: 250px; background: var(--primary-soft); }
.home_hero_image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Uploaded banners can contain type; retain the complete composition. */
.home_hero_image--banner { object-fit: contain; }
.home_hero--renewed .home_admission { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 150px; padding: 26px 80px 26px 28px; border: 0; background: var(--surface-subtle); color: var(--black); }
.home_hero--renewed .home_admission:hover { background: var(--primary-soft); }
.home_hero--renewed .home_admission_label { color: var(--primary-dark); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.home_hero--renewed .home_admission strong { margin-top: 10px; color: var(--black); font-size: 27px; line-height: 1.2; font-weight: 600; }
.home_hero--renewed .home_admission_text { margin-top: 10px; color: var(--secondary); font-size: 14px; line-height: 1.5; }
.home_hero--renewed .home_admission_arrow { position: absolute; right: 24px; bottom: 28px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary-dark); color: var(--white); font-size: 24px; }
@media (max-width:1100px) {
  .home_hero.home_hero--renewed { gap: 24px; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
  .home_hero--renewed h1 { font-size: 40px; }
  .home_hero--renewed .home_hero_copy { padding-right: 0; }
  .hero_context .admission_help { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}
@media (max-width:700px) {
  #main-content .breadcrumbs { padding-block: 16px 6px; gap: 7px; font-size: 11px; }
  .page_hero { grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 22px 28px; }
  .page_hero_copy { padding: 0; }
  .page_hero h1 { max-width: 26ch; font-size: clamp(32px,6vw,40px); letter-spacing: -.035em; }
  .page_hero_eyebrow { margin-bottom: 16px; }
  .page_hero_lead { font-size: 16px; margin-top: 18px; }
  .page_hero_action { margin-top: 22px; }
  .page_hero_aside { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: center; column-gap: 24px; border-top: 1px solid var(--border); padding-top: 16px; }
  .page_hero_art { height: 100px; }
  .page_hero_related { border: 0; margin: 0; padding: 0; }
  .page_hero--scene .page_hero_aside { display: flex; align-items: stretch; border: 0; padding: 0; }
  .page_hero--scene .page_hero_art { height: clamp(180px,46vw,280px); }
  .page_hero--scene .page_hero_related { padding-top: 14px; min-height: 44px; }
  .page_hero--compact .page_hero_aside, .page_hero--service .page_hero_aside:not(:has(.page_hero_related)) { display: none; }
  .page_hero_note { border-left: 0; border-top: 1px solid var(--border); padding: 20px 0 0; display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 8px 16px; }
  .page_hero_note img { grid-row: 1 / 4; }
  .home_hero.home_hero--renewed { grid-template-columns: 1fr; gap: 26px; padding-block: 28px; }
  .home_hero--renewed .home_hero_copy { padding: 0; }
  .home_hero--renewed h1 { max-width: 25ch; font-size: clamp(31px,5.7vw,40px); }
  .home_hero--renewed .home_hero_lead { margin-top: 18px; font-size: 15px; }
  .home_hero--renewed .home_actions { margin-top: 24px; }
  .home_hero--renewed .home_hero_visual { grid-template-rows: 240px auto; }
  .home_hero_canvas { min-height: 0; }
  .home_hero--renewed .home_hero_visual:has(.home_hero_image--banner) { grid-template-rows: auto auto; }
  .home_hero_image--banner { position: static; height: auto; }
  .home_hero--renewed .home_admission { padding: 22px 76px 22px 22px; min-height: 146px; }
  .home_hero--renewed .home_admission strong { font-size: 25px; }
  .hero_context > dl { gap: 16px; }
  .hero_context dt { font-size: 20px; }
  .hero_context .contact_quick_facts { grid-template-columns: 1fr 1fr; }
  .hero_context .contact_quick_facts > div:last-child { grid-column: 1/-1; }
  .hero_context .certificate_types { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
  .page_hero h1 { font-size: 32px; }
  .home_hero--renewed .home_actions { gap: 10px; width: 100%; }
  .home_hero--renewed .home_button { padding-inline: 14px; font-size: 12px; gap: 14px; }
  .hero_context > dl { grid-template-columns: 1fr; gap: 12px; }
  .hero_context > dl > div { display: flex; align-items: baseline; gap: 14px; }
  .hero_context dd { margin: 0; }
  .hero_context .contact_quick_facts { grid-template-columns: 1fr; }
  .hero_context .contact_quick_facts > div { display: block; }
  .hero_context .admission_help { grid-template-columns: 1fr; }
  .hero_context .certificate_types { grid-template-columns: 1fr; gap: 0; }
  .hero_context .certificate_types li { padding-block: 14px; font-size: 14px; font-weight: 500; }
}
html[data-a11y="on"][data-a11y-images="off"] .page_hero_art { display: none; }
.hero_document_version { grid-column: 1 / -1; }
.hero_context .certificate_types li { padding-left: 40px; }
.schedule_hero_status a { color: var(--primary-dark); border-color: var(--border-strong); }
#main-content .breadcrumbs { flex-wrap: wrap; white-space: normal; overflow: visible; }
#main-content .breadcrumbs :is(a,span) { white-space: normal; }
.mpti_schedule_app_page :is(.mpti_schedule_push_guide_body p, .mpti_schedule_push_guide_body li, .mpti_schedule_push_recovery_steps p, .mpti_schedule_push_test_help p) { color: var(--white); }
@media (min-width:1600px) {
  .home_hero.home_hero--renewed { padding-inline: max(var(--page-gutter), calc((100vw - 1440px) / 2)); }
}
