:root {
  --red: #e6242f;
  --red-dark: #bd1720;
  --orange: #ff9f1c;
  --ink: #172033;
  --ink-2: #25314a;
  --text: #202838;
  --muted: #687287;
  --line: #dfe4ec;
  --soft: #f4f7fb;
  --blue-soft: #eaf1fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.09);
}

/* === SEO infrastructure: 404 and missing article states === */
.error-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fb 0%, #fff 55%, #fff4f4 100%);
}

.simple-top-nav {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.simple-top-nav .brand img {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.error-page {
  display: grid;
  min-height: calc(100vh - 90px);
  place-items: center;
  padding: 90px 0;
}

.error-card,
.article-not-found {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(237, 28, 36, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10);
}

.error-card {
  max-width: 860px;
  padding: 70px;
}

.error-card::before,
.article-not-found::before {
  content: "";
  position: absolute;
  inset: auto 48px 0 auto;
  width: 180px;
  height: 180px;
  border: 34px solid rgba(237, 28, 36, 0.08);
  border-radius: 999px;
  transform: translate(24%, 38%);
}

.error-card h1,
.article-not-found h2 {
  position: relative;
  margin: 0;
  color: #111b2d;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 1.04;
}

.error-card > p:not(.section-kicker),
.article-not-found > p:not(.section-kicker) {
  position: relative;
  max-width: 620px;
  margin: 22px 0 0;
  color: #53627a;
  font-size: 17px;
  line-height: 1.9;
}

.article-not-found {
  padding: 42px;
}

@media (max-width: 720px) {
  .error-page {
    padding: 48px 0;
  }

  .error-card,
  .article-not-found {
    padding: 32px 22px;
    border-radius: 20px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tint {
  background: var(--soft);
}

.section-soft {
  background: #f8fafc;
}

.section-ink {
  color: #fff;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-light,
.btn-white {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn-outline:hover {
  color: #fff;
  background: var(--ink);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.resource-feature h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.3;
}

.section-heading > p:last-child,
.section-heading.split > p,
.section-heading.centered > p:last-child {
  color: var(--muted);
  line-height: 1.8;
}

.section-heading.centered {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 56px;
  align-items: end;
}

.section-heading.split > p {
  margin: 0;
}

.section-heading.light h2,
.section-heading.light > p:last-child {
  color: #fff;
}

.notice-bar {
  min-height: 40px;
  color: rgba(255, 255, 255, 0.88);
  background: var(--ink);
  font-size: 13px;
}

.notice-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  min-height: 40px;
  align-items: center;
  gap: 20px;
}

.notice-inner strong {
  text-align: center;
}

.notice-inner > div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.notice-cta {
  padding: 5px 12px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(223, 228, 236, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 160ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) auto auto;
  min-height: 76px;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 118px;
  height: 56px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  height: 76px;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  color: #30394a;
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav > a,
.nav-group > a,
.nav-group > button {
  position: relative;
  display: flex;
  height: 76px;
  align-items: center;
  white-space: nowrap;
}

.desktop-nav > a::after,
.nav-group > a::after,
.nav-group > button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-group:hover > a,
.nav-group:hover > button,
.major-nav-group.menu-open > button {
  color: var(--red);
}

.desktop-nav > a:hover::after,
.desktop-nav > a.active::after,
.nav-group:hover > a::after,
.nav-group:hover > button::after,
.major-nav-group.menu-open > button::after {
  transform: scaleX(1);
}

.nav-group {
  position: relative;
}

.nav-dropdown-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  top: 70px;
  left: 50%;
  display: grid;
  width: 430px;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .mega-menu,
.nav-group:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu > div {
  display: grid;
  gap: 6px;
}

.mega-menu strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.mega-menu a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.mega-menu .mega-more {
  color: var(--red);
}

.mega-menu a:hover {
  color: var(--red);
  background: #fff2f2;
}

.major-mega-menu {
  position: absolute;
  top: 70px;
  left: 50%;
  display: grid;
  width: 390px;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.major-nav-group:hover .major-mega-menu,
.major-nav-group:focus-within .major-mega-menu,
.major-nav-group.menu-open .major-mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.major-nav-group.menu-suppressed .major-mega-menu {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
}

.major-mega-menu > div {
  display: grid;
  gap: 6px;
}

.major-mega-menu strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.major-mega-menu a {
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.major-mega-menu a:hover {
  color: var(--red);
  background: #fff2f2;
}

.major-mega-menu .mega-more {
  color: var(--red);
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
}

.header-phone {
  display: flex;
  min-width: 166px;
  align-items: center;
  gap: 9px;
  color: var(--red);
  white-space: nowrap;
}

.header-phone-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 17px;
}

.header-phone > span:last-child {
  display: grid;
  gap: 1px;
}

.header-phone small {
  color: var(--muted);
  font-size: 10px;
}

.header-phone strong {
  font-size: 17px;
  letter-spacing: 0;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  width: min(360px, 88vw);
  align-content: start;
  gap: 0;
  padding: 86px 24px 24px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(23, 32, 51, 0.18);
  transform: translateX(110%);
  transition: transform 200ms ease;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: none;
  padding: 0;
  background: rgba(17, 24, 39, 0.52);
  border: 0;
}

.mobile-backdrop.open {
  display: block;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 30px;
  line-height: 1;
}

.mobile-panel.open {
  transform: translateX(0);
}

.mobile-panel > a:not(.btn) {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mobile-panel .btn {
  margin-top: 22px;
}

.hero {
  position: relative;
  height: clamp(440px, 31.25vw, 600px);
  overflow: hidden;
  background: var(--ink);
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide.active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > .hero-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide > img,
.hero-slide > .hero-picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.92);
  transform: scale(1.035);
  will-change: transform;
}

.hero-slide.active > img,
.hero-slide.active > .hero-picture > img {
  animation: hero-image-motion 7.2s cubic-bezier(0.2, 0.65, 0.3, 1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 22, 39, 0.9) 0%, rgba(13, 22, 39, 0.68) 42%, rgba(13, 22, 39, 0.14) 76%, rgba(13, 22, 39, 0.04) 100%);
}

.hero-shade::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%, rgba(5, 10, 20, 0.2));
  content: "";
}

@keyframes hero-image-motion {
  0% { transform: scale(1.035) translate3d(0, 0, 0); }
  100% { transform: scale(1.095) translate3d(-0.8%, -0.4%, 0); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 900;
}

.hero h1,
.hero h2 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: 54px;
  line-height: 1.18;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
}

.hero-content > p:not(.hero-kicker) {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-action-note {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 52px;
  height: 72px;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(16, 24, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  font-size: 48px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 160ms ease;
}

.hero-arrow:hover {
  background: var(--red);
}

.hero-arrow.prev {
  left: 28px;
}

.hero-arrow.next {
  right: 28px;
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 2px;
}

.hero-dots button.active {
  background: var(--red);
}

.mobile-hub {
  display: none;
}

.mobile-home-stream,
.mobile-call-float {
  display: none;
}

.mobile-header-nav {
  display: none;
}

.mobile-top-actions {
  display: none;
}

.mobile-module-head,
.mobile-course-tabs,
.mobile-news-tabs {
  display: none;
}

.proof-strip {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--red);
}

.proof-strip::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 48%, transparent 58% 100%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-60%);
}

.proof-strip.is-animated::before {
  animation: proof-light-sweep 1.35s 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  position: relative;
  display: grid;
  min-height: 104px;
  place-content: center;
  padding: 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  transition: background 280ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-grid > div:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.proof-strip.is-animated .proof-grid > div {
  animation: proof-cell-in 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.proof-strip.is-animated .proof-grid > div:nth-child(2) { animation-delay: 90ms; }
.proof-strip.is-animated .proof-grid > div:nth-child(3) { animation-delay: 180ms; }
.proof-strip.is-animated .proof-grid > div:nth-child(4) { animation-delay: 270ms; }

@keyframes proof-cell-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes proof-light-sweep {
  0% { opacity: 0; transform: translateX(-60%); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: translateX(65%); }
}

.proof-grid > div:last-child {
  border-right: 0;
}

.proof-grid strong {
  font-size: 27px;
}

.proof-grid span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.countdown-band {
  padding: 24px 0;
  background: var(--blue-soft);
  border-bottom: 1px solid #d9e2f0;
}

.countdown-inner {
  display: grid;
  grid-template-columns: 1.1fr auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.countdown-inner .section-kicker {
  margin-bottom: 7px;
}

.countdown-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
}

.countdown-number {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  color: var(--red);
}

.countdown-number strong {
  font-size: 48px;
  line-height: 1;
}

.countdown-number span {
  padding-bottom: 4px;
  font-weight: 800;
}

.countdown-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-line::before {
  position: absolute;
  top: 27px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: #d9dee8;
  content: "";
}

.process-line li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-line li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  background: var(--ink);
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d9dee8;
  font-size: 13px;
  font-weight: 900;
}

.process-line li:hover > span {
  background: var(--red);
}

.process-line time {
  display: block;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.process-line strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.process-line p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.course-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.course-card:hover {
  border-color: rgba(230, 36, 47, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.course-card.featured {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.course-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 12px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.course-index {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.course-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.course-card.featured h3 {
  color: #fff;
}

.course-fit {
  min-height: 48px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.course-card.featured .course-fit,
.course-card.featured li {
  color: rgba(255, 255, 255, 0.72);
}

.course-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 18px 0 0 18px;
  color: #49556b;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
}

.course-card.featured ul {
  border-color: rgba(255, 255, 255, 0.16);
}

.course-card > a {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
}

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

.trial-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trial-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 2.5;
  object-fit: cover;
}

.trial-grid article > div {
  padding: 22px;
}

.trial-grid span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.trial-grid h3 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.trial-grid p {
  min-height: 48px;
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.trial-grid a {
  color: var(--red);
  font-weight: 900;
}

.major-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.major-grid a {
  min-height: 170px;
  padding: 26px;
  background: var(--ink);
  transition: background 160ms ease;
}

.major-grid a:hover {
  background: #27344d;
}

.major-grid .major-more {
  background: var(--red);
}

.major-grid .major-more:hover {
  background: #c80f1c;
}

.major-grid .major-more span,
.major-grid .major-more p {
  color: rgba(255, 255, 255, 0.82);
}

.major-grid span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.major-grid h3 {
  margin: 26px 0 0;
  color: #fff;
  font-size: 21px;
}

.major-grid p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.resource-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 48px;
  align-items: stretch;
}

.resource-feature {
  padding: 42px;
  background: var(--blue-soft);
  border-left: 5px solid var(--red);
  border-radius: 8px;
}

.resource-feature h2 {
  font-size: 34px;
}

.resource-feature > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.resource-feature ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding-left: 20px;
  color: var(--ink-2);
}

.resource-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #eef1f5;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.12);
}

.resource-visual::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -38%;
  width: 26%;
  background: rgba(255, 255, 255, 0.26);
  content: "";
  filter: blur(10px);
  transform: rotate(16deg);
  animation: resource-shine 6.5s 1.2s ease-in-out infinite;
}

.resource-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: resource-image-drift 9s ease-in-out infinite alternate;
}

.resource-visual > span {
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.68);
  pointer-events: none;
}

.resource-visual:hover > img {
  animation-play-state: paused;
}

@keyframes resource-image-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes resource-shine {
  0%, 56% { left: -38%; opacity: 0; }
  66% { opacity: 1; }
  88%, 100% { left: 118%; opacity: 0; }
}

.news-panel {
  padding: 6px 0;
}

.news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.news-head h2,
.news-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
}

.news-head a {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.news-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.news-tabs span {
  position: relative;
  padding: 16px 0 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.news-tabs span.active {
  color: var(--red);
}

.news-tabs span.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
}

.news-list {
  display: grid;
}

.news-list a {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.news-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.news-list strong {
  color: #354056;
  font-size: 14px;
  font-weight: 650;
}

.news-list time {
  color: #98a0af;
  font-size: 12px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo::before {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 116px;
  height: 116px;
  background: var(--red);
  content: "";
}

.about-photo > img:first-child {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.92) contrast(1.04);
}

.about-photo .about-photo-logo {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  width: 156px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(5, 12, 24, 0.5));
}

.about-copy > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.9;
}

.about-honors {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.about-honors span {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.about-honors strong {
  color: var(--red);
}

.teacher-heading {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.teacher-carousel {
  position: relative;
  padding: 10px 58px 42px;
}

.teacher-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 220px));
  justify-content: center;
  gap: 24px;
}

.teacher-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-top: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(18, 28, 48, 0.09);
  animation: teacher-card-in 560ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.teacher-card[data-visible-offset="1"] { animation-delay: 70ms; }
.teacher-card[data-visible-offset="2"] { animation-delay: 140ms; }
.teacher-card[data-visible-offset="3"] { animation-delay: 210ms; }

.teacher-card:hover {
  border-color: rgba(231, 35, 48, 0.38);
  box-shadow: 0 26px 62px rgba(18, 28, 48, 0.16);
  transform: translateY(-7px);
}

.teacher-photo {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #eef1f5;
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.teacher-card:hover .teacher-photo img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.teacher-card-body {
  min-height: 190px;
  padding: 20px 20px 22px;
}

.teacher-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.teacher-card h3 {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.teacher-card strong {
  display: block;
  min-height: 36px;
  margin-top: 7px;
  color: #4c586c;
  font-size: 12px;
  line-height: 1.5;
}

.teacher-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.teacher-arrow {
  position: absolute;
  top: 42%;
  display: grid;
  width: 42px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 5px;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease;
}

.teacher-arrow:hover {
  background: var(--red);
}

.teacher-prev {
  left: 0;
}

.teacher-next {
  right: 0;
}

.teacher-dots {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.teacher-dots button {
  width: 24px;
  height: 5px;
  padding: 0;
  background: #cfd5df;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.teacher-dots button.active {
  width: 40px;
  background: var(--red);
}

@keyframes teacher-card-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.campus-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 12px;
}

.campus-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.campus-gallery figure.wide {
  grid-column: span 2;
}

.campus-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.06) brightness(0.94);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.campus-gallery figure:hover img {
  filter: saturate(1) contrast(1.04) brightness(0.98);
  transform: scale(1.045);
}

.campus-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px 18px 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(12, 20, 35, 0.86));
  font-size: 15px;
  font-weight: 800;
}

.campus-life-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 54px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.campus-life-heading span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.campus-life-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
}

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

.campus-life-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
}

.campus-life-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.9);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.campus-life-grid figure:hover img {
  filter: saturate(0.98) contrast(1.05) brightness(0.96);
  transform: scale(1.045);
}

.campus-life-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 52px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 18, 32, 0.9));
}

.campus-life-grid figcaption strong { font-size: 17px; }
.campus-life-grid figcaption span { color: rgba(255, 255, 255, 0.72); font-size: 13px; }

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

.strength-grid article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.strength-grid span {
  color: var(--orange);
  font-weight: 900;
}

.strength-grid h3 {
  margin: 40px 0 0;
  color: #fff;
  font-size: 22px;
}

.strength-grid p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.8;
}

.contact-layout {
  display: block;
}

.contact-copy > p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.contact-phone {
  display: inline-block;
  margin: 16px 0 24px;
  color: var(--red);
  font-size: 29px;
  font-weight: 900;
}

.campus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin-top: 30px;
}

.campus-list > div {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.campus-list span {
  color: #4d586d;
  font-size: 13px;
  line-height: 1.55;
}

.campus-list a {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

/* Homepage premium content refresh */
.course-card-more {
  background: linear-gradient(145deg, #fff 0%, #fff 68%, #f4f6fa 100%);
}

.course-card > a.course-more-link {
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.course-card > a.course-more-link:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.trial-grid article {
  position: relative;
  border-top: 3px solid transparent;
  box-shadow: 0 16px 42px rgba(20, 30, 48, 0.07);
  transition: transform 320ms cubic-bezier(0.2, 0.72, 0.2, 1), box-shadow 320ms ease, border-color 320ms ease;
}

.trial-grid article:hover {
  border-top-color: var(--red);
  box-shadow: 0 22px 50px rgba(20, 30, 48, 0.14);
  transform: translateY(-7px);
}

.trial-grid img {
  transition: transform 700ms cubic-bezier(0.2, 0.72, 0.2, 1), filter 320ms ease;
}

.trial-grid article:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.trial-grid a::after {
  margin-left: 8px;
  content: "→";
  transition: transform 180ms ease;
}

.trial-grid a:hover::after {
  display: inline-block;
  transform: translateX(4px);
}

.resources-section {
  background: #f3f5f8;
}

.resource-layout {
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 30, 48, 0.1);
}

.resource-visual {
  min-height: 520px;
  border-radius: 0;
  box-shadow: none;
}

.resource-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.92) contrast(1.04);
  animation: resource-image-drift 11s ease-in-out infinite alternate;
}

.resource-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 38, 0.02) 28%, rgba(14, 22, 38, 0.86) 100%);
  content: "";
}

.resource-visual > .resource-visual-copy {
  position: absolute;
  z-index: 2;
  inset: auto 34px 34px;
  display: grid;
  gap: 12px;
  padding: 0;
  color: #fff;
  border: 0;
}

.resource-visual-copy small {
  color: #ff7c84;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.resource-visual-copy strong {
  font-size: clamp(26px, 2.5vw, 40px);
  line-height: 1.25;
}

.resource-visual-copy em {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.news-panel {
  padding: 42px 42px 34px;
}

.news-head {
  padding-bottom: 22px;
  border-bottom: 2px solid var(--ink);
}

.news-head h2 {
  font-size: 30px;
}

.news-list {
  counter-reset: news-row;
}

.news-list a {
  position: relative;
  grid-template-columns: 38px 82px minmax(0, 1fr) auto;
  min-height: 64px;
  gap: 10px;
  padding: 14px 0;
  overflow: hidden;
  transition: color 220ms ease, padding-left 220ms ease;
}

.news-list a::before {
  color: #abb4c3;
  content: counter(news-row, decimal-leading-zero);
  counter-increment: news-row;
  font-size: 12px;
  font-weight: 900;
}

.news-list a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.news-list a:hover {
  padding-left: 8px;
}

.news-list a:hover::after {
  transform: scaleX(1);
}

.about-section {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 8%, rgba(230, 36, 47, 0.12), transparent 28%),
    #101a2f;
}

.about-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(400px, 0.94fr);
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.about-photo {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.about-section .about-photo::before {
  display: none;
}

.about-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 12, 24, 0.68) 100%);
  content: "";
  pointer-events: none;
}

.about-photo > img:first-child {
  height: 100%;
  min-height: 520px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.86) contrast(1.06);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 700ms ease;
}

.about-editorial:hover .about-photo > img:first-child {
  filter: saturate(0.98) contrast(1.06);
  transform: scale(1.025);
}

.about-photo .about-photo-logo {
  z-index: 2;
  right: 30px;
  bottom: 26px;
  width: 176px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 0 44px clamp(44px, 5vw, 76px);
}

.about-copy h2 {
  margin: 10px 0 24px;
  color: #fff;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.15;
}

.about-copy > p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.82;
}

.about-copy .about-mission {
  margin: 14px 0 0;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.about-metrics span {
  display: grid;
  gap: 4px;
  padding: 18px 12px;
  color: rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

.about-metrics span:first-child {
  padding-left: 0;
}

.about-metrics span:last-child {
  border-right: 0;
}

.about-metrics strong {
  color: #fff;
  font-size: 21px;
  white-space: nowrap;
}

.about-section .about-copy .btn {
  align-self: flex-start;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.about-section .about-copy .btn:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.brand-beliefs {
  display: flex;
  min-height: 280px;
  margin-top: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.brand-belief {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 0.72;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: 30px;
  overflow: hidden;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  outline: none;
  transition: flex 620ms cubic-bezier(0.2, 0.76, 0.2, 1), color 360ms ease, background 360ms ease;
}

.brand-belief:last-child {
  border-right: 0;
}

.brand-belief::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
}

.brand-belief > span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-belief h3 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.15vw, 32px);
  line-height: 1.32;
}

.brand-belief p {
  max-width: 390px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 420ms ease;
}

.brand-belief.active {
  flex: 2.05;
  color: #fff;
  background: linear-gradient(145deg, rgba(230, 36, 47, 0.94), rgba(186, 21, 33, 0.9));
}

.brand-belief.active::after {
  transform: scaleX(1);
}

.brand-belief.active h3 {
  color: #fff;
}

.brand-belief.active p {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
  transform: translateY(0);
}

.brand-belief:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(230, 36, 47, 0.35);
}

.campus-list > .campus-primary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 18px;
  padding: 19px 22px;
  background: #fff6f6;
  border: 1px solid rgba(230, 36, 47, 0.32);
  border-left: 4px solid var(--red);
  border-radius: 6px;
}

.campus-primary strong {
  color: var(--ink);
  font-size: 15px;
}

.campus-primary span {
  color: var(--red);
  font-weight: 800;
}

.countdown-number strong.is-counting {
  display: inline-block;
  color: var(--red);
  will-change: transform, opacity;
}

.countdown-number strong.is-settled {
  animation: countdown-settle 520ms cubic-bezier(0.2, 0.9, 0.25, 1.25) both;
}

