:root {
  --red: #f21c3d;
  --red-dark: #df1231;
  --ink: #242326;
  --muted: #76757b;
  --line: #e7e5e6;
  --soft: #fff4f5;
  --page: 1440px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; font-size: 14px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.page-width { width: min(var(--page), calc(100% - 48px)); margin-inline: auto; }
.topbar { height: 36px; background: var(--red); color: #fff; font-size: 12px; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.top-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; letter-spacing: .03em; }
.top-phone-icon { display: inline-flex; width: 14px; height: 14px; color: #fff; }
.top-phone-icon svg { width: 100%; height: 100%; fill: #fff; }
.utility-nav { display: flex; align-items: center; gap: 28px; height: 100%; }
.utility-nav a { opacity: .96; transition: opacity .2s ease; }
.utility-nav a:hover { opacity: .72; }
.site-header { height: 88px; background: #fff; position: relative; z-index: 5; box-shadow: 0 2px 10px #24232608; }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 260px; }
.brand img { height: 50px; width: 50px; object-fit: contain; }
.brand span { display: grid; gap: 2px; }
.brand strong { color: var(--red); font-size: 19px; line-height: 1.15; letter-spacing: -.04em; }
.brand small { color: #76747b; font-size: 12px; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 14px; font-weight: 700; }
.main-nav > a:not(.button) { position: relative; padding-block: 10px; transition: color .18s ease; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 2px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: left center; transition: transform .2s ease; }
.main-nav > a:not(.button):hover, .main-nav > a:not(.button):focus-visible { color: var(--red); }
.main-nav > a:not(.button):hover::after, .main-nav > a:not(.button):focus-visible::after { transform: scaleX(1); }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-size: 13px; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-small { min-height: 37px; border-radius: 7px; padding: 0 19px; font-size: 12px; }
.menu-toggle { display: none; }

.hero { background: var(--soft); }
.hero-inner { min-height: 420px; display: grid; grid-template-columns: 1fr .83fr; gap: clamp(48px, 5vw, 82px); align-items: center; padding-block: 44px; }
.hero-copy { padding-left: 12px; }
.eyebrow { margin: 0 0 10px; color: #a16577; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-eyebrow { display: none; }
.hero h1 { margin: 0; font-size: clamp(48px, 4.2vw, 72px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.hero-description { max-width: 540px; margin: 14px 0 0; color: #625f64; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
.hero-actions .button { min-height: 46px; padding-inline: 23px; font-size: 15px; }
.text-link { color: #555158; font-size: 14px; font-weight: 700; }
.hero-visual { height: clamp(280px, 23vw, 350px); position: relative; }
.hero-visual > img { width: 100%; height: 100%; object-fit: cover; border: 4px solid var(--red); border-radius: 14px; }
.hero-stamp { position: absolute; right: -15px; bottom: -13px; width: 104px; height: 104px; display: grid; place-content: center; text-align: center; background: #fff; border: 1px solid #f1d4d8; border-radius: 50%; box-shadow: 0 8px 25px #301b2014; }
.hero-stamp b { color: var(--red); font-size: 25px; line-height: 1; }
.hero-stamp small { margin-top: 4px; color: #625f64; font-size: 9px; line-height: 1.25; }

.recognition { max-width: 1280px; padding-block: 0 0; }
.recognition img { width: 100%; height: auto; }
.section-pad { padding-block: 58px; }
.intro { position: relative; overflow: hidden; background: #fff; }
.intro::before { position: absolute; inset: 0; content: ""; opacity: .47; pointer-events: none; background: repeating-linear-gradient(138deg, transparent 0 17px, #f8ebed 18px, transparent 19px 26px); mask-image: linear-gradient(90deg, #000 0%, transparent 50%, #000 100%); }
.intro-inner { position: relative; display: grid; grid-template-columns: .86fr 1.14fr; gap: 82px; align-items: center; max-width: 1260px; }
.intro-photo { height: 275px; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; border: 4px solid var(--red); border-radius: 13px; }
.intro-copy h2, .seminar h2 { margin: 0; font-size: clamp(36px, 3.2vw, 48px); line-height: 1.13; letter-spacing: -.045em; }
.intro-copy > p:not(.eyebrow), .seminar-inner > div > p:not(.eyebrow) { margin: 13px 0 0; color: #666269; font-size: clamp(14px, 1vw, 16px); line-height: 1.6; }
.stats { display: flex; gap: clamp(23px, 5vw, 74px); margin-top: 30px; }
.stats > div { display: grid; gap: 3px; }
.stats strong { font-size: clamp(23px, 1.8vw, 30px); line-height: 1; letter-spacing: -.05em; }
.stats span { color: #6e6b71; font-size: clamp(11px, .82vw, 13px); }

.popular { padding: 48px 0 52px; background: var(--red); color: #fff; overflow: hidden; }
.popular-inner { max-width: 1260px; }
.section-heading { text-align: center; }
.section-heading .eyebrow { display: none; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 2.7vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading p:not(.eyebrow) { max-width: 700px; margin: 7px auto 0; font-size: clamp(14px, .98vw, 16px); line-height: 1.5; color: #fff8f8; }
.popular .section-heading h2 { color: #fff; }
.popular-tabs-wrap { display: flex; align-items: center; gap: 8px; width: 100%; margin: 24px auto 20px; }
.popular-tabs { display: flex; flex: 1 1 auto; justify-content: flex-start; align-items: center; gap: 10px; min-width: 0; max-width: 100%; margin: 0; padding: 8px 4px 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #d7d2d6 transparent; cursor: grab; }
.popular-tabs.is-dragging { cursor: grabbing; user-select: none; scroll-behavior: auto; }
.popular-tabs-arrow { flex: 0 0 38px; width: 38px; height: 38px; border: 1px solid #e7e3e6; border-radius: 50%; background: #fff; color: var(--ink); font-size: 25px; line-height: 1; cursor: pointer; box-shadow: 0 3px 12px #211b2410; }
.popular-tabs-arrow:hover { border-color: var(--red); color: var(--red); }
.popular-tabs::-webkit-scrollbar { height: 5px; }
.popular-tabs::-webkit-scrollbar-thumb { border-radius: 10px; background: #d7d2d6; }
.popular-tabs button { flex: 0 0 auto; min-height: 42px; padding: 0 20px; border: 1px solid #e7e3e6; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 12px #211b2410; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.popular-tabs button:hover { border-color: var(--red); color: var(--red); transform: translateY(-1px); }
.popular-tabs button.active { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--red) 24%, transparent); }
.popular-carousel { position: relative; width: 100vw; margin-left: calc((100% - 100vw) / 2); padding-inline: 10px; }
.popular-track { display: grid; grid-auto-columns: calc((100% - 66px) / 4); grid-auto-flow: column; gap: 22px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; cursor: grab; touch-action: pan-y; }
.popular-track::-webkit-scrollbar { display: none; }
.popular-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.popular-track.is-dragging * { user-select: none; }
.course-card { min-width: 0; overflow: hidden; border: 1px solid #e8e5e5; border-radius: 11px; background: #fff; color: var(--ink); box-shadow: 0 5px 18px #25212808; }
.popular-card { scroll-snap-align: start; }
.popular-card > img { width: 100%; height: 195px; object-fit: cover; }
.course-card-body { padding: 14px 16px 13px; }
.course-card h3 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 800; }
.course-meta { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; color: #77737a; font-size: 11px; white-space: nowrap; }
.rating { color: #f1a829; font-weight: 800; }
.course-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 9px; border-top: 1px solid #efedef; font-size: 13px; font-weight: 800; }
.course-foot a { padding: 6px 10px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; }
.course-foot a:hover { background: var(--red-dark); }
.carousel-arrow { position: absolute; top: 50%; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; padding: 0 0 5px; border: 2px solid #fff; border-radius: 50%; background: #fff; color: var(--red); box-shadow: 0 8px 22px #27131a42; font-size: 32px; font-weight: 800; line-height: 1; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease, background .18s ease, color .18s ease, scale .18s ease; }
.popular-carousel:hover .carousel-arrow,
.popular-carousel:focus-within .carousel-arrow { opacity: 1; pointer-events: auto; }
.carousel-arrow:hover { background: var(--red-dark); color: #fff; scale: 1.08; }
.carousel-arrow.prev { left: 18px; transform: translate(-8px, -50%); }
.carousel-arrow.next { right: 18px; transform: translate(8px, -50%); }
.popular-carousel:hover .carousel-arrow.prev,
.popular-carousel:focus-within .carousel-arrow.prev { transform: translate(0, -50%); }
.popular-carousel:hover .carousel-arrow.next,
.popular-carousel:focus-within .carousel-arrow.next { transform: translate(0, -50%); }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.carousel-dots i { width: 4px; height: 4px; border-radius: 50%; background: #fff7; }
.carousel-dots i:first-child { width: 14px; border-radius: 8px; background: #fff; }
.popular-card[hidden] { display: none; }
.popular { background: #fff; color: var(--ink); }
.popular .section-heading-light h2, .popular .section-heading-light p:not(.eyebrow) { color: var(--ink); }
.popular .section-heading-light .eyebrow { color: var(--red); }
.popular .popular-tabs button { color: var(--ink); border-color: #e7e3e6; }
.popular .popular-tabs button.active { background: var(--red); color: #fff; border-color: var(--red); }
.popular .carousel-arrow { background: #fff; color: var(--ink); border: 1px solid #e7e3e6; }
.popular .carousel-dots i { background: #d7d2d6; }
.popular .carousel-dots i:first-child { background: var(--red); }

.catalog { padding: 42px 24px 0; background: #fff; }
.catalog-panel { max-width: 1320px; margin-inline: auto; padding: 0; border-radius: 0; background: transparent; }
.course-group + .course-group { margin-top: 30px; }
.group-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.group-heading h2 { margin: 0; font-size: clamp(23px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -.04em; }
.group-heading > a { color: #86818a; font-size: 10px; font-weight: 700; }
.group-heading > a span { margin-left: 3px; color: var(--red); font-size: 15px; }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.course-grid.course-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); grid-template-columns: none; gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d4d0d3 transparent; padding: 2px 2px 12px; }
.course-row > .course-card { min-width: 0; scroll-snap-align: start; }
.course-grid.course-row-free { grid-auto-columns: calc((100% - 48px) / 4); }
.group-controls { display: flex; align-items: center; gap: 8px; }
.group-controls button { width: 34px; height: 34px; border: 1px solid #e7e3e6; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.group-controls button:hover { border-color: var(--red); color: var(--red); }
.course-grid .course-card > img { width: 100%; aspect-ratio: 1.34 / 1; object-fit: cover; }
.course-level { margin: 0 0 5px; color: #9c969d; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.course-grid .course-card-body { padding: 12px 14px 13px; }
.course-grid .course-card h3 { min-height: 22px; font-size: 14px; }
.course-grid .course-meta { margin-top: 8px; font-size: 10px; }
.course-grid .course-foot { margin-top: 9px; padding-top: 8px; font-size: 12px; }
.course-grid .course-foot a { min-height: 36px; padding: 8px 14px; border-radius: 6px; font-size: 11px; }
.all-courses { display: flex; width: fit-content; min-height: 30px; margin: 18px auto 0; padding-inline: 23px; border-radius: 20px; font-size: 10px; }

.success { max-width: 1200px; margin: 32px auto 0; padding: 52px 42px 48px; border-radius: 46px; background: #e1e1e1; text-align: center; }
.success-heading .eyebrow { display: none; }
.success h2 { margin: 0; font-size: clamp(32px, 2.4vw, 40px); line-height: 1.2; letter-spacing: -.05em; }
.success-heading > p:last-child { max-width: 850px; margin: 10px auto 0; color: #656269; font-size: 14px; line-height: 1.55; }
.story-row { display: flex; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 72px); margin-top: 34px; }
.story-card { width: 150px; height: 136px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 14px; background: #fff; box-shadow: 0 1px 4px #4b474b30; }
.play-icon { width: 43px; height: 43px; display: grid; place-items: center; padding-left: 3px; border: 1px solid #a5a2a4; border-radius: 50%; color: #929095; font-size: 22px; }
.story-arrow { border: 0; background: transparent; color: #3b383e; font-size: 38px; font-weight: 300; cursor: pointer; }

.seminar { padding-block: 42px 55px; background: #fff; }
.seminar-inner { max-width: 1180px; display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.seminar h2 { font-size: clamp(32px, 2.6vw, 40px); }
.seminar .button { min-height: 42px; margin-top: 20px; padding-inline: 19px; border-radius: 7px; font-size: 13px; }
.seminar-inner > img { width: 100%; height: 245px; object-fit: cover; border: 4px solid var(--red); border-radius: 14px; }
.admission-wrap { position: relative; z-index: 1; margin: 0 auto -28px; padding: 0 24px; }
.admission-wrap { z-index: 5; }
.admission-card { width: min(800px, 100%); min-height: 120px; display: grid; align-content: center; justify-items: center; margin-inline: auto; padding: 18px 28px; border-radius: 26px; background: var(--red); color: #fff; text-align: center; }
.admission-card h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.admission-card p { margin: 4px 0 11px; font-size: 13px; }
.admission-card h2,
.admission-card p { color: #fff; }
.admission-card > div { display: flex; gap: 8px; }
.admission-card > div a { padding: 5px 12px; border: 1px solid #fff; border-radius: 5px; background: #fff; color: var(--red); font-size: 9px; font-weight: 800; }
.admission-card > div a + a { background: transparent; color: #fff; }

footer { padding-top: 54px; background: #231f20; color: #fff; }
.footer-wrapper.footer-layout-default {
  --theme-color: var(--red);
  --theme-color2: var(--red);
  position: relative;
  z-index: 2;
  background-color: #0f1b31;
  color: #fff;
}
.footer-wrapper.footer-layout-default .footer-apply > .th-btn { background-color: var(--red); color: #fff; }
.footer-wrapper.footer-layout-default .footer-apply > .th-btn:hover { background-color: var(--red-dark); }
.footer-wrapper.footer-layout-default .copyright-wrap { background-color: #283752; }
.footer-wrapper.footer-layout-default .th-social a { background-color: #1e2c46; border-color: #1e2c46; color: #b3c1d3; }
.footer-wrapper.footer-layout-default .th-social a:hover { background-color: var(--red); border-color: var(--red); color: #fff; }
.footer-main { max-width: 1200px; display: grid; grid-template-columns: 1.3fr 1fr .72fr; gap: 70px; padding-bottom: 36px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-about > p { max-width: 440px; margin: 14px 0 0; color: #d1cccd; font-size: 12px; line-height: 1.7; }
.footer-column h2 { margin: 8px 0 13px; font-size: 17px; }
.footer-column > a { display: block; margin-top: 9px; color: #ddd8da; font-size: 12px; line-height: 1.55; }
.footer-column > a span { margin-right: 6px; color: var(--red); }
.footer-column > a.contact-item { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.footer-column > a.contact-item span { margin: 0; color: inherit; }
.contact-icon { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.contact-icon svg { display: block; width: 12px; height: 12px; fill: currentColor; }
.footer-column > a:hover { color: #fff; }
.footer-logos { min-height: 92px; display: flex; justify-content: center; align-items: center; gap: 19px; padding: 14px 24px; background: #fff; }
.footer-logos img { width: 62px; height: 62px; object-fit: contain; }
.footer-bottom { padding: 8px 20px; background: #f7f5f5; color: #817d81; font-size: 9px; text-align: center; }

@media (min-width: 1200px) {
  .hero-inner { min-height: 420px; }
  .hero-visual { height: clamp(300px, 22vw, 355px); }
  .hero-stamp { width: 118px; height: 118px; }
  .hero-stamp b { font-size: 29px; }
  .hero-stamp small { font-size: 10px; }
}

@media (max-width: 800px) {
  .page-width { width: min(100% - 36px, 650px); }
  .site-header { height: 68px; }
  .brand { min-width: unset; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 14px; }
  .menu-toggle { width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 22px; height: 2px; display: block; border-radius: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 10px 24px 17px; border-top: 1px solid #f2eeee; background: #fff; box-shadow: 0 9px 15px #27212814; }
  .main-nav.open { display: grid; }
  .main-nav > a { width: fit-content; padding: 12px 0; }
  .main-nav > .button { width: fit-content; margin-top: 8px; padding: 0 18px; }
  .hero-inner { min-height: initial; grid-template-columns: 1fr .9fr; gap: 22px; padding-block: 32px; }
  .hero h1 { font-size: clamp(29px, 5vw, 39px); }
  .hero-description { font-size: 12px; }
  .hero-visual { height: 185px; }
  .hero-stamp { right: -8px; width: 80px; height: 80px; }
  .hero-stamp b { font-size: 20px; }
  .hero-stamp small { font-size: 8px; }
  .recognition { width: min(100% - 24px, 700px); }
  .intro-inner { gap: 30px; }
  .intro-photo { height: 190px; }
  .intro-copy h2 { font-size: 26px; }
  .stats { gap: 22px; }
  .stats strong { font-size: 18px; }
  .stats span { font-size: 9px; }
  .popular-carousel { padding-inline: 8px; }
  .popular-track { grid-auto-columns: calc((100% - 18px) / 2); gap: 18px; }
  .catalog-panel { padding: 20px; }
  .course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .course-grid.course-row { grid-auto-columns: calc((100% - 32px) / 3); grid-template-columns: none; }
  .course-grid.course-row-free { grid-auto-columns: calc((100% - 32px) / 3); }
  .course-grid .course-card-body { padding-inline: 8px; }
  .course-grid .course-card h3 { font-size: 10px; }
  .success { margin-inline: 0; border-radius: 32px; }
  .footer-main { gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 13px; }
  .page-width { width: calc(100% - 32px); }
  .topbar { height: 30px; font-size: 9px; }
  .utility-nav { gap: 12px; }
  .utility-nav a { font-size: 9px; }
  .utility-nav a:nth-child(2), .utility-nav a:nth-child(4) { display: none; }
  .site-header { height: 62px; }
  .brand img { height: 34px; width: 34px; }
  .brand strong { font-size: 12px; }
  .brand small { font-size: 8px; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; padding-block: 26px 28px; }
  .hero-copy { padding-left: 0; }
  .hero-eyebrow { display: block; }
  .hero h1 { font-size: 36px; }
  .hero-description { max-width: 350px; font-size: 12px; }
  .hero-actions { margin-top: 14px; }
  .hero-actions .button { min-height: 36px; padding-inline: 14px; font-size: 11px; }
  .text-link { font-size: 10px; }
  .hero-visual { height: 205px; margin-right: 8px; }
  .recognition { width: 100%; padding-block: 4px; overflow: hidden; }
  .recognition img { width: 142%; max-width: none; margin-left: -21%; }
  .section-pad { padding-block: 30px; }
  .intro-inner { grid-template-columns: 1fr; gap: 20px; }
  .intro-photo { height: 205px; }
  .intro-copy h2 { font-size: 27px; }
  .intro-copy > p:not(.eyebrow) { font-size: 12px; }
  .stats { justify-content: space-between; gap: 8px; margin-top: 18px; }
  .stats strong { font-size: 20px; }
  .stats span { font-size: 9px; }
  .popular { padding-block: 28px; }
  .section-heading h2 { font-size: 26px; }
  .section-heading p:not(.eyebrow) { font-size: 11px; }
  .popular-tabs-wrap { gap: 5px; margin-block: 17px 14px; }
  .popular-tabs { justify-content: flex-start; overflow-x: auto; margin: 0; padding: 6px 2px 10px; scrollbar-width: none; }
  .popular-tabs-arrow { flex-basis: 30px; width: 30px; height: 30px; font-size: 20px; }
  .popular-tabs button { min-height: 36px; padding-inline: 14px; font-size: 10px; }
  .popular-carousel { padding-inline: 6px; }
  .popular-track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; }
  .popular-card > img { height: 174px; }
  .carousel-arrow { width: 38px; height: 38px; padding-bottom: 4px; font-size: 25px; opacity: .92; visibility: visible; pointer-events: auto; }
  .carousel-arrow.prev { transform: translate(0, -50%); }
  .carousel-arrow.next { transform: translate(0, -50%); }
  .catalog { padding: 20px 10px 0; }
  .catalog-panel { padding: 17px 12px; border-radius: 23px; }
  .course-group + .course-group { margin-top: 19px; }
  .group-heading h2 { font-size: 17px; }
  .group-heading { margin-bottom: 9px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .course-grid.course-row { grid-auto-columns: 76%; grid-template-columns: none; gap: 12px; overflow-x: auto; }
  .course-grid.course-row-free { grid-auto-columns: 76%; }
  .course-row .course-card:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .group-controls { gap: 5px; }
  .group-controls button { width: 29px; height: 29px; font-size: 19px; }
  .course-grid .course-card > img { aspect-ratio: 1.15 / 1; }
  .course-grid .course-card h3 { min-height: 27px; font-size: 10px; }
  .course-grid .course-meta { font-size: 7px; }
  .course-grid .course-foot { font-size: 9px; }
  .course-grid .course-foot a { min-height: 32px; padding: 7px 9px; font-size: 9px; }
  .success { margin-top: 18px; padding: 29px 12px; border-radius: 26px; }
  .success h2 { font-size: 25px; }
  .success-heading > p:last-child { font-size: 10px; }
  .desktop-only { display: none; }
  .story-row { gap: 9px; margin-top: 20px; }
  .story-card { width: 27%; height: 92px; border-radius: 10px; }
  .play-icon { width: 34px; height: 34px; font-size: 17px; }
  .story-arrow { font-size: 30px; }
  .seminar-inner { grid-template-columns: 1fr; gap: 18px; }
  .seminar h2 { font-size: 24px; }
  .seminar-inner > div > p:not(.eyebrow) { font-size: 11px; }
  .seminar-inner > img { height: 190px; }
  .admission-card { min-height: 100px; padding-inline: 14px; border-radius: 18px; }
  .admission-card h2 { font-size: 18px; }
  .admission-card p { font-size: 9px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 18px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-about > p { max-width: 100%; }
  .footer-column h2 { font-size: 13px; }
  .footer-column > a { font-size: 9px; }
  .footer-logos { gap: 9px; min-height: 72px; padding-inline: 14px; }
  .footer-logos img { width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

html,
body { width: 100%; max-width: 100%; overflow-x: clip; }

html {
  scrollbar-color: var(--red) #fff0f2;
  scrollbar-width: thin;
}
html::-webkit-scrollbar { width: 9px; }
html::-webkit-scrollbar-track { background: #fff0f2; }
html::-webkit-scrollbar-thumb { border: 2px solid #fff0f2; border-radius: 999px; background: var(--red); }
html::-webkit-scrollbar-thumb:hover { background: var(--red-dark); }

.header-layout1 .header-top,
.header-layout1 .header-top::after { background-color: var(--red); }
.header-layout1 .menu-area { --theme-color: var(--red); }
.header-layout1 .th-menu-toggle { background-color: var(--red); }
.header-layout1 .th-menu-toggle:hover,
.header-layout1 .th-menu-toggle:focus-visible { background-color: var(--red-dark); }
.header-layout1 .header-button .th-btn {
  background-color: var(--red);
  box-shadow: 0 6px 16px rgb(242 28 61 / 24%);
}
.header-layout1 .header-button .th-btn::before { background-color: var(--ink); }
.header-layout1 .mobile-menu-close,
.header-layout1 .mobile-menu-auth-footer { display: none; }

@media (max-width: 991.98px) {
  body.mobile-nav-open { overflow: hidden; }
  body > .home-mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex !important;
    flex-direction: column;
    width: min(340px, 88vw);
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow: hidden;
    padding: 18px 16px 16px;
    margin: 0;
    border: 0;
    border-right: 3px solid var(--red);
    border-radius: 0 16px 16px 0;
    background: #fff;
    box-shadow: 0 18px 48px rgb(15 27 49 / 18%), 0 0 0 100vmax rgb(15 27 49 / 42%);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-105%);
    transition: transform .32s cubic-bezier(.22,.75,.25,1), visibility .32s ease;
  }
  body > .home-mobile-drawer.mobile-menu-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }
  body > .home-mobile-drawer .mobile-menu-close {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    margin: 0 0 10px;
    padding: 0 4px 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    background: transparent;
    font-size: 15px;
    font-weight: 750;
    text-align: left;
  }
  body > .home-mobile-drawer .mobile-menu-close span:last-child {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--red);
    font-size: 23px;
    line-height: 1;
  }
  body > .home-mobile-drawer.mobile-menu-open > ul {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0;
  }
  body > .home-mobile-drawer.mobile-menu-open > ul > li {
    display: block;
    margin: 0;
    border-bottom: 1px solid var(--line);
  }
  body > .home-mobile-drawer.mobile-menu-open > ul > li > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 10px 2px;
    color: var(--ink);
  }
  body > .home-mobile-drawer.mobile-menu-open > ul > li > a:hover,
  body > .home-mobile-drawer.mobile-menu-open > ul > li > a:focus-visible {
    color: var(--red);
  }
  body > .home-mobile-drawer.mobile-menu-open .sub-menu { display: none !important; }
  body > .home-mobile-drawer .mobile-menu-auth-footer {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }
  body > .home-mobile-drawer .mobile-menu-auth-footer a {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--red);
    border-radius: 7px;
    color: var(--red-dark);
    background: #fff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
  }
  body > .home-mobile-drawer .mobile-menu-auth-footer a:last-child { color: #fff; background: var(--red); }
  body > .home-mobile-drawer .mobile-menu-auth-footer a:hover,
  body > .home-mobile-drawer .mobile-menu-auth-footer a:focus-visible { border-color: var(--ink); color: #fff; background: var(--ink); }
}

/* Diagonal center-out wipe used by the original Contact Us button. */
.button,
.course-foot a,
.enr-submit,
.enr-sticky button,
.enr-btn-verify,
.admission-card a {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  transition: color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.button::before,
.course-foot a::before,
.enr-submit::before,
.enr-sticky button::before,
.enr-btn-verify::before,
.admission-card a::before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 600%;
  height: 0;
  background: var(--ink, #211f21);
  content: "";
  transform: translate(-50%, -50%) rotate(60deg);
  transition: height .7s ease;
  pointer-events: none;
}
.button:hover::before,
.button:focus-visible::before,
.course-foot a:hover::before,
.course-foot a:focus-visible::before,
.enr-submit:hover::before,
.enr-submit:focus-visible::before,
.enr-sticky button:hover::before,
.enr-sticky button:focus-visible::before,
.enr-btn-verify:hover::before,
.enr-btn-verify:focus-visible::before,
.admission-card a:hover::before,
.admission-card a:focus-visible::before { height: 560%; }
.button:hover,
.button:focus-visible,
.course-foot a:hover,
.course-foot a:focus-visible,
.enr-submit:hover,
.enr-submit:focus-visible,
.enr-sticky button:hover,
.enr-sticky button:focus-visible,
.enr-btn-verify:hover,
.enr-btn-verify:focus-visible,
.admission-card a:hover,
.admission-card a:focus-visible { color: #fff; }