@keyframes countdown-settle {
  0% { opacity: 0.7; transform: translateY(-8px) scale(0.92); }
  62% { opacity: 1; transform: translateY(0) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 980px) {
  .resource-layout,
  .about-editorial {
    grid-template-columns: 1fr;
  }

  .resource-visual {
    min-height: 420px;
  }

  .about-editorial {
    gap: 0;
  }

  .about-photo > img:first-child {
    min-height: 420px;
  }

  .about-copy {
    padding: 38px 0;
  }

  .brand-beliefs {
    min-height: 340px;
  }

  .brand-belief {
    padding: 24px 20px;
  }
}

@media (max-width: 680px) {
  .resource-layout {
    border-radius: 8px;
  }

  .resource-visual {
    min-height: 310px;
    border-radius: 0;
  }

  .resource-visual > .resource-visual-copy {
    inset: auto 22px 24px;
  }

  .news-panel {
    padding: 28px 20px 22px;
  }

  .news-list a {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .news-list a > span {
    display: none;
  }

  .about-copy {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .about-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-metrics span {
    padding-right: 6px;
  }

  .about-metrics strong {
    font-size: 19px;
  }

  .brand-beliefs {
    display: grid;
    min-height: 0;
    margin-top: 46px;
  }

  .brand-belief,
  .brand-belief.active {
    min-height: 86px;
    padding: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    transition: min-height 420ms cubic-bezier(0.2, 0.76, 0.2, 1), background 320ms ease;
  }

  .brand-belief.active {
    min-height: 230px;
  }

  .brand-belief:last-child {
    border-bottom: 0;
  }

  .brand-belief h3 {
    font-size: 21px;
  }

  .campus-list > .campus-primary {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .trial-grid article {
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trial-grid article,
  .trial-grid img,
  .resource-visual > img,
  .brand-belief,
  .brand-belief p,
  .countdown-number strong.is-settled {
    animation: none;
    transition: none;
  }
}

/* Course center subpage */
.course-page-main {
  background: #fff;
}

.course-page-hero {
  position: relative;
  overflow: hidden;
  background: #f2f5f9;
  border-bottom: 1px solid #dfe5ee;
}

.course-page-hero::before {
  position: absolute;
  top: -80px;
  right: 9%;
  width: 220px;
  height: 360px;
  background: var(--red);
  content: "";
  opacity: 0.07;
  transform: skewX(-14deg);
}

.course-page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.56fr);
  align-items: end;
  gap: 80px;
  min-height: 460px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.course-page-hero h1 {
  margin: 14px 0 22px;
  color: var(--ink);
  font-size: clamp(42px, 4.45vw, 62px);
  line-height: 1.12;
}

.course-page-hero p:not(.section-kicker) {
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.course-page-hero-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(20, 30, 48, 0.16);
}

.course-page-hero-data span {
  display: grid;
  min-height: 145px;
  place-items: end start;
  align-content: end;
  gap: 6px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.58);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.course-page-hero-data span:last-child {
  border-right: 0;
}

.course-page-hero-data strong {
  color: #fff;
  font-size: 22px;
}

.course-catalog {
  background: #f4f6fa;
}

.course-filter {
  display: flex;
  gap: 8px;
  margin: 34px 0 28px;
  padding: 6px;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.course-filter button {
  min-height: 44px;
  flex: 1 0 auto;
  padding: 0 20px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 800;
}

.course-filter button:hover,
.course-filter button.active {
  color: #fff;
  background: var(--ink);
}

.course-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 8px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card:hover {
  border-color: rgba(230, 36, 47, 0.42);
  box-shadow: 0 20px 48px rgba(20, 30, 48, 0.12);
  transform: translateY(-6px);
}

.catalog-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 560ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.catalog-card:hover > img {
  transform: scale(1.035);
}

.catalog-card > div {
  display: flex;
  min-height: 360px;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.catalog-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.catalog-card h3 {
  min-height: 58px;
  margin: 10px 0 11px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.catalog-card p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.catalog-card ul {
  display: grid;
  gap: 8px;
  margin: 19px 0 24px;
  padding: 17px 0 0 18px;
  color: #4c586c;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.catalog-card a {
  margin-top: auto;
  color: var(--red);
  font-weight: 900;
}

.catalog-card.featured > div {
  color: #fff;
  background: var(--ink);
}

.catalog-card.featured h3 {
  color: #fff;
}

.catalog-card.featured p,
.catalog-card.featured ul {
  color: rgba(255, 255, 255, 0.66);
}

.catalog-card.featured ul {
  border-color: rgba(255, 255, 255, 0.14);
}

.course-more-directions {
  background: #fff;
}

.course-direction-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.course-direction-list a {
  min-height: 92px;
  padding: 22px;
  color: var(--ink);
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease;
}

.course-direction-list a:hover {
  color: #fff;
  background: var(--red);
}

.course-page-cta {
  color: #fff;
  background: var(--ink);
}

.course-page-cta .container {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.course-page-cta h2 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 50px);
}

.course-page-cta p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1180px) {
  .course-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-direction-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .course-page-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .course-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .course-page-main {
    padding-bottom: 86px;
    background: #f4f6fa;
  }

  .course-page-hero {
    background: linear-gradient(180deg, #fff, #f4f6fa);
  }

  .course-page-hero-inner {
    min-height: 0;
    gap: 18px;
    padding: 28px 14px 22px;
  }

  .course-page-hero h1 {
    margin: 8px 0 10px;
    font-size: 28px;
    line-height: 1.16;
  }

  .course-page-hero p:not(.section-kicker) {
    font-size: 13px;
    line-height: 1.65;
  }

  .course-page-hero-data {
    border-radius: 16px;
  }

  .course-page-hero-data span {
    min-height: 72px;
    padding: 12px;
  }

  .course-page-hero-data strong {
    font-size: 15px;
  }

  .course-catalog {
    padding: 22px 0;
  }

  .course-catalog .section-heading {
    gap: 8px;
    margin-bottom: 12px;
  }

  .course-catalog .section-heading h2 {
    font-size: 23px;
    line-height: 1.22;
  }

  .course-catalog .section-heading > p {
    display: none;
  }

  .course-filter {
    gap: 8px;
    margin: 12px 0 14px;
    padding: 0;
    overflow-x: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    scrollbar-width: none;
  }

  .course-filter::-webkit-scrollbar {
    display: none;
  }

  .course-filter button {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 13px;
    background: #fff;
    border: 1px solid #e4e9f1;
    border-radius: 999px;
    font-size: 12px;
  }

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

  .catalog-card {
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(16, 26, 49, 0.06);
  }

  .catalog-card:hover {
    box-shadow: 0 12px 24px rgba(16, 26, 49, 0.06);
    transform: none;
  }

  .catalog-card > img {
    aspect-ratio: 1 / 0.78;
    border-radius: 0;
  }

  .catalog-card:hover > img {
    transform: none;
  }

  .catalog-card > div {
    min-height: 0;
    padding: 10px;
  }

  .catalog-card span {
    font-size: 10px;
  }

  .catalog-card h3 {
    min-height: 0;
    margin: 5px 0 6px;
    font-size: 15px;
    line-height: 1.28;
  }

  .catalog-card p {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .catalog-card ul {
    display: none;
  }

  .catalog-card a {
    margin-top: 10px;
    font-size: 12px;
  }

  .course-direction-list {
    grid-template-columns: 1fr 1fr;
  }

  .course-page-cta .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.contact-copy .section-action {
  margin-top: 34px;
}

/* Course catalog pagination */
.course-pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.course-pagination-wrap[hidden] {
  display: none;
}

.course-pagination-summary {
  margin: 0;
  color: #657183;
  font-size: 14px;
  font-weight: 800;
}

.course-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.course-pagination button {
  width: 38px;
  height: 38px;
  color: #4d5869;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.course-pagination button:hover {
  color: var(--red);
  border-color: rgba(230, 36, 47, 0.42);
  transform: translateY(-1px);
}

.course-pagination button.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 720px) {
  .course-pagination-wrap {
    margin-top: 24px;
  }

  .course-pagination {
    gap: 7px;
  }

  .course-pagination button {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
/* Teachers subpage */
.teachers-page-main {
  background: #f4f6fa;
}

.teachers-page-hero {
  overflow: hidden;
  background: linear-gradient(135deg, #101a31, #263d66);
  color: #fff;
}

.teachers-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 46px;
  align-items: center;
  min-height: 420px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.teachers-page-hero h1 {
  max-width: 680px;
  margin: 12px 0 16px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.12;
}

.teachers-page-hero p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.8;
}

.teachers-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.teachers-page-hero img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}

.mobile-page-nav {
  display: none;
}

.teachers-page-section {
  background: #f4f6fa;
}

.teacher-page-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0 22px;
  overflow-x: auto;
}

.teacher-page-tabs span {
  flex: 0 0 auto;
  padding: 9px 16px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.teacher-page-tabs span.active {
  color: #fff;
  background: var(--ink);
}

.teacher-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.teacher-page-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce2eb;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(16, 26, 49, 0.07);
}

.teacher-page-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: top center;
  background: #eef2f7;
}

.teacher-page-card div {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.teacher-page-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.teacher-page-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.teacher-page-card strong {
  color: #3e4a5c;
  font-size: 13px;
}

.teacher-page-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.teacher-page-card a {
  margin-top: 6px;
  color: var(--red);
  font-weight: 900;
}

.teacher-major-panel {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.teacher-major-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.teacher-major-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.teacher-major-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 33, 45, 0.32);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

.teacher-major-grid span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.teacher-major-grid h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.teacher-major-grid p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.teacher-major-grid a {
  width: fit-content;
  margin-top: auto;
  padding: 10px 14px;
  color: var(--red);
  border: 1px solid rgba(232, 33, 45, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.teacher-major-grid a:hover {
  color: #fff;
  background: var(--red);
  transform: translateX(3px);
}

.teacher-major-grid .is-more {
  color: #fff;
  background: linear-gradient(135deg, #111827, #26344c);
}

.teacher-major-grid .is-more h3,
.teacher-major-grid .is-more p {
  color: #fff;
}

.teacher-major-grid .is-more span {
  color: #ffb4b8;
}

.teacher-major-grid .is-more a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.subpage-mobile-cta {
  color: #fff;
  background: var(--ink);
}

.subpage-mobile-cta .container {
  padding-top: 54px;
  padding-bottom: 54px;
}

.subpage-mobile-cta span {
  color: rgba(255, 255, 255, 0.66);
  font-weight: 900;
}

.subpage-mobile-cta h2 {
  max-width: 620px;
  margin: 8px 0 20px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

@media (max-width: 980px) {
  .teacher-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-major-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teachers-page-hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .teachers-page-main {
    padding-bottom: 86px;
  }

  .teachers-page-hero-inner {
    gap: 18px;
    min-height: 0;
    padding: 30px 14px 24px;
  }

  .teachers-page-hero h1 {
    margin: 8px 0 10px;
    font-size: 29px;
  }

  .teachers-page-hero p:not(.section-kicker) {
    font-size: 13px;
    line-height: 1.65;
  }

  .teachers-page-actions {
    margin-top: 16px;
  }

  .teachers-page-hero img {
    min-height: 180px;
    border-radius: 18px;
  }

  .mobile-page-nav {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    overflow-x: auto;
    background: #fff;
    border-bottom: 1px solid rgba(16, 26, 49, 0.08);
    scrollbar-width: none;
  }

  .mobile-page-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-page-nav a {
    min-height: 32px;
    flex: 0 0 auto;
    padding: 0 13px;
    color: var(--ink);
    background: #f5f7fb;
    border: 1px solid #e8edf5;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 32px;
  }

  .mobile-page-nav a.active,
  .mobile-page-nav a:last-child {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
  }

  .teachers-page-section {
    padding: 24px 0;
  }

  .teachers-page-section .section-heading {
    gap: 8px;
    margin-bottom: 12px;
  }

  .teachers-page-section .section-heading h2 {
    font-size: 23px;
  }

  .teachers-page-section .section-heading > p {
    display: none;
  }

  .teacher-page-tabs {
    margin: 12px 0 14px;
    scrollbar-width: none;
  }

  .teacher-page-tabs::-webkit-scrollbar {
    display: none;
  }

  .teacher-page-grid {
    gap: 10px;
  }

  .teacher-major-panel {
    margin-top: 22px;
    padding-top: 22px;
  }

  .teacher-major-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .teacher-major-grid article {
    min-height: auto;
    padding: 18px;
    border-radius: 16px;
  }

  .teacher-major-grid h3 {
    margin-top: 12px;
    font-size: 20px;
  }

  .teacher-page-card {
    border-radius: 16px;
  }

  .teacher-page-card div {
    padding: 10px;
  }

  .teacher-page-card span {
    font-size: 10px;
  }

  .teacher-page-card h3 {
    font-size: 17px;
  }

  .teacher-page-card strong {
    font-size: 11px;
  }

  .teacher-page-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .teacher-page-card a {
    font-size: 12px;
  }

  .subpage-mobile-cta .container {
    padding: 34px 14px;
  }
}

.contact-form {
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form > p {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.contact-form h3 {
  margin: 8px 0 24px;
  color: var(--ink);
  font-size: 26px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.contact-form label > span {
  color: #4d586d;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--text);
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 6px;
}

.contact-form small {
  display: block;
  margin-top: 12px;
  color: #9098a8;
  text-align: center;
}

.floating-consult {
  position: fixed;
  top: 50%;
  left: 16px;
  z-index: 55;
  display: grid;
  width: 84px;
  padding: 5px 9px;
  background: #fff;
  border: 1px solid rgba(221, 226, 234, 0.95);
  border-radius: 10px;
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.16);
  transform: translateY(-50%);
}

@media (min-width: 981px) {
  .floating-consult {
    display: grid;
  }
}

.float-item {
  position: relative;
}

.float-action {
  display: grid;
  width: 100%;
  min-height: 68px;
  padding: 7px 2px;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: var(--red);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e6e9ef;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.float-action:hover,
.float-action:focus-visible {
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  outline: none;
}

.float-icon {
  display: grid;
  width: 28px;
  height: 25px;
  place-items: center;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.float-action strong {
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.float-top {
  border-bottom: 0;
}

.float-popover {
  position: absolute;
  top: 50%;
  left: calc(100% + 18px);
  z-index: 3;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 32, 51, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-6px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.float-popover::before {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.has-popover:hover .float-popover,
.has-popover:has(.float-action:focus-visible) .float-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

/* About history cinematic redesign: full background + smooth left-moving timeline */
@media (min-width: 901px) {
  .about-page-main .history-section {
    position: relative;
    overflow: hidden;
    padding: 118px 0 130px;
    color: #eef5ff;
    background:
      radial-gradient(ellipse at 50% 64%, rgba(255, 191, 116, 0.38), rgba(230, 36, 47, 0.12) 17%, transparent 40%),
      radial-gradient(circle at 50% -4%, rgba(75, 170, 255, 0.26), transparent 38%),
      linear-gradient(180deg, #07111f 0%, #101a31 50%, #081222 100%);
    isolation: isolate;
  }

  .about-page-main .history-section::before {
    position: absolute;
    top: -38%;
    left: 50%;
    z-index: -2;
    width: min(1180px, 92vw);
    aspect-ratio: 1 / 0.58;
    border: 1px solid rgba(122, 196, 255, 0.24);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    box-shadow:
      0 0 58px rgba(64, 158, 240, 0.28),
      inset 0 22px 70px rgba(64, 158, 240, 0.08);
    content: "";
    transform: translateX(-50%);
    animation: about-history-arc-breathe 9s ease-in-out infinite alternate;
  }

  .about-page-main .history-section::after {
    position: absolute;
    inset: auto -8% -12% -8%;
    z-index: -1;
    height: 42%;
    background:
      linear-gradient(180deg, transparent, rgba(5, 10, 20, 0.78) 58%, rgba(5, 10, 20, 0.96)),
      radial-gradient(ellipse at 50% 0%, rgba(255, 186, 112, 0.42), transparent 42%);
    content: "";
  }

  .about-page-main .history-layout {
    position: relative;
    display: block;
  }

  .about-page-main .history-heading {
    width: min(960px, 100%);
    margin: 0 auto 58px;
    text-align: center;
  }

  .about-page-main .history-heading .section-kicker {
    color: #ff4d57;
  }

  .about-page-main .history-heading h2 {
    color: #fff;
    font-size: clamp(48px, 5vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
    text-shadow: 0 20px 58px rgba(0, 0, 0, 0.36);
  }

  .about-page-main .history-heading > p:not(.section-kicker) {
    max-width: 790px;
    margin: 24px auto 0;
    color: rgba(238, 245, 255, 0.76);
    font-size: 17px;
    line-height: 1.9;
  }

  .about-page-main .history-heading > strong {
    display: inline-flex;
    margin-top: 22px;
    padding: 8px 16px;
    color: #ff5964;
    background: rgba(230, 36, 47, 0.09);
    border: 1px solid rgba(230, 36, 47, 0.22);
    border-radius: 999px;
  }

  .about-page-main .history-stage {
    position: relative;
    display: block;
    overflow: hidden;
    margin-inline: calc(50% - 50vw);
    padding: 14px 0 22px;
  }

  .about-page-main .history-stage::before,
  .about-page-main .history-stage::after {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: min(17vw, 220px);
    pointer-events: none;
    content: "";
  }

  .about-page-main .history-stage::before {
    left: 0;
    background: linear-gradient(90deg, #081222, rgba(8, 18, 34, 0));
  }

  .about-page-main .history-stage::after {
    right: 0;
    background: linear-gradient(270deg, #081222, rgba(8, 18, 34, 0));
  }

  .about-page-main .history-visual.history-brand-card {
    display: none;
  }

  .about-page-main .history-timeline {
    --history-progress: 1;
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 18px;
    margin: 0;
    padding: 0 8vw;
    list-style: none;
    animation: about-history-slide-left 46s linear infinite;
    will-change: transform;
  }

  .about-page-main .history-timeline:hover {
    animation-play-state: paused;
  }

  .about-page-main .history-timeline::before,
  .about-page-main .history-timeline::after,
  .about-page-main .history-timeline li::before,
  .about-page-main .history-timeline li:not(:nth-child(3n + 1))::before {
    display: none;
  }

  .about-page-main .history-timeline li {
    position: relative;
    flex: 0 0 315px;
    min-height: 196px;
    padding: 26px 26px 24px;
    color: rgba(238, 245, 255, 0.76);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: none;
    backdrop-filter: blur(16px);
    transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
  }

  .about-page-main .history-timeline li::after {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(122, 196, 255, 0.2);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 196, 255, 0.2), transparent 62%);
    content: "";
  }

  .about-page-main .history-timeline li:hover {
    transform: translateY(-7px);
    border-color: rgba(230, 36, 47, 0.5);
    background:
      linear-gradient(180deg, rgba(230, 36, 47, 0.16), rgba(255, 255, 255, 0.055));
  }

  .about-page-main .history-timeline time {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 7px 15px;
    color: #fff;
    background: rgba(230, 36, 47, 0.16);
    border: 1px solid rgba(255, 92, 102, 0.36);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
  }

  .about-page-main .history-timeline h3 {
    color: #f8fbff;
    font-size: 22px;
    line-height: 1.22;
  }

  .about-page-main .history-timeline p {
    color: rgba(238, 245, 255, 0.7);
    font-size: 14px;
    line-height: 1.78;
  }
}

@keyframes about-history-arc-breathe {
  from {
    opacity: 0.72;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(18px) scale(1.035);
  }
}

@keyframes about-history-slide-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% + 50vw));
  }
}

.phone-popover {
  display: flex;
  min-width: 218px;
  padding: 18px;
  align-items: center;
  gap: 12px;
}

.popover-phone-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 19px;
}

.phone-popover div {
  display: grid;
  gap: 3px;
}

.phone-popover small {
  color: var(--muted);
  font-size: 12px;
}

.phone-popover .phone-number {
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.qr-popover {
  width: 232px;
  padding: 10px 10px 14px;
  text-align: center;
}

.qr-popover img {
  display: block;
  width: 210px;
  height: auto;
  margin: 0 auto 8px;
  border-radius: 5px;
}

.qr-popover strong {
  color: var(--red);
  font-size: 14px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.95fr;
  gap: 64px;
  min-height: 250px;
  align-items: start;
  padding: 42px 0 30px;
}

.footer-brand > img {
  width: 210px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  max-width: 420px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.8;
}

.footer-brand strong,
.footer-brand strong a {
  color: #fff;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.footer-links h2,
.footer-wechat h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.footer-links h2 {
  grid-column: 1 / -1;
}

.footer-links a {
  padding: 6px 0;
  font-size: 13px;
}

.footer-links a:hover,
.footer-wechat a:hover {
  color: #fff;
}

.footer-wechat {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
}

.footer-wechat > img {
  width: 108px;
  height: 134px;
  object-fit: contain;
  border: 5px solid #fff;
  border-radius: 8px;
}

.footer-wechat p {
  margin: 0 0 12px;
  font-size: 13px;
}

.footer-wechat a {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom {
  min-height: 50px;
  background: rgba(0, 0, 0, 0.24);
  font-size: 12px;
}

.footer-bottom .container {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Institution profile subpage */
.about-page-main {
  background: #fff;
}

.about-page-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #182235;
}

.about-page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: about-hero-image 9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 27, 43, 0.9) 0%, rgba(18, 27, 43, 0.66) 42%, rgba(18, 27, 43, 0.08) 76%);
  content: "";
}

.about-page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 520px;
  align-items: center;
}

.about-page-hero-copy {
  width: min(600px, 60%);
  animation: about-hero-copy 900ms 180ms ease both;
}

.about-page-hero-copy .section-kicker {
  color: #fff;
}

.about-page-hero-copy h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}

.about-page-hero-copy > p:last-of-type {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.about-hero-rule {
  display: block;
  width: 112px;
  height: 3px;
  margin-top: 30px;
  background: var(--red);
  transform-origin: left;
  animation: about-rule-in 720ms 780ms ease both;
}

.about-scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.about-scroll-cue span {
  display: block;
  width: 1px;
  height: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.about-scroll-cue span::after {
  display: block;
  width: 1px;
  height: 20px;
  background: #fff;
  content: "";
  animation: about-scroll-line 1.8s ease-in-out infinite;
}

.about-breadcrumb {
  padding: 18px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.about-breadcrumb a {
  color: var(--ink);
}

.about-stat-band {
  background: var(--ink);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-stat {
  position: relative;
  display: grid;
  min-height: 170px;
  padding: 34px 30px;
  align-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.about-stat:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.about-stat::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 34px;
  height: 3px;
  background: var(--red);
  content: "";
}

.about-stat strong {
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  white-space: nowrap;
}

.about-stat:last-child strong {
  font-size: clamp(30px, 3.5vw, 46px);
}

.about-stat strong b {
  font: inherit;
}

.about-stat span {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: start;
}

.about-intro-copy h2,
.about-service-heading h2 {
  margin: 10px 0 24px;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 46px);
}

.about-intro-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.about-intro-copy {
  position: relative;
}

.about-intro-copy::before {
  position: absolute;
  top: 3px;
  left: -28px;
  width: 3px;
  height: 74px;
  background: var(--red);
  content: "";
}

.about-facts {
  display: grid;
  border-top: 3px solid var(--red);
  background: #f5f7fa;
}

.about-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 24px 28px;
  border-bottom: 1px solid #dde2ea;
}

.about-facts span {
  color: var(--muted);
  font-size: 13px;
}

.about-facts strong {
  color: var(--ink);
  font-size: 17px;
}

.about-service-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.about-service-grid article {
  position: relative;
  min-height: 220px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-service-grid article::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.about-service-grid article:hover::after {
  transform: scaleX(1);
}

.about-service-grid span {
  color: var(--red);
  font-weight: 900;
}

.about-service-grid h3 {
  margin: 28px 0 12px;
  color: var(--ink);
  font-size: 23px;
}

.about-service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.about-page-cta {
  color: #fff;
  background: var(--ink);
}

.about-page-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-page-cta h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 42px);
}

.about-page-cta .section-kicker {
  color: #fff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-stat:nth-child(2),
.about-service-grid article:nth-child(2) {
  transition-delay: 80ms;
}

.about-stat:nth-child(3),
.about-service-grid article:nth-child(3) {
  transition-delay: 160ms;
}

.about-stat:nth-child(4),
.about-service-grid article:nth-child(4) {
  transition-delay: 240ms;
}

@keyframes about-hero-image {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes about-hero-copy {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes about-rule-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes about-scroll-line {
  0% { transform: translateY(-20px); }
  55%, 100% { transform: translateY(40px); }
}

@media (max-width: 900px) {
  .about-page-hero,
  .about-page-hero .container {
    min-height: 460px;
  }

  .about-page-hero-copy {
    width: min(680px, 82%);
  }

  .about-intro-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .about-page-hero,
  .about-page-hero .container {
    min-height: 500px;
  }

  .about-page-hero > img {
    object-position: 58% center;
  }

  .about-page-hero::after {
    background: rgba(18, 27, 43, 0.68);
  }

  .about-page-hero-copy {
    width: 100%;
  }

  .about-page-hero-copy h1 {
    font-size: 40px;
  }

  .about-service-grid {
    grid-template-columns: 1fr;
  }

  .about-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-stat {
    min-height: 140px;
    padding: 28px 20px;
  }

  .about-scroll-cue {
    display: none;
  }

  .about-page-cta .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.active > img,
  .hero-slide.active > .hero-picture > img,
  .teacher-card {
    animation: none;
  }

  .teacher-card,
  .teacher-photo img,
  .campus-gallery img,
  .campus-life-grid img {
    transition: none;
  }

  .about-page-hero > img,
  .about-page-hero-copy,
  .about-hero-rule,
  .about-scroll-cue span::after {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .resource-visual::after,
  .resource-visual > img {
    animation: none;
  }
}

.mobile-sticky {
  display: none;
}

:focus-visible {
  outline: 3px solid rgba(255, 159, 28, 0.8);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 168px 1fr auto;
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .brand {
    grid-template-columns: 108px 1fr;
  }

  .brand img {
    width: 108px;
  }

  .desktop-nav {
    gap: 15px;
    font-size: 14px;
  }

  .course-grid,
  .trial-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 721px) and (max-width: 1390px) {
  main .container {
    padding-left: 74px;
  }
}

@media (max-width: 980px) {
  .notice-inner {
    grid-template-columns: 1fr auto;
  }

  .notice-inner > strong {
    display: none;
  }

  .desktop-nav,
  .header-cta,
  .header-phone {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: block;
  }

  .hero h1,
  .hero h2 {
    font-size: 46px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid > div:nth-child(2) {
    border-right: 0;
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .countdown-inner {
    grid-template-columns: 1fr auto auto;
  }

  .countdown-inner > p {
    display: none;
  }

  .process-line {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 18px;
  }

  .process-line::before {
    display: none;
  }

  .major-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resource-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-photo img {
    aspect-ratio: 16 / 9;
  }

  .teacher-card-grid {
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .campus-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-wechat {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2,
  .resource-feature h2 {
    font-size: 30px;
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .notice-bar {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand {
    grid-template-columns: 112px 1fr;
  }

  .brand img {
    width: 112px;
    height: 50px;
  }

  .hero {
    height: 520px;
  }

  .hero-slide > img {
    object-position: center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(13, 22, 39, 0.9), rgba(13, 22, 39, 0.5));
  }

  .hero h1,
  .hero h2 {
    font-size: 38px;
  }

  .hero-content > p:not(.hero-kicker) {
    font-size: 16px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    min-width: 168px;
  }

  .hero-arrow {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 46px;
    font-size: 38px;
    transform: none;
  }

  .hero-arrow.prev {
    left: 14px;
  }

  .hero-arrow.next {
    right: 14px;
  }

  .hero-dots {
    bottom: 38px;
  }

  .proof-grid > div {
    min-height: 92px;
    padding: 16px 10px;
  }

  .proof-grid strong {
    font-size: 22px;
  }

  .countdown-inner {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .countdown-inner .btn {
    grid-column: 1 / -1;
  }

  .countdown-inner h2 {
    font-size: 19px;
  }

  .countdown-number strong {
    font-size: 40px;
  }

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-grid,
  .trial-grid,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 0;
  }

  .course-fit {
    min-height: 0;
  }

  .trial-grid p {
    min-height: 0;
  }

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

  .major-grid a {
    min-height: 140px;
  }

  .resource-feature {
    padding: 28px;
  }

  .news-list a {
    grid-template-columns: 66px 1fr;
    padding: 10px 0;
  }

  .news-list time {
    display: none;
  }

  .about-photo::before {
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
  }

  .about-photo .about-photo-logo {
    right: 16px;
    bottom: 14px;
    width: 126px;
  }

  .teacher-carousel {
    padding-right: 0;
    padding-left: 0;
  }

  .teacher-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-card-body {
    min-height: 0;
  }

  .teacher-arrow {
    top: 92px;
    width: 38px;
    height: 50px;
    background: rgba(23, 32, 51, 0.88);
  }

  .teacher-prev {
    left: 8px;
  }

  .teacher-next {
    right: 8px;
  }

  .campus-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .campus-gallery figure.wide {
    grid-column: auto;
  }

  .campus-life-heading {
    display: block;
    margin-top: 42px;
  }

  .campus-life-heading h3 {
    margin-top: 8px;
    font-size: 23px;
  }

  .campus-life-grid {
    grid-template-columns: 1fr;
  }

  .campus-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .campus-list > div {
    align-items: flex-start;
  }

  .contact-form {
    padding: 26px;
  }

  .floating-consult {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }

  .footer-wechat {
    grid-column: auto;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 0 72px;
  }

  .mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.35fr;
    min-height: 60px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 22px rgba(23, 32, 51, 0.1);
  }

  .mobile-sticky a {
    display: grid;
    place-items: center;
    padding: 8px 3px;
    color: #475267;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-sticky a.primary {
    color: #fff;
    background: var(--red);
  }

  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    background: #f4f7fb;
  }

  .site-header {
    border-bottom: 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand img {
    width: 124px;
    height: 48px;
  }

  .menu-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    background: #fff;
    border-color: #d9e2ef;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.08);
  }

  .menu-button span {
    width: 18px;
    margin: 0;
  }

  .mobile-panel {
    width: min(338px, 88vw);
    padding: 82px 22px 24px;
    border-left: 1px solid rgba(223, 228, 236, 0.9);
    border-radius: 18px 0 0 18px;
  }

  .mobile-panel::before {
    position: absolute;
    top: 28px;
    left: 24px;
    color: var(--ink);
    content: "华新文登考研";
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-close {
    border-radius: 14px;
  }

  .hero {
    height: 492px;
    background: #eef3fa;
  }

  .hero-slide {
    align-items: start;
    padding-top: 0;
  }

  .hero-slide > .hero-picture {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: 14px;
    width: auto;
    height: 148px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
  }

  .hero-slide > img,
  .hero-slide > .hero-picture > img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: none;
    transform: none;
    will-change: auto;
  }

  .hero-slide.active > img,
  .hero-slide.active > .hero-picture > img {
    animation: none;
  }

  .hero-shade {
    display: none;
  }

  .hero-shade::after {
    display: none;
  }

  .hero-content {
    width: min(calc(100% - 28px), 430px);
    margin-top: 180px;
    padding: 20px 18px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(215, 224, 237, 0.95);
    border-radius: 18px;
    box-shadow: 0 24px 58px rgba(23, 32, 51, 0.16);
    backdrop-filter: blur(12px);
  }

  .hero-kicker {
    margin-bottom: 12px;
    padding: 6px 11px;
    background: linear-gradient(90deg, var(--red), #bd1720);
    border-radius: 999px;
    font-size: 12px;
  }

  .hero h1,
  .hero h2 {
    color: var(--ink);
    font-size: 30px;
    line-height: 1.14;
    text-shadow: none;
  }

  .hero-content > p:not(.hero-kicker) {
    margin-top: 12px;
    color: #4f5c72;
    font-size: 15px;
    line-height: 1.72;
  }

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

  .hero-action-note {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 14px;
  }

  .hero-actions .btn-light {
    border-color: #dce4ef;
    box-shadow: inset 0 0 0 1px rgba(220, 228, 239, 0.8);
  }

  .hero-arrow {
    top: 66px;
    bottom: auto;
    width: 38px;
    height: 38px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.93);
    border-color: rgba(219, 226, 238, 0.92);
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(23, 32, 51, 0.1);
    font-size: 30px;
    transform: none;
  }

  .hero-arrow.prev {
    right: 64px;
    left: auto;
  }

  .hero-arrow.next {
    right: 22px;
  }

  .hero-dots {
    top: 166px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    justify-content: center;
    gap: 6px;
  }

  .hero-dots button {
    width: 7px;
    height: 7px;
    background: rgba(23, 32, 51, 0.22);
    border-radius: 999px;
  }

  .hero-dots button.active {
    width: 24px;
    background: var(--red);
  }

  .mobile-hub {
    display: block;
    padding: 16px 0 20px;
    margin-top: -6px;
    background: #f4f7fb;
  }

  .mobile-hub .container {
    display: grid;
    gap: 14px;
  }

  .mobile-search {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #5d687b;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
  }

  .mobile-search span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-search strong {
    min-width: 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .mobile-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .mobile-quick-grid a {
    display: grid;
    min-width: 0;
    min-height: 96px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 12px 6px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0e7f1;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
  }

  .mobile-quick-grid span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--red);
    background: #fff0f1;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-quick-grid strong {
    color: var(--ink);
    font-size: 13px;
    line-height: 1.2;
  }

  .mobile-quick-grid small {
    color: #7b8495;
    font-size: 10px;
    line-height: 1.25;
  }

  .mobile-hot-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--ink) 0%, #263d66 54%, var(--red) 100%);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.16);
  }

  .mobile-hot-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-hot-card h2 {
    margin: 5px 0 0;
    font-size: 20px;
    line-height: 1.25;
  }

  .mobile-hot-card p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.6;
  }

  .mobile-hot-card a {
    display: inline-flex;
    min-width: 86px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    color: var(--red);
    background: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .proof-strip {
    padding: 0 0 20px;
    color: var(--ink);
    background: #f4f7fb;
  }

  .proof-grid {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
  }

  .proof-grid > div {
    min-height: 92px;
    background: #fff;
    border-color: #edf1f6;
  }

  .proof-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid #edf1f6;
  }

  .proof-grid strong {
    color: var(--red);
    font-size: 25px;
  }

  .proof-grid span {
    color: #5c687b;
  }

  .countdown-band {
    padding: 0 0 20px;
    background: #f4f7fb;
    border-bottom: 0;
  }

  .countdown-inner {
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(23, 32, 51, 0.08);
  }

  .countdown-number {
    justify-self: end;
  }

  .countdown-inner .btn {
    border-radius: 12px;
  }

  .section {
    padding: 48px 0;
  }

  .section-tint,
  .section-soft {
    background: #f4f7fb;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2,
  .resource-feature h2 {
    font-size: 25px;
    line-height: 1.32;
  }

  .section-heading > p:last-child,
  .section-heading.split > p,
  .section-heading.centered > p:last-child {
    line-height: 1.7;
  }

  .section-action {
    margin-top: 24px;
  }

  .section-action .btn {
    width: 100%;
    border-radius: 12px;
  }

  .process-line,
  .course-grid,
  .trial-grid,
  .campus-gallery,
  .campus-life-grid {
    scrollbar-width: none;
  }

  .process-line::-webkit-scrollbar,
  .course-grid::-webkit-scrollbar,
  .trial-grid::-webkit-scrollbar,
  .campus-gallery::-webkit-scrollbar,
  .campus-life-grid::-webkit-scrollbar {
    display: none;
  }

  .process-line {
    display: grid;
    grid-auto-columns: minmax(152px, 42vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -14px;
    padding: 2px 14px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .process-line li {
    min-height: 168px;
    padding: 16px;
    text-align: left;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(23, 32, 51, 0.06);
    scroll-snap-align: start;
  }

  .process-line li > span {
    width: 42px;
    height: 42px;
    margin: 0 0 14px;
    border-width: 5px;
  }

  .process-line strong {
    font-size: 17px;
  }

  .course-grid,
  .trial-grid {
    display: grid;
    grid-auto-columns: minmax(252px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -14px;
    padding: 2px 14px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .course-card,
  .trial-grid article {
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
    scroll-snap-align: start;
  }

  .course-card {
    min-height: 318px;
    padding: 22px;
  }

  .course-card.featured {
    background: linear-gradient(135deg, var(--ink), #263d66);
  }

  .course-card h3 {
    font-size: 22px;
  }

  .course-card ul {
    margin-bottom: 18px;
  }

  .trial-grid img {
    aspect-ratio: 4 / 2.65;
  }

  .trial-grid article > div {
    padding: 18px;
  }

  .major-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .major-grid a {
    min-height: 128px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
  }

  .major-grid .major-more {
    background: var(--red);
  }

  .major-grid h3 {
    margin-top: 18px;
    font-size: 17px;
  }

  .resource-layout,
  .about-layout,
  .contact-layout {
    gap: 22px;
  }

  .resource-visual {
    min-height: 250px;
    border-radius: 18px;
  }

  .news-panel {
    padding: 18px;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
  }

  .news-head {
    padding-bottom: 12px;
  }

  .news-list a {
    grid-template-columns: 64px 1fr;
    min-height: 64px;
  }

  .about-photo::before {
    display: none;
  }

  .about-photo > img:first-child {
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(23, 32, 51, 0.12);
  }

  .about-copy {
    padding: 20px;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
  }

  .about-copy .btn {
    width: 100%;
    border-radius: 12px;
  }

  .teacher-carousel {
    padding: 0 0 40px;
  }

  .teacher-card-grid {
    gap: 12px;
  }

  .teacher-card {
    border-radius: 18px;
  }

  .teacher-card-body {
    padding: 14px;
  }

  .teacher-card strong {
    min-height: 0;
  }

  .teacher-card p {
    display: none;
  }

  .teacher-arrow {
    top: 110px;
    border-radius: 14px;
  }

  .teacher-dots button {
    width: 18px;
  }

  .teacher-dots button.active {
    width: 34px;
  }

  .campus-gallery,
  .campus-life-grid {
    display: grid;
    grid-auto-columns: minmax(255px, 78vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    margin: 0 -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .campus-gallery {
    grid-auto-rows: 208px;
  }

  .campus-gallery figure,
  .campus-life-grid figure {
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .campus-gallery figure.wide {
    grid-column: auto;
  }

  .campus-life-grid img {
    aspect-ratio: 4 / 3;
  }

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

  .strength-grid article {
    min-height: 168px;
    padding: 20px;
    border-radius: 18px;
  }

  .strength-grid h3 {
    margin-top: 28px;
    font-size: 18px;
  }

  .strength-grid p {
    font-size: 12px;
    line-height: 1.65;
  }

  .campus-list {
    max-height: 360px;
    padding-right: 10px;
    overflow: auto;
  }

  .contact-phone {
    font-size: 22px;
  }

  .site-footer {
    border-radius: 24px 24px 0 0;
  }

  .footer-wechat {
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
  }

  .mobile-sticky {
    min-height: 64px;
    grid-template-columns: repeat(4, 1fr) 1.4fr;
    border-top: 1px solid #dfe6ef;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -14px 34px rgba(23, 32, 51, 0.14);
  }

  .mobile-sticky a {
    font-size: 12px;
  }

  .mobile-sticky a.primary {
    border-radius: 0 18px 0 0;
  }

  body {
    padding-bottom: 64px;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .hero h2 {
    font-size: 27px;
  }

  .hero-content {
    padding: 20px 18px 18px;
  }

  .mobile-quick-grid a {
    min-height: 90px;
    padding-right: 4px;
    padding-left: 4px;
  }

  .mobile-quick-grid strong {
    font-size: 12px;
  }

  .mobile-hot-card {
    grid-template-columns: 1fr;
  }

  .mobile-hot-card a {
    justify-self: start;
  }

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

@media (max-width: 720px) {
  body {
    color: #202532;
    background: #f1f1f1;
    padding-bottom: 74px;
  }

  .site-header {
    position: relative;
    top: auto;
    background: #fff;
    box-shadow: none;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand img {
    width: 120px;
    height: 46px;
  }

  .menu-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
  }

  .menu-button span {
    width: 20px;
    height: 2px;
    background: #1f2937;
  }

  .hero {
    height: 188px;
    overflow: hidden;
    background: #fff;
  }

  .hero-slide {
    padding: 0;
  }

  .hero-slide > .hero-picture {
    top: 14px;
    right: 14px;
    left: 14px;
    height: 150px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(18, 28, 48, 0.08);
  }

  .hero-slide > img,
  .hero-slide > .hero-picture > img {
    object-fit: cover;
    object-position: center;
  }

  .hero-content,
  .hero-arrow,
  .hero-shade {
    display: none;
  }

  .hero-dots {
    top: 173px;
    right: 0;
    left: 0;
    justify-content: center;
  }

  .hero-dots button {
    width: 6px;
    height: 6px;
    background: #d2d7df;
  }

  .hero-dots button.active {
    width: 18px;
    background: var(--red);
  }

  .mobile-hub {
    display: block;
    margin: 0;
    padding: 8px 0 20px;
    background: #fff;
  }

  .mobile-hub .container {
    display: block;
  }

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

  .mobile-shortcut {
    position: relative;
    min-height: 86px;
    padding: 14px 12px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(23, 32, 51, 0.06);
  }

  .mobile-shortcut::after {
    position: absolute;
    right: -16px;
    bottom: -18px;
    width: 62px;
    height: 62px;
    background: rgba(255, 255, 255, 0.42);
    border-radius: 20px;
    content: "";
    transform: rotate(34deg);
  }

  .shortcut-about {
    color: #2866b9;
    background: linear-gradient(135deg, #e8f5ff, #cbe5ff);
  }

  .shortcut-trial {
    color: #8d45cf;
    background: linear-gradient(135deg, #f4eaff, #ead6ff);
  }

  .shortcut-campus {
    color: #d84c4c;
    background: linear-gradient(135deg, #fff0f3, #ffe2ea);
  }

  .mobile-shortcut strong,
  .mobile-shortcut span,
  .mobile-shortcut i {
    position: relative;
    z-index: 1;
  }

  .mobile-shortcut strong {
    display: block;
    font-size: 17px;
    line-height: 1.2;
  }

  .mobile-shortcut span {
    display: block;
    margin-top: 7px;
    color: rgba(32, 37, 50, 0.54);
    font-size: 11px;
  }

  .mobile-shortcut i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    margin-top: 10px;
    color: #fff;
    background: currentColor;
    border-radius: 50%;
    font-size: 0;
    font-style: normal;
  }

  .mobile-shortcut i::before {
    color: #fff;
    content: "›";
    font-size: 20px;
    line-height: 1;
  }

  .proof-strip,
  .countdown-band,
  .process-section,
  .courses-section,
  .trial-section,
  .majors-section,
  .resources-section,
  .about-section,
  .teachers-section,
  .campus-section,
  .strength-section,
  .contact-section,
  .site-footer {
    display: none;
  }

  .mobile-home-stream {
    display: block;
    padding: 18px 8px 0;
    background: #f1f1f1;
  }

  .mobile-section-block {
    margin: 0 0 22px;
  }

  .mobile-module-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 2px 10px;
  }

  .mobile-module-head h2 {
    margin: 0;
    color: #202532;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.25;
  }

  .mobile-module-head a {
    color: #9a9a9a;
    font-size: 13px;
  }

  .mobile-courses-block,
  .mobile-news-block {
    padding: 0 10px 14px;
    background: #fff;
    border-radius: 14px;
  }

  .mobile-courses-block .mobile-module-head,
  .mobile-news-block .mobile-module-head {
    margin-right: 0;
    margin-left: 0;
    padding-top: 16px;
  }

  .mobile-course-tabs,
  .mobile-news-tabs {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-course-tabs::-webkit-scrollbar,
  .mobile-news-tabs::-webkit-scrollbar,
  .mobile-course-scroller::-webkit-scrollbar {
    display: none;
  }

  .mobile-course-tabs span,
  .mobile-news-tabs span {
    flex: 0 0 auto;
    padding: 7px 16px;
    color: #333;
    background: #f5f5f5;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
  }

  .mobile-course-tabs span.active,
  .mobile-news-tabs span.active {
    color: #fff;
    background: #164191;
  }

  .mobile-course-scroller {
    display: grid;
    grid-auto-columns: minmax(158px, 46%);
    grid-auto-flow: column;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobile-course-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    scroll-snap-align: start;
  }

  .mobile-course-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.38 / 1;
    object-fit: cover;
  }

  .mobile-course-card div {
    padding: 12px 12px 14px;
  }

  .mobile-course-card h3 {
    margin: 0;
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
  }

  .mobile-course-card a {
    display: inline-block;
    margin-top: 22px;
    color: #d63b1c;
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-teacher-list {
    display: grid;
    gap: 12px;
  }

  .mobile-teacher-list article {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    min-height: 104px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
  }

  .mobile-teacher-list img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 8px;
  }

  .mobile-teacher-list h3 {
    margin: 2px 0 8px;
    color: #1f2530;
    font-size: 15px;
    line-height: 1.3;
  }

  .mobile-teacher-list h3 span {
    margin-left: 4px;
    color: #444;
    font-size: 12px;
    font-weight: 500;
  }

  .mobile-teacher-list p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #777;
    font-size: 12px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .mobile-news-list {
    display: grid;
  }

  .mobile-news-list a {
    display: grid;
    gap: 5px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .mobile-news-list a:last-child {
    border-bottom: 0;
  }

  .mobile-news-list strong {
    color: #202532;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
  }

  .mobile-news-list strong::first-letter {
    color: #164191;
  }

  .mobile-news-list time {
    color: #999;
    font-size: 12px;
  }

  .mobile-record {
    padding: 0 8px 18px;
    color: #444;
    text-align: center;
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-record p {
    margin: 3px 0;
  }

  .mobile-call-float {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 102;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(240, 97, 55, 0.28);
    font-size: 26px;
    font-weight: 900;
  }

  .mobile-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 101;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 68px;
    background: #fff;
    border-top: 1px solid #ececec;
    border-radius: 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  }

  .mobile-sticky a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 8px 2px;
    color: #222;
    font-size: 13px;
    font-weight: 500;
  }

  .mobile-sticky a:first-child {
    color: #164191;
  }

  .mobile-sticky span {
    font-size: 23px;
    line-height: 1;
  }
}

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

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-top-actions a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
  }

  .mobile-top-consult {
    color: #fff;
    background: var(--red);
    box-shadow: 0 8px 18px rgba(230, 36, 47, 0.2);
  }

  .mobile-top-call {
    color: var(--ink);
    background: #f4f6fa;
    border: 1px solid #dfe5ef;
  }

  .menu-button {
    display: none;
  }

  .shortcut-course {
    color: #204f9a;
    background: linear-gradient(135deg, #eef5ff, #d9eaff);
  }

  .shortcut-news {
    color: #c6222d;
    background: linear-gradient(135deg, #fff1f2, #ffe2e5);
  }

  .shortcut-about {
    color: #7b4ac9;
    background: linear-gradient(135deg, #f5efff, #eadfff);
  }

  .mobile-shortcut {
    display: grid;
    min-height: 94px;
    place-items: center;
    align-content: center;
    gap: 5px;
    text-align: center;
  }

  .mobile-shortcut i {
    width: 34px;
    height: 34px;
    margin: 0;
    color: #fff;
    background: #204f9a;
    font-size: 14px;
    font-weight: 900;
  }

  .mobile-shortcut i::before {
    content: none;
  }

  .shortcut-news i {
    background: #c6222d;
  }

  .shortcut-about i {
    background: #7b4ac9;
  }

  .mobile-shortcut strong {
    font-size: 15px;
  }

  .mobile-shortcut span {
    margin-top: 0;
    font-size: 11px;
  }
}

/* Final homepage and subpage refinements */
.brand img {
  width: 174px;
  max-height: 58px;
  object-fit: contain;
}

.faq-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(230, 36, 47, 0.035), transparent 42%),
    #f7f8fb;
}

.faq-heading {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 34px;
  text-align: center;
}

.faq-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
}

.faq-heading > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-marquee {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 4px 0 10px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.faq-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding-right: 12px;
  animation: faq-desktop-left 72s linear infinite;
  will-change: transform;
}

.faq-track:nth-child(2) {
  transform: translateX(-280px);
  animation-name: faq-desktop-right;
  animation-duration: 78s;
}

.faq-marquee:hover .faq-track,
.faq-marquee:focus-within .faq-track {
  animation-play-state: paused;
}

.faq-track a {
  display: flex;
  width: auto;
  min-width: 310px;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 12px;
  color: #fff;
  background: linear-gradient(135deg, #e6242f, #c91220);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(230, 36, 47, 0.14);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.faq-track a:nth-child(even),
.faq-track:nth-child(2) a:nth-child(odd) {
  background: linear-gradient(135deg, #16223b, #273a60);
  box-shadow: 0 12px 30px rgba(16, 26, 49, 0.13);
}

.faq-track:nth-child(2) a:nth-child(even) {
  background: linear-gradient(135deg, #e6242f, #c91220);
  box-shadow: 0 12px 30px rgba(230, 36, 47, 0.14);
}

.faq-track a span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
}

.faq-track a:hover {
  color: #fff;
  box-shadow: 0 16px 38px rgba(16, 26, 49, 0.2);
  transform: translateY(-2px);
}

.faq-track a:hover span {
  background: #fff;
}

@keyframes faq-desktop-left {
  from { transform: translateX(0); }
  to { transform: translateX(-42%); }
}

@keyframes faq-desktop-right {
  from { transform: translateX(-42%); }
  to { transform: translateX(0); }
}

.contact-section {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #121d31;
}

.contact-section::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: -290px 0 rgba(255, 255, 255, 0.04), -580px 0 rgba(255, 255, 255, 0.04);
  content: "";
}

.contact-layout {
  position: relative;
  z-index: 1;
}

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-head .section-kicker {
  color: #ff656e;
}

.contact-head h2 {
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.15;
}

.contact-head p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.contact-head .contact-phone {
  display: grid;
  min-width: 310px;
  gap: 5px;
  margin: 0;
  padding: 22px 26px;
  color: #fff;
  background: var(--red);
  border-radius: 6px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-head .contact-phone:hover {
  box-shadow: 0 18px 42px rgba(230, 36, 47, 0.28);
  transform: translateY(-4px);
}

.contact-phone small,
.contact-phone span {
  font-size: 12px;
  font-weight: 800;
  opacity: 0.76;
}

.contact-phone strong {
  font-size: 32px;
  letter-spacing: 0;
}

.campus-featured {
  display: grid;
  grid-template-columns: minmax(300px, 1.2fr) minmax(260px, 0.8fr) auto;
  align-items: center;
  gap: 40px;
  margin: 38px 0 22px;
  padding: 30px 34px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.campus-featured > div {
  display: grid;
  gap: 11px;
}

.campus-featured > div span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.campus-featured strong {
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.25;
}

.campus-featured > p {
  margin: 0;
  padding-left: 28px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  line-height: 1.8;
}

.contact-section .campus-list {
  counter-reset: campus-item 1;
  gap: 0 30px;
  margin-top: 0;
}

.contact-section .campus-list > div {
  position: relative;
  min-height: 62px;
  justify-content: flex-start;
  padding: 16px 8px 16px 50px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.contact-section .campus-list > div::before {
  position: absolute;
  left: 8px;
  color: #ff626c;
  content: counter(campus-item, decimal-leading-zero);
  counter-increment: campus-item;
  font-size: 11px;
  font-weight: 900;
}

.contact-section .campus-list span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.contact-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.66);
}

.history-section {
  overflow: hidden;
  padding: 76px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(230, 36, 47, 0.1), transparent 26%),
    linear-gradient(145deg, #101a2e 0%, #16223a 58%, #10192c 100%);
}

.history-layout {
  display: block;
}

.history-heading {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  column-gap: 72px;
  max-width: 1120px;
  margin: 0 auto 42px;
}

.history-heading h2 {
  grid-column: 1;
  grid-row: 2 / span 2;
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.16;
}

.history-heading > p:not(.section-kicker) {
  grid-column: 2;
  grid-row: 2;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.history-heading > strong {
  grid-column: 2;
  grid-row: 3;
  display: block;
  margin-top: 10px;
  color: #ff6972;
  font-size: 14px;
  line-height: 1.6;
}

.history-stage {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(36px, 4vw, 60px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.history-visual {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  isolation: isolate;
}

.history-visual::before {
  position: absolute;
  inset: 5%;
  z-index: -1;
  background: rgba(230, 36, 47, 0.2);
  border-radius: 50%;
  filter: blur(34px);
  content: "";
  animation: history-aura 4.8s ease-in-out infinite;
}

.history-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: history-orbit-spin 18s linear infinite;
  animation-play-state: paused;
}

.history-visual.is-visible .history-orbit,
.history-visual.is-visible .history-visual-photo {
  animation-play-state: running;
}

.history-orbit-outer { inset: 0; }

.history-orbit-inner {
  inset: 10%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
  animation-direction: reverse;
  animation-duration: 13s;
}

.history-orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #ff5965;
  border: 2px solid #142038;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.13), 0 0 20px rgba(255, 89, 101, 0.55);
}

.history-orbit-outer i:nth-child(1) { top: 13%; left: 14%; }
.history-orbit-outer i:nth-child(2) { top: 49%; right: -5px; }
.history-orbit-outer i:nth-child(3) { bottom: 8%; left: 25%; }
.history-orbit-inner i:nth-child(1) { top: -5px; left: 51%; }
.history-orbit-inner i:nth-child(2) { right: 4%; bottom: 20%; }

.history-visual-disc {
  position: absolute;
  inset: 16%;
  overflow: hidden;
  background: #17243d;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 22px 65px rgba(2, 7, 16, 0.45), inset 0 0 0 8px rgba(255, 255, 255, 0.04);
}

.history-visual-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08) brightness(0.58);
  transform: scale(1.1);
  animation: history-photo-breathe 9s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.history-visual-disc::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 25, 48, 0.08), rgba(10, 18, 34, 0.74));
  content: "";
}

.history-visual-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.history-visual-copy img {
  width: 132px;
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.34));
}

.history-visual-copy span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.history-visual-copy strong {
  margin-top: 5px;
  font-size: 25px;
  letter-spacing: 0;
}

.history-visual-note {
  position: absolute;
  right: 50%;
  bottom: -34px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: translateX(50%);
  white-space: nowrap;
}

@keyframes history-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes history-photo-breathe {
  from { transform: scale(1.08) translate3d(-1.5%, 0, 0); }
  to { transform: scale(1.2) translate3d(1.5%, -1%, 0); }
}

@keyframes history-aura {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.history-timeline {
  --history-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  margin: 0;
  margin-inline: auto;
  padding: 4px 0 4px 38px;
  list-style: none;
}

.history-timeline::before,
.history-timeline::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 2px;
  content: "";
  transform: translateX(-50%);
}

.history-timeline::before {
  background: rgba(255, 255, 255, 0.12);
}

.history-timeline::after {
  background: linear-gradient(180deg, #ff6a73 0%, var(--red) 72%, #ff9a6c 100%);
  box-shadow: 0 0 22px rgba(230, 36, 47, 0.45);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 2.2s cubic-bezier(0.24, 0.75, 0.2, 1);
}

.history-timeline.is-growing::after {
  transform: translateX(-50%) scaleY(1);
}

.history-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  min-height: 108px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(3, 8, 18, 0.12);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, border-color 240ms ease, background 240ms ease, transform 680ms cubic-bezier(0.2, 0.76, 0.2, 1);
}

.history-timeline.is-growing li {
  opacity: 1;
  transform: translateX(0);
}

.history-timeline.is-growing li:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 101, 111, 0.48);
  transform: translateY(-3px);
}

.history-timeline li::before {
  position: absolute;
  top: 43px;
  left: -36px;
  z-index: 2;
  width: 10px;
  height: 10px;
  background: #142038;
  border: 3px solid #ff5c66;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.11);
  content: "";
  transform: scale(0);
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.4);
}

.history-timeline li:not(:nth-child(3n + 1))::before { display: none; }

.history-timeline.is-growing li::before {
  transform: scale(1);
}

.history-timeline time {
  display: inline-grid;
  width: 60px;
  height: 29px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.history-timeline h3 {
  margin: 1px 0 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.history-timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.65;
}

.history-timeline li:nth-child(2) { transition-delay: 120ms; }
.history-timeline li:nth-child(3) { transition-delay: 240ms; }
.history-timeline li:nth-child(4) { transition-delay: 360ms; }
.history-timeline li:nth-child(5) { transition-delay: 480ms; }
.history-timeline li:nth-child(6) { transition-delay: 600ms; }
.history-timeline li:nth-child(7) { transition-delay: 720ms; }
.history-timeline li:nth-child(8) { transition-delay: 840ms; }
.history-timeline li:nth-child(9) { transition-delay: 960ms; }
.history-timeline li:nth-child(10) { transition-delay: 1080ms; }
.history-timeline li:nth-child(11) { transition-delay: 1200ms; }
.history-timeline li:nth-child(12) { transition-delay: 1320ms; }
.history-timeline.is-growing li:nth-child(1)::before { transition-delay: 120ms; }
.history-timeline.is-growing li:nth-child(2)::before { transition-delay: 320ms; }
.history-timeline.is-growing li:nth-child(3)::before { transition-delay: 520ms; }
.history-timeline.is-growing li:nth-child(4)::before { transition-delay: 720ms; }
.history-timeline.is-growing li:nth-child(5)::before { transition-delay: 920ms; }
.history-timeline.is-growing li:nth-child(6)::before { transition-delay: 1120ms; }
.history-timeline.is-growing li:nth-child(7)::before { transition-delay: 1320ms; }
.history-timeline.is-growing li:nth-child(8)::before { transition-delay: 1520ms; }
.history-timeline.is-growing li:nth-child(9)::before { transition-delay: 1720ms; }
.history-timeline.is-growing li:nth-child(10)::before { transition-delay: 1920ms; }
.history-timeline.is-growing li:nth-child(11)::before { transition-delay: 2120ms; }
.history-timeline.is-growing li:nth-child(12)::before { transition-delay: 2320ms; }

/* Homepage hierarchy and expanded information center */
.section-heading .section-kicker,
.about-copy .section-kicker,
.contact-head .section-kicker {
  max-width: 760px;
  line-height: 1.65;
}

.section-heading.centered .section-kicker {
  margin-right: auto;
  margin-left: auto;
}

.resource-layout-expanded {
  display: block;
}

.resources-section {
  background: #f5f7fa;
}

.resource-layout-expanded .news-panel {
  width: 100%;
  padding: 0;
}

.resource-layout-expanded .news-head {
  gap: 48px;
  padding: 0 0 26px;
  border-bottom: 1px solid #cfd6e1;
}

.news-title-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.news-title-wrap > div > p {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.news-title-icon {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(231, 35, 48, 0.2);
}

.news-title-icon::before,
.news-title-icon::after {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
}

.news-title-icon::before {
  top: 16px;
  box-shadow: 0 6px 0 #fff, 0 12px 0 #fff;
}

.news-title-icon::after {
  top: 11px;
  left: 12px;
  width: 8px;
  height: 8px;
  background: transparent;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.resource-layout-expanded .news-head h2 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.1;
}

.news-head-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}

.news-head-side > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.news-head-side > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  transition: background 220ms ease, transform 220ms ease;
}

.news-head-side > a:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.resource-layout-expanded .news-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 42px;
}

.resource-layout-expanded .news-list a {
  position: relative;
  grid-template-columns: 38px 74px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 114px;
  padding: 20px 12px 20px 0;
  transition: background 220ms ease, padding 220ms ease;
}

.resource-layout-expanded .news-list a:nth-child(odd) {
  padding-right: 30px;
  border-right: 1px solid #e0e5ed;
}

.resource-layout-expanded .news-list a:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.74);
}

.resource-layout-expanded .news-list a > span {
  align-self: start;
  margin-top: 3px;
}

.resource-layout-expanded .news-list strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
}

.resource-layout-expanded .news-list p {
  margin: 7px 0 0;
  color: #7e8899;
  font-size: 12.5px;
  line-height: 1.6;
}

.resource-layout-expanded .news-list time {
  align-self: start;
  margin-top: 3px;
}

/* Each milestone grows on its own horizontal rail, avoiding a crooked page-long line. */
.history-timeline {
  padding-left: 0;
}

.history-timeline::before,
.history-timeline::after {
  display: none;
}

.history-timeline li {
  overflow: hidden;
  padding-top: 20px;
}

.history-timeline li::before {
  top: 0;
  left: 0;
  display: block !important;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #ff7a67 70%, transparent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.history-timeline.is-growing li::before {
  transform: scaleX(1);
}

.history-timeline time {
  position: relative;
  overflow: visible;
  color: #fff;
  background: rgba(230, 36, 47, 0.14);
  border-color: rgba(255, 92, 102, 0.4);
}

.history-timeline time::after {
  position: absolute;
  top: -24px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ff5c66;
  border: 3px solid #142038;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.13);
  content: "";
  transform: translateX(-50%) scale(0);
  transition: transform 420ms 280ms cubic-bezier(0.2, 0.9, 0.25, 1.4);
}

.history-timeline.is-growing time::after {
  transform: translateX(-50%) scale(1);
}

@media (max-width: 900px) {
  .resource-layout-expanded .news-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .news-head-side {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-left: 0;
  }

  .resource-layout-expanded .news-list {
    grid-template-columns: 1fr;
  }

  .resource-layout-expanded .news-list a:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .history-timeline {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .resource-layout-expanded .news-list a {
    grid-template-columns: 32px 66px minmax(0, 1fr);
    min-height: 0;
    padding: 18px 0;
  }

  .resource-layout-expanded .news-list time {
    display: none;
  }

  .news-title-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .news-title-icon::before { left: 10px; }
  .news-title-icon::after { left: 9px; }
}

.footer-wechat > img {
  width: 116px;
  height: 116px;
  padding: 7px;
  object-fit: contain;
  background: #fff;
  border: 0;
  border-radius: 7px;
}

@media (max-width: 900px) {
  .history-heading {
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    column-gap: 36px;
  }

  .history-stage {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .history-visual {
    width: min(72vw, 310px);
  }

  .history-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 52px;
  }

  .history-timeline::before,
  .history-timeline::after {
    left: 17px;
  }

  .history-timeline li::before,
  .history-timeline li:not(:nth-child(3n + 1))::before {
    display: block;
    top: 36px;
    right: auto;
    left: -41px;
  }

  .contact-head,
  .campus-featured {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-head .contact-phone {
    min-width: 0;
  }

  .campus-featured {
    gap: 22px;
  }

  .campus-featured > p {
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .brand img {
    width: 132px;
    max-height: 44px;
  }

  .faq-section,
  .contact-section {
    display: block;
  }

  .faq-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .faq-track a {
    width: 300px;
    min-height: 78px;
    font-size: 14px;
  }

  .contact-head {
    gap: 28px;
  }

  .contact-head h2 {
    font-size: 34px;
  }

  .contact-phone strong {
    font-size: 27px;
  }

  .contact-section .campus-list {
    grid-template-columns: 1fr;
  }

  .contact-footer-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 52px;
  }

  .history-timeline::before,
  .history-timeline::after {
    left: 17px;
  }

  .history-timeline li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 15px 16px;
  }

  .history-timeline li::before {
    left: -41px;
    right: auto;
    top: 36px;
  }

  .history-heading {
    display: block;
    margin-bottom: 30px;
  }

  .history-heading h2 {
    margin: 8px 0 14px;
    font-size: 32px;
  }

  .history-heading > strong {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-track {
    animation-play-state: paused;
  }

  .history-timeline::after,
  .history-timeline li,
  .history-timeline li::before {
    transition: none;
  }

  .history-orbit,
  .history-visual-photo,
  .history-visual::before {
    animation: none;
  }

  .history-timeline::after,
  .history-timeline li,
  .history-timeline li::before {
    opacity: 1;
    transform: none;
  }
}

.mobile-redesign {
  display: none;
}

@media (max-width: 720px) {
  :root {
    --mobile-navy: #101a31;
    --mobile-red: #e6242f;
    --mobile-gold: #d7a84c;
    --mobile-paper: #f3f5f8;
    --mobile-card: #ffffff;
    --mobile-subtle: #667085;
    --mobile-line: rgba(20, 30, 54, 0.1);
    --mobile-shadow: 0 18px 45px rgba(16, 26, 49, 0.12);
  }

  main {
    display: flex;
    flex-direction: column;
  }

  main > .mobile-redesign {
    order: 1;
  }

  main > .mobile-brand-proof-section {
    order: 2;
  }

  main > .faq-section {
    order: 3;
  }

  html,
  body {
    width: 100%;
    overflow-x: hidden;
    background: var(--mobile-paper);
  }

  body {
    padding-bottom: 76px;
  }

  .notice-bar,
  .desktop-nav,
  .header-cta,
  .header-phone,
  .menu-button,
  .mobile-panel,
  .mobile-backdrop,
  main > .hero,
  main > .mobile-hub,
  main > .mobile-home-stream,
  main > .proof-strip,
  main > .countdown-band,
  main > .process-section,
  main > .courses-section,
  main > .trial-section,
  main > .majors-section,
  main > .resources-section,
  main > .about-section,
  main > .teachers-section,
  main > .campus-section,
  main > .strength-section,
  main > .contact-section,
  .floating-consult,
  .site-footer {
    display: none !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(16, 26, 49, 0.06);
    box-shadow: 0 10px 28px rgba(16, 26, 49, 0.06);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    width: 100%;
    min-height: 50px;
    padding: 0 10px;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .brand img {
    width: 112px;
    max-height: 38px;
    height: auto;
  }

  .mobile-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-top-actions a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-top-consult {
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #ff563f);
    box-shadow: 0 10px 22px rgba(230, 36, 47, 0.22);
  }

  .mobile-top-call {
    color: var(--mobile-navy);
    background: #f7f8fb;
    border: 1px solid #e1e6ef;
  }

  .mobile-header-nav {
    position: sticky;
    top: 50px;
    z-index: 119;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 8px 9px;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid rgba(16, 26, 49, 0.06);
    box-shadow: 0 8px 22px rgba(16, 26, 49, 0.08);
    scrollbar-width: none;
  }

  .mobile-header-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-header-nav a {
    display: flex;
    min-width: 0;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    color: var(--mobile-navy);
    background: #f5f7fb;
    border: 1px solid #e8edf5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-header-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border-color: transparent;
  }

  .mobile-header-nav a.phone {
    gap: 2px;
    padding: 0;
    color: var(--mobile-red);
    background: transparent;
    border-color: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 11px;
    letter-spacing: 0;
  }

  .mobile-header-nav a.phone span {
    color: var(--mobile-red);
    font-size: 14px;
    line-height: 1;
  }

  .mobile-header-nav a.phone strong {
    color: var(--mobile-red);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-redesign {
    display: block;
    padding: 14px 14px 26px;
    background:
      radial-gradient(circle at 18% 0%, rgba(230, 36, 47, 0.1), transparent 28%),
      linear-gradient(180deg, #fbfcff 0%, var(--mobile-paper) 22%, #eef2f7 100%);
  }

  .mobile-redesign * {
    min-width: 0;
  }

  .mobile-redesign-hero {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    color: #fff;
    background: var(--mobile-navy);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(16, 26, 49, 0.25);
    isolation: isolate;
  }

  .mobile-redesign-hero::before {
    content: "";
    position: absolute;
    inset: auto 18px 22px;
    z-index: 3;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 168, 76, 0.85), transparent);
  }

  .mobile-redesign-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.58s ease;
  }

  .mobile-redesign-slide.active {
    opacity: 1;
    z-index: 2;
  }

  .mobile-redesign-slide img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transform: scale(1.02);
  }

  .mobile-redesign-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(10, 16, 31, 0.1) 0%, rgba(10, 16, 31, 0.36) 38%, rgba(10, 16, 31, 0.88) 100%),
      linear-gradient(120deg, rgba(10, 16, 31, 0.85) 0%, transparent 58%);
  }

  .mobile-redesign-slide > div {
    position: absolute;
    right: 22px;
    bottom: 44px;
    left: 22px;
    z-index: 2;
    display: grid;
    gap: 10px;
  }

  .mobile-redesign-slide > div > span {
    width: max-content;
    max-width: 100%;
    padding: 6px 11px;
    color: #ffe5e6;
    background: rgba(230, 36, 47, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-redesign-slide h1,
  .mobile-redesign-slide h2 {
    margin: 0;
    color: #fff;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }

  .mobile-redesign-slide p {
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    line-height: 1.65;
  }

  .mobile-redesign-slide a {
    display: inline-flex;
    width: max-content;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(230, 36, 47, 0.28);
  }

  .mobile-redesign-dots {
    position: absolute;
    right: 22px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 7px;
  }

  .mobile-redesign-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    background: rgba(255, 255, 255, 0.48);
    border: 0;
    border-radius: 999px;
  }

  .mobile-redesign-dots button.active {
    width: 22px;
    background: #fff;
  }

  .mobile-diamond-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 18px;
  }

  .mobile-diamond-nav a {
    display: grid;
    min-height: 96px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 12px 4px;
    color: var(--mobile-navy);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 26, 49, 0.08);
    text-align: center;
  }

  .mobile-diamond-nav i,
  .mobile-sticky span {
    font-style: normal;
  }

  .mobile-diamond-nav i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-navy), #2d426c);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px rgba(16, 26, 49, 0.14);
  }

  .mobile-diamond-nav a:nth-child(2) i,
  .mobile-diamond-nav a:nth-child(5) i {
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
  }

  .mobile-diamond-nav a:nth-child(3) i,
  .mobile-diamond-nav a:nth-child(6) i {
    background: linear-gradient(135deg, #c39232, var(--mobile-gold));
  }

  .mobile-diamond-nav strong {
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
  }

  .mobile-diamond-nav span {
    color: var(--mobile-subtle);
    font-size: 10px;
    line-height: 1.2;
  }

  .mobile-action-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    margin: -2px 0 16px;
    padding: 12px;
    background: linear-gradient(135deg, #111c33, #263d66);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(16, 26, 49, 0.16);
  }

  .mobile-action-strip div {
    display: grid;
    gap: 3px;
  }

  .mobile-action-strip span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
  }

  .mobile-action-strip strong {
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
  }

  .mobile-action-strip a,
  .mobile-panel-actions a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: var(--mobile-navy);
    background: #fff;
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-action-strip a.primary,
  .mobile-panel-actions a.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border-color: transparent;
    box-shadow: 0 10px 22px rgba(230, 36, 47, 0.22);
  }

  .mobile-premium-panel,
  .mobile-campus-block,
  .mobile-advantage-block,
  .mobile-teacher-block,
  .mobile-news-preview,
  .mobile-consult-card {
    margin: 0 0 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    box-shadow: var(--mobile-shadow);
  }

  .mobile-panel-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 14px;
  }

  .mobile-panel-actions a {
    width: 100%;
    min-height: 42px;
    color: var(--mobile-red);
    background: #fff7f8;
    border-color: rgba(230, 36, 47, 0.16);
    font-size: 13px;
  }

  .mobile-panel-actions a:not(.primary) {
    color: var(--mobile-navy);
    background: #f3f6fb;
    border-color: rgba(16, 26, 49, 0.08);
  }

  .mobile-redesign-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 12px;
    align-items: end;
    margin-bottom: 12px;
  }

  .mobile-redesign-head span {
    grid-column: 1 / -1;
    color: var(--mobile-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-redesign-head h2 {
    margin: 0;
    color: var(--mobile-navy);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
  }

  .mobile-redesign-head p {
    grid-column: 1 / -1;
    margin: 0;
    color: #647189;
    font-size: 12px;
    line-height: 1.45;
  }

  .mobile-redesign-head a {
    color: var(--mobile-subtle);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-course-pillbar,
  .mobile-campus-tabs {
    display: flex;
    gap: 9px;
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .mobile-course-pillbar::-webkit-scrollbar,
  .mobile-campus-tabs::-webkit-scrollbar,
  .mobile-premium-courses::-webkit-scrollbar,
  .mobile-campus-gallery::-webkit-scrollbar {
    display: none;
  }

  .mobile-course-pillbar button,
  .mobile-course-pillbar a,
  .mobile-course-pillbar span,
  .mobile-campus-tabs span {
    flex: 0 0 auto;
    padding: 8px 13px;
    color: #4b5563;
    background: #f3f5f9;
    border: 1px solid #edf0f5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-course-pillbar button.active,
  .mobile-course-pillbar a.active,
  .mobile-course-pillbar span.active,
  .mobile-campus-tabs span.active {
    color: #fff;
    background: var(--mobile-navy);
    border-color: var(--mobile-navy);
  }

  .mobile-premium-courses {
    display: grid;
    gap: 10px;
  }

  .mobile-premium-courses article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    grid-template-areas:
      "image body action"
      "image body meta";
    gap: 0 10px;
    align-items: center;
    min-height: 86px;
    padding: 6px 0;
    background: transparent;
    border-bottom: 1px solid rgba(16, 26, 49, 0.08);
  }

  .mobile-premium-courses article:last-child {
    border-bottom: 0;
  }

  .mobile-premium-courses img {
    display: block;
    grid-area: image;
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(16, 26, 49, 0.08);
  }

  .mobile-premium-courses div {
    display: grid;
    grid-area: body;
    gap: 3px;
    padding: 0;
  }

  .mobile-premium-courses h3 {
    margin: 0;
    color: var(--mobile-navy);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  .mobile-premium-courses p {
    margin: 0;
    color: var(--mobile-subtle);
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .mobile-premium-courses em {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    color: var(--mobile-red);
    background: #fff4f5;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    line-height: 1.1;
  }

  .mobile-premium-courses a {
    grid-area: action;
    display: inline-flex;
    width: max-content;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: var(--mobile-red);
    background: #fff;
    border: 1px solid rgba(230, 36, 47, 0.32);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-premium-courses a::before {
    content: "☎";
    margin-right: 3px;
    font-size: 11px;
  }

  .mobile-premium-courses article > span {
    grid-area: meta;
    align-self: start;
    justify-self: end;
    color: #8a94a6;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-campus-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .mobile-campus-gallery figure {
    position: relative;
    min-height: 98px;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--mobile-navy);
    box-shadow: 0 10px 22px rgba(16, 26, 49, 0.08);
  }

  .mobile-campus-gallery figure.feature {
    min-height: 150px;
    grid-column: 1 / -1;
    border-radius: 18px;
  }

  .mobile-campus-gallery img {
    width: 100%;
    height: 98px;
    object-fit: cover;
  }

  .mobile-campus-gallery figure.feature img {
    height: 150px;
  }

  .mobile-campus-gallery figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(9, 15, 29, 0.78) 100%);
  }

  .mobile-campus-gallery figcaption {
    position: absolute;
    right: 9px;
    bottom: 9px;
    left: 9px;
    z-index: 1;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
  }

  .mobile-campus-gallery figure.feature figcaption {
    right: 13px;
    bottom: 12px;
    left: 13px;
    font-size: 14px;
  }

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

  .mobile-advantage-grid article {
    display: grid;
    gap: 7px;
    min-height: 138px;
    padding: 13px;
    background: linear-gradient(145deg, #fff, #f7f9fd);
    border: 1px solid #edf0f5;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 26, 49, 0.06);
  }

  .mobile-advantage-grid article:nth-child(1),
  .mobile-advantage-grid article:nth-child(4) {
    background: linear-gradient(145deg, #121d31, #20365f);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .mobile-advantage-grid i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    border-radius: 12px;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(230, 36, 47, 0.16);
  }

  .mobile-advantage-grid article:nth-child(1) i,
  .mobile-advantage-grid article:nth-child(4) i {
    color: var(--mobile-red);
    background: #fff;
  }

  .mobile-advantage-grid h3 {
    margin: 0;
    color: var(--mobile-navy);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
  }

  .mobile-advantage-grid p {
    margin: 0;
    color: var(--mobile-subtle);
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-advantage-grid article:nth-child(1) h3,
  .mobile-advantage-grid article:nth-child(4) h3 {
    color: #fff;
  }

  .mobile-advantage-grid article:nth-child(1) p,
  .mobile-advantage-grid article:nth-child(4) p {
    color: rgba(255, 255, 255, 0.72);
  }

  .mobile-redesign-teachers {
    display: grid;
    gap: 10px;
  }

  .mobile-redesign-teachers article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 1px solid #edf0f5;
    border-radius: 18px;
  }

  .mobile-redesign-teachers img {
    width: 72px;
    height: 82px;
    object-fit: cover;
    object-position: top center;
    background: #eef2f7;
    border-radius: 14px;
  }

  .mobile-redesign-teachers h3 {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 7px;
    align-items: baseline;
    margin: 0 0 5px;
    color: var(--mobile-navy);
    font-size: 16px;
    font-weight: 900;
  }

  .mobile-redesign-teachers h3 span {
    color: var(--mobile-red);
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-redesign-teachers p {
    margin: 0;
    color: var(--mobile-subtle);
    font-size: 12px;
    line-height: 1.6;
  }

  .mobile-news-preview-list {
    display: grid;
    gap: 0;
  }

  .mobile-news-preview-list a {
    display: grid;
    min-height: 50px;
    align-content: center;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid var(--mobile-line);
  }

  .mobile-news-preview-list a:first-child {
    border-top: 0;
    padding-top: 4px;
  }

  .mobile-news-preview-list strong {
    display: -webkit-box;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-news-preview-list strong::before {
    content: none;
  }

  .mobile-news-preview-list time {
    display: none;
  }

  .mobile-consult-card {
    display: grid;
    gap: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border: 0;
    box-shadow: 0 22px 45px rgba(230, 36, 47, 0.24);
  }

  .mobile-consult-card span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-consult-card h2 {
    margin: 5px 0 6px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.24;
  }

  .mobile-consult-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.6;
  }

  .mobile-consult-card > a {
    display: inline-flex;
    width: max-content;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: var(--mobile-red);
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-call-float {
    top: 50%;
    right: 10px;
    bottom: auto;
    z-index: 130;
    display: grid;
    width: 54px;
    height: 68px;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px 0 0 24px;
    box-shadow: 0 16px 32px rgba(230, 36, 47, 0.28);
    transform: translateY(-50%);
  }

  .mobile-call-float span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    color: var(--mobile-red);
    background: #fff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-call-float strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-sticky {
    z-index: 125;
    min-height: 68px;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(16, 26, 49, 0.08);
    box-shadow: 0 -12px 30px rgba(16, 26, 49, 0.08);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky a {
    gap: 5px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-sticky a:first-child {
    color: var(--mobile-red);
  }

  .mobile-sticky span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: currentColor;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
  }
}

@media (max-width: 374px) {
  .mobile-redesign-slide h1,
  .mobile-redesign-slide h2 {
    font-size: 28px;
  }

  .mobile-diamond-nav {
    gap: 8px;
  }

  .mobile-diamond-nav a {
    min-height: 90px;
  }

  .mobile-action-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-action-strip div {
    grid-column: 1 / -1;
  }

  .mobile-action-strip a {
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --mobile-red-soft: #ff3b46;
    --mobile-red-deep: #bd1720;
  }

  .mobile-top-consult,
  .mobile-redesign-slide a,
  .mobile-diamond-nav a:nth-child(2) i,
  .mobile-diamond-nav a:nth-child(3) i,
  .mobile-diamond-nav a:nth-child(5) i,
  .mobile-diamond-nav a:nth-child(6) i,
  .mobile-consult-card,
  .mobile-call-float {
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep)) !important;
  }

  .mobile-redesign-hero::before {
    background: linear-gradient(90deg, transparent, rgba(230, 36, 47, 0.9), transparent);
  }

  .faq-section {
    display: block !important;
    padding: 22px 0 calc(96px + env(safe-area-inset-bottom));
    overflow: hidden;
    background: #fff;
  }

  .faq-section .container {
    width: 100%;
  }

  .faq-heading {
    display: block;
    margin: 0 0 14px;
    padding: 0 14px;
    text-align: center;
  }

  .faq-heading .section-kicker {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.25;
  }

  .faq-heading h2 {
    display: none;
  }

  .faq-heading > p {
    max-width: none;
    margin: 5px 0 0;
    color: #8a94a6;
    font-size: 12px;
    line-height: 1.35;
  }

  .faq-marquee {
    display: grid;
    gap: 8px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    mask-image: none;
  }

  .faq-track {
    display: flex;
    width: max-content;
    gap: 10px;
    padding-right: 10px;
    animation: faq-mobile-left 96s linear infinite;
  }

  .faq-track:nth-child(2) {
    transform: translateX(-138px);
    animation-name: faq-mobile-right;
    animation-duration: 104s;
  }

  .faq-track:nth-child(3) {
    transform: translateX(-72px);
    animation-name: faq-mobile-left-offset;
    animation-duration: 112s;
  }

  .faq-track:nth-child(4) {
    transform: translateX(-210px);
    animation-name: faq-mobile-right-deep;
    animation-duration: 120s;
  }

  .faq-track a {
    width: auto;
    min-width: 176px;
    min-height: 0;
    height: 39px;
    gap: 7px;
    padding: 0 16px 0 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    border: 0;
    border-radius: 7px;
    box-shadow: 0 10px 20px rgba(230, 36, 47, 0.15);
    font-size: 0;
    font-weight: 900;
    white-space: nowrap;
  }

  .faq-track a::after {
    content: attr(data-mobile-label);
    font-size: 13px;
    line-height: 1;
  }

  .faq-track a:nth-child(even) {
    background: linear-gradient(135deg, var(--mobile-navy), #263d66);
    box-shadow: 0 10px 20px rgba(16, 26, 49, 0.16);
  }

  .faq-track:nth-child(2) a:nth-child(odd) {
    background: linear-gradient(135deg, var(--mobile-navy), #263d66);
    box-shadow: 0 10px 20px rgba(16, 26, 49, 0.16);
  }

  .faq-track:nth-child(2) a:nth-child(even) {
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    box-shadow: 0 10px 20px rgba(230, 36, 47, 0.15);
  }

  .faq-track:nth-child(3) a:nth-child(odd),
  .faq-track:nth-child(4) a:nth-child(even) {
    background: linear-gradient(135deg, var(--mobile-navy), #263d66);
    box-shadow: 0 10px 20px rgba(16, 26, 49, 0.16);
  }

  .faq-track:nth-child(3) a:nth-child(even),
  .faq-track:nth-child(4) a:nth-child(odd) {
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    box-shadow: 0 10px 20px rgba(230, 36, 47, 0.15);
  }

  .faq-track a span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--mobile-red);
    background: #fff;
    border-radius: 5px;
    font-size: 0;
    line-height: 1;
  }

  .faq-track a span::before {
    content: "问";
    color: var(--mobile-red);
    font-size: 10px;
    font-weight: 900;
  }

  .faq-track a:nth-child(even) span::before,
  .faq-track:nth-child(2) a:nth-child(odd) span::before {
    color: var(--mobile-navy);
  }

  .faq-track:nth-child(2) a:nth-child(even) span::before {
    color: var(--mobile-red);
  }

  .faq-track:nth-child(3) a:nth-child(odd) span::before,
  .faq-track:nth-child(4) a:nth-child(even) span::before {
    color: var(--mobile-navy);
  }

  .faq-track:nth-child(3) a:nth-child(even) span::before,
  .faq-track:nth-child(4) a:nth-child(odd) span::before {
    color: var(--mobile-red);
  }

  .faq-track a:hover {
    color: #fff;
    border-color: transparent;
    transform: none;
  }

  .faq-track a:hover span {
    background: #fff;
  }

  .faq-track a:hover span::before {
    color: var(--mobile-red);
  }

  @keyframes faq-mobile-left {
    from { transform: translateX(0); }
    to { transform: translateX(-42%); }
  }

  @keyframes faq-mobile-right {
    from { transform: translateX(-138px); }
    to { transform: translateX(-52%); }
  }

  @keyframes faq-mobile-left-offset {
    from { transform: translateX(-72px); }
    to { transform: translateX(-48%); }
  }

  @keyframes faq-mobile-right-deep {
    from { transform: translateX(-210px); }
    to { transform: translateX(-58%); }
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 78px;
  }

  .mobile-call-float {
    position: fixed;
    top: 50%;
    right: -4px;
    bottom: auto;
    z-index: 145;
    display: grid !important;
    width: 52px;
    min-height: 70px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 8px 5px 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720) !important;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-right: 0;
    border-radius: 22px 0 0 22px;
    box-shadow: 0 16px 34px rgba(230, 36, 47, 0.32), 0 6px 18px rgba(16, 26, 49, 0.16);
    text-decoration: none;
    transform: translateY(-50%);
  }

  .mobile-call-float .mobile-service-icon {
    display: block;
    width: 28px;
    height: 28px;
    padding: 5px;
    color: var(--mobile-red);
    background: #fff;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(230, 36, 47, 0.08);
    fill: none;
    stroke: currentColor;
    stroke-width: 2.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    box-sizing: border-box;
  }

  .mobile-call-float strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-sticky {
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 135;
    display: grid;
    grid-template-columns: 58px 58px minmax(0, 1fr);
    gap: 6px;
    min-height: 56px;
    padding: 6px;
    background: #111a2f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 -8px 28px rgba(16, 26, 49, 0.18), 0 12px 34px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky a,
  .mobile-sticky button {
    min-width: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    font: inherit;
  }

  .mobile-sticky-action {
    display: grid;
    min-height: 44px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 2px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-sticky-action span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
  }

  .mobile-sticky-action strong {
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    line-height: 1;
  }

  .mobile-sticky-consult {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px rgba(230, 36, 47, 0.32);
    font-size: 15px !important;
    font-weight: 900 !important;
    letter-spacing: 0;
  }

  .mobile-copy-toast {
    position: fixed;
    right: 20px;
    bottom: 82px;
    left: 20px;
    z-index: 150;
    padding: 10px 14px;
    color: #fff;
    background: rgba(17, 26, 47, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(16, 26, 49, 0.22);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-brand-proof-section {
  display: none;
}

.mobile-about-page {
  display: none;
}

@media (max-width: 720px) {
  .mobile-brand-proof-section {
    display: block;
    padding: 28px 14px 42px;
    overflow: hidden;
    background:
      linear-gradient(180deg, #fff 0%, #f7f9fd 62%, #eef2f7 100%);
  }

  .mobile-brand-proof-actions {
    margin-bottom: 10px;
  }

  .mobile-brand-proof-head {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
    text-align: center;
  }

  .mobile-brand-proof-head span {
    color: var(--mobile-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-brand-proof-head h2 {
    margin: 0;
    color: var(--mobile-navy);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.22;
  }

  .mobile-brand-proof-head h2 strong {
    color: var(--mobile-red);
  }

  .mobile-brand-proof-head p {
    max-width: 290px;
    margin: 0 auto;
    color: var(--mobile-subtle);
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-brand-proof-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f0f3fb;
    border: 1px solid rgba(16, 26, 49, 0.06);
    border-radius: 20px;
  }

  .mobile-brand-proof-stats div {
    display: grid;
    min-height: 94px;
    place-items: center;
    align-content: center;
    gap: 4px;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 16px;
    text-align: center;
  }

  .mobile-brand-proof-stats img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 12px;
  }

  .mobile-brand-proof-stats strong {
    color: var(--mobile-navy);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-brand-proof-stats span {
    color: #657085;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
  }

  .mobile-brand-proof-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-brand-proof-cards article {
    display: grid;
    min-height: 132px;
    align-content: start;
    gap: 8px;
    padding: 17px 14px 15px;
    background: #fff;
    border: 1px solid #e7ecf4;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(16, 26, 49, 0.07);
  }

  .mobile-brand-proof-cards img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(16, 26, 49, 0.08);
  }

  .mobile-brand-proof-cards div {
    padding: 0;
  }

  .mobile-brand-proof-cards h3 {
    position: relative;
    margin: 0 0 9px;
    padding-left: 10px;
    color: var(--mobile-red);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
  }

  .mobile-brand-proof-cards h3::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 3px;
    background: var(--mobile-red);
    border-radius: 999px;
    content: "";
  }

  .mobile-brand-proof-cards p {
    margin: 0;
    color: #566175;
    font-size: 11px;
    line-height: 1.55;
  }
}

/* Mobile dedicated about page */
@media (max-width: 720px) {
  .about-page-main {
    display: none !important;
  }

  .mobile-about-page {
    display: block;
    padding: 14px 14px 24px;
    background:
      radial-gradient(circle at 12% 0%, rgba(230, 36, 47, 0.08), transparent 28%),
      linear-gradient(180deg, #f7f9fd 0%, #eef2f7 100%);
  }

  .mobile-about-page * {
    min-width: 0;
  }

  .mobile-about-hero {
    position: relative;
    min-height: 0;
    height: 318px;
    overflow: hidden;
    color: #fff;
    background: #111a2f;
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(16, 26, 49, 0.22);
    isolation: isolate;
  }

  .mobile-about-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      radial-gradient(circle at 50% 26%, rgba(230, 36, 47, 0.18), transparent 34%),
      linear-gradient(180deg, rgba(17, 26, 47, 0.08) 0%, rgba(17, 26, 47, 0.24) 42%, rgba(17, 26, 47, 0.95) 100%);
    content: "";
  }

  .mobile-about-hero img,
  .mobile-about-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 205px;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .mobile-about-hero img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
  }

  .mobile-about-hero-copy {
    position: absolute;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 2;
  }

  .mobile-about-hero-copy span,
  .mobile-about-head span,
  .mobile-about-kicker,
  .mobile-about-cta span {
    color: var(--mobile-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .mobile-about-hero-copy h1,
  .mobile-about-hero-copy .mobile-about-title {
    margin: 7px 0 7px;
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.16;
  }

  .mobile-about-hero-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-about-hero-copy div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 8px;
    margin-top: 13px;
  }

  .mobile-about-hero-copy a,
  .mobile-about-cta a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-about-hero-copy a + a {
    color: var(--mobile-navy);
    background: rgba(255, 255, 255, 0.92);
  }

  .mobile-about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(16, 26, 49, 0.06);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(16, 26, 49, 0.08);
  }

  .mobile-about-stats div {
    display: grid;
    min-height: 82px;
    place-items: center;
    align-content: center;
    gap: 5px;
    background: #f5f7fb;
    border-radius: 16px;
    text-align: center;
  }

  .mobile-about-stats strong {
    color: var(--mobile-navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-about-stats span {
    color: var(--mobile-subtle);
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-about-card,
  .mobile-about-block,
  .mobile-about-cta {
    margin-top: 14px;
    background: #fff;
    border: 1px solid rgba(16, 26, 49, 0.06);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(16, 26, 49, 0.07);
  }

  .mobile-about-intro {
    padding: 20px 18px;
  }

  .mobile-about-intro h2,
  .mobile-about-head h2,
  .mobile-about-cta h2 {
    margin: 7px 0 0;
    color: var(--mobile-navy);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.24;
  }

  .mobile-about-intro p:not(.mobile-about-kicker),
  .mobile-about-advantage-grid p,
  .mobile-about-timeline p,
  .mobile-about-cta p {
    color: #566176;
    font-size: 13px;
    line-height: 1.75;
  }

  .mobile-about-intro p:not(.mobile-about-kicker) {
    margin: 12px 0 0;
  }

  .mobile-about-block {
    padding: 18px;
  }

  .mobile-about-head {
    margin-bottom: 14px;
  }

  .mobile-about-advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mobile-about-advantage-grid article {
    min-height: 142px;
    padding: 14px;
    background: #f6f8fb;
    border-radius: 16px;
  }

  .mobile-about-advantage-grid strong {
    display: block;
    color: var(--mobile-red);
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-about-advantage-grid p {
    margin: 9px 0 0;
    font-size: 12px;
    line-height: 1.65;
  }

  .mobile-about-timeline {
    position: relative;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-about-timeline li {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    background: #f6f8fb;
    border-radius: 16px;
  }

  .mobile-about-timeline time {
    display: grid;
    width: 58px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--mobile-red);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-about-timeline strong {
    color: var(--mobile-navy);
    font-size: 15px;
    font-weight: 900;
  }

  .mobile-about-timeline p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.65;
  }

  .mobile-about-cta {
    padding: 22px 18px 24px;
    color: #fff;
    background: linear-gradient(135deg, #111a2f, #1c2d4f 62%, #bd1720);
    border: 0;
  }

  .mobile-about-cta span,
  .mobile-about-cta h2 {
    color: #fff;
  }

  .mobile-about-cta p {
    margin: 10px 0 16px;
    color: rgba(255, 255, 255, 0.76);
  }

  .mobile-about-cta a {
    width: 100%;
    background: #fff;
    color: var(--mobile-red);
  }

  .mobile-about-addresses {
    margin-bottom: 10px;
    padding-bottom: 20px;
  }

  .mobile-campus-address-list {
    display: grid;
    gap: 10px;
  }

  .mobile-campus-address-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    align-items: center;
    padding: 13px;
    background: #f6f8fb;
    border: 1px solid rgba(16, 26, 49, 0.05);
    border-radius: 16px;
  }

  .mobile-campus-address-list strong {
    display: block;
    color: var(--mobile-navy);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  .mobile-campus-address-list p {
    margin: 5px 0 0;
    color: #657187;
    font-size: 12px;
    line-height: 1.45;
  }

  .mobile-campus-address-list a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), #bd1720);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(230, 36, 47, 0.18);
  }

@media (max-width: 374px) {
  .mobile-campus-address-list article {
    grid-template-columns: minmax(0, 1fr) 76px;
      padding: 12px;
    }

    .mobile-campus-address-list a {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .mobile-top-actions {
    display: none !important;
  }
}
}

/* Mobile fixed navigation consistency */
@media (max-width: 720px) {
  body {
    padding-top: 101px;
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 140;
  }

  .mobile-header-nav {
    position: fixed !important;
    top: 50px !important;
    right: 0;
    left: 0;
    z-index: 139;
  }

  .mobile-sticky {
    position: fixed !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    z-index: 135;
    display: grid !important;
    grid-template-columns: 58px 58px minmax(0, 1fr) !important;
    gap: 6px !important;
    min-height: 56px !important;
    padding: 6px !important;
    background: #111a2f !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 -8px 28px rgba(16, 26, 49, 0.18), 0 12px 34px rgba(0, 0, 0, 0.18) !important;
  }

  .mobile-sticky > a:not(.mobile-sticky-action):not(.mobile-sticky-consult),
  .mobile-sticky > .primary {
    display: none !important;
  }

  .mobile-sticky-action {
    display: grid !important;
  }

  .mobile-sticky-consult {
    display: inline-flex !important;
  }
}

/* Final responsive rules for the horizontal milestone treatment. */
@media (max-width: 900px) {
  .history-timeline {
    padding-left: 0;
  }

  .history-timeline::before,
  .history-timeline::after {
    display: none;
  }

  .history-timeline li {
    padding: 20px 16px 16px;
  }

  .history-timeline li::before,
  .history-timeline li:not(:nth-child(3n + 1))::before {
    top: 0;
    right: auto;
    left: 0;
    display: block !important;
    width: 100%;
    height: 2px;
  }
}

/* Course center conversion actions */
.course-page-main .catalog-card a[data-consult-link] {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  overflow: hidden;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 5px;
  box-shadow: 0 10px 22px rgba(230, 36, 47, 0.16);
  font-size: 14px;
  font-weight: 900;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.course-page-main .catalog-card a[data-consult-link]::before,
.course-page-main .btn[data-consult-link]::before {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -42%;
  width: 24%;
  background: rgba(255, 255, 255, 0.36);
  content: "";
  filter: blur(7px);
  pointer-events: none;
  transform: rotate(18deg);
  transition: left 650ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}

.course-page-main .catalog-card a[data-consult-link]:hover,
.course-page-main .catalog-card a[data-consult-link]:focus-visible {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 16px 30px rgba(18, 29, 50, 0.22);
  outline: none;
  transform: translateY(-3px);
}

.course-page-main .catalog-card a[data-consult-link]:hover::before,
.course-page-main .catalog-card a[data-consult-link]:focus-visible::before,
.course-page-main .btn[data-consult-link]:hover::before,
.course-page-main .btn[data-consult-link]:focus-visible::before {
  left: 122%;
}

.course-page-main .catalog-card.featured a[data-consult-link] {
  color: var(--ink);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.course-page-main .catalog-card.featured a[data-consult-link]:hover,
.course-page-main .catalog-card.featured a[data-consult-link]:focus-visible {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.course-page-main .btn[data-consult-link] {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(230, 36, 47, 0.18);
  transition: box-shadow 300ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.course-page-main .btn[data-consult-link]:hover,
.course-page-main .btn[data-consult-link]:focus-visible {
  box-shadow: 0 18px 36px rgba(230, 36, 47, 0.28);
  transform: translateY(-3px);
}

/* 2026-07 visual refinement: information center, brand motion and campus switcher */
.resources-section {
  background: #fff;
}

.resource-layout.resource-layout-expanded {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.resource-layout-expanded .news-head {
  align-items: flex-end;
  padding: 0 0 30px;
  border-bottom: 1px solid #dfe4ec;
}

.news-title-wrap {
  align-items: flex-end;
  gap: 24px;
}

.news-brand-emblem {
  position: relative;
  width: 44px;
  height: 54px;
  flex: 0 0 44px;
  overflow: hidden;
  background: #fff url("assets/huaxin-logo-official-red.png") left center / 176px 54px no-repeat;
}

.news-brand-emblem::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 22px;
  height: 3px;
  background: var(--red);
  content: "";
}

.news-brand-logo {
  display: none;
}

.news-title-wrap > div > p {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 12px;
}

.resource-layout-expanded .news-head h2 {
  font-size: clamp(34px, 3.2vw, 48px);
}

.news-head-side {
  align-items: flex-end;
}

.news-head-side > p {
  max-width: 420px;
  line-height: 1.8;
}

.news-head-side > a {
  padding: 12px 20px;
  background: var(--ink);
  border-radius: 6px;
}

.resource-layout-expanded .news-list {
  counter-reset: news-card;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.resource-layout-expanded .news-list a,
.resource-layout-expanded .news-list a:nth-child(odd) {
  counter-increment: news-card;
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  min-height: 142px;
  padding: 24px 72px 22px 22px;
  overflow: hidden;
  background: #f7f8fb;
  border: 1px solid #e4e8ef;
  border-right: 1px solid #e4e8ef;
  border-radius: 7px;
  transition:
    border-color 260ms ease,
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    background 260ms ease;
}

.resource-layout-expanded .news-list a::before {
  content: counter(news-card, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 18px;
  color: #d9dee7;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.resource-layout-expanded .news-list a::after {
  right: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.resource-layout-expanded .news-list a:hover {
  padding-left: 22px;
  background: #fff;
  border-color: rgba(230, 36, 47, 0.34);
  box-shadow: 0 18px 42px rgba(18, 31, 53, 0.1);
  transform: translateY(-4px);
}

.resource-layout-expanded .news-list a:hover::after {
  transform: scaleX(1);
}

.resource-layout-expanded .news-list a > span {
  align-self: start;
  margin: 2px 0 0;
  padding: 6px 8px;
  color: var(--red);
  background: rgba(230, 36, 47, 0.08);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.resource-layout-expanded .news-list strong {
  padding-right: 4px;
  font-size: 16px;
  line-height: 1.5;
}

.resource-layout-expanded .news-list p {
  margin-top: 10px;
  color: #778297;
  font-size: 13px;
  line-height: 1.7;
}

.resource-layout-expanded .news-list time {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #9aa4b5;
  font-size: 11px;
}

.about-logo-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(230, 36, 47, 0.18), transparent 29%),
    linear-gradient(145deg, #0b1427 0%, #17243d 100%);
}

.about-logo-stage::before,
.about-logo-stage::after {
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  content: "";
  animation: about-scan 5.4s ease-in-out infinite;
}

.about-logo-stage::before {
  top: 22%;
  left: 8%;
}

.about-logo-stage::after {
  right: 8%;
  bottom: 22%;
  animation-delay: -2.7s;
}

.about-logo-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.about-logo-mask {
  position: absolute;
  inset: 21% 12%;
  background:
    linear-gradient(110deg, #fff 0%, #fff 25%, #ff6973 44%, #e6242f 58%, #fff 78%, #fff 100%);
  background-size: 260% 100%;
  filter: drop-shadow(0 22px 50px rgba(230, 36, 47, 0.3));
  -webkit-mask: url("assets/huaxin-logo-white.png") center / contain no-repeat;
  mask: url("assets/huaxin-logo-white.png") center / contain no-repeat;
  animation: about-logo-light 4.8s linear infinite;
}

.about-logo-ghost {
  position: absolute;
  inset: 22% 13%;
  width: 74%;
  height: 56%;
  object-fit: contain;
  opacity: 0.11;
  filter: blur(1px);
  transform: scale(1.09);
  animation: about-logo-breathe 4.8s ease-in-out infinite;
}

.about-logo-stage > span {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

.about-logo-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: about-orbit 18s linear infinite;
}

.about-logo-orbit.orbit-one {
  width: 78%;
  aspect-ratio: 1;
}

.about-logo-orbit.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 13s;
}

.about-logo-orbit i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff5b65;
  border: 2px solid #101a2f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.13);
}

.about-logo-orbit i:nth-child(1) { top: 10%; left: 18%; }
.about-logo-orbit i:nth-child(2) { top: 52%; right: -4px; }
.about-logo-orbit i:nth-child(3) { bottom: 8%; left: 28%; }

@keyframes about-logo-light {
  to { background-position: -160% 0; }
}

@keyframes about-logo-breathe {
  50% { opacity: 0.19; transform: scale(1.13); }
}

@keyframes about-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes about-scan {
  50% { opacity: 0.25; transform: translateX(70px); }
}

.brand-beliefs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 340px;
  overflow: hidden;
  background: #101a2f;
}

.brand-belief,
.brand-belief.active {
  position: relative;
  min-width: 0;
  min-height: 340px;
  padding: 28px 24px;
  overflow: hidden;
  background: #101a2f;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    border-color 360ms ease,
    box-shadow 520ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-belief::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 16, 30, 0.18), rgba(8, 16, 30, 0.94));
  content: "";
  transition: background 520ms ease;
}

.brand-belief::after {
  z-index: 3;
  height: 3px;
}

.brand-belief-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.72) contrast(1.05);
  transform: scale(1.08);
  transition:
    opacity 620ms ease,
    filter 620ms ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-belief > span,
.brand-belief > div {
  position: relative;
  z-index: 2;
}

.brand-belief > div {
  margin-top: auto;
}

.brand-belief h3 {
  max-width: 100%;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.42;
}

.brand-belief p {
  min-height: 70px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(12px);
}

.brand-belief.active {
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 -3px 0 var(--red), 0 20px 50px rgba(3, 8, 18, 0.24);
  transform: translateY(-7px);
}

.brand-belief.active::before {
  background: linear-gradient(180deg, rgba(7, 15, 29, 0.08), rgba(7, 15, 29, 0.84));
}

.brand-belief.active .brand-belief-bg {
  opacity: 0.9;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.025);
}

.brand-belief.active p {
  color: rgba(255, 255, 255, 0.84);
  opacity: 1;
  transform: translateY(0);
}

.campus-switch {
  display: flex;
  width: max-content;
  margin: 0 auto 24px;
  padding: 5px;
  background: #e9edf3;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
}

.campus-switch button {
  min-width: 150px;
  padding: 12px 22px;
  color: #657086;
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.campus-switch button.active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 22px rgba(18, 31, 53, 0.16);
}

.campus-panel.is-active {
  animation: campus-panel-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes campus-panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-head .contact-phone {
  min-width: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-head .contact-phone:hover {
  box-shadow: none;
  transform: none;
}

.contact-head .contact-phone strong {
  color: #fff;
}

@media (max-width: 900px) {
  .resource-layout-expanded .news-head {
    align-items: flex-start;
  }

  .resource-layout-expanded .news-list {
    grid-template-columns: 1fr;
  }

  .about-logo-stage {
    min-height: 430px;
  }

  .brand-beliefs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-belief,
  .brand-belief.active {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .news-brand-logo {
    width: 150px;
    height: 40px;
  }

  .news-brand-emblem {
    width: 40px;
    height: 42px;
    flex-basis: 40px;
    background-size: 150px 40px;
  }

  .news-title-wrap {
    align-items: center;
    gap: 14px;
  }

  .resource-layout-expanded .news-list a,
  .resource-layout-expanded .news-list a:nth-child(odd) {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 130px;
    padding: 20px 48px 20px 16px;
  }

  .resource-layout-expanded .news-list a:hover {
    padding-left: 16px;
  }

  .resource-layout-expanded .news-list time {
    display: block;
    right: 16px;
    bottom: 14px;
  }

  .about-logo-stage {
    min-height: 320px;
  }

  .brand-beliefs {
    grid-template-columns: 1fr;
  }

  .brand-belief,
  .brand-belief.active {
    min-height: 176px;
    padding: 22px;
    transform: none;
  }

  .brand-belief p {
    min-height: 0;
  }

  .campus-switch {
    width: 100%;
  }

  .campus-switch button {
    min-width: 0;
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-logo-mask,
  .about-logo-ghost,
  .about-logo-orbit,
  .about-logo-stage::before,
  .about-logo-stage::after,
  .campus-panel.is-active {
    animation: none;
  }
}

/* About-page scroll-responsive graduation-cap field */
.history-visual.history-cap-scene {
  --cap-lift: 0;
  width: min(100%, 360px);
  min-height: 440px;
  aspect-ratio: 0.82;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(230, 36, 47, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 180px 180px 24px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(2, 7, 17, 0.22);
}

.history-visual.history-cap-scene::before {
  inset: 18% 8%;
  border-radius: 45%;
  animation: history-aura 4.8s ease-in-out infinite;
}

.history-cap-field {
  position: absolute;
  inset: -110px 0 -130px;
  transform: translateY(calc(var(--cap-lift) * -150px));
  transition: transform 120ms linear;
  will-change: transform;
}

.history-cap {
  --cap-scale: 1;
  position: absolute;
  width: 48px;
  height: 38px;
  opacity: 0.5;
  filter: drop-shadow(0 10px 15px rgba(1, 5, 14, 0.35));
  animation: cap-drift 5.8s ease-in-out infinite alternate;
}

.history-cap::before {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 38px;
  height: 28px;
  background: linear-gradient(145deg, #ffffff, #bfc9d9);
  border: 1px solid rgba(255, 255, 255, 0.7);
  content: "";
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.history-cap::after {
  position: absolute;
  top: 17px;
  left: 23px;
  width: 2px;
  height: 24px;
  background: #ff5d67;
  box-shadow: 5px 20px 0 1px #ff5d67;
  content: "";
  transform: rotate(-18deg);
  transform-origin: top;
}

.history-cap b {
  position: absolute;
  top: 22px;
  left: 10px;
  width: 29px;
  height: 12px;
  background: linear-gradient(180deg, #dce3ee, #aeb9ca);
  border-radius: 2px 2px 8px 8px;
}

.history-cap:nth-child(3n) {
  opacity: 0.28;
  filter: blur(0.5px) drop-shadow(0 8px 12px rgba(1, 5, 14, 0.25));
}

.cap-01 { top: 5%; left: 11%; transform: scale(0.62) rotate(-13deg); animation-delay: -1s; }
.cap-02 { top: 1%; right: 10%; transform: scale(0.88) rotate(9deg); animation-delay: -3.2s; }
.cap-03 { top: 17%; left: 42%; transform: scale(0.56) rotate(15deg); animation-delay: -4.5s; }
.cap-04 { top: 27%; left: 4%; transform: scale(0.76) rotate(8deg); animation-delay: -2.1s; }
.cap-05 { top: 32%; right: 6%; transform: scale(0.6) rotate(-12deg); animation-delay: -5.1s; }
.cap-06 { top: 43%; left: 27%; transform: scale(0.52) rotate(-5deg); animation-delay: -1.8s; }
.cap-07 { top: 49%; right: 26%; transform: scale(0.84) rotate(12deg); animation-delay: -3.7s; }
.cap-08 { top: 57%; left: 3%; transform: scale(0.58) rotate(17deg); animation-delay: -2.8s; }
.cap-09 { top: 66%; right: 3%; transform: scale(0.72) rotate(-9deg); animation-delay: -5.6s; }
.cap-10 { top: 73%; left: 38%; transform: scale(0.5) rotate(6deg); animation-delay: -1.2s; }
.cap-11 { top: 83%; left: 9%; transform: scale(0.83) rotate(-16deg); animation-delay: -4.2s; }
.cap-12 { top: 88%; right: 12%; transform: scale(0.58) rotate(11deg); animation-delay: -2.4s; }
.cap-13 { top: 96%; left: 48%; transform: scale(0.74) rotate(-4deg); animation-delay: -5s; }
.cap-14 { top: 107%; right: 32%; transform: scale(0.48) rotate(13deg); animation-delay: -3.4s; }

.history-cap-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 190px;
  height: 190px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: rgba(13, 25, 47, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(2, 7, 17, 0.45), inset 0 0 0 10px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  transform: translate(-50%, -50%);
}

.history-cap-core::before,
.history-cap-core::after {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  animation: cap-core-spin 16s linear infinite;
}

.history-cap-core::after {
  inset: -38px;
  border-color: rgba(230, 36, 47, 0.25);
  border-style: dashed;
  animation-direction: reverse;
  animation-duration: 23s;
}

.history-cap-core img {
  width: 126px;
  margin-bottom: 14px;
}

.history-cap-core span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.history-cap-core strong {
  margin-top: 5px;
  color: #fff;
  font-size: 23px;
}

@keyframes cap-drift {
  to { margin-top: -18px; margin-left: 7px; }
}

@keyframes cap-core-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .history-visual.history-cap-scene {
    width: min(78vw, 340px);
    min-height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .history-cap-field {
    transform: none;
  }

  .history-cap,
  .history-cap-core::before,
  .history-cap-core::after {
    animation: none;
  }
}

/* 2026-07 final content pass: countdown, brand future scene, campus, teachers and news */
.countdown-band {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: #f3f6fb;
  border-top: 1px solid #e1e7f0;
  border-bottom: 1px solid #d8e0eb;
}

.countdown-band::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: max(4px, calc((100vw - 1280px) / 2 + 4px));
  background: var(--red);
  content: "";
}

.countdown-inner {
  position: relative;
  display: grid;
  min-height: 172px;
  grid-template-columns: minmax(380px, 1.05fr) 210px minmax(420px, 1fr);
  align-items: stretch;
  gap: 0;
}

.countdown-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 30px 44px 30px 24px;
}

.countdown-copy .section-kicker {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
}

.countdown-copy h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.3;
}

.countdown-copy > p:last-child {
  margin: 12px 0 0;
  color: #778298;
  font-size: 12px;
}

.countdown-meter {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  border-right: 1px solid #dce3ed;
  border-left: 1px solid #dce3ed;
}

.countdown-meter::before {
  position: absolute;
  width: 126px;
  height: 126px;
  background: #fff;
  border: 1px solid rgba(230, 36, 47, 0.2);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(25, 39, 67, 0.08), inset 0 0 0 8px #f7f9fc;
  content: "";
}

.countdown-meter::after {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.12);
  content: "";
  transform: translateX(-50%);
  animation: countdown-status 2.8s ease-in-out infinite;
}

.countdown-number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.countdown-number strong {
  color: var(--red);
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  line-height: 0.96;
}

.countdown-number span {
  padding-bottom: 3px;
  color: var(--red);
  font-size: 14px;
}

.countdown-meter small {
  position: relative;
  z-index: 1;
  margin-top: 9px;
  color: #6d788d;
  font-size: 11px;
}

.countdown-actions {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: 10px 24px;
  padding: 30px 0 30px 42px;
}

.countdown-actions > span {
  grid-column: 1 / -1;
  color: #7b8699;
  font-size: 11px;
  font-weight: 800;
}

.countdown-actions > p {
  margin: 0;
  color: #445069;
  font-size: 14px;
  line-height: 1.8;
}

.countdown-actions .btn {
  min-width: 154px;
  min-height: 46px;
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(230, 36, 47, 0.2);
}

.countdown-actions .btn b {
  margin-left: 6px;
  font-size: 17px;
}

@keyframes countdown-status {
  50% { box-shadow: 0 0 0 9px rgba(230, 36, 47, 0.05); transform: translateX(-50%) scale(1.12); }
}

.about-logo-stage.about-future-stage {
  position: relative;
  min-height: 590px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  box-shadow: 0 36px 90px rgba(1, 7, 19, 0.32);
  isolation: isolate;
}

.about-logo-stage.about-future-stage::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(8, 16, 31, 0.04) 42%, rgba(8, 16, 31, 0.7) 100%);
  border-radius: 0;
  content: "";
  animation: none;
}

.about-logo-stage.about-future-stage::after {
  position: absolute;
  inset: 16px;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  content: "";
  animation: none;
}

.about-future-image {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  animation: future-camera 10s ease-in-out infinite alternate;
}

.about-cloud-layer {
  position: absolute;
  top: 8%;
  right: 9%;
  left: 14%;
  z-index: 2;
  height: 48%;
  opacity: 0.34;
  filter: blur(7px);
  pointer-events: none;
}

.about-cloud-layer::before,
.about-cloud-layer::after {
  position: absolute;
  width: 190px;
  height: 52px;
  background:
    radial-gradient(circle at 24% 52%, rgba(255, 255, 255, 0.9) 0 23%, transparent 25%),
    radial-gradient(circle at 48% 36%, rgba(255, 255, 255, 0.88) 0 28%, transparent 30%),
    radial-gradient(circle at 72% 58%, rgba(255, 255, 255, 0.82) 0 24%, transparent 26%);
  content: "";
}

.cloud-near {
  animation: future-cloud-near 16s linear infinite;
}

.cloud-near::before { top: 18%; left: -30%; }
.cloud-near::after { right: -22%; bottom: 22%; transform: scale(0.72); }

.cloud-far {
  opacity: 0.2;
  filter: blur(11px);
  transform: scale(0.72);
  animation: future-cloud-far 24s linear infinite;
}

.cloud-far::before { top: 5%; left: 16%; }
.cloud-far::after { right: 8%; bottom: 8%; transform: scale(0.62); }

.about-future-logo {
  position: absolute;
  bottom: 54px;
  left: 40px;
  z-index: 6;
  width: 150px;
  opacity: 0.94;
}

.about-future-stage > span {
  position: absolute;
  right: 34px;
  bottom: 28px;
  left: auto;
  z-index: 6;
  color: rgba(255, 255, 255, 0.66);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

@keyframes future-camera {
  from { transform: scale(1.015) translateY(0); }
  to { transform: scale(1.055) translateY(-8px); }
}

@keyframes future-cloud-near {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

@keyframes future-cloud-far {
  from { transform: scale(0.72) translateX(16%); }
  to { transform: scale(0.72) translateX(-16%); }
}

.contact-section .campus-list {
  counter-reset: campus-item 0;
}

.contact-section .campus-list > .campus-primary-row {
  grid-column: auto;
  min-height: 62px;
  padding: 16px 8px 16px 50px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
}

.campus-primary-row strong {
  color: #fff;
  font-weight: 900;
}

.campus-footer-buttons > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-phone-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.46);
}

.btn-phone-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.teacher-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.teacher-wechat-action {
  position: relative;
}

.teacher-wechat-action > .btn {
  height: 100%;
  cursor: pointer;
}

.teacher-wechat-popover {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 14px);
  z-index: 12;
  display: grid;
  width: 174px;
  justify-items: center;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(3, 10, 24, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 8px);
  transition: opacity 260ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.teacher-wechat-popover::after {
  position: absolute;
  right: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid #e3e8f0;
  border-bottom: 1px solid #e3e8f0;
  content: "";
  transform: translateX(50%) rotate(45deg);
}

.teacher-wechat-popover img {
  width: 138px;
  height: 138px;
  min-height: 0;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.teacher-wechat-popover strong {
  margin-top: 8px;
  font-size: 12px;
}

.teacher-wechat-action:hover .teacher-wechat-popover,
.teacher-wechat-action:focus-within .teacher-wechat-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.resource-layout-expanded .news-list a {
  grid-template-columns: 82px minmax(0, 1fr);
}

.resource-layout-expanded .news-list time {
  display: none !important;
}

.news-page-main {
  background: #f4f6fa;
}

.news-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111d33;
}

.news-page-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(230, 36, 47, 0.16) 47% 48%, transparent 48%),
    linear-gradient(45deg, transparent 0 64%, rgba(255, 255, 255, 0.05) 64% 65%, transparent 65%);
  content: "";
}

.news-page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 330px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.news-page-hero h1 {
  margin: 10px 0 14px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

.news-page-hero p:not(.section-kicker) {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.8;
}

.news-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}

.news-page-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 3vw, 42px);
}

.news-page-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.news-page-grid {
  counter-reset: info-card;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.news-page-grid article {
  position: relative;
  min-height: 240px;
  padding: 30px 80px 28px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
  scroll-margin-top: 110px;
  transition: border-color 260ms ease, box-shadow 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.news-page-grid article::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.news-page-grid article:hover,
.news-page-grid article:target {
  border-color: rgba(230, 36, 47, 0.35);
  box-shadow: 0 22px 50px rgba(16, 29, 52, 0.1);
  transform: translateY(-4px);
}

.news-page-grid article:hover::after,
.news-page-grid article:target::after {
  transform: scaleX(1);
}

.news-page-grid article > span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--red);
  background: rgba(230, 36, 47, 0.08);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
}

.news-page-grid article > strong {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #dce2eb;
  font-size: 38px;
}

.news-page-grid h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.news-page-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.news-page-grid a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 1050px) {
  .countdown-inner {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  .countdown-actions {
    grid-column: 1 / -1;
    min-height: 78px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 18px 0 18px 24px;
    border-top: 1px solid #dce3ed;
  }

  .countdown-actions > span {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .teacher-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-page-hero-inner,
  .news-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .teacher-wechat-popover {
    display: none;
  }

  .news-page-hero-inner {
    min-height: 250px;
    padding: 42px 14px 38px;
  }

  .news-page-hero h1 {
    font-size: 36px;
  }

  .news-page-section {
    padding: 34px 14px 70px;
  }

  .news-page-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  .news-page-section .news-page-heading {
    display: none;
  }

  .news-page-section {
    padding-top: 18px;
  }

  .full-article-list {
    padding: 2px 18px 0;
  }

  .full-article-list article a {
    padding: 18px 0;
  }

  .full-article-list p {
    display: none;
  }

  .full-article-list em {
    gap: 18px;
    margin-top: 8px;
    font-size: 12px;
  }

  .news-page-grid article {
    min-height: 0;
    padding: 24px 56px 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .countdown-meter::after,
  .about-future-image,
  .about-cloud-layer {
    animation: none;
  }
}

.campus-switch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 540px);
}

.campus-gallery,
.campus-gallery.campus-gallery-life,
.campus-gallery.campus-gallery-dormitory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 238px;
}

.campus-gallery figure,
.campus-gallery figure.wide {
  grid-column: auto;
  grid-row: auto;
}

.campus-placeholder {
  position: relative;
  background: #111d33;
}

.campus-placeholder > div {
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, transparent 0 49%, rgba(255, 255, 255, 0.06) 49% 50%, transparent 50%),
    #111d33;
}

.campus-placeholder > div span {
  color: #ff6c75;
  font-size: 12px;
  font-weight: 900;
}

.campus-placeholder > div strong {
  margin-top: 8px;
  color: #fff;
  font-size: 21px;
}

[data-copy-phone] {
  cursor: copy;
}

.phone-copy-toast {
  position: fixed;
  right: 50%;
  bottom: 34px;
  z-index: 150;
  padding: 13px 20px;
  color: #fff;
  background: #111d33;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  box-shadow: 0 18px 50px rgba(3, 10, 24, 0.28);
  font-size: 14px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 14px);
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-copy-toast::before {
  margin-right: 8px;
  color: #ff5c67;
  content: "✓";
}

.phone-copy-toast.show {
  opacity: 1;
  transform: translate(50%, 0);
}

@media (max-width: 900px) {
  .campus-gallery,
  .campus-gallery.campus-gallery-life,
  .campus-gallery.campus-gallery-dormitory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Clean pass: countdown and campus tab alignment */
.countdown-band {
  padding: 22px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f2f6fb 100%);
  border-top: 1px solid #e8eef6;
  border-bottom: 1px solid #e1e8f1;
}

.countdown-band::before,
.countdown-meter::before,
.countdown-meter::after {
  content: none;
}

.countdown-inner {
  min-height: 118px;
  grid-template-columns: minmax(360px, 1.06fr) 150px minmax(390px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(15, 28, 52, 0.07);
  backdrop-filter: blur(10px);
}

.countdown-copy {
  padding: 0;
}

.countdown-copy h2 {
  max-width: 560px;
  font-size: clamp(23px, 1.75vw, 29px);
  line-height: 1.28;
}

.countdown-copy > p:last-child {
  margin-top: 10px;
  color: #778298;
}

.countdown-meter {
  min-height: 84px;
  padding: 12px 10px;
  background: #fff8f8;
  border: 1px solid #ffdadd;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.countdown-number strong {
  font-size: 43px;
}

.countdown-meter small {
  margin-top: 7px;
}

.countdown-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
}

.countdown-actions > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #6e7a8d;
  background: #f1f5fa;
  border: 1px solid #e0e8f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.countdown-actions > p {
  flex: 1 1 auto;
  line-height: 1.7;
}

.countdown-actions .btn {
  flex: 0 0 auto;
  min-width: 144px;
  min-height: 44px;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(230, 36, 47, 0.16);
}

.campus-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 594px);
  margin: 0 auto 28px;
  padding: 6px;
  background: #eef2f7;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.campus-switch button {
  min-width: 0;
  padding: 13px 18px;
  border-radius: 7px;
  transition: color 240ms ease, background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.campus-switch button:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.campus-switch button.active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(18, 31, 53, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 1120px) {
  .countdown-inner {
    grid-template-columns: minmax(0, 1fr) 144px;
  }

  .countdown-actions {
    grid-column: 1 / -1;
    padding-top: 16px;
    border-top: 1px solid #e2e9f2;
  }
}

@media (max-width: 720px) {
  .countdown-band {
    padding: 0 0 18px;
  }

  .countdown-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
  }

  .countdown-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .countdown-actions .btn {
    width: 100%;
  }

  .campus-switch {
    width: 100%;
  }
}

/* Clean pass: brand intro visual and belief title alignment */
.about-editorial {
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 4.5vw, 58px);
}

.about-logo-stage.about-future-stage {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5;
  align-self: center;
  overflow: hidden;
  contain: layout paint;
}

.about-future-image {
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 58%;
}

.about-cloud-layer {
  top: 6%;
  right: 18%;
  left: 18%;
  z-index: 4;
  height: 54%;
  opacity: 0.46;
  filter: blur(5px);
  mix-blend-mode: screen;
}

.about-cloud-layer::before,
.about-cloud-layer::after {
  width: 230px;
  height: 64px;
  background:
    radial-gradient(circle at 18% 55%, rgba(255, 255, 255, 0.88) 0 24%, transparent 26%),
    radial-gradient(circle at 43% 38%, rgba(255, 255, 255, 0.9) 0 31%, transparent 33%),
    radial-gradient(circle at 72% 57%, rgba(255, 255, 255, 0.78) 0 25%, transparent 27%);
}

.cloud-near::before { top: 16%; left: -36%; }
.cloud-near::after { right: -38%; bottom: 24%; transform: scale(0.72); }

.cloud-far {
  opacity: 0.26;
  filter: blur(9px);
}

.cloud-far::before { top: 2%; left: -18%; }
.cloud-far::after { right: -18%; bottom: 12%; transform: scale(0.66); }

.about-copy {
  min-width: 0;
  padding: 44px 0;
}

.brand-belief,
.brand-belief.active {
  display: grid;
  grid-template-rows: 42px minmax(160px, 1fr);
  align-content: stretch;
}

.brand-belief > div {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  padding-top: 52px;
}

.brand-belief h3 {
  min-height: 76px;
  display: flex;
  align-items: flex-start;
}

.brand-belief p {
  min-height: 0;
}

@media (max-width: 1100px) {
  .about-editorial {
    grid-template-columns: 1fr;
  }

  .about-logo-stage.about-future-stage {
    max-width: 620px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .brand-belief,
  .brand-belief.active {
    display: flex;
  }

  .brand-belief > div {
    min-height: 0;
    padding-top: 0;
  }

  .brand-belief h3 {
    min-height: 0;
  }
}

/* Interaction polish: strength cards and article-style news lists */
.strength-grid {
  perspective: 1200px;
}

.strength-grid article {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0) rotateX(0) rotateY(0);
  transition: transform 360ms cubic-bezier(0.2, 0.75, 0.2, 1), border-color 260ms ease, background 260ms ease, box-shadow 360ms ease, opacity 260ms ease;
}

.strength-grid article::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 40%), rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  opacity: 0;
  content: "";
  transition: opacity 260ms ease;
}

.strength-grid article::after {
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  transform: skewX(-16deg);
  transition: left 680ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.strength-grid article:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(-10px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.strength-grid article:hover::before {
  opacity: 1;
}

.strength-grid article:hover::after {
  left: 120%;
}

.strength-grid:has(article:hover) article:not(:hover) {
  opacity: 0.72;
  transform: scale(0.985);
}

.strength-grid article span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 166, 0, 0.1);
  border: 1px solid rgba(255, 166, 0, 0.25);
  border-radius: 999px;
  transition: color 260ms ease, background 260ms ease, transform 260ms ease;
}

.strength-grid article:hover span {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.article-list {
  display: grid;
  gap: 0;
}

.article-list a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px dashed #dce2eb;
  transition: padding 240ms ease, background 240ms ease;
}

.article-list h3,
.article-list strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 900;
}

.full-article-list .article-title-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.full-article-list .article-title-row h3 {
  min-width: 0;
}

.full-article-list .article-title-row time {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #8993a3;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .full-article-list .article-title-row {
    display: block;
  }

  .full-article-list .article-title-row time {
    display: block;
    margin-top: 6px;
  }
}

.article-list p {
  margin: 8px 0 0;
  color: #7a8494;
  font-size: 14px;
  line-height: 1.8;
}

.article-list em {
  display: flex;
  gap: 34px;
  margin-top: 9px;
  color: #8993a3;
  font-size: 12px;
  font-style: normal;
}

.full-article-list em {
  display: none;
}

.article-list-pin {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 2px 7px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: middle;
}

.article-list a:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(230, 36, 47, 0.05), transparent 70%);
}

.article-list a:hover h3,
.article-list a:hover strong {
  color: var(--red);
}

.compact-article-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.full-article-list {
  padding: 8px 28px 0;
  background: #fff;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
}

.news-pagination > * {
  min-width: 34px;
  padding: 7px 10px;
  color: #4d5869;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 5px;
  font-size: 13px;
  text-align: center;
}

.news-pagination button {
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.news-pagination button:not(:disabled):hover {
  color: var(--red);
  border-color: rgba(230, 36, 47, 0.42);
  transform: translateY(-1px);
}

.news-pagination .active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.news-pagination button:disabled {
  color: #a3abb8;
  cursor: not-allowed;
  opacity: 0.72;
}

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

  .full-article-list {
    padding: 4px 18px 0;
  }
}

/* Local CMS integration */
.hero-slide[data-cms-layout="center"] .hero-content {
  align-items: center;
  text-align: center;
}

.hero-slide[data-cms-layout="center"] .hero-actions {
  justify-content: center;
}

.hero-slide[data-cms-layout="right"] .hero-content {
  margin-left: auto;
  text-align: left;
}

.hero-slide[data-cms-layout="right"] .hero-content::before {
  content: "";
  width: min(50vw, 540px);
  max-width: 100%;
}

.resource-layout-expanded .news-list.article-list {
  counter-reset: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}

.resource-layout-expanded .news-list.article-list a,
.resource-layout-expanded .news-list.article-list a:nth-child(odd) {
  display: block;
  position: relative;
  min-height: 0;
  padding: 14px 0 14px 24px;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #dce2eb;
  border-radius: 0;
  box-shadow: none;
  counter-increment: none;
}

.resource-layout-expanded .news-list.article-list a::before,
.resource-layout-expanded .news-list.article-list a::after {
  content: "";
  position: absolute;
  display: block;
}

.resource-layout-expanded .news-list.article-list a::before {
  left: 0;
  top: 23px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ed1f2a;
  box-shadow: 0 0 0 5px rgba(237, 31, 42, 0.08);
}

.resource-layout-expanded .news-list.article-list a::after {
  left: 3px;
  top: 30px;
  width: 1px;
  height: calc(100% - 30px);
  background: linear-gradient(180deg, rgba(237, 31, 42, 0.18), transparent);
}

.resource-layout-expanded .news-list.article-list a:hover {
  padding-left: 30px;
  background: linear-gradient(90deg, rgba(230, 36, 47, 0.05), transparent 70%);
  transform: none;
}

.resource-layout-expanded .news-list.article-list strong {
  padding-right: 0;
  display: block;
  color: #08162d;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 750;
}

.resource-layout-expanded .news-list.article-list p,
.resource-layout-expanded .news-list.article-list em {
  display: none;
}

@media (max-width: 900px) {
  .resource-layout-expanded .news-list.article-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .mobile-redesign-slide .mobile-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-redesign-slide .mobile-hero-action-note {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
  }

  .mobile-redesign-slide .mobile-hero-actions a {
    margin-top: 0;
  }

  .mobile-redesign-slide .mobile-hero-actions a + a {
    color: var(--mobile-navy);
    background: #fff;
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.16);
  }

  .mobile-redesign-slide .mobile-hero-actions a.is-phone-action::before {
    content: "☎";
    margin-right: 4px;
  }

  .mobile-redesign-slide .mobile-hero-actions a.is-phone-action,
  .mobile-redesign-slide .mobile-hero-actions a.is-phone-action:visited {
    color: var(--mobile-navy) !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(255, 255, 255, 0.18) !important;
  }
}

/* Premium 3D teacher cards */
@media (min-width: 901px) {
  .teacher-carousel {
    perspective: 1400px;
  }

  .teacher-card-grid {
    perspective: 1400px;
    transform-style: preserve-3d;
  }

  .teacher-card {
    isolation: isolate;
    overflow: visible;
    transform-style: preserve-3d;
    transform:
      translateY(0)
      rotateX(var(--teacher-tilt-y, 0deg))
      rotateY(var(--teacher-tilt-x, 0deg));
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(135deg, rgba(230, 36, 47, 0.5), rgba(17, 27, 45, 0.12), rgba(255, 255, 255, 0.85)) border-box;
    border: 1px solid transparent;
    box-shadow:
      0 18px 46px rgba(17, 27, 45, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.88) inset;
    transition:
      transform 260ms cubic-bezier(0.18, 0.84, 0.24, 1),
      box-shadow 260ms ease,
      filter 260ms ease;
    will-change: transform;
  }

  .teacher-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 2;
    border-radius: inherit;
    background:
      radial-gradient(circle at var(--teacher-light-x, 50%) var(--teacher-light-y, 20%), rgba(255, 255, 255, 0.58), transparent 26%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%);
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    transition: opacity 260ms ease;
  }

  .teacher-card::after {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: -1;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(230, 36, 47, 0.22), rgba(17, 27, 45, 0.18));
    filter: blur(22px);
    opacity: 0;
    transform: translate3d(0, 18px, -40px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .teacher-card:hover {
    border-color: transparent;
    box-shadow:
      0 34px 82px rgba(17, 27, 45, 0.2),
      0 14px 42px rgba(230, 36, 47, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.92) inset;
    transform:
      translateY(-12px)
      rotateX(var(--teacher-tilt-y, 0deg))
      rotateY(var(--teacher-tilt-x, 0deg));
  }

  .teacher-card:hover::before,
  .teacher-card:hover::after {
    opacity: 1;
  }

  .teacher-card:hover::after {
    transform: translate3d(0, 24px, -70px);
  }

  .teacher-card .teacher-photo {
    border-radius: 20px 20px 0 0;
    transform: translateZ(26px);
    box-shadow: 0 20px 38px rgba(17, 27, 45, 0.1);
  }

  .teacher-card .teacher-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, transparent 58%, rgba(17, 27, 45, 0.14)),
      radial-gradient(circle at var(--teacher-light-x, 50%) var(--teacher-light-y, 22%), rgba(255, 255, 255, 0.24), transparent 28%);
    opacity: 0.58;
    pointer-events: none;
  }

  .teacher-card:hover .teacher-photo img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.055) translate3d(calc(var(--teacher-pan-x, 0) * -1px), calc(var(--teacher-pan-y, 0) * -1px), 34px);
  }

  .teacher-card-body {
    position: relative;
    z-index: 3;
    transform: translateZ(40px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #fff);
    border-radius: 0 0 20px 20px;
  }

  .teacher-card-body span,
  .teacher-card-body h3,
  .teacher-card-body strong,
  .teacher-card-body p {
    transform: translateZ(14px);
  }

  .teacher-card-body span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .teacher-card-body span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.08);
  }

  .teacher-card-grid:has(.teacher-card:hover) .teacher-card:not(:hover) {
    filter: saturate(0.86) brightness(0.96);
    transform: scale(0.985);
  }
}

/* Final pass: campus gallery, anxiety block, and flat teacher hover */
.anxiety-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(230, 36, 47, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.anxiety-title {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.anxiety-title > span {
  color: rgba(37, 93, 235, 0.15);
  font-size: clamp(66px, 6vw, 104px);
  font-weight: 950;
  line-height: 0.86;
}

.anxiety-title h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.18;
}

.anxiety-title p:last-child {
  color: #647188;
  line-height: 1.8;
}

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

.anxiety-grid article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px 24px 22px;
  background: #fff;
  border: 1px solid #dfe6ef;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(16, 29, 52, 0.06);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.anxiety-grid article::before {
  content: "";
  position: absolute;
  right: -42px;
  bottom: 74px;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(230, 36, 47, 0.1), rgba(76, 224, 208, 0.16));
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.78;
}

.anxiety-grid article:hover {
  border-color: rgba(230, 36, 47, 0.42);
  box-shadow: 0 26px 62px rgba(16, 29, 52, 0.11);
  transform: translateY(-6px);
}

.anxiety-grid h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 22px;
}

.anxiety-grid p {
  min-height: 58px;
  margin: 0 0 18px;
  color: #657086;
  font-size: 14px;
  line-height: 1.75;
}

.anxiety-grid strong {
  display: block;
  margin: 0 -24px 18px;
  padding: 13px 24px;
  color: #0f1b2d;
  background: linear-gradient(90deg, rgba(75, 223, 207, 0.38), rgba(205, 255, 149, 0.45));
  font-size: 16px;
  line-height: 1.55;
}

.anxiety-grid a {
  display: inline-flex;
  min-width: 126px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  color: #235cff;
  background: #fff;
  border: 1px solid #235cff;
  border-radius: 999px;
  font-weight: 900;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.anxiety-grid a:hover {
  color: #fff;
  background: #235cff;
  transform: translateX(4px);
}

.campus-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(230, 36, 47, 0.035), transparent 26%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.campus-section .section-heading.centered h2 {
  color: var(--ink);
  font-size: clamp(34px, 3.2vw, 48px);
}

.campus-section .section-heading.centered > p:last-child {
  color: #66738a;
  font-size: 17px;
}

.campus-panel.is-active {
  animation: campusPanelIn 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes campusPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.campus-gallery,
.campus-gallery.campus-gallery-life,
.campus-gallery.campus-gallery-dormitory {
  display: grid;
  grid-template-columns: 1.08fr 0.9fr 0.9fr;
  grid-auto-rows: 224px;
  gap: 16px;
}

.campus-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: #111b2d;
  border: 1px solid rgba(17, 27, 45, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(17, 27, 45, 0.11);
}

.campus-gallery figure.wide {
  grid-column: span 2;
}

.campus-gallery figure.tall,
.campus-gallery .campus-feature.tall {
  grid-row: span 2;
}

.campus-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04) brightness(0.95);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.campus-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(6, 13, 25, 0.78) 100%),
    linear-gradient(135deg, rgba(230, 36, 47, 0.12), transparent 38%);
  pointer-events: none;
}

.campus-gallery figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  transform: translateY(0);
  transition: transform 280ms ease;
}

.campus-gallery figure:hover img {
  filter: saturate(1.12) contrast(1.05) brightness(0.9);
  transform: scale(1.055);
}

.campus-gallery figure:hover figcaption {
  transform: translateY(-5px);
}

.campus-section .section-action {
  margin-top: 34px;
}

.campus-visit-btn,
.campus-section .section-action .btn {
  min-width: 164px;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 16px 32px rgba(230, 36, 47, 0.22);
}

.campus-visit-btn:hover,
.campus-section .section-action .btn:hover {
  color: #fff;
  background: #c91823;
  border-color: #c91823;
  transform: translateY(-3px);
}

@media (min-width: 901px) {
  .teachers-section .container {
    max-width: 1360px;
  }

  .teacher-carousel {
    width: min(100%, 1288px);
    margin: 0 auto;
    padding: 18px 78px 48px;
  }

  .teacher-card-grid {
    grid-template-columns: repeat(4, minmax(0, 252px));
    gap: 28px;
  }

  .teacher-carousel,
  .teacher-card-grid,
  .teacher-card,
  .teacher-card .teacher-photo,
  .teacher-card-body,
  .teacher-card-body span,
  .teacher-card-body h3,
  .teacher-card-body strong,
  .teacher-card-body p {
    perspective: none;
    transform-style: flat;
    transform: none;
  }

  .teacher-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(17, 27, 45, 0.08);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  }

  .teacher-card::before,
  .teacher-card::after,
  .teacher-card .teacher-photo::after {
    display: none;
  }

  .teacher-card:hover {
    border-color: rgba(230, 36, 47, 0.28);
    box-shadow: 0 24px 58px rgba(17, 27, 45, 0.12);
    transform: translateY(-6px);
  }

  .teacher-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    cursor: pointer;
    background: #eef2f6;
  }

  .teacher-photo img {
    object-position: center top;
  }

  .teacher-card-body {
    min-height: 178px;
    padding: 22px 22px 24px;
  }

  .teacher-arrow {
    width: 48px;
    height: 58px;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(17, 27, 45, 0.18);
  }

  .teacher-prev {
    left: 0;
  }

  .teacher-next {
    right: 0;
  }

  .teacher-photo::before {
    content: "咨询老师";
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(10, 18, 34, 0.52);
    font-size: 18px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .teacher-card:hover .teacher-photo::before {
    opacity: 1;
    transform: translateY(0);
  }

  .teacher-card:hover .teacher-photo img {
    filter: brightness(0.72) saturate(1.05);
    transform: scale(1.06);
  }

  .teacher-card-grid:has(.teacher-card:hover) .teacher-card:not(:hover) {
    filter: none;
    transform: none;
  }
}

@media (max-width: 1020px) {
  .anxiety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campus-gallery,
  .campus-gallery.campus-gallery-life,
  .campus-gallery.campus-gallery-dormitory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campus-gallery figure.wide,
  .campus-gallery figure.tall,
  .campus-gallery .campus-feature.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .anxiety-section {
    display: none;
  }

  .mobile-anxiety-block {
    display: block;
    margin: 14px 12px 22px;
    padding: 18px 16px 17px;
    background:
      radial-gradient(circle at 100% 0%, rgba(230, 36, 47, 0.12), transparent 32%),
      linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(16, 26, 49, 0.1);
  }

  .mobile-anxiety-head span {
    color: var(--mobile-red);
    font-size: 12px;
    font-weight: 900;
  }

  .mobile-anxiety-head h2 {
    margin: 6px 0 4px;
    color: var(--mobile-navy);
    font-size: 23px;
    line-height: 1.18;
  }

  .mobile-anxiety-head p {
    margin: 0;
    color: #68758c;
    font-size: 12px;
  }

  .mobile-anxiety-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    margin-top: 14px;
  }

  .mobile-anxiety-scroll a {
    position: relative;
    display: flex;
    min-height: 70px;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
    padding: 12px 12px;
    color: var(--mobile-navy);
    background: #fff;
    border: 1px solid rgba(16, 26, 49, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(16, 26, 49, 0.06);
  }

  .mobile-anxiety-scroll a::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 7px;
    height: 7px;
    background: var(--mobile-red);
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(230, 36, 47, 0.08);
  }

  .mobile-anxiety-scroll strong {
    padding-right: 14px;
    font-size: 14px;
    line-height: 1.25;
  }

  .mobile-anxiety-scroll span {
    color: #69758b;
    font-size: 11px;
    line-height: 1.45;
  }

  .mobile-anxiety-cta {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--mobile-red), var(--mobile-red-deep));
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(230, 36, 47, 0.24);
  }

  .campus-gallery,
  .campus-gallery.campus-gallery-life,
  .campus-gallery.campus-gallery-dormitory {
    grid-auto-rows: 208px;
  }
}

/* Brand-aligned redesign for the anxiety solution section */
.anxiety-section {
  background:
    linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.anxiety-title {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  margin-bottom: 34px;
  padding: 34px 38px;
  background:
    linear-gradient(135deg, #111b2d 0%, #17243b 62%, #21172a 100%);
  border: 1px solid rgba(17, 27, 45, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 58px rgba(17, 27, 45, 0.12);
}

.anxiety-title::after {
  content: "";
  position: absolute;
  right: 36px;
  bottom: -1px;
  width: 180px;
  height: 3px;
  background: var(--red);
}

.anxiety-title > span {
  display: grid;
  min-height: 136px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(230, 36, 47, 0.96), rgba(230, 36, 47, 0.78)),
    #e6242f;
  border-radius: 12px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  box-shadow: 0 18px 38px rgba(230, 36, 47, 0.22);
}

.anxiety-title .section-kicker {
  color: #ff5c66;
}

.anxiety-title h2 {
  max-width: 820px;
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.18;
}

.anxiety-title p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.85;
}

.anxiety-grid {
  gap: 14px;
}

.anxiety-grid article {
  min-height: 236px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(17, 27, 45, 0.06);
}

.anxiety-grid article::before {
  content: none;
}

.anxiety-grid article::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(17, 27, 45, 0.15));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.anxiety-grid article:hover {
  border-color: rgba(230, 36, 47, 0.34);
  box-shadow: 0 24px 58px rgba(17, 27, 45, 0.1);
  transform: translateY(-5px);
}

.anxiety-grid article:hover::after {
  transform: scaleX(1);
}

.anxiety-grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 22px;
}

.anxiety-grid h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(230, 36, 47, 0.08);
}

.anxiety-grid p {
  min-height: 54px;
  color: #66738a;
}

.anxiety-grid strong {
  margin: 0 0 18px;
  padding: 0;
  color: #111b2d;
  background: transparent;
  font-size: 17px;
  line-height: 1.55;
}

.anxiety-grid a {
  min-width: 112px;
  min-height: 36px;
  color: var(--red);
  background: transparent;
  border-color: rgba(230, 36, 47, 0.48);
  border-radius: 6px;
  font-size: 14px;
}

.anxiety-grid a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

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

  .anxiety-title > span {
    width: 180px;
    min-height: 82px;
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .mobile-anxiety-head span {
    color: #ff5c66;
  }

  .mobile-anxiety-head span::before {
    content: "华新文登";
  }

  .mobile-anxiety-head > span {
    font-size: 0;
  }

  .mobile-anxiety-head span::before {
    font-size: 12px;
  }
}

/* Final polish: clean campus photo cards and keep belief titles on one line on PC */
@media (min-width: 901px) {
  .campus-section {
    background:
      radial-gradient(circle at 12% 8%, rgba(230, 36, 47, 0.05), transparent 28%),
      linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  }

  .campus-section .container {
    max-width: 1280px;
  }

  .campus-switch {
    width: min(100%, 560px);
    margin-inline: auto;
    padding: 6px;
    background: #fff;
    border: 1px solid #dfe7f1;
    box-shadow: 0 14px 36px rgba(17, 27, 45, 0.06);
  }

  .campus-switch button {
    min-height: 48px;
    color: #475569;
    background: transparent;
    border-radius: 8px;
  }

  .campus-switch button.active,
  .campus-switch button:hover {
    color: #fff;
    background: #111b2d;
    box-shadow: 0 10px 24px rgba(17, 27, 45, 0.16);
  }

  .campus-gallery,
  .campus-gallery.campus-gallery-life,
  .campus-gallery.campus-gallery-dormitory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 18px;
    margin-top: 28px;
  }

  .campus-gallery figure,
  .campus-gallery figure.wide,
  .campus-gallery figure.tall,
  .campus-gallery .campus-feature.tall {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    grid-column: auto;
    grid-row: auto;
    background: #fff;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(17, 27, 45, 0.08);
    transition:
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 280ms ease,
      box-shadow 360ms ease;
  }

  .campus-gallery figure::after {
    content: none;
  }

  .campus-gallery img {
    display: block;
    width: 100%;
    height: 238px;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.02) brightness(1);
    transition:
      transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 320ms ease;
  }

  .campus-gallery figcaption {
    position: static;
    min-height: 58px;
    padding: 15px 18px 16px;
    color: #111b2d;
    background: #fff;
    border-top: 1px solid #edf1f6;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.55;
    text-shadow: none;
    transform: none;
    transition: color 240ms ease;
  }

  .campus-gallery figure:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 36, 47, 0.24);
    box-shadow: 0 28px 64px rgba(17, 27, 45, 0.14);
  }

  .campus-gallery figure:hover img {
    filter: saturate(1.08) contrast(1.03) brightness(1.02);
    transform: scale(1.035);
  }

  .campus-gallery figure:hover figcaption {
    color: var(--red);
    transform: none;
  }

  .brand-beliefs {
    grid-template-columns: 1.12fr 1.08fr 1.18fr 1.06fr;
  }

  .brand-belief,
  .brand-belief.active {
    min-width: 0;
  }

  .brand-belief h3 {
    min-height: 34px;
    display: block;
    align-items: initial;
    white-space: nowrap;
    font-size: clamp(18px, 1.42vw, 23px);
    line-height: 1.2;
    letter-spacing: 0;
  }

  .hero-content {
    width: min(1360px, calc(100% - 200px));
    max-width: 1360px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1,
  .hero h2 {
    max-width: none;
    font-size: clamp(48px, 4.2vw, 62px);
    line-height: 1.12;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero h1 br,
  .hero h2 br {
    display: none;
  }

  .hero-kicker {
    margin-bottom: 24px;
    padding: 8px 16px;
    font-size: 15px;
    border-radius: 6px;
  }

  .hero-content > p:not(.hero-kicker) {
    max-width: 980px;
    margin-top: 26px;
    font-size: 20px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 30px;
    gap: 16px;
  }

  .hero-actions .btn {
    min-height: 54px;
    padding-inline: 26px;
    font-size: 17px;
  }

  .about-page-hero > img {
    object-position: center center;
    filter: saturate(0.96) contrast(1.04) brightness(0.82);
  }
}

/* News detail and countdown card */
.news-countdown-card {
  display: grid;
  grid-template-columns: auto auto 1fr;
  min-width: 310px;
  align-items: baseline;
  gap: 4px 8px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(17, 27, 45, 0.07);
}

.news-countdown-card span,
.news-countdown-card p {
  grid-column: 1 / -1;
}

.news-countdown-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.news-countdown-card strong {
  color: var(--red);
  font-size: 44px;
  line-height: 1;
}

.news-countdown-card em {
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.news-countdown-card p {
  margin: 2px 0 0;
  color: #66738a;
  font-size: 13px;
}

.news-countdown-card.compact {
  min-width: 0;
}

.article-page-main {
  background: #f5f7fb;
}

.article-hero {
  padding: 78px 0 46px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 27, 45, 0.96), rgba(26, 35, 55, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(230, 36, 47, 0.18), transparent 34%);
}

.article-hero-inner {
  max-width: 900px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.article-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.18;
}

.article-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.8;
}

.article-body-section {
  padding: 54px 0 88px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-detail {
  padding: 44px 52px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(17, 27, 45, 0.07);
}

.article-detail p {
  margin: 0 0 22px;
  color: #344054;
  font-size: 17px;
  line-height: 2;
}

.article-side-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.article-side-card .btn {
  width: 100%;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e5ebf2;
}

@media (max-width: 900px) {
  .news-countdown-card {
    min-width: 0;
  }

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

  .article-side-card {
    position: static;
  }

  .article-detail {
    padding: 28px 22px;
  }
}

/* About history visual: calmer brand growth card */
.history-visual.history-brand-card {
  position: sticky;
  top: 118px;
  width: min(100%, 470px);
  min-height: 590px;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #111c31;
  box-shadow: 0 34px 80px rgba(1, 7, 20, 0.34);
  isolation: isolate;
}

.history-brand-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08) brightness(0.72);
  transform: scale(1.04);
  animation: history-photo-breathe 9s ease-in-out infinite;
}

.history-brand-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.14), rgba(10, 18, 34, 0.88)),
    radial-gradient(circle at 18% 12%, rgba(230, 36, 47, 0.26), transparent 26%);
}

.history-brand-mark {
  position: absolute;
  top: 30px;
  right: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.history-brand-mark img {
  width: 114px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.3));
}

.history-growth-line {
  position: absolute;
  top: 96px;
  bottom: 168px;
  left: 28px;
  z-index: 2;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.42), rgba(230, 36, 47, 0.92));
}

.history-growth-line::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e6242f;
  box-shadow: 0 0 0 8px rgba(230, 36, 47, 0.16);
  content: "";
  transform: translateX(-50%);
  animation: history-dot-pulse 2.8s ease-in-out infinite;
}

.history-growth-line i {
  position: absolute;
  left: -4px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(12, 22, 40, 0.8);
}

.history-growth-line i:nth-child(1) { top: 8%; }
.history-growth-line i:nth-child(2) { top: 44%; }
.history-growth-line i:nth-child(3) { top: 76%; }

.history-brand-copy {
  position: absolute;
  right: 32px;
  bottom: 126px;
  left: 72px;
  z-index: 2;
}

.history-brand-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.history-brand-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.history-brand-copy p {
  max-width: 280px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.76;
}

.history-brand-meta {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.history-brand-meta span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.history-brand-meta b {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 22px;
}

@keyframes history-photo-breathe {
  0%, 100% { transform: scale(1.04) translateY(0); }
  50% { transform: scale(1.08) translateY(-8px); }
}

@keyframes history-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(230, 36, 47, 0.14); }
  50% { box-shadow: 0 0 0 16px rgba(230, 36, 47, 0.02); }
}

/* Subpage visual heroes: courses + news */
.subpage-visual-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
  background: #101a31;
  border-bottom: 0;
  isolation: isolate;
}

.subpage-visual-hero::before {
  display: none;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06) brightness(0.78);
  animation: subpage-hero-breathe 12s ease-in-out infinite alternate;
  z-index: -3;
}

.subpage-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 24, 43, 0.92) 0%, rgba(14, 24, 43, 0.76) 42%, rgba(14, 24, 43, 0.34) 72%, rgba(14, 24, 43, 0.68) 100%),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.18), transparent 34%);
  z-index: -2;
}

.subpage-hero-motion {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.subpage-hero-motion::before,
.subpage-hero-motion::after {
  position: absolute;
  width: 46%;
  height: 32%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(38px);
  content: "";
}

.subpage-hero-motion::before {
  top: 18%;
  right: 14%;
  animation: subpage-cloud-near 14s ease-in-out infinite alternate;
}

.subpage-hero-motion::after {
  right: -10%;
  bottom: 14%;
  opacity: 0.72;
  animation: subpage-cloud-far 18s ease-in-out infinite alternate;
}

.subpage-visual-hero .course-page-hero-inner,
.subpage-visual-hero .news-page-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 500px;
  animation: about-hero-copy 900ms 160ms ease both;
}

.subpage-visual-hero .section-kicker {
  color: #fff;
}

.subpage-visual-hero h1 {
  max-width: 980px;
  color: #fff;
  text-wrap: balance;
}

.subpage-visual-hero p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.subpage-visual-hero .course-page-hero-data {
  background: rgba(16, 26, 49, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.subpage-visual-hero .course-page-hero-data span {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.subpage-visual-hero .news-page-hero-inner {
  align-items: center;
}

.subpage-visual-hero .news-page-hero-inner .btn {
  box-shadow: 0 18px 42px rgba(230, 36, 47, 0.28);
}

.news-page-hero.subpage-visual-hero {
  min-height: 320px;
}

.news-page-hero.subpage-visual-hero .news-page-hero-inner {
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  padding-block: 58px;
}

.news-page-hero.subpage-visual-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 1.06;
}

.news-page-hero.subpage-visual-hero p:not(.section-kicker) {
  max-width: 700px;
  margin-top: 18px;
  font-size: 18px;
}

.news-page-hero.subpage-visual-hero .btn {
  align-self: center;
  white-space: nowrap;
}

@keyframes subpage-hero-breathe {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.6%, 0); }
}

@keyframes subpage-cloud-near {
  from { transform: translateX(-8%) translateY(0); opacity: 0.38; }
  to { transform: translateX(12%) translateY(-10px); opacity: 0.78; }
}

@keyframes subpage-cloud-far {
  from { transform: translateX(12%) scale(0.88); opacity: 0.22; }
  to { transform: translateX(-18%) scale(1.04); opacity: 0.52; }
}

@media (max-width: 900px) {
  .subpage-visual-hero,
  .subpage-visual-hero .course-page-hero-inner,
  .subpage-visual-hero .news-page-hero-inner {
    min-height: 360px;
  }

  .subpage-visual-hero .course-page-hero-inner,
  .subpage-visual-hero .news-page-hero-inner {
    padding: 44px 14px 34px;
  }

  .subpage-visual-hero h1 {
    font-size: 34px;
  }

  .subpage-visual-hero .course-page-hero-data {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-hero-bg,
  .subpage-hero-motion::before,
  .subpage-hero-motion::after,
  .subpage-visual-hero .course-page-hero-inner,
  .subpage-visual-hero .news-page-hero-inner {
    animation: none;
  }
}

@media (max-width: 900px) {
  .history-visual.history-brand-card {
    position: relative;
    top: auto;
    width: min(100%, 420px);
    min-height: 500px;
    margin: 0 auto;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .history-visual.history-brand-card {
    width: min(100%, 390px);
    min-height: 540px;
  }

  .history-brand-mark {
    top: 24px;
    right: 22px;
    left: 22px;
  }

  .history-brand-mark img {
    width: 104px;
  }

  .history-growth-line {
    top: 88px;
    bottom: 154px;
    left: 24px;
  }

  .history-brand-copy {
    right: 26px;
    bottom: 116px;
    left: 64px;
  }

  .history-brand-copy strong {
    font-size: 40px;
  }

  .history-brand-copy p {
    max-width: 250px;
    font-size: 13px;
  }

  .history-brand-meta {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }
}

@media (max-width: 430px) {
  .history-visual.history-brand-card {
    min-height: 540px;
  }

  .history-brand-mark {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .history-brand-copy {
    right: 24px;
    bottom: 126px;
    left: 58px;
  }

  .history-brand-copy strong {
    font-size: 38px;
  }

  .history-brand-copy p {
    font-size: 13px;
  }

  .history-brand-meta {
    grid-template-columns: 1fr;
  }
}

/* PC alignment: keep hero copy on the same vertical line as the top brand text */
@media (min-width: 981px) {
  :root {
    --pc-content-edge: clamp(82px, 6.5vw, 104px);
  }

  .notice-bar .container,
  .site-header .container {
    width: calc(100% - (var(--pc-content-edge) * 2));
    max-width: none;
  }

  .hero-slide > .container.hero-content {
    width: min(74vw, 1290px);
    max-width: none;
    margin-right: auto;
    margin-left: clamp(260px, 18.5vw, 360px);
    padding-left: 0 !important;
    transform: translateY(-34px);
  }

  .hero-slide[data-cms-layout="right"] > .container.hero-content {
    margin-right: auto;
    margin-left: clamp(260px, 18.5vw, 360px);
  }
}

/* HXWD-AI-ANSWER-STYLES-START */
.ai-answer-section {
  background: #fff;
}

.ai-answer-section-soft {
  background: #f4f7fb;
}

.ai-answer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 38px;
  align-items: start;
}

.ai-answer-copy h2,
.official-service-grid h2 {
  margin: 10px 0 18px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
}

.ai-direct-answer {
  margin: 0;
  color: #334155;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
}

.ai-direct-answer a,
.ai-fact-grid a,
.ai-fact-panel a,
.official-info-page-main a {
  color: var(--red);
  font-weight: 900;
}

.ai-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ai-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.ai-fact-grid div {
  min-width: 0;
  padding: 20px;
  background: #f7f9fc;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
}

.ai-fact-grid dt {
  margin-bottom: 8px;
  color: #657183;
  font-size: 13px;
  font-weight: 800;
}

.ai-fact-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.ai-fact-panel {
  padding: 26px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-top: 3px solid var(--red);
  border-radius: 8px;
}

.ai-fact-panel h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 22px;
}

.ai-fact-panel ul,
.official-service-grid ul,
.official-campus-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #4c586c;
  line-height: 1.75;
}

.ai-fact-panel > a {
  display: inline-flex;
  margin-top: 18px;
}

.mobile-official-answer ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
  padding-left: 18px;
}

.mobile-official-answer a {
  color: var(--red);
  font-weight: 900;
}

.course-choice-section {
  background: #fff;
}

.course-choice-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
}

.course-choice-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  background: #fff;
}

.course-choice-table th,
.course-choice-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #e6edf5;
  text-align: left;
  vertical-align: top;
}

.course-choice-table th {
  color: #fff;
  background: var(--ink);
  font-size: 14px;
}

.course-choice-table td {
  color: #4c586c;
  font-size: 14px;
  line-height: 1.7;
}

.course-choice-table tr:last-child td {
  border-bottom: 0;
}

.course-choice-table td:first-child {
  color: var(--ink);
  font-weight: 900;
}

.course-choice-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.course-choice-faq-grid article {
  padding: 22px;
  background: #f7f9fc;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
}

.course-choice-faq-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
}

.course-choice-faq-grid p {
  margin: 0;
  color: #526176;
  font-size: 14px;
  line-height: 1.8;
}

.official-info-page-main {
  background: #f4f7fb;
}

.official-info-hero {
  padding: 76px 0 54px;
  color: #fff;
  background: linear-gradient(135deg, #111b2d 0%, #26364f 100%);
}

.official-info-hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.official-info-hero p:not(.section-kicker) {
  max-width: 880px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

.official-info-hero a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.official-service-section,
.official-faq-section {
  background: #fff;
}

.official-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.official-service-grid p {
  color: #526176;
  font-size: 16px;
  line-height: 1.9;
}

.official-campus-section {
  background: #f4f7fb;
}

.official-campus-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.official-campus-list li {
  min-height: 78px;
  padding: 18px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
}

.official-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.official-faq-item {
  padding: 24px;
  background: #f7f9fc;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
}

.official-faq-item h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
}

.official-faq-item p {
  margin: 0;
  color: #526176;
  font-size: 15px;
  line-height: 1.85;
}


@media (max-width: 900px) {
  .ai-answer-layout,
  .official-service-grid {
    grid-template-columns: 1fr;
  }

  .course-choice-faq-grid,
  .official-campus-list,
  .official-faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .ai-answer-copy h2,
  .official-service-grid h2 {
    font-size: 28px;
  }
  .ai-fact-grid {
    grid-template-columns: 1fr;
  }
  .ai-direct-answer,
  .official-info-hero p:not(.section-kicker) {
    font-size: 16px;
  }

  .official-info-hero {
    padding: 48px 0 38px;
  }
}
/* HXWD-AI-ANSWER-STYLES-END */
/* Article detail pages: clean readable content for search and GEO crawling */
.header-phone.copy-phone,
.float-action.copy-phone,
.article-side-card .copy-phone {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.header-phone.copy-phone {
  background: transparent;
  text-align: left;
}

.article-page-main {
  background: #f4f7fb;
}

.article-hero {
  padding: 64px 0 34px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(230, 36, 47, 0.11), transparent 28%),
    linear-gradient(180deg, #f7f9fd 0%, #edf2f8 100%);
  border-bottom: 1px solid #dfe7f1;
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 58px;
  align-items: end;
  max-width: 1200px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: #627188;
  font-weight: 800;
}

.article-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.article-hero [data-article-summary] {
  max-width: 760px;
  margin: 18px 0 0;
  color: #526176;
  font-size: 17px;
  line-height: 1.85;
}

.article-countdown {
  min-width: 0;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(17, 27, 45, 0.08);
}

.article-body-section {
  padding: 34px 0 78px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-detail {
  padding: 42px 48px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  box-shadow: 0 20px 54px rgba(17, 27, 45, 0.06);
}

.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e7edf5;
  color: #738198;
  font-size: 13px;
}

.article-detail p {
  margin: 0 0 22px;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.article-detail table {
  display: block;
  width: 100%;
  margin: 22px 0;
  border-collapse: collapse;
  overflow-x: auto;
  border: 1px solid rgba(189, 202, 221, 0.7);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.article-detail th,
.article-detail td {
  padding: 12px 14px;
  border: 1px solid rgba(189, 202, 221, 0.7);
  text-align: left;
  vertical-align: top;
}

.article-detail th {
  color: #14213d;
  background: #f4f7fb;
  font-weight: 900;
}

.article-detail td {
  color: #526176;
  background: #fff;
}

.article-section-block + .article-section-block {
  margin-top: 34px;
}

.article-section-block h2,
.article-faq-block h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.35;
}

.article-rich-body h2,
.article-rich-body h3 {
  margin: 28px 0 14px;
  color: var(--ink);
  line-height: 1.45;
}

.article-rich-body h2:first-child,
.article-rich-body h3:first-child {
  margin-top: 0;
}

.article-rich-body h2 {
  font-size: 26px;
}

.article-rich-body h3 {
  font-size: 21px;
}

.article-rich-body ul,
.article-rich-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.article-rich-body li + li {
  margin-top: 8px;
}

.article-rich-body a {
  color: var(--brand-red);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(230, 36, 47, 0.28);
}

.article-rich-body blockquote {
  margin: 28px 0;
  padding: 20px 22px;
  color: #24324a;
  background: #f8fafc;
  border-left: 4px solid var(--brand-red);
  border-radius: 12px;
}

.article-rich-body figure {
  overflow: hidden;
  margin: 30px 0;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.article-rich-body img {
  display: block;
  width: 100%;
  height: auto;
}

.article-rich-body figcaption {
  padding: 12px 16px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.article-faq-block {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid #e7edf5;
}

.article-faq-item {
  padding: 22px 0;
  border-bottom: 1px solid #edf2f7;
}

.article-faq-item h3 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 19px;
  line-height: 1.5;
}

.article-faq-item p {
  margin-bottom: 0;
}

.article-answer-box {
  margin: 34px 0 0;
  padding: 26px 28px;
  border: 1px solid #ffd2d6;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8f8, #ffffff);
}

.article-answer-box h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
}

.article-answer-box p {
  margin-bottom: 0;
}

.article-side-card {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(17, 27, 45, 0.07);
}

.article-side-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.article-side-card p {
  margin: 0 0 8px;
  color: #59687d;
  line-height: 1.8;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid #e7edf5;
}

@media (max-width: 980px) {
  .article-hero-inner,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-hero {
    padding: 44px 0 28px;
  }

  .article-detail {
    padding: 28px 22px;
  }

  .article-side-card {
    position: static;
  }
}

/* Final mobile tightening for conversion chrome and subpage heroes. */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-sticky {
    right: 8px !important;
    bottom: 6px !important;
    left: 8px !important;
    grid-template-columns: 48px 48px minmax(0, 1fr) !important;
    gap: 5px !important;
    min-height: 48px !important;
    padding: 5px !important;
    border-radius: 16px !important;
  }

  .mobile-sticky-action {
    min-height: 38px !important;
    gap: 1px !important;
    font-size: 10px !important;
  }

  .mobile-sticky-action span {
    width: 18px !important;
    height: 18px !important;
    font-size: 11px !important;
  }

  .mobile-sticky-action strong {
    font-size: 10px !important;
  }

  .mobile-sticky-consult {
    min-height: 38px !important;
    font-size: 13px !important;
  }

  .mobile-copy-toast {
    bottom: 66px !important;
  }

  .news-page-hero.subpage-visual-hero,
  .news-page-hero.subpage-visual-hero .news-page-hero-inner {
    min-height: 285px !important;
  }

  .news-page-hero.subpage-visual-hero .news-page-hero-inner {
    padding: 26px 14px 28px !important;
  }

  .news-page-hero.subpage-visual-hero h1 {
    font-size: 30px !important;
    line-height: 1.14;
  }

  .news-page-hero.subpage-visual-hero p:not(.section-kicker) {
    font-size: 14px;
    line-height: 1.75;
  }

  .news-page-hero.subpage-visual-hero .btn {
    min-height: 42px;
    padding: 0 22px;
  }

  .teachers-page-hero-inner > img {
    display: none !important;
  }

  .teachers-page-hero {
    padding-bottom: 26px !important;
  }

  .teachers-page-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) !important;
    min-height: 50px;
  }

  .mobile-top-actions {
    display: flex !important;
    min-width: 0;
    justify-content: flex-end;
  }

  .mobile-official-phone {
    display: inline-flex !important;
    min-height: 28px !important;
    max-width: 100%;
    align-items: center;
    justify-content: flex-end;
    padding: 0 !important;
    color: var(--mobile-red) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-align: right;
    white-space: normal !important;
  }

  .mobile-official-phone::before {
    margin-right: 3px;
    content: "☎";
  }

  .mobile-header-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .news-page-hero.subpage-visual-hero,
  .news-page-hero.subpage-visual-hero .news-page-hero-inner {
    min-height: 245px !important;
  }

  .news-page-hero.subpage-visual-hero .news-page-hero-inner {
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding: 24px 18px 26px !important;
  }

  .news-page-hero.subpage-visual-hero .news-page-hero-inner > div:first-child {
    width: 100%;
  }

  .news-page-hero.subpage-visual-hero h1 {
    max-width: 340px;
    margin: 8px 0 10px !important;
    font-size: 29px !important;
    line-height: 1.16 !important;
  }

  .news-page-hero.subpage-visual-hero p:not(.section-kicker) {
    max-width: 330px;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .news-hero-side {
    width: 100%;
  }

  .news-hero-side .news-countdown-card {
    display: none !important;
  }

  .news-hero-side .btn {
    min-height: 40px !important;
    padding: 0 20px !important;
    font-size: 13px !important;
  }

  .course-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 7px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .course-filter button {
    flex: 0 0 calc((100% - 14px) / 3) !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
}

/* Compact news page header */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news-hero-side {
  display: grid;
  justify-items: end;
  gap: 18px;
  width: 320px;
}

.news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card {
  width: 100%;
  padding: 20px 24px;
  color: #fff;
  background: rgba(15, 25, 45, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card span,
.news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card p {
  color: rgba(255, 255, 255, 0.78);
}

.news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card strong,
.news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card em {
  color: #fff;
}

.news-page-section {
  padding-top: 34px;
}

.news-page-section .article-list.full-article-list {
  margin-top: 0;
}

.article-countdown,
.article-answer-box {
  display: none !important;
}

.article-hero-inner {
  grid-template-columns: minmax(0, 1fr) !important;
}

@media (max-width: 900px) {
  .news-hero-side {
    justify-items: start;
    width: 100%;
  }

  .news-page-hero.subpage-visual-hero .news-hero-side .news-countdown-card {
    width: min(100%, 260px);
  }

  .news-page-section {
    padding-top: 22px;
  }
}

.article-page-main .article-hero [data-article-summary] {
  color: #526176 !important;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(189, 202, 221, 0.55);
  border-radius: 14px;
  padding: 18px 20px;
  text-shadow: none;
}

.article-page-main .article-hero [data-article-summary]::selection {
  color: #fff;
  background: #e6242f;
}

@media (max-width: 720px) {
  .article-hero {
    padding: 22px 0 18px !important;
  }

  .article-hero-inner {
    gap: 0 !important;
  }

  .article-back {
    margin-bottom: 12px !important;
    font-size: 13px !important;
  }

  .article-hero h1 {
    font-size: 30px !important;
    line-height: 1.18 !important;
  }

  .article-hero [data-article-summary] {
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .article-body-section {
    padding-top: 18px !important;
  }
}

/* 2026-07-21 document feedback refinements */
.major-actions,
.campus-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.major-actions .btn,
.campus-actions .btn {
  min-width: 210px;
}

.campus-section .section-heading.centered .section-kicker {
  color: var(--red);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 950;
  line-height: 1.35;
}

.campus-section .section-heading.centered h2 {
  font-size: clamp(24px, 2.1vw, 34px);
}

.campus-section .section-heading.centered > p:last-child {
  font-size: 15px;
}

.anxiety-title .section-kicker,
.majors-section .section-kicker,
.trial-section .section-kicker,
.about-copy .section-kicker {
  font-size: 15px;
  font-weight: 950;
}

.course-page-main .catalog-card a[data-consult-link]::before,
.course-page-main .btn[data-consult-link]::before {
  content: "咨";
  position: static;
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  place-items: center;
  color: currentColor;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid currentColor;
  border-radius: 999px;
  filter: none;
  transform: none;
  transition: none;
}

.course-page-main .catalog-card.featured a[data-consult-link]::before {
  background: rgba(230, 36, 47, 0.08);
}

@media (min-width: 901px) {
  .news-page-hero.subpage-visual-hero,
  .news-page-hero.subpage-visual-hero .news-page-hero-inner {
    min-height: 360px;
  }

  .news-page-hero.subpage-visual-hero h1,
  .article-hero h1 {
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.12;
  }

  .news-hero-side .btn {
    width: 320px;
  }
}

@media (max-width: 720px) {
  .mobile-anxiety-head p {
    color: var(--mobile-navy) !important;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1.65;
  }

  .mobile-premium-panel .mobile-redesign-head h2 {
    font-size: 20px;
  }

  .mobile-premium-courses a::before {
    content: "咨" !important;
    margin-right: 4px;
    font-size: 11px;
  }

  .course-filter {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .course-filter button {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 34px !important;
    padding: 0 6px !important;
    font-size: 12px !important;
  }

  .campus-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .campus-actions .btn {
    width: 100%;
    min-width: 0;
  }
}
.article-page-main .article-hero [data-article-summary],
.article-hero [data-article-summary] {
  color: #233047 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(189, 202, 221, 0.72) !important;
  box-shadow: 0 18px 44px rgba(17, 27, 45, 0.06);
  text-shadow: none !important;
}

.history-visual.history-brand-card .history-brand-photo {
  filter: saturate(0.98) contrast(1.04) brightness(0.9);
}

.history-visual.history-brand-card .history-brand-overlay {
  background:
    linear-gradient(180deg, rgba(10, 18, 34, 0.08), rgba(10, 18, 34, 0.76)),
    radial-gradient(circle at 18% 12%, rgba(230, 36, 47, 0.18), transparent 28%);
}

@media (min-width: 981px) {
  .floating-consult {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Refined anxiety solution banner */
.anxiety-title {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 16%, rgba(230, 36, 47, 0.22), transparent 30%),
    linear-gradient(135deg, #111c31 0%, #172238 58%, #21172c 100%);
  box-shadow: 0 26px 70px rgba(15, 25, 43, 0.16);
}

.anxiety-title::before {
  position: absolute;
  right: 38px;
  bottom: 0;
  width: 180px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e6242f);
  content: "";
}

.anxiety-title > span {
  position: relative;
  display: grid;
  min-height: 128px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(230, 36, 47, 0.98), rgba(230, 36, 47, 0.82));
  border-radius: 14px;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0.02em;
  box-shadow: 0 20px 46px rgba(230, 36, 47, 0.25);
}

.anxiety-title > span::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  content: "";
}

.anxiety-title .section-kicker {
  margin-bottom: 12px;
  color: #ff4d57;
  font-size: 14px;
  font-weight: 900;
}

.anxiety-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.anxiety-title p:last-child {
  max-width: 820px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .anxiety-title {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .anxiety-title > span {
    min-height: 86px;
    font-size: 24px;
  }
}

/* Premium desktop runner accent for the anxiety solution banner */
@media (min-width: 901px) {
  .anxiety-title {
    grid-template-columns: 250px minmax(0, 1fr);
    overflow: visible;
    isolation: isolate;
  }

  .anxiety-title > span {
    min-height: 128px;
    overflow: visible;
    color: #fff;
    background: rgba(15, 25, 43, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 62px rgba(5, 12, 26, 0.34);
    text-shadow: 0 2px 12px rgba(5, 12, 26, 0.72);
    z-index: 1;
  }

  .anxiety-title > span::before {
    position: absolute;
    inset: -46px -34px -28px -44px;
    z-index: -1;
    background:
      linear-gradient(90deg, rgba(12, 20, 35, 0.08), rgba(12, 20, 35, 0.72) 76%),
      url("assets/anxiety-runner-asian.webp") 44% 50% / cover no-repeat;
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(230, 36, 47, 0.18);
    content: "";
    filter: saturate(0.96) contrast(1.04);
    transform: translate3d(0, 0, 0);
  }

  .anxiety-title > span::after {
    inset: -34px -24px -18px -34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background:
      radial-gradient(circle at 20% 34%, rgba(255, 255, 255, 0.1), transparent 24%),
      linear-gradient(135deg, rgba(230, 36, 47, 0.18), transparent 46%);
    pointer-events: none;
  }

  .anxiety-title > div {
    position: relative;
    z-index: 2;
  }
}

/* Final desktop polish: full-background anxiety banner, teacher hero, and cinematic history strip */
@media (min-width: 901px) {
  .anxiety-title {
    position: relative;
    display: block;
    min-height: 250px;
    overflow: hidden;
    padding: 58px 72px 54px 330px;
    color: #fff;
    background:
      linear-gradient(90deg, rgba(12, 20, 35, 0.42) 0%, rgba(12, 20, 35, 0.9) 40%, rgba(43, 19, 43, 0.92) 100%),
      url("assets/anxiety-runner-asian.webp") left 46% center / auto 135% no-repeat,
      linear-gradient(120deg, #111c31, #2a182f);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 30px 86px rgba(15, 25, 43, 0.16);
  }

  .anxiety-title::before {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 24% 44%, rgba(230, 36, 47, 0.24), transparent 28%),
      linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.055) 56%, transparent 100%);
    content: "";
    pointer-events: none;
  }

  .anxiety-title::after {
    position: absolute;
    right: 42px;
    bottom: 0;
    width: 180px;
    height: 3px;
    background: var(--red);
    content: "";
  }

  .anxiety-title > span {
    display: none;
  }

  .anxiety-title > div {
    position: relative;
    z-index: 1;
    max-width: 880px;
  }

  .anxiety-title .section-kicker {
    margin-bottom: 12px;
    color: #ff4d57;
  }

  .anxiety-title h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.08;
  }

  .anxiety-title p:not(.section-kicker) {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
  }

  .teachers-page-hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background:
      linear-gradient(90deg, rgba(12, 20, 35, 0.92) 0%, rgba(12, 20, 35, 0.78) 42%, rgba(12, 20, 35, 0.34) 100%),
      url("assets/teacher-hero-ai-classroom.webp") center / cover no-repeat;
  }

  .teachers-page-hero::before {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%);
    content: "";
    pointer-events: none;
  }

  .teachers-page-hero::after {
    position: absolute;
    right: 10%;
    bottom: 0;
    width: 210px;
    height: 3px;
    background: var(--red);
    content: "";
  }

  .teachers-page-hero-inner {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 430px;
    padding-top: 92px;
    padding-bottom: 86px;
  }

  .teachers-page-hero-inner > div {
    width: min(760px, 62vw);
  }

  .teachers-page-hero-inner > img {
    display: none;
  }

  .about-hero-services {
    margin: 18px 0 0;
    color: var(--red) !important;
    font-size: 22px !important;
    font-weight: 900;
    letter-spacing: 0;
  }

  .about-page-main .history-section {
    min-height: 760px;
    padding: 112px 0 112px;
    background:
      linear-gradient(180deg, rgba(7, 14, 27, 0.52), rgba(7, 14, 27, 0.94)),
      radial-gradient(ellipse at 50% 42%, rgba(72, 155, 230, 0.22), transparent 36%),
      linear-gradient(135deg, #050b16, #101a31 55%, #061120);
  }

  .about-page-main .history-section::before {
    top: 40px;
    width: min(1380px, 98vw);
    aspect-ratio: 2.2 / 1;
    opacity: 0.62;
    border-color: rgba(122, 196, 255, 0.2);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
  }

  .about-page-main .history-section::after {
    inset: auto 0 0;
    height: 46%;
    background:
      linear-gradient(180deg, rgba(7, 14, 27, 0), rgba(7, 14, 27, 0.82) 68%),
      radial-gradient(ellipse at 50% 0%, rgba(255, 169, 93, 0.34), transparent 44%);
  }

  .about-page-main .history-heading {
    width: min(1180px, calc(100vw - 120px));
    margin: 0 auto 62px;
    text-align: left;
  }

  .about-page-main .history-heading h2 {
    max-width: 720px;
    font-size: clamp(54px, 5vw, 82px);
  }

  .about-page-main .history-heading > p:not(.section-kicker) {
    max-width: 520px;
    margin: -120px 0 0 auto;
    text-align: right;
  }

  .about-page-main .history-heading > strong {
    margin: 32px 0 0 auto;
  }

  .about-page-main .history-stage {
    min-height: 300px;
    padding-top: 76px;
  }

  .about-page-main .history-stage::before {
    top: 0;
    bottom: auto;
    left: 0;
    z-index: 0;
    width: max-content;
    height: 112px;
    color: rgba(255, 255, 255, 0.1);
    background: none;
    content: "{ 2009 }   { 2014 }   { 2015 }   { 2016 }   { 2017 }   { 2018 }   { 2019 }   { 2020 }   { 2021 }   { 2022 }   { 2023 }   { 2024 }";
    font-family: Arial, sans-serif;
    font-size: 82px;
    font-weight: 900;
    letter-spacing: 0.08em;
    white-space: nowrap;
    animation: about-year-marquee 34s linear infinite;
  }

  .about-page-main .history-stage::after {
    z-index: 4;
    background: linear-gradient(270deg, #07111f, rgba(7, 17, 31, 0));
  }

  .about-page-main .history-timeline {
    position: relative;
    z-index: 2;
    gap: 22px;
    animation-duration: 58s;
  }

  .about-page-main .history-timeline li {
    flex-basis: 340px;
    min-height: 188px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  }
}

@keyframes about-year-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
/* 2026-07-23 final polish: news dates, compact anxiety banner, premium about history */
.full-article-list .article-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}

.full-article-list .article-title-row h3 {
  flex: 1 1 auto;
  min-width: 0;
}

.full-article-list .article-title-row time {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #7c8798;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .full-article-list .article-title-row {
    gap: 12px;
  }

  .full-article-list .article-title-row h3 {
    font-size: 15px;
    line-height: 1.45;
  }

  .full-article-list .article-title-row time {
    margin-top: 2px;
    font-size: 11px;
  }
}

@media (min-width: 901px) {
  .anxiety-title {
    position: relative;
    min-height: 248px;
    padding: 48px 64px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background:
      linear-gradient(90deg, rgba(15, 25, 46, 0.96) 0%, rgba(18, 29, 52, 0.86) 42%, rgba(52, 18, 41, 0.78) 100%),
      url("assets/anxiety-runner-asian.webp") center / cover no-repeat !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
  }

  .anxiety-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 74% 16%, rgba(255, 255, 255, 0.16), transparent 22%),
      linear-gradient(90deg, rgba(10, 18, 34, 0.76), rgba(10, 18, 34, 0.18) 68%, rgba(10, 18, 34, 0.56));
    pointer-events: none;
  }

  .anxiety-title::after {
    content: "";
    position: absolute;
    right: 42px;
    bottom: 0;
    width: 180px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ef2334, transparent);
  }

  .anxiety-title > * {
    position: relative;
    z-index: 1;
    max-width: 820px;
    text-align: left;
  }

  .anxiety-title > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #ff3b4a;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .anxiety-title h2 {
    max-width: 860px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 4.4vw, 58px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .anxiety-title p {
    max-width: 720px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
  }

  .about-page-main .history-section {
    position: relative;
    min-height: auto;
    padding: 116px 0 104px;
    overflow: hidden;
    background:
      radial-gradient(900px 420px at 50% -8%, rgba(44, 83, 139, 0.32), transparent 66%),
      linear-gradient(180deg, #071121 0%, #111a30 48%, #071121 100%) !important;
  }

  .about-page-main .history-section::before {
    content: "2009  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  FUTURE";
    position: absolute;
    left: 0;
    right: auto;
    top: 250px;
    width: max-content;
    color: rgba(255, 255, 255, 0.06);
    font-size: 118px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    transform: none;
    animation: history-year-drift 36s linear infinite;
    pointer-events: none;
  }

  .about-page-main .history-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(7, 17, 33, 0.96), transparent 23%, transparent 76%, rgba(7, 17, 33, 0.96)),
      radial-gradient(circle at 78% 34%, rgba(239, 35, 52, 0.16), transparent 26%);
    pointer-events: none;
  }

  .about-page-main .history-layout {
    position: relative;
    z-index: 1;
    display: block;
  }

  .about-page-main .history-heading {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1fr);
    gap: 72px;
    align-items: end;
    margin-bottom: 54px;
  }

  .about-page-main .history-heading .section-kicker {
    grid-column: 1;
    margin: 0 0 14px;
    color: #ff3345;
  }

  .about-page-main .history-heading h2 {
    grid-column: 1;
    margin: 0;
    max-width: 620px;
    color: #fff;
    font-size: clamp(52px, 5.5vw, 86px);
    line-height: 1.02;
    letter-spacing: 0;
  }

  .about-page-main .history-heading p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 560px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 2;
    text-align: left;
  }

  .about-page-main .history-heading strong {
    grid-column: 2;
    display: inline-flex;
    width: fit-content;
    margin-top: 22px;
    padding: 14px 22px;
    border: 1px solid rgba(239, 35, 52, 0.36);
    border-radius: 999px;
    color: #ff4352;
    background: rgba(239, 35, 52, 0.08);
    font-size: 14px;
  }

  .about-page-main .history-stage {
    position: relative;
    display: block;
    overflow: hidden;
    margin-inline: calc((100vw - min(1200px, 100vw - 48px)) / -2);
    padding: 12px 0 24px;
  }

  .about-page-main .history-visual {
    display: none !important;
  }

  .about-page-main .history-timeline {
    display: flex !important;
    width: max-content;
    gap: 18px;
    margin: 0;
    padding: 0 24px;
    list-style: none;
    animation: about-history-card-flow 46s linear infinite;
    counter-reset: none;
  }

  .about-page-main .history-timeline:hover {
    animation-play-state: paused;
  }

  .about-page-main .history-timeline::before,
  .about-page-main .history-timeline::after {
    display: none !important;
  }

  .about-page-main .history-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    width: 338px;
    min-height: 174px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 26px 60px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
    transform: none !important;
    opacity: 1 !important;
  }

  .about-page-main .history-timeline li::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 0;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: #ef2334;
  }

  .about-page-main .history-timeline li::after {
    content: "";
    position: absolute;
    inset: auto 22px 0 22px;
    height: 2px;
    background: linear-gradient(90deg, #ef2334, transparent);
  }

  .about-page-main .history-timeline time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    font-size: 14px;
    font-weight: 900;
  }

  .about-page-main .history-timeline h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
    line-height: 1.35;
  }

  .about-page-main .history-timeline p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    line-height: 1.75;
  }
}

@keyframes history-year-drift {
  from { transform: translateX(4vw); }
  to { transform: translateX(-45vw); }
}

@keyframes about-history-card-flow {
  from { transform: translateX(0); }
  to { transform: translateX(-36%); }
}

/* 2026-07-23 layout correction: compact anxiety strip and stable premium history */
@media (min-width: 901px) {
  .anxiety-section {
    padding-top: 62px;
    padding-bottom: 52px;
  }

  .anxiety-title {
    min-height: 214px !important;
    padding: 42px 70px 38px !important;
    background:
      linear-gradient(90deg, rgba(9, 18, 33, 0.96) 0%, rgba(9, 18, 33, 0.66) 48%, rgba(61, 19, 45, 0.92) 100%),
      url("assets/anxiety-runner-asian.webp") center 58% / cover no-repeat !important;
    border-radius: 18px !important;
  }

  .anxiety-title::before {
    background:
      linear-gradient(90deg, rgba(9, 18, 33, 0.82), transparent 44%),
      radial-gradient(circle at 86% 22%, rgba(239, 35, 52, 0.24), transparent 24%) !important;
  }

  .anxiety-title::after {
    right: 64px !important;
    bottom: 0 !important;
    width: 160px !important;
  }

  .anxiety-title > span {
    display: none !important;
  }

  .anxiety-title > div {
    max-width: 820px !important;
  }

  .anxiety-title h2 {
    max-width: 900px !important;
    font-size: clamp(38px, 3.2vw, 52px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }

  .anxiety-title p:not(.section-kicker) {
    max-width: 760px !important;
    margin-top: 14px !important;
  }

  .about-page-main .history-section {
    padding: 92px 0 86px !important;
    background:
      radial-gradient(760px 360px at 70% 18%, rgba(54, 88, 148, 0.28), transparent 70%),
      radial-gradient(820px 420px at 28% 86%, rgba(239, 35, 52, 0.12), transparent 68%),
      linear-gradient(135deg, #071121 0%, #101a30 52%, #071121 100%) !important;
  }

  .about-page-main .history-section::before {
    top: 238px !important;
    left: -6vw !important;
    color: rgba(255, 255, 255, 0.045) !important;
    font-size: clamp(86px, 9vw, 150px) !important;
    animation: history-year-drift-soft 42s linear infinite !important;
  }

  .about-page-main .history-section::after {
    background:
      linear-gradient(90deg, rgba(7, 17, 33, 0.98), transparent 18%, transparent 82%, rgba(7, 17, 33, 0.98)),
      linear-gradient(180deg, transparent 0%, rgba(7, 17, 33, 0.3) 54%, rgba(7, 17, 33, 0.96) 100%) !important;
  }

  .about-page-main .history-layout {
    max-width: 1240px;
  }

  .about-page-main .history-heading {
    display: grid !important;
    grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1fr) !important;
    gap: 82px !important;
    align-items: center !important;
    margin-bottom: 46px !important;
  }

  .about-page-main .history-heading h2 {
    max-width: 520px !important;
    font-size: clamp(42px, 4.1vw, 64px) !important;
    line-height: 1.08 !important;
  }

  .about-page-main .history-heading p {
    max-width: 660px !important;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 17px !important;
    line-height: 2 !important;
    text-align: left !important;
  }

  .about-page-main .history-heading strong {
    margin-top: 18px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #ff4352 !important;
    font-size: 15px !important;
  }

  .about-page-main .history-stage {
    overflow: visible !important;
    margin-inline: 0 !important;
    padding: 0 !important;
  }

  .about-page-main .history-timeline {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
  }

  .about-page-main .history-timeline li {
    width: auto !important;
    min-height: 142px !important;
    grid-template-columns: 72px 1fr !important;
    gap: 16px !important;
    padding: 22px !important;
    border-radius: 16px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)) !important;
    transition: transform 360ms ease, border-color 360ms ease, background 360ms ease, box-shadow 360ms ease !important;
  }

  .about-page-main .history-timeline li:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(239, 35, 52, 0.42) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)) !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28) !important;
  }

  .about-page-main .history-timeline h3 {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }

  .about-page-main .history-timeline p {
    font-size: 13px !important;
    line-height: 1.72 !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .about-page-main .history-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@keyframes history-year-drift-soft {
  from { transform: translateX(0); }
  to { transform: translateX(-28vw); }
}

/* 2026-07-24 correction: history cards scroll as one large borderless row */
@media (min-width: 901px) {
  .about-page-main .history-section::before {
    display: none !important;
    content: none !important;
    animation: none !important;
  }

  .about-page-main .history-heading {
    margin-bottom: 58px !important;
    grid-template-columns: minmax(520px, 0.9fr) minmax(460px, 1fr) !important;
    gap: 70px !important;
  }

  .about-page-main .history-heading h2 {
    max-width: none !important;
    font-size: clamp(38px, 3.55vw, 56px) !important;
    line-height: 1.08 !important;
  }

  .about-page-main .history-heading h2 br {
    display: none !important;
  }

  .about-page-main .history-stage {
    overflow: hidden !important;
    margin-inline: calc((100vw - min(1240px, 100vw - 48px)) / -2) !important;
    padding: 8px 0 18px !important;
  }

  .about-page-main .history-timeline {
    display: flex !important;
    width: max-content !important;
    grid-template-columns: none !important;
    gap: 26px !important;
    padding: 0 64px !important;
    animation: about-history-row-scroll 42s linear infinite !important;
    will-change: transform;
  }

  .about-page-main .history-timeline:hover {
    animation-play-state: paused !important;
  }

  .about-page-main .history-timeline li {
    width: 380px !important;
    min-height: 188px !important;
    grid-template-columns: 88px 1fr !important;
    gap: 22px !important;
    padding: 30px 32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)) !important;
    box-shadow: none !important;
  }

  .about-page-main .history-timeline li::after {
    display: none !important;
  }

  .about-page-main .history-timeline li::before {
    left: 32px !important;
    top: 0 !important;
    width: 2px !important;
    height: 22px !important;
    background: #ef2334 !important;
  }

  .about-page-main .history-timeline time {
    width: 82px !important;
    height: 38px !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    font-size: 15px !important;
  }

  .about-page-main .history-timeline h3 {
    font-size: 22px !important;
    line-height: 1.28 !important;
  }

  .about-page-main .history-timeline p {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }
}

@keyframes about-history-row-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 2026-07-24 final reset: quiet text-only history, no scrolling years or cards */
@media (min-width: 901px) {
  .about-page-main .history-section {
    padding: 96px 0 92px !important;
    background:
      radial-gradient(720px 380px at 78% 12%, rgba(61, 91, 146, 0.22), transparent 70%),
      linear-gradient(135deg, #071121 0%, #101a30 54%, #071121 100%) !important;
  }

  .about-page-main .history-section::before,
  .about-page-main .history-section::after {
    display: none !important;
    content: none !important;
    animation: none !important;
  }

  .about-page-main .history-heading {
    display: grid !important;
    grid-template-columns: minmax(560px, 0.95fr) minmax(420px, 1fr) !important;
    gap: 88px !important;
    align-items: end !important;
    margin-bottom: 62px !important;
  }

  .about-page-main .history-heading h2 {
    max-width: 680px !important;
    font-size: clamp(42px, 3.8vw, 62px) !important;
    line-height: 1.12 !important;
    white-space: normal !important;
  }

  .about-page-main .history-heading h2 br {
    display: none !important;
  }

  .about-page-main .history-heading p {
    max-width: 620px !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 17px !important;
    line-height: 2 !important;
  }

  .about-page-main .history-heading strong {
    margin-top: 20px !important;
    color: #ff4352 !important;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
  }

  .about-page-main .history-stage {
    overflow: visible !important;
    margin-inline: 0 !important;
    padding: 0 !important;
  }

  .about-page-main .history-timeline {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px 54px !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
  }

  .about-page-main .history-timeline li {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 20px !important;
    width: auto !important;
    min-height: auto !important;
    padding: 0 0 24px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transform: none !important;
    transition: color 260ms ease, border-color 260ms ease !important;
  }

  .about-page-main .history-timeline li::before,
  .about-page-main .history-timeline li::after {
    display: none !important;
    content: none !important;
  }

  .about-page-main .history-timeline li:hover {
    border-color: rgba(239, 35, 52, 0.48) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .about-page-main .history-timeline time {
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #ff4352 !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
  }

  .about-page-main .history-timeline h3 {
    margin: 0 0 8px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }

  .about-page-main .history-timeline p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.62) !important;
    font-size: 14px !important;
    line-height: 1.85 !important;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .about-page-main .history-heading {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .about-page-main .history-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Remove remaining decorative history backdrop; keep text clean and animated */
@media (min-width: 901px) {
  .about-page-main .history-section,
  .about-page-main .history-stage,
  .about-page-main .history-timeline {
    isolation: isolate;
  }

  .about-page-main .history-section::before,
  .about-page-main .history-section::after,
  .about-page-main .history-stage::before,
  .about-page-main .history-stage::after,
  .about-page-main .history-timeline::before,
  .about-page-main .history-timeline::after {
    display: none !important;
    content: none !important;
    background: none !important;
    animation: none !important;
  }

  .about-page-main .history-timeline li,
  .about-page-main .history-timeline li:hover {
    background: transparent !important;
  }

  .about-page-main .history-timeline li {
    opacity: 0;
    transform: translateY(18px) !important;
    animation: historyTextIn 720ms cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
  }

  .about-page-main .history-timeline li:nth-child(1) { animation-delay: 80ms !important; }
  .about-page-main .history-timeline li:nth-child(2) { animation-delay: 140ms !important; }
  .about-page-main .history-timeline li:nth-child(3) { animation-delay: 200ms !important; }
  .about-page-main .history-timeline li:nth-child(4) { animation-delay: 260ms !important; }
  .about-page-main .history-timeline li:nth-child(5) { animation-delay: 320ms !important; }
  .about-page-main .history-timeline li:nth-child(6) { animation-delay: 380ms !important; }
  .about-page-main .history-timeline li:nth-child(7) { animation-delay: 440ms !important; }
  .about-page-main .history-timeline li:nth-child(8) { animation-delay: 500ms !important; }
  .about-page-main .history-timeline li:nth-child(9) { animation-delay: 560ms !important; }
  .about-page-main .history-timeline li:nth-child(10) { animation-delay: 620ms !important; }
  .about-page-main .history-timeline li:nth-child(11) { animation-delay: 680ms !important; }
  .about-page-main .history-timeline li:nth-child(12) { animation-delay: 740ms !important; }

  .about-page-main .history-timeline li:hover h3 {
    color: #fff !important;
    transform: translateX(4px);
  }

  .about-page-main .history-timeline h3 {
    transition: color 260ms ease, transform 260ms ease;
  }
}

@keyframes historyTextIn {
  to {
    opacity: 1;
    transform: translateY(0) !important;
  }
}

/* 2026-07-29 mobile news list: title first, publish date below */
@media (max-width: 720px) {
  .news-page-section .full-article-list .article-title-row {
    display: block !important;
    width: 100%;
  }

  .news-page-section .full-article-list .article-title-row h3 {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .news-page-section .full-article-list .article-title-row time {
    display: block;
    width: 100%;
    margin: 7px 0 0;
    color: #9aa4b2;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
  }
}

.article-static-page { background: #f6f8fb; min-height: 100vh; padding: 32px 16px; }
.article-static-detail { max-width: 920px; margin: 0 auto; background: #fff; padding: 32px; border: 1px solid #e5ebf3; }
.article-static-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5ebf3; padding-bottom: 14px; }
.article-static-title-row h1 { margin: 0; font-size: 28px; line-height: 1.35; color: #0f172a; }
.article-static-title-row time { flex: 0 0 auto; color: #667085; font-size: 14px; padding-top: 10px; white-space: nowrap; }
.article-static-head p { color: #475467; line-height: 1.85; margin: 18px 0 0; }
.article-rich-body { margin-top: 24px; color: #1f2937; font-size: 17px; line-height: 1.95; }
.article-rich-body p { margin: 0 0 18px; }
.article-rich-body h2 { font-size: 22px; line-height: 1.4; margin: 30px 0 12px; color: #111827; }
.article-rich-body ul { padding-left: 1.4em; margin: 0 0 20px; }
.article-rich-body li { margin: 8px 0; }
.article-meta-line-clean { justify-content: flex-end; }
.article-meta-line-clean time { color: #667085; }
@media (max-width: 720px) {
  .article-static-page { padding: 16px 10px; }
  .article-static-detail { padding: 20px 16px; }
  .article-static-title-row { display: block; }
  .article-static-title-row h1 { font-size: 22px; }
  .article-static-title-row time { display: block; padding-top: 10px; }
  .article-rich-body { font-size: 16px; }
}

/* Footer compliance links */
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 8px;
}



.footer-divider {
  color: rgba(255, 255, 255, 0.42);
  flex: 0 0 auto;
}

.footer-legal a,
.mobile-legal-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal a:hover,
.mobile-legal-footer a:hover {
  color: #fff;
}

.footer-legal img,
.mobile-legal-footer img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.legal-only-footer {
  margin-top: 48px;
}

.legal-only-footer .footer-bottom {
  min-height: 58px;
}

.mobile-legal-footer {
  display: none;
}

@media (max-width: 720px) {
  .footer-legal {
    justify-content: flex-start;
  }

  .mobile-legal-footer {
    display: block;
    padding: 16px 14px calc(92px + env(safe-area-inset-bottom));
    color: rgba(255, 255, 255, 0.72);
    background: #111827;
    font-size: 12px;
    line-height: 1.7;
  }

  .mobile-legal-inner {
    display: flex;
    max-width: 360px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
  }

  .mobile-legal-footer img {
    width: 14px;
    height: 14px;
  }
}



/* Compact official profile: kept for AI/search entity clarity without taking homepage space. */
.official-profile-compact {
  padding: 30px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.official-profile-compact-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(380px, 1.08fr);
  gap: 20px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}
.official-profile-compact-copy h2 {
  margin: 6px 0 10px;
  font-size: 30px;
  line-height: 1.18;
  color: #101827;
}
.official-profile-compact-copy p:last-child {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}
.official-profile-compact-copy a,
.official-profile-compact-facts a {
  color: #ee1c2d;
  font-weight: 800;
}
.official-profile-compact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.official-profile-compact-facts div {
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid #dde5ef;
  border-radius: 8px;
  background: #f8fafc;
}
.official-profile-compact-facts dt {
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}
.official-profile-compact-facts dd {
  margin: 0;
  color: #142033;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 750;
}
@media (max-width: 760px) {
  .official-profile-compact {
    padding: 16px 12px 26px;
  }
  .official-profile-compact-inner {
    display: block;
    padding: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  }
  .official-profile-compact-copy h2 {
    font-size: 22px;
  }
  .official-profile-compact-copy p:last-child {
    font-size: 14px;
    line-height: 1.7;
  }
  .official-profile-compact-facts {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
  .official-profile-compact-facts div {
    min-height: auto;
    padding: 11px 12px;
  }
  .official-profile-compact-facts dd {
    font-size: 14px;
    line-height: 1.55;
  }
}


/* HXWD-HOME-TRIAL-CARDS-COMPACT-START */
.trial-section.section {
  padding: 68px 0 74px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.trial-section .section-heading.centered {
  max-width: 760px;
  margin: 0 auto 28px;
}

.trial-grid {
  gap: 20px;
  align-items: stretch;
}

.trial-grid article {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.07);
}

.trial-grid img {
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.trial-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}

.trial-grid h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.trial-grid p {
  min-height: 48px;
  margin: 10px 0 16px;
  font-size: 14px;
  line-height: 1.65;
}

.trial-grid a {
  margin-top: auto;
}

@media (min-width: 981px) and (max-width: 1280px) {
  .trial-grid img {
    height: 190px;
  }

  .trial-grid article > div {
    padding: 16px 18px 18px;
  }

  .trial-grid h3 {
    font-size: 18px;
  }
}

@media (max-width: 720px) {
  .trial-section.section {
    padding: 42px 0 48px;
  }

  .trial-section .section-heading.centered {
    margin-bottom: 18px;
    text-align: left;
  }

  .trial-grid {
    grid-auto-columns: minmax(238px, 76vw);
    gap: 12px;
    margin: 0 -14px;
    padding: 2px 14px 10px;
  }

  .trial-grid article {
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  }

  .trial-grid img {
    height: 132px;
    aspect-ratio: auto;
  }

  .trial-grid article > div {
    padding: 13px 14px 15px;
  }

  .trial-grid span {
    font-size: 12px;
  }

  .trial-grid h3 {
    margin-top: 6px;
    font-size: 17px;
  }

  .trial-grid p {
    min-height: 0;
    margin: 8px 0 12px;
    font-size: 13px;
    line-height: 1.58;
  }
}
/* HXWD-HOME-TRIAL-CARDS-COMPACT-END */


/* HXWD-ABOUT-FAQ-START */
.about-faq-section {
  padding: 72px 0;
  background: #fff;
}

.about-faq-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.35fr);
  gap: 42px;
  align-items: start;
}

.about-faq-heading {
  position: sticky;
  top: 96px;
}

.about-faq-heading h2 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.12;
}

.about-faq-heading > p:last-child {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-faq-list {
  display: grid;
  gap: 12px;
}

.about-faq-item {
  border: 1px solid #dde6f2;
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.about-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.about-faq-item summary::-webkit-details-marker {
  display: none;
}

.about-faq-item summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.about-faq-item[open] summary::after {
  content: "-";
}

.about-faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: #334155;
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 860px) {
  .about-faq-section {
    padding: 48px 0;
  }

  .about-faq-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-faq-heading {
    position: static;
  }

  .about-faq-heading h2 {
    font-size: 28px;
  }

  .about-faq-item summary {
    padding: 17px 16px;
    font-size: 16px;
  }

  .about-faq-item p {
    padding: 0 16px 17px;
    font-size: 14px;
  }
}
/* HXWD-ABOUT-FAQ-END */


/* HXWD-ABOUT-FAQ-REDESIGN-START */
@media (min-width: 861px) {
  .about-faq-section {
    position: relative;
    overflow: hidden;
    padding: 82px 0 88px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  }

  .about-faq-section::before {
    position: absolute;
    inset: 34px auto auto 50%;
    width: min(720px, 48vw);
    height: 360px;
    border: 1px solid rgba(230, 36, 47, 0.08);
    background: linear-gradient(135deg, rgba(230, 36, 47, 0.06), rgba(15, 23, 42, 0.025));
    content: "";
    transform: translateX(-6%);
    pointer-events: none;
  }

  .about-faq-inner {
    position: relative;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
  }

  .about-faq-heading {
    position: sticky;
    top: 112px;
    padding: 28px 0 0;
  }

  .about-faq-heading .section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 14px;
    padding: 0 12px;
    border: 1px solid rgba(230, 36, 47, 0.18);
    border-radius: 999px;
    background: #fff5f6;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
  }

  .about-faq-heading h2 {
    max-width: 360px;
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: 0;
  }

  .about-faq-heading > p:last-child {
    max-width: 350px;
    color: #526071;
    font-size: 15px;
    line-height: 1.85;
  }

  .about-faq-list {
    gap: 10px;
    padding: 8px;
    border: 1px solid #e3eaf4;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
  }

  .about-faq-item {
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    transition: background 180ms ease;
  }

  .about-faq-item + .about-faq-item {
    border-top: 1px solid #edf1f6;
  }

  .about-faq-item[open] {
    background: #f8fafc;
  }

  .about-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 66px;
    padding: 0 22px;
    font-size: 17px;
    line-height: 1.45;
  }

  .about-faq-item summary::after {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-left: 0;
    place-items: center;
    border: 1px solid rgba(230, 36, 47, 0.2);
    border-radius: 999px;
    background: #fff;
    color: var(--red);
    font-size: 18px;
    font-weight: 900;
  }

  .about-faq-item p {
    max-width: 720px;
    padding: 0 62px 20px 22px;
    color: #42526a;
    font-size: 15px;
    line-height: 1.9;
  }
}

@media (max-width: 860px) {
  .about-faq-section {
    background: #fff;
  }
}
/* HXWD-ABOUT-FAQ-REDESIGN-END */


/* HXWD-ABOUT-FAQ-CARD-GRID-START */
.about-faq-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 82px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.about-faq-section::before {
  display: none;
}

.about-faq-inner {
  display: block;
}

.about-faq-heading {
  position: relative;
  top: auto;
  max-width: 760px;
  margin: 0 auto 34px;
  padding: 0;
  text-align: center;
}

.about-faq-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 13px;
  border: 1px solid rgba(230, 36, 47, 0.18);
  border-radius: 999px;
  background: #fff5f6;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.about-faq-heading h2 {
  max-width: none;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

.about-faq-heading > p:last-child {
  max-width: 620px;
  margin: 0 auto;
  color: #526071;
  font-size: 15px;
  line-height: 1.8;
}

.about-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.about-faq-item {
  position: relative;
  overflow: hidden;
  min-height: 124px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-faq-item + .about-faq-item {
  border-top: 1px solid #dfe7f2;
}

.about-faq-item:hover,
.about-faq-item[open] {
  border-color: rgba(230, 36, 47, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.about-faq-item::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 86px;
  height: 86px;
  background: radial-gradient(circle at top right, rgba(230, 36, 47, 0.1), transparent 68%);
  content: "";
  pointer-events: none;
}

.about-faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: auto;
  padding: 22px 22px 16px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.about-faq-item summary::after {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-left: 0;
  place-items: center;
  border: 1px solid rgba(230, 36, 47, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.about-faq-item p {
  max-width: none;
  margin: 0;
  padding: 0 22px 22px;
  color: #42526a;
  font-size: 14px;
  line-height: 1.85;
}

@media (min-width: 861px) and (max-width: 1120px) {
  .about-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .about-faq-section {
    padding: 48px 0;
    background: #fff;
  }

  .about-faq-heading {
    max-width: none;
    margin-bottom: 20px;
    text-align: left;
  }

  .about-faq-heading h2 {
    font-size: 28px;
  }

  .about-faq-heading > p:last-child {
    margin: 0;
  }

  .about-faq-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-faq-item {
    min-height: 0;
  }

  .about-faq-item:hover,
  .about-faq-item[open] {
    transform: none;
  }

  .about-faq-item summary {
    padding: 17px 16px;
    font-size: 16px;
  }

  .about-faq-item p {
    padding: 0 16px 17px;
    font-size: 14px;
  }
}
/* HXWD-ABOUT-FAQ-CARD-GRID-END */


/* HXWD-ABOUT-FAQ-STATIC-COMPACT-START */
.about-faq-section {
  padding: 52px 0 60px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.about-faq-section::before {
  display: none;
}

.about-faq-inner {
  display: block;
}

.about-faq-heading {
  position: relative;
  top: auto;
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 0;
  text-align: center;
}

.about-faq-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0 0 10px;
  padding: 0 12px;
  border: 1px solid rgba(230, 36, 47, 0.18);
  border-radius: 999px;
  background: #fff5f6;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.about-faq-heading h2 {
  max-width: none;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0;
}

.about-faq-heading > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: #526071;
  font-size: 14px;
  line-height: 1.7;
}

.about-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.about-faq-card {
  min-height: 118px;
  padding: 20px 22px;
  border: 1px solid #e0e7f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.about-faq-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.42;
}

.about-faq-card p {
  margin: 0;
  color: #42526a;
  font-size: 14px;
  line-height: 1.72;
}

.about-faq-item,
.about-faq-item summary,
.about-faq-item p {
  display: none;
}

@media (min-width: 861px) and (max-width: 1120px) {
  .about-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .about-faq-section {
    padding: 38px 0 44px;
    background: #fff;
  }

  .about-faq-heading {
    max-width: none;
    margin-bottom: 18px;
    text-align: left;
  }

  .about-faq-heading h2 {
    font-size: 26px;
  }

  .about-faq-heading > p:last-child {
    margin: 0;
  }

  .about-faq-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-faq-card {
    min-height: 0;
    padding: 16px;
  }

  .about-faq-card h3 {
    font-size: 16px;
  }

  .about-faq-card p {
    font-size: 14px;
    line-height: 1.68;
  }
}
/* HXWD-ABOUT-FAQ-STATIC-COMPACT-END */

/* HXWD-FUTURE-VISUAL-STATIC-START */
.about-logo-stage.about-future-stage .about-cloud-layer {
  display: none !important;
}

.about-logo-stage.about-future-stage .about-future-image {
  animation: none !important;
  transform: none !important;
}

.about-logo-stage.about-future-stage .about-future-logo {
  height: auto !important;
  object-fit: contain;
}
/* HXWD-FUTURE-VISUAL-STATIC-END */
/* HXWD-CONSULT-MODAL-START */
.consult-modal[hidden] {
  display: none !important;
}

.consult-modal {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 420;
  width: min(420px, calc(100vw - 48px));
  height: min(540px, calc(100vh - 48px));
  min-height: min(460px, calc(100vh - 48px));
  pointer-events: none;
}

.consult-modal.is-open {
  pointer-events: auto;
}

.consult-dialog {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(237, 28, 42, 0.16);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(16, 26, 49, 0.22), 0 8px 22px rgba(237, 28, 42, 0.12);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease;
}

.consult-modal.is-open .consult-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.consult-dialog-header {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #bd1720);
}

.consult-dialog-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.consult-brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(237, 28, 42, 0.1);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.consult-dialog-title strong,
.consult-dialog-title small {
  display: block;
  min-width: 0;
  color: #fff;
  line-height: 1.25;
}

.consult-dialog-title strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consult-dialog-title small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.consult-dialog-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font: 400 24px / 1 Arial, sans-serif;
  transition: background 160ms ease, transform 160ms ease;
}

.consult-dialog-close:hover,
.consult-dialog-close:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.consult-dialog-body {
  min-height: 0;
  background: #f6f8fb;
}

.consult-dialog-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 0;
}

@media (min-width: 721px) {
  #aff-ai-agent-icon {
    z-index: 410 !important;
  }

  #aff-ai-agent-icon [style*="background-color"] {
    background: linear-gradient(135deg, var(--red), #bd1720) !important;
    box-shadow: 0 14px 30px rgba(237, 28, 42, 0.28), 0 6px 16px rgba(16, 26, 49, 0.12) !important;
  }

  #aff-ai-agent-iframe {
    right: 24px !important;
    bottom: 24px !important;
    border: 1px solid rgba(237, 28, 42, 0.14) !important;
    border-radius: 10px !important;
    box-shadow: 0 24px 60px rgba(16, 26, 49, 0.22), 0 8px 22px rgba(237, 28, 42, 0.12) !important;
  }
}

@media (max-width: 720px) {
  .consult-modal {
    display: none !important;
  }
}
/* HXWD-CONSULT-MODAL-END */


@media (max-width: 720px) {
  .consult-modal.consult-modal-mobile {
    display: block !important;
    right: 8px;
    bottom: calc(62px + env(safe-area-inset-bottom));
    left: 8px;
    z-index: 430;
    width: auto;
    height: min(72vh, 620px);
    min-height: min(520px, calc(100vh - 92px));
  }

  .consult-modal.consult-modal-mobile .consult-dialog {
    border-radius: 16px;
    transform-origin: center bottom;
  }

  .consult-modal.consult-modal-mobile .consult-dialog-header {
    padding: 11px 12px;
  }

  .consult-modal.consult-modal-mobile .consult-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
  }

  .consult-modal.consult-modal-mobile .consult-dialog-title strong {
    font-size: 15px;
  }

  .consult-modal.consult-modal-mobile .consult-dialog-title small {
    font-size: 11px;
  }

  .consult-modal.consult-modal-mobile .consult-dialog-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
}

/* HXWD-MOBILE-CONSULT-BRAND-V3-START */
.consult-brand-mark {
  display: flex;
  width: 108px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  color: var(--red);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.consult-brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.consult-dialog-body {
  position: relative;
  overflow: hidden;
}

.consult-kuaishang-toolbar {
  display: none;
}

@media (max-width: 720px) {
  .consult-modal.consult-modal-mobile .consult-brand-mark {
    width: 96px;
    height: 31px;
    border-radius: 0;
    font-size: 0;
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), #bd1720);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 10px 20px rgba(16, 26, 49, 0.08);
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar strong {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar a {
    display: inline-flex;
    min-width: 0;
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar a::after {
    display: grid;
    width: 28px;
    height: 28px;
    margin-left: 4px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    content: "☎";
    font-size: 15px;
    line-height: 1;
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
  }

  .consult-modal.consult-modal-mobile .consult-kuaishang-toolbar b {
    color: #fff;
    font-size: 14px;
  }
}
/* HXWD-MOBILE-CONSULT-BRAND-V3-END */

/* Mobile scroll stability: keep vertical page swipes responsive around carousels and fixed UI. */
@media (max-width: 720px) {
  html,
  body {
    touch-action: pan-y;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open {
    touch-action: none;
  }

  main,
  .mobile-redesign,
  .mobile-redesign-hero,
  .mobile-redesign-slide,
  .faq-section,
  .mobile-campus-block,
  .mobile-premium-panel,
  .mobile-news-preview,
  .mobile-teacher-block {
    touch-action: pan-y;
  }

  .mobile-course-pillbar,
  .mobile-campus-tabs,
  .mobile-premium-courses,
  .mobile-course-scroller,
  .teacher-carousel {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-redesign-dots,
  .mobile-hero-actions,
  .mobile-sticky,
  .mobile-call-float,
  .mobile-header-nav,
  .mobile-panel,
  .mobile-backdrop {
    touch-action: manipulation;
  }
}

/* HXWD-ARTICLE-LIST-CONSISTENCY-START */
.full-article-list .article-list-category {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin-top: 14px;
  padding: 4px 9px;
  color: var(--red);
  background: rgba(230, 36, 47, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.full-article-list .article-title-row {
  margin-top: 8px;
}

.full-article-list p {
  display: block;
  max-width: 820px;
  margin: 8px 0 0;
}

.full-article-list em {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

@media (max-width: 720px) {
  .full-article-list .article-list-category {
    margin-top: 10px;
    font-size: 11px;
  }

  .news-page-section .full-article-list .article-title-row h3 {
    font-size: 17px;
  }
}
/* HXWD-ARTICLE-LIST-CONSISTENCY-END */

/* Article page CTA polish */
.article-page-main .article-back {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid rgba(230, 36, 47, 0.12);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(230, 36, 47, 0.18);
}

.article-page-main .article-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(230, 36, 47, 0.24);
}

.article-detail .article-cta {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.article-detail .article-cta .btn {
  min-width: 150px;
}

@media (max-width: 720px) {
  .article-page-main .article-back {
    min-height: 38px;
    margin-bottom: 14px !important;
    padding: 0 14px;
    font-size: 13px !important;
  }

  .article-detail .article-cta {
    gap: 10px;
  }

  .article-detail .article-cta .btn {
    flex: 1 1 150px;
    min-width: 0;
  }
}

/* Static generated article CTA polish */
.article-page-main .article-back {
  display: inline-flex !important;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid rgba(230, 36, 47, 0.12);
  border-radius: 6px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(230, 36, 47, 0.18);
}

.article-page-main .article-back:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(230, 36, 47, 0.24);
}

.article-page-main .article-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.article-page-main .article-cta .btn {
  min-width: 150px;
}

@media (max-width: 720px) {
  .article-page-main .article-back {
    min-height: 38px;
    margin-bottom: 14px !important;
    padding: 0 14px;
    font-size: 13px !important;
  }

  .article-page-main .article-cta {
    gap: 10px;
  }

  .article-page-main .article-cta .btn {
    flex: 1 1 150px;
    min-width: 0;
  }
}


/* HXWD-MOBILE-NEWS-READING-V8-START */
@media (max-width: 720px) {
  .news-page-section {
    padding: 10px 0 72px;
  }

  .news-page-section > .container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .news-page-section .full-article-list {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .news-page-section .full-article-list article {
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .news-page-section .full-article-list article a,
  .news-page-section .full-article-list article a:hover {
    display: block;
    min-height: 0;
    padding: 11px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .news-page-section .full-article-list .article-list-category,
  .news-page-section .full-article-list .article-list-pin,
  .news-page-section .full-article-list p,
  .news-page-section .full-article-list em {
    display: none !important;
  }

  .news-page-section .full-article-list .article-title-row {
    display: block;
    margin: 0;
  }

  .news-page-section .full-article-list .article-title-row h3 {
    display: block;
    width: 100%;
    margin: 0;
    overflow: visible;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  .news-page-section .full-article-list .article-title-row time {
    display: block;
    margin-top: 4px;
    color: #8a94a3;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 400;
    white-space: normal;
  }

  .article-page-main {
    background: #fff;
  }

  .article-body-section {
    padding: 14px 0 72px;
    background: #fff;
  }

  .article-body-section .article-shell {
    display: block;
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .article-body-section .article-detail {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-body-section .article-meta-line {
    gap: 0;
    margin: 0 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 12px;
  }

  .article-body-section .article-meta-line > span:nth-child(1),
  .article-body-section .article-meta-line > span:nth-child(2) {
    display: none !important;
  }

  .article-body-section .article-meta-line > span:nth-child(3) {
    display: inline;
  }

  .article-body-section .article-rich-body {
    margin-top: 0;
  }

  .article-body-section .article-detail p {
    font-size: 16px;
    line-height: 1.85;
  }

  .article-body-section .article-side-card {
    display: none;
  }
}
/* HXWD-MOBILE-NEWS-READING-V8-END */


/* HXWD-ARTICLE-RELATED-BREADCRUMB-START */
.article-visible-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 0 16px;
  color: #697386;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
}

.article-visible-breadcrumb a {
  color: #596579;
  text-decoration: none;
}

.article-visible-breadcrumb a:hover {
  color: #d92732;
  text-decoration: underline;
}

.article-visible-breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-related-links {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e1e6ee;
}

.article-related-links h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 22px;
  line-height: 1.4;
}

.article-related-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-related-links li {
  min-width: 0;
  border-bottom: 1px solid #e8ecf2;
}

.article-related-links a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 14px 0;
  color: #202938;
  text-decoration: none;
}

.article-related-links a:hover span {
  color: #c92530;
}

.article-related-links a span {
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.article-related-links time {
  flex: 0 0 auto;
  padding-top: 2px;
  color: #87909f;
  font-size: 13px;
  line-height: 1.55;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .article-visible-breadcrumb {
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12px;
  }

  .article-related-links {
    margin-top: 26px;
    padding-top: 20px;
  }

  .article-related-links h2 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  .article-related-links ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-related-links a {
    gap: 10px;
    padding: 13px 0;
  }

  .article-related-links a span {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
  }

  .article-related-links time {
    font-size: 12px;
  }
}
/* HXWD-ARTICLE-RELATED-BREADCRUMB-END */
