@font-face {
  font-family: "Fraunces";
  src: url("/static/fonts/Fraunces-VariableFont_SOFT.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/Inter-VariableFont.ttf") format("truetype");
}

body {
  padding: unset;
  margin: unset;
  font-family: "Inter";
  overflow-x: hidden;
  --color-theme: #1e3a8a;
  --color-theme-light: #7089cc;
}

a {
  color: #222;
  text-decoration: unset;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 32px 24px;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  /* background-color: white; */
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out,
    border 0.3s ease-in-out;
  z-index: 990;
  border-bottom: 1px solid transparent;
}

.header-mobile {
  display: none;
}

.header-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 980;
}

.header-mobile-menu.active {
  display: block;
}

.header-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.header-mobile-nav-item {
  padding: 0 24px;
}

.header-mobile-nav-item a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-mobile-nav-item a:hover {
  color: var(--color-theme);
}

.header-mobile-nav-item-has-submenu .header-mobile-nav-item-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.header-mobile-nav-item-has-submenu .header-mobile-nav-item-toggle i {
  transition: transform 0.2s ease;
}

.header-mobile-nav-item-has-submenu.active .header-mobile-nav-item-toggle i {
  transform: rotate(180deg);
}

.header-mobile-nav-submenu {
  display: none;
  padding-left: 24px;
  background-color: #f9fafb;
}

.header-mobile-nav-item-has-submenu.active .header-mobile-nav-submenu {
  display: block;
}

.header-mobile-nav-submenu-item {
  padding: 0 24px;
}

.header-mobile-nav-submenu-item a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #4b5563;
}

.header-mobile-nav-submenu-item a:hover {
  color: var(--color-theme);
}

.header-mobile-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #222;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.header-mobile-toggle:hover {
  background-color: #f3f4f6;
}

/* 移动优先：默认样式为320px-480px */
.header-nav {
  display: none;
}

.header-mobile {
  display: block;
}

.header-container {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
  gap: 0.5rem;
}

.header-logo {
  order: 1;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 0;
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-logo img {
  max-height: 50px;
  width: auto;
}

.header-nav {
  order: 2;
  flex: 1;
  justify-content: center;
}

.header-button {
  order: 3;
  display: block;
  flex-shrink: 1;
  flex-grow: 0;
  max-width: 45%;
  white-space: nowrap;
}

.header-button .button {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-mobile {
  order: 4;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.button {
  padding: clamp(0.25rem, 1.5vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
  font-size: clamp(0.625rem, 2vw, 0.875rem);
  border-radius: 6px;
}

header {
  padding: clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  flex-direction: row;
  justify-content: center;
}

.header-mobile-menu {
  top: 100%;
}

.header-mobile-nav-item-has-submenu {
  padding-top: 0;
  margin-top: 0;
}

/* 平板设备�?68px-1024px */
@media screen and (min-width: 768px) {
  .header-nav {
    display: none;
  }

  .header-mobile {
    display: block;
  }

  .header-container {
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: clamp(0.25rem, 1.5vw, 0.75rem);
  }

  .header-button {
    max-width: 45%;
    white-space: nowrap;
  }

  .header-button .button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-logo {
    font-size: clamp(0.625rem, 3vw, 1rem);
  }

  .header-logo img {
    max-height: 60px;
  }

  .button {
    padding: clamp(0.25rem, 1.5vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
    font-size: clamp(0.625rem, 2vw, 0.875rem);
  }

  header {
    padding: clamp(1rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2rem);
  }
}

/* 笔记�?小屏�?024px-1440px */
@media screen and (min-width: 1024px) {
  .header-nav {
    display: grid;
    grid-auto-flow: column;
    column-gap: 20px;
  }

  .header-mobile {
    display: none;
  }

  .header-button {
    display: block;
  }

  .header-container {
    max-width: 1400px;
  }

  .header-container>ul {
    order: 2;
    flex: 1;
    justify-content: center;
  }

  .header-container>div:nth-child(3) {
    order: 3;
  }

  .header-logo {
    font-size: 1.5rem;
  }
}

/* 大屏/宽屏�?440px+ */
@media screen and (min-width: 1440px) {
  .header-container {
    max-width: 1400px;
  }
}

header.light .header-logo {
  color: white;
}

header.light .header-nav a {
  color: white;
}

header.bg {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 12px 0 hsla(0, 0%, 9%, 0.1);
}

header.bg .header-logo {
  color: var(--color-theme);
}

header.bg .header-nav a {
  color: initial;
}

header.sticky {
  position: sticky;
}

header:hover {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 12px 0 hsla(0, 0%, 9%, 0.1);
}

header.light:hover .header-logo {
  color: var(--color-theme);
}

header.light:hover .header-nav a {
  color: initial;
}

footer {
  padding: 36px 24px;
}

section {
  display: flex;
  padding: 48px 24px;
}


main {
  max-width: 1400px;
  margin: 0px auto;
}

main.narrow {
  max-width: 800px;
  margin: 0px auto;
}

main.narrower {
  max-width: 800px;
  margin: 0px auto;
}

main.narrowermax {
  max-width: 1200px;
  margin: 0px auto;
}

main.wider {
  max-width: 1200px;
  margin: 0px auto;
}

ul {
  padding: unset;
  margin: unset;
}

li {
  list-style: none;
}

table {
  width: 100%;
  border: 1px solid #e2e3e5;
}

thead {
  background-color: var(--color-theme);
  color: white;
}

th,
td {
  padding: 1rem;
  border: 1px solid #f2f3f5;
}

div[data-click-proxy] {
  cursor: pointer;
}

.serif {
  font-family: "Fraunces";
}

.ul {
  padding-left: 36px;
  line-height: normal;
  font-size: 1.125rem;
}

.ul li {
  list-style: disc;
  margin-bottom: 12px;
}

.ul li .ul {
  margin-top: 16px;
}

.ul>li ul li {
  list-style: circle !important;
}

.ol {
  padding-left: 36px;
}

.ol li {
  list-style: decimal;
  margin-bottom: 12px;
}

.ol li div:nth-child(2n) {
  margin-top: 8px;
}

.fw-500 {
  font-weight: 500;
}

.p {
  padding: 36px 24px;
}

.p-2x {
  padding: 72px 24px;
}

.p-3x {
  padding: 104px 24px;
}

.p-1 {
  padding: 1rem;
}

.p-2 {
  padding: 1.5rem;
}

.p-3 {
  padding: 2rem;
}

.p-4 {
  padding: 2.5rem;
}

.p-5 {
  padding: 3rem;
}

.p-6 {
  padding: 3.5rem;
}

.p-7 {
  padding: 4rem;
}

.px-7 {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

.h-full {
  height: 90vh;
}

.h-0 {
  height: 0px;
}

.h-250 {
  height: 250px;
}

.h-350 {
  height: 350px;
}

.ratio-16-9 {
  aspect-ratio: 16 / 9;
}

.ratio-1-1 {
  aspect-ratio: 1/ 1;
}

.sideline {
  position: relative;
}

.sideline::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ebebeb;
  right: 105%;
  top: 50%;
  z-index: -1;
}

.sideline::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #ebebeb;
  left: 105%;
  top: 50%;
  z-index: -1;
}

.graphics-middle {
  width: 6rem;
  height: 6rem;
  object-fit: cover;
}

.icon-large {
  font-size: 3rem;
}

.icon-theme {
  width: 2rem;
  height: 2rem;
  background-color: var(--color-theme);
  color: white;
  font-size: 1.25rem;
  line-height: 2rem;
  border-radius: 50%;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-theme-big {
  width: 3rem;
  height: 3rem;
  font-size: 1.75rem;
  line-height: 3rem;
}

.icon-theme-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.icon-theme-big .icon-theme-img {
  width: 60% !important;
  height: 60% !important;
  object-fit: contain !important;
}


.border-theme {
  border-color: var(--color-theme) !important;
}

.width-page {
  max-width: 1400px;
  width: 100%;
  margin: 0px auto;
}

.header-container {
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-hidden {
  transform: translateY(-100%);
}

.header-logo {
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  text-align: center;
  color: var(--color-theme);
}

.header-nav-submenu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0px;
  right: 0px;
  background-color: white;
  display: flex;
  gap: 20px;
  justify-content: space-evenly;
  padding: 32px 0px;
  transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
  transition-delay: 0.25s;
}

.header-nav-item:hover .header-nav-submenu {
  visibility: visible;
  opacity: 1;
}

.header-nav-item>a {
  font-size: 1rem;
  font-weight: 600;
}

.header-nav-item .bi {
  font-size: 14px;
}

.header-nav-submenu-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-nav-submenu-item a:hover {
  text-decoration: underline;
}

.header-nav-submenu-item a span {
  font-size: 1rem;
  font-weight: 600;
}

.header-nav-submenu-item a:hover span {
  color: var(--color-theme);
}

.footer-container {
  max-width: 1400px;
  margin: 0px auto;
  display: flex;
  flex-wrap: wrap;
}

.footer-container>div {
  flex: 1;
  min-width: 250px;
  padding: 0 1rem;
}

.footer-logo {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: bold;
  color: var(--color-theme);
}

.footer-section-title {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  text-align: center;
  transform: translateX(-8%);
}

.footer-link {
  font-size: clamp(1rem, 3vw, 1.125rem);
}

.button {
  padding: clamp(0.75rem, 3vw, 1rem);
  border: 1px solid var(--color-theme);
  border-radius: 12px;
  display: inline-block;
  transition: background 0.2s ease, border 0.2s ease;
  font-weight: 600;
}

.button-primary {
  --hover-bg: black;

  background-color: var(--color-theme);
  color: white;
}

.button-primary:hover {
  background-color: var(--hover-bg);
  border: 1px solid transparent;
  color: white;
}

.button-air:hover {
  background-color: #1e3a8a1a;
  color: var(--color-theme);
}

.button-outline {
  background-color: transparent;
  border: 1px solid black !important;
  color: black;
}

.button-outline:hover {
  border: 1px solid transparent !important;
  background-color: white;
  color: black;
}

.button-link {
  border-color: transparent;
  color: var(--color-theme);
  font-size: clamp(1rem, 3vw, 1.125rem);
  padding: unset;
}

.button-link:hover {
  text-decoration: underline;
}

.button-link::after {
  content: " \F285";
  font-family: "bootstrap-icons";
  font-size: 14px;
  line-height: normal;
}

.text-theme {
  color: var(--color-theme);
}

.layout-fixed-width {
  max-width: 800px;
  margin: 0px auto;
}

.text-fixed-width-left {
  max-width: 100%;
}

.text-fixed-width {
  max-width: 100%;
  margin: 0px auto;
}

.bg-gradient-theme {
  background: linear-gradient(90deg, #1e3a8a, #0e2e86);
}

.bg-theme {
  background-color: var(--color-theme);
}

.bg-theme-dark {
  background-color: #0b1220;
}

.bg-theme-dark .text-theme {
  color: var(--color-theme-light);
}

.bg-blue-light {
  background-color: #f4f4f4;
}

.image-position-top {
  object-position: top center;
}

.image-position-left {
  object-position: left center;
}

.image-position-center {
  object-position: 50% 80%;
}

.image-shadow {
  box-shadow: 10px 10px 0px 0px #a6bbfb;
}

.scale-smaller {
  transform: scale(0.75);
}

.block-half-width {
  width: 100%;
}

.v-divider {
  width: 1px;
  height: 100%;
  background-color: #ebebeb;
  box-sizing: unset;
  padding: 0px;
}

.h-divider {
  width: 100%;
  height: 1px;
  background-color: #ebebeb;
  box-sizing: unset;
  padding: 0px;
}

.h-divider.black {
  background-color: black;
}

.h-divider.deepgray {
  background-color: #bfbfbf;
}

.block-align-center {
  display: flex;
  align-items: center;
}

/* ============================================
   全局字体系统 - 缩放安全版本
   使用rem为主单位，vw仅作微调，避免浏览器放大时布局崩溃
   ============================================ */

.rich-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-wrap: break-word;
  white-space: normal;
  width: 100%;
  /* 防止内容溢出容器 */
  min-width: 0;
  max-width: 100%;
}

.rich-text * {
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

.rich-text .giant-text {
  font-size: clamp(2rem, 2.5rem, 4rem);
  font-weight: 500;
  line-height: 1.15;
}

.rich-text .larger-text {
  font-size: clamp(2.5rem, 4rem, 7rem);
  font-weight: 500;
  line-height: 1.15;
}

.rich-text .hero-text {
  font-size: clamp(0.95rem, 1.1rem, 1.25rem);
  font-weight: 360;
  line-height: 1.35;
}

h1,
.rich-text .headline {
  font-size: clamp(1.5rem, 2.25rem, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

h2,
.rich-text .headline-2 {
  font-size: clamp(1.25rem, 1.75rem, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

h3,
.rich-text .headline-3 {
  font-size: clamp(1.125rem, 1.5rem, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

h4,
.rich-text .headline-4 {
  font-size: clamp(1rem, 1.25rem, 1.625rem);
  font-weight: 600;
  line-height: 1.2;
}

h5,
.rich-text .headline-5 {
  font-size: clamp(0.9375rem, 1.0625rem, 1.25rem);
  font-weight: 600;
  line-height: 1.25;
}

h6,
.rich-text .headline-6 {
  font-size: clamp(0.8125rem, 0.9375rem, 1.125rem);
  line-height: 1.3;
}

.rich-text .subtitle {
  font-size: clamp(0.875rem, 1.125rem, 1.25rem);
}

p,
.rich-text .description {
  font-size: clamp(0.8125rem, 0.9375rem, 1.0625rem);
  font-weight: 400;
  line-height: 1.5;
}

.rich-text .description+.description {
  margin-top: 0.5rem;
}

.rich-text .base {
  font-size: 0.9375rem;
}

.rich-text .label {
  color: var(--color-theme);
  font-size: 0.9375rem;
  font-weight: bold;
}

.rich-text:has(.width-page) {
  align-items: center;
}

.rich-text .quote-text::before {
  content: '"';
}

.rich-text .quote-text::after {
  content: '"';
}

.rich-text .tip {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: gray;
}

.rich-text .bold {
  font-weight: 500;
}

.rich-text p+img {
  margin: 0.5rem 0px;
}

.rich-text p~img {
  margin-bottom: 1.5rem;
}

.multi-column {
  display: flex;
  flex-direction: column;
}

.multi-column img {
  width: 100%;
  object-fit: cover;
}

.number-circle {
  background-color: black;
  color: white;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  position: relative;
}

.number-circle.active {
  background-color: var(--color-theme);
}

.number-circle-blue {
  background-color: var(--color-theme);
  color: white;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  position: relative;
}

.number-circle-blue img {
  width: 60%;
  height: 60%;
  max-height: 32px;
  max-width: 32px;
  object-fit: contain;
}

.number-circle.decoration-line:not(:last-of-type)::after {
  position: absolute;
  content: '';
  width: 2px;
  height: 200px;
  background-color: #e2e3e5;
  z-index: -1;
  top: 0px;
}

.number-square {
  background-color: var(--color-theme);
  color: white;
  font-size: clamp(1rem, 3vw, 1.5rem);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subject-icon {
  width: clamp(3rem, 8vw, 5rem);
  height: clamp(3rem, 8vw, 5rem);
  flex-shrink: 0;
  background-color: var(--color-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.number-label {
  font-size: clamp(2rem, 8vw, 3.75rem);
  font-family: serif;
  font-weight: 600;
}

.hover-highlight:hover {
  color: var(--color-theme);
}

.width-half {
  max-width: 100%;
}

.grid-2x {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}

.grid-3x {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  grid-template-columns: 1fr;
}

.grid-5x {
  display: grid;
  gap: clamp(1rem, 3vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.swiper {
  user-select: none;
}

/* success-stories 轮播区：修复桌面端布局 */
#block-gallery-1 .swiper-slide {
  max-height: none;
  height: auto;
  overflow: visible;
}

/* success-stories 轮播区：桌面端强制行排列（Bootstrap flex-md-row 可能被覆盖） */
@media screen and (min-width: 768px) {
  #block-gallery-1 .swiper-slide .row {
    flex-direction: row !important;
  }
}

/* success-stories 轮播区：覆盖全局 img 规则，避免文字区图标被拉伸 */
#block-gallery-1 .swiper-slide .col-md-7 img {
  height: auto;
  width: auto;
}

.swiper-slide {
  overflow: hidden;
}

.swiper-slide img {
  height: 100%;
  width: 100%;
}

.swiper-pagination-bullets {
  width: auto !important;
  display: flex;
  align-items: center;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-theme) !important;
}

.swiper-slide-button {
  min-height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 1px solid black;
  border-radius: 999px;
  background-color: transparent;
}

.swiper-slide-button:hover {
  background-color: var(--color-theme);
  border-color: var(--color-theme);
  color: white;
}

.swiper-slide-button img {
  height: 70%;
  width: 70%;
}

.swiper-button-disabled {
  cursor: not-allowed;
}

.icon {
  height: 36px !important;
  width: 36px !important;
}

.accordion-button {
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  font-weight: bold;
  border-bottom: 1px solid currentColor;
}

.accordion-item:last-of-type .accordion-button {
  border-bottom: 0;
}

.scheme-deep {
  color: white;
}

/* 平板设备�?68px-1024px */
@media screen and (min-width: 768px) {
  .text-fixed-width-left {
    max-width: 70%;
  }

  .block-half-width {
    width: 50%;
  }

  .multi-column {
    flex-direction: row;
  }

  .grid-2x {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3x {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 笔记本/小屏幕 1024px-1440px */
@media screen and (min-width: 1024px) {
  .width-half {
    max-width: 50%;
  }

  .swiper-slide-button {
    min-height: 56px;
    min-width: 56px;
    font-size: 24px;
  }
}

/* 步骤容器样式 */
.steps-container {
  width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 大屏/宽屏�?440px+ */
@media screen and (min-width: 1440px) {
  .text-fixed-width {
    max-width: 800px;
  }
}

/* mentorship页面特定样式 */
.section-image-full {
  max-height: 80vh;
}

/* 手机版响应式样式 */
@media screen and (max-width: 767px) {

  /* success-stories页面轮播 */
  #block-gallery-1 {
    margin-top: 0.5rem;
  }

  #block-gallery-1 ~ .d-flex {
    margin-top: 0.5rem !important;
    gap: 1rem !important;
  }

  #block-gallery-1 .swiper-slide {
    max-height: none;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.5rem;
  }

  #block-gallery-1 .swiper-slide .row {
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  #block-gallery-1 .swiper-slide .col-md-5 {
    width: 100%;
    max-height: 180px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #block-gallery-1 .swiper-slide .col-md-5 img {
    max-height: 180px;
    object-fit: cover;
    width: 100%;
  }

  #block-gallery-1 .swiper-slide .col-md-7 {
    width: 100%;
    padding: 0.5rem !important;
    margin: 0;
    position: relative;
    z-index: 2;
    background: white;
  }

  #block-gallery-1 .swiper-slide .col-md-7 .rich-text {
    gap: 0.25rem !important;
    margin-bottom: 0;
  }

  #block-gallery-1 .swiper-slide .col-md-7 hr {
    margin: 0.25rem 0;
  }

  /* blog页面文章图片 */
  .article-link img {
    max-height: 180px;
    object-fit: cover;
  }

  /* 英雄区域 */
  #home-hero .row,
  #consultation-hero .row,
  #pricing-hero .row,
  #about-hero .row,
  #tutoring-hero .row {
    padding: 2rem 1rem;
  }

  /* mentorship页面特定样式 */
  .section-image-full {
    max-height: none;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .section-image-full .col {
    width: 100%;
    height: auto;
  }

  .section-image-full .col img {
    max-height: none;
    height: auto;
    width: 100%;
  }

  .section-image-full .col.rich-text {
    padding: 1.5rem !important;
  }

  /* extra-lesson页面特定样式 */
  .block-ice-mountain {
    display: none;
  }

  #extra-lessons-types .multi-column {
    flex-direction: column;
  }

  #extra-lessons-types .multi-column .col {
    width: 100%;
  }

  #extra-lessons-types .v-divider {
    display: none;
  }

  #extra-lessons-types .shadow {
    width: 100%;
  }

  .ratio-16-9 {
    aspect-ratio: 16/9;
    width: 100%;
  }

  #block-gallery-5 {
    height: auto;
    min-height: 500px;
  }

  #block-gallery-5 .swiper-wrapper,
  #block-gallery-5 .swiper-slide {
    height: auto;
    min-height: 500px;
  }

  #block-gallery-5 .grid-2x {
    grid-template-columns: 1fr;
    height: 100%;
  }

  #block-gallery-5 .grid-2x>div:last-child {
    overflow-y: auto;
  }

  #block-gallery-6 {
    height: auto;
  }

  #block-gallery-6 .grid-2x {
    grid-template-columns: 1fr;
  }

  #block-gallery-6 .grid-2x>div:first-child {
    height: auto;
  }

  #block-gallery-6 .grid-2x img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
  }

  #block-gallery-6 .grid-2x>div:last-child {
    height: auto;
    padding: 1rem !important;
  }

  #block-gallery-5 .grid-2x>div:first-child {
    height: 200px;
  }

  #block-gallery-5 .grid-2x img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  #block-gallery-5 .grid-2x>div:last-child {
    height: auto;
  }

  .icon-theme {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    line-height: 32px !important;
  }

  .icon-theme-img {
    width: 60% !important;
    height: 60% !important;
    object-fit: contain !important;
  }

  #home-hero .giant-text,
  #consultation-hero .headline,
  #pricing-hero .headline,
  #about-hero .headline,
  #tutoring-hero .headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  #home-hero .d-flex.gap-4,
  #consultation-hero .d-flex.gap-4,
  #pricing-hero .d-flex.gap-4,
  #about-hero .d-flex.gap-4,
  #tutoring-hero .d-flex.gap-4 {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  #home-hero .d-flex.gap-4 .button,
  #consultation-hero .d-flex.gap-4 .button,
  #pricing-hero .d-flex.gap-4 .button,
  #about-hero .d-flex.gap-4 .button,
  #tutoring-hero .d-flex.gap-4 .button {
    max-width: 66.67%;
  }

  /* 学校标志轮播 */
  #school-marquee img {
    max-height: 60px;
  }

  /* 多列布局 */
  .multi-column {
    flex-direction: column;
  }

  /* 咨询流程 */
  .h-full.d-flex {
    flex-direction: column;
  }

  #block-gallery-3 {
    width: 100%;
  }

  .w-50 {
    width: 100% !important;
  }

  .p-2x {
    padding: 2rem 1rem;
  }

  #mentorship-hero+main .p-2x {
    padding-bottom: 1.2rem;
  }

  #mentorship-hero+main+section .p-2x {
    padding-top: 1.2rem;
  }

  .px-7 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* 按钮 */
  .button {
    font-size: clamp(0.75rem, 2vw, 1rem);
    padding: clamp(0.5rem, 2vw, 0.75rem);
  }

  /* tutoring页面tutor-standards区块 */
  #tutor-standards {
    flex-direction: column;
  }

  #tutor-standards .tutor-standards-image {
    height: 320px !important;
    width: 100% !important;
  }

  #tutor-standards .tutor-standards-image img {
    height: 320px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: bottom center !important;
  }

  /* extra-lesson页面hero区域 */
  #extra-lesson-hero .rich-text {
    padding-top: 3rem;
  }

  /* 文本容器 */
  .text-fixed-width-left,
  .w-75 {
    max-width: 100%;
  }

  /* 轮播 */
  .swiper-slide .row {
    flex-direction: column;
  }

  /* 数字统计 */
  .headline-2.text-theme {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* subtitle字体缩小 */
  .rich-text .subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
  }

  /* 成功故事图片 */
  .story-image-container img {
    min-height: 350px !important;
    height: 100%;
    object-fit: cover !important;
  }

  /* 咨询流程步骤 */
  .number-circle {
    min-height: 28px;
    min-width: 28px;
  }

  /* 图片 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* 咨询和入职页面特定样�?*/
  .narrowermax {
    padding: 0 1rem;
  }

  .h-250 {
    height: 200px;
  }

  .mb-6 {
    margin-bottom: 1.5rem !important;
  }

  .mt-7 {
    margin-top: 1.5rem !important;
  }

  /* 步骤�?*/
  .number-circle-blue.decoration-line:not(:last-of-type)::after {
    height: 100px;
  }

  /* 步骤容器 */
  .steps-container {
    width: 100% !important;
    padding: 0 1rem;
  }

  /* 步骤流程 */
  .steps-container .d-flex.align-items-start.gap-4 {
    flex-direction: row;
    gap: 1.5rem;
  }

  .steps-container .number-circle-blue {
    align-self: flex-start;
  }

  .steps-container .headline-5 {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }

  .steps-container .number-circle-blue.decoration-line:not(:last-of-type)::after {
    display: none;
  }

  /* 定价页面特定样式 */
  .grid-2x {
    grid-template-columns: 1fr;
  }

  table {
    font-size: 0.9rem !important;
  }

  table th,
  table td {
    padding: 1rem !important;
  }

  .p-6 {
    padding: 1.5rem !important;
  }

  .p-4 {
    padding: 1rem !important;
  }

  .headline-4 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
  }

  .headline-5 {
    font-size: clamp(1rem, 3vw, 1.25rem);
  }

  .w-75 {
    width: 100% !important;
  }

  /* 多列布局 */
  .multi-column {
    flex-direction: column;
  }

  .multi-column .col {
    width: 100%;
  }

  .h-100 {
    height: auto;
  }

  /* about页面特定样式 */
  .grid-3x {
    grid-template-columns: 1fr;
  }

  .row.gap-5 {
    flex-direction: column;
    gap: 2rem !important;
  }

  .row.gap-5 .col {
    width: 100%;
  }

  .d-flex.flex-wrap {
    flex-direction: column;
  }

  .d-flex.flex-wrap .col {
    width: 100%;
    height: auto !important;
  }

  .d-flex.flex-column.gap-4.layout-fixed-width a {
    flex-direction: column;
    align-items: flex-start;
  }

  .d-flex.flex-column.gap-4.layout-fixed-width a img {
    width: 100%;
    max-width: 100%;
  }

  .p-5 {
    padding: 1.5rem !important;
  }

  .layout-fixed-width {
    width: 100% !important;
  }

  /* about页面专家网络部分 - 手机�?*/
  .d-flex.flex-wrap.p-0.bg-blue-light {
    flex-direction: column;
    height: auto !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col {
    width: 100%;
    height: auto !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col img {
    width: 100%;
    height: auto !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col.rich-text {
    padding: 1.5rem !important;
  }

  /* tutoring页面特定样式 */
  .h-full.d-flex {
    flex-direction: column;
    height: auto !important;
  }

  #block-gallery-3 {
    width: 100%;
    max-height: 400px;
  }

  #block-gallery-3 .swiper-slide {
    height: 100%;
  }

  #block-gallery-3 .swiper-slide img {
    max-height: 350px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .w-50 {
    width: 100% !important;
  }

  .px-7 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .grid-5x {
    grid-template-columns: 1fr;
  }

  .narrower {
    padding: 0 1rem !important;
  }

  .comfortable-height {
    height: auto !important;
  }

  .grid-2x {
    grid-template-columns: 1fr;
    padding: 0 !important;
    margin: 0;
    width: 100%;
  }

  .grid-2x.p-4 {
    padding: 0 !important;
  }

  .grid-2x .border.border-2.p-6.rounded.bg-white {
    padding: 1rem !important;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .grid-2x .border.border-2.p-6.rounded.bg-white .p-4 {
    padding: 0.5rem !important;
  }

  .text-fixed-width {
    max-width: 100% !important;
  }

  .w-100.max-w-5xl.mx-auto {
    width: 100% !important;
  }

  .number-square {
    width: 40px !important;
    height: 40px !important;
  }

  .p-4.headline-3.d-flex.gap-4 {
    gap: 1rem !important;
  }

  .ratio-1-1 {
    aspect-ratio: 1/1;
  }

  .accordion-button {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }

  .accordion-body {
    padding: 1rem !important;
  }

  .headline-6 {
    font-size: clamp(0.875rem, 2vw, 1rem);
  }
}

/* 平板设备�?68px-1024px */
@media screen and (min-width: 768px) {

  /* 冰山水部�?*/
  .block-ice-mountain .person {
    transform: translateX(-50%) scale(0.7);
  }

  .block-ice-mountain .word-2 {
    left: 20%;
  }

  .block-ice-mountain .word-5 {
    left: 80%;
  }

  .block-ice-mountain .word-7 {
    left: 20%;
  }

  .block-ice-mountain .word-10 {
    left: 80%;
  }

  .block-ice-mountain .label-left {
    left: 20%;
  }

  /* mentorship页面特定样式 */
  .section-image-full {
    max-height: 80vh;
    height: auto;
    display: flex;
    flex-direction: row;
  }

  .section-image-full .col {
    width: 50%;
    height: 100%;
  }

  .section-image-full .col img {
    max-height: 80vh;
    height: 100%;
    width: 100%;
  }

  .section-image-full .col.rich-text {
    padding: 2.5rem !important;
  }

  /* extra-lesson页面特定样式 */
  #extra-lessons-types .multi-column {
    flex-direction: row;
  }

  #extra-lessons-types .multi-column .col {
    width: 50%;
  }

  #extra-lessons-types .v-divider {
    display: block;
    width: 2px;
    background-color: #dee2e6;
    margin: 0 1rem;
  }

  #extra-lessons-types .shadow {
    width: 100%;
  }

  #block-gallery-5 {
    height: 500px;
  }

  #block-gallery-5 .grid-2x {
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  #block-gallery-6 {
    height: 500px;
  }

  #block-gallery-6 .grid-2x {
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  #block-gallery-6 .grid-2x>div:first-child {
    height: 100%;
  }

  #block-gallery-6 .grid-2x img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #block-gallery-6 .grid-2x>div:last-child {
    height: 100%;
    overflow-y: auto;
  }

  #block-gallery-5 .grid-2x>div:first-child {
    height: 100%;
  }

  #block-gallery-5 .grid-2x img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #block-gallery-5 .grid-2x>div:last-child {
    height: 100%;
    overflow-y: auto;
  }

  /* 咨询和入职页面特定样�?*/
  .narrowermax {
    padding: 0 2rem;
  }

  .h-250 {
    height: 250px;
  }

  .mb-6 {
    margin-bottom: 2.5rem !important;
  }

  .mt-7 {
    margin-top: 3rem !important;
  }

  /* 步骤�?*/
  .number-circle-blue.decoration-line:not(:last-of-type)::after {
    height: 150px;
  }

  /* 步骤容器 */
  .steps-container {
    width: 90% !important;
    max-width: 800px;
  }

  /* 步骤流程 */
  .steps-container .d-flex.align-items-start.gap-4 {
    flex-direction: row;
    gap: 2rem;
  }

  .steps-container .number-circle-blue {
    align-self: flex-start;
  }

  .steps-container .headline-5 {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
  }

  .steps-container .number-circle-blue.decoration-line:not(:last-of-type)::after {
    display: block;
  }

  /* 多列布局 */
  .multi-column {
    flex-direction: row;
  }

  /* 咨询流程 */
  .h-full.d-flex {
    flex-direction: row;
  }

  #block-gallery-3 {
    width: 50%;
  }

  .w-50 {
    width: 50% !important;
  }

  /* 文本容器 */
  .text-fixed-width-left {
    max-width: 70%;
  }

  .w-75 {
    max-width: 75%;
  }

  /* 定价页面特定样式 */
  .grid-2x {
    grid-template-columns: repeat(2, 1fr);
  }

  table {
    font-size: 1.1rem !important;
  }

  table th,
  table td {
    padding: 1.5rem !important;
  }

  .p-6 {
    padding: 2.5rem !important;
  }

  .p-4 {
    padding: 1.5rem !important;
  }

  .headline-4 {
    font-size: clamp(1.5rem, 4vw, 1.75rem);
  }

  .headline-5 {
    font-size: clamp(1.125rem, 3vw, 1.25rem);
  }

  .multi-column .col {
    width: 50%;
  }

  .h-100 {
    height: 100%
  }

  /* about页面特定样式 */
  .grid-3x {
    grid-template-columns: repeat(3, 1fr);
  }

  .row.gap-5 {
    flex-direction: row;
    gap: 3rem !important;
  }

  .row.gap-5 .col {
    width: 50%;
  }

  .d-flex.flex-wrap {
    flex-direction: row;
  }

  .d-flex.flex-wrap .col {
    width: 50%;
    height: 100% !important;
  }

  .d-flex.flex-column.gap-4.layout-fixed-width a {
    flex-direction: row;
    align-items: center;
  }

  .d-flex.flex-column.gap-4.layout-fixed-width a img {
    width: 25%;
    max-width: 25%;
  }

  .p-5 {
    padding: 2.5rem !important;
  }

  .layout-fixed-width {
    width: 80% !important;
  }

  /* tutoring页面特定样式 */
  .h-full.d-flex {
    flex-direction: row;
  }

  #block-gallery-3 {
    width: 50%;
    height: 100%;
  }

  #block-gallery-3 .swiper-wrapper {
    height: 100%;
  }

  #block-gallery-3 .swiper-slide {
    height: 100%;
  }

  #block-gallery-3 .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .w-50 {
    width: 50% !important;
  }

  .h-full.d-flex {
    flex-direction: row;
    height: auto;
  }

  .px-7 {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }

  .grid-5x {
    grid-template-columns: repeat(5, 1fr);
  }

  .narrower {
    padding: 0 2rem !important;
  }

  .comfortable-height {
    height: 75vh !important;
  }

  .grid-2x {
    grid-template-columns: repeat(2, 1fr);
  }

  .text-fixed-width {
    max-width: 800px !important;
  }

  .w-100.max-w-5xl.mx-auto {
    width: 90% !important;
  }

  .number-square {
    width: 50px !important;
    height: 50px !important;
  }

  .p-4.headline-3.d-flex.gap-4 {
    gap: 1.5rem !important;
  }

  .accordion-button {
    font-size: clamp(1rem, 2vw, 1.125rem);
  }

  .accordion-body {
    padding: 1.5rem !important;
  }

  .headline-6 {
    font-size: clamp(1rem, 2vw, 1.125rem);
  }

  /* about页面专家网络部分 - 平板�?*/
  .d-flex.flex-wrap.p-0.bg-blue-light {
    flex-direction: row;
    height: 75vh !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col {
    width: 50%;
    height: 100% !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col img {
    width: 100%;
    height: 100% !important;
  }

  .d-flex.flex-wrap.p-0.bg-blue-light .col.rich-text {
    padding: 2.5rem !important;
  }

  /* 按钮 */
  .button {
    font-size: clamp(0.875rem, 2vw, 1rem);
    padding: clamp(0.75rem, 2vw, 1rem);
  }

  /* 英雄区域 */
  #consultation-hero .row,
  #pricing-hero .row,
  #about-hero .row,
  #tutoring-hero .row {
    padding: 3rem 2rem;
  }

  #consultation-hero .headline,
  #pricing-hero .headline,
  #about-hero .headline,
  #tutoring-hero .headline {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  #consultation-hero .d-flex.gap-4,
  #pricing-hero .d-flex.gap-4,
  #about-hero .d-flex.gap-4,
  #tutoring-hero .d-flex.gap-4 {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* 笔记�?小屏�?024px-1440px */
@media screen and (min-width: 1024px) {
  .block-ice-mountain .person {
    transform: translateX(-50%) scale(0.8);
  }
}

.scheme-deep .button-primary {
  --hover-bg: white;

  background-color: var(--color-theme);
  border-color: var(--color-theme);
  color: white;
}

.scheme-deep .button-primary:hover {
  background-color: var(--hover-bg);
  border-color: white;
  color: black;
}

.scheme-deep .button-outline {
  border-color: white;
}

.scheme-deep .button-outline:hover {
  border: 1px solid transparent;
  background-color: white;
  color: black;
}

.block-ice-mountain {
  position: relative;
  height: 100vh;
}

.block-ice-mountain .bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-ice-mountain .person {
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translateX(-50%) scale(0.5);
}

.block-ice-mountain .word-1 {
  position: absolute;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
  border-radius: 50%;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: white;
  text-align: center;
}

.block-ice-mountain .word-2 {
  position: absolute;
  top: 28%;
  left: 25%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}




.block-ice-mountain .word-3 {
  position: absolute;
  top: 20%;
  left: 35%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-4 {
  position: absolute;
  top: 20%;
  left: 65%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-5 {
  position: absolute;
  top: 28%;
  left: 75%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-6 {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-7 {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-8 {
  position: absolute;
  top: 63%;
  left: 35%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-9 {
  position: absolute;
  top: 63%;
  left: 65%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .word-10 {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translateX(-50%);
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: currentColor;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 50%;
  padding: clamp(0.5rem, 3vw, 1rem) clamp(0.75rem, 4vw, 1.5rem);
}

.block-ice-mountain .label-top {
  position: absolute;
  top: 15%;
  left: 1%;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: var(--color-theme);
  text-align: center;
  padding: 0;
}

.block-ice-mountain .label-bottom {
  position: absolute;
  top: 45%;
  left: 1%;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  color: var(--color-theme);
  text-align: center;
  padding: 0;
}

.block-ice-mountain .headline-3 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  color: black;
  z-index: 10;
  font-size: clamp(1.25rem, 5vw, 2rem);
  text-align: center;
  width: 100%;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.bottom-hero {
  position: relative;
}

.bottom-hero .bg {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

.search-input {
  display: flex;
  gap: 16px;
  border: 1px solid black;
  padding: 16px;
  border-radius: 999px;
}

.search-input input {
  border: unset;
  outline: unset;
}

.blog-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.blog-tag {
  border: 1px solid #bfbfbf;
  font-size: 0.75rem;
  padding: 3px 9px 3px 21px;
  border-radius: 999px;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-transform: uppercase;
  font-weight: 500;
  --color: attr(data-color);
}

.blog-tag.big {
  font-size: 1rem;
}

.blog-tag:hover {
  background-color: black;
  color: white;
}

.blog-tag::before {
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 9px;
  left: 6px;
  margin: auto 0;
  position: absolute;
  top: 0;
  width: 9px;
}

.blog-tag::before {
  background-color: var(--color, #9A00FF);
}

.blog-highlight-cover {
  height: 280px;
  object-fit: cover;
}

.media-card {
  position: relative;
  padding: 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.media-card .rich-text {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-card .bg {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.link-underline a {
  text-decoration: underline;
}

.link-underline .cta-link {
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.2s ease;
}

.link-underline .cta-link::after {
  content: " \F285";
  font-family: "bootstrap-icons";
  font-size: 14px;
  line-height: normal;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.link-underline .cta-link:hover {
  text-decoration: underline;
  color: var(--color-theme);
}

.link-underline .cta-link:hover::after {
  transform: translateX(4px);
}

.blog-cta {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.blog-cta:hover {
  transform: scale(1.02);
}

.blog-cta:hover .headline-4,
.blog-cta:hover .description {
  text-decoration: underline;
}

.hover-scale {
  transition: transform 0.2s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.common-height {
  height: 60vh;
  min-height: 700px;
}

.comfortable-height {
  height: 75vh;
  min-height: 800px;
}

.accordion {
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-border-radius: 0px;
  --bs-accordion-inner-border-radius: 0px;
  --bs-accordion-btn-icon: url("/static/images/plus.svg");
  --bs-accordion-btn-active-icon: url("/static/images/dash.svg");
  --bs-accordion-btn-padding-x: 0px;
  --bs-accordion-btn-padding-y: 1.5rem;
  --bs-accordion-body-padding-x: 0px;
  --bs-accordion-body-padding-y: 1rem;
}

.accordion-button {
  border-color: transparent;
}

.accordion-item {
  border-bottom: 1px solid black;
}

#school-marquee {
  display: flex;
  gap: 48px;
}

#school-marquee img {
  flex-shrink: 0;
}

#school-marquee .item-small {
  height: 80px;
}

#school-marquee .marquee-group {
  display: flex;
  min-width: 100%;
  align-items: center;
  justify-content: space-around;
  animation: move 32s linear infinite;
  gap: 48px;
}

#school-marquee:hover .marquee-group {
  animation-play-state: paused;
}

#home-hero {
  position: relative;
  min-height: 100vh;
}

#home-hero .bg {
  background-image: url("/static/images/hero-bg.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#home-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#home-hero .img img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  object-fit: cover;
}

#about-hero {
  position: relative;
  min-height: 85vh;
}

#about-hero .bg {
  background-image: url("/static/images/about/Image\ 2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#about-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#about-hero .img img {
  position: absolute;
  bottom: 0px;
}

#tutoring-hero {
  position: relative;
  min-height: 85vh;
}

#tutoring-hero .bg {
  background-image: url("/static/images/tutoring/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#tutoring-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#tutoring-hero .img img {
  position: absolute;
  bottom: 0px;
}

#extra-lesson-hero {
  position: relative;
  min-height: 85vh;
}

#extra-lesson-hero .bg {
  background-image: url("/static/images/extra-lesson/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#extra-lesson-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#extra-lesson-hero .img img {
  position: absolute;
  bottom: 0px;
  height: 100%;
  object-fit: cover;
  right: -2%;
}

@media (max-width: 768px) {
  #extra-lesson-hero .img img {
    position: absolute;
    bottom: 0px;
    height: 40%;
    object-fit: cover;
    right: -2%;
  }
}

#mentorship-hero {
  position: relative;
  min-height: 100vh;
}

#mentorship-hero .bg {
  background-image: url("/static/images/mentorship/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#mentorship-hero .img {
  position: absolute;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  height: 100%;
}

#mentorship-hero .img img {
  position: absolute;
  bottom: 0px;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  #mentorship-hero .img img {
    position: absolute;
    bottom: 0px;
    height: 40%;
    width: 100%;
    object-fit: cover;
  }
}

#mentorship-hero .rich-text {
  padding-top: 3rem;
  padding-bottom: 200px;
}

#consultation-hero {
  position: relative;
  min-height: 100vh;
}

#consultation-hero .bg {
  background-image: url("/static/images/consultation-and-onboarding/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#consultation-hero .img {
  position: absolute;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  height: 100%;
  width: 100%;
}
@media (max-width: 768px) {
#consultation-hero .img {
  position: absolute;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  height: 40%;
}
}

#consultation-hero .rich-text {
  gap: 1rem !important;
  padding-top: 3rem;
  padding-bottom: 150px;
}

#consultation-hero .img img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  height: 100%;
  object-fit: cover;
}



#pricing-hero {
  position: relative;
  min-height: 100vh;
}

#pricing-hero .bg {
  background-image: url("/static/images/pricing/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#pricing-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#pricing-hero .img img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  #pricing-hero .img img {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 40%;
   }
}

#success-stories-hero {
  position: relative;
  min-height: 100vh;
}

#success-stories-hero .bg {
  background-image: url("/static/images/success-stories/Image 1.2.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#success-stories-hero .img {
  position: absolute;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
  height: 100%;
}

@media (max-width: 768px) {
  #success-stories-hero .img {
    position: absolute;
    height: 40%;
  }
}

#success-stories-hero .rich-text {
  padding-top: 3rem;
  padding-bottom: 200px;
}

#success-stories-hero .img img {
  position: absolute;
  right: 0px;
  bottom: 0px;
  height: 100%;
  object-fit: cover;
}

#success-story-hero {
  position: relative;
  min-height: 85vh;
}

#success-story-hero .bg {
  background-image: url("/static/images/success-story/Image 1.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#success-story-2-hero {
  position: relative;
  min-height: 85vh;
}

#success-story-2-hero .bg {
  background-image: url("/static/images/success-story-2/Image 1.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#success-story-3-hero {
  position: relative;
  min-height: 85vh;
}

#success-story-3-hero .bg {
  background-image: url("/static/images/success-story-3/Image 1.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#success-story-4-hero {
  position: relative;
  min-height: 85vh;
}

#success-story-4-hero .bg {
  background-image: url("/static/images/success-story-4/Image 1.png");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#contact-hero {
  position: relative;
  min-height: 85vh;
}

/* 联系页 hero 副标题居中 */
#contact-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
}

#contact-hero .bg {
  background-image: url("/static/images/contact/Image\ 1.jpg");
  
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -3;
}

#contact-hero .img {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: -1;
}

#contact-hero .img img {
  position: absolute;
  bottom: 0px;
  height: 100%;
  object-fit: cover;
}

#footer-contact a {
  font-size: 1rem;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

#footer-contact a:hover {
  text-decoration: underline;
}

#footer-contact .bi {
  font-size: 20px;
}

/* 手机版CONTACT居中 */
#footer-contact .d-flex {
  justify-content: center;
}

@keyframes move {
  0% {
    transform: translateX(0);
  }

  100% {
    /* 移動50%（一組Logo的寬度），複製的組剛好接上，實現無縫循環 */
    transform: translateX(-50%);
  }
}

/* 移动优先：默认样式为320px-480px */
.m {
  flex-direction: column;
}

.multi-column {
  flex-direction: column;
  gap: 24px;
}

.footer-container {
  flex-direction: column;
  gap: 32px;
}

.footer-container > div {
  width: 100%;
  padding: 0;
  text-align: center;
  align-items: center;
}

/* 移动端footer logo区域居中 - 覆盖Bootstrap align-items-start */
.footer-container > div:first-child,
.footer-container > div:first-child.d-flex {
  align-items: center !important;
  text-align: center !important;
}

/* 移动端品牌名文字居中 */
.footer-logo {
  text-align: center;
  display: inline-block;
}

/* 移动端分区标题居中，移除桌面端的左偏移 */
.footer-section-title {
  transform: none;
  text-align: center;
}

/* 移动端EXPLORE链接区域居中 */
.footer-container .d-flex.gap-3 {
  justify-content: center;
}

/* 移动端CONTACT联系方式居中 */
#footer-contact .d-flex {
  justify-content: center;
}

.footer-description,
.footer-button {
  display: none;
}

#testimonials-section {
  display: none;
}

#about-hero .rich-text {
  padding-bottom: 120px;
}

#tutoring-hero .rich-text {
  padding-top: 3rem;
  padding-bottom: 180px;
}

.success-image {
  display: none;
}

.vision-image-hidden {
  display: none;
}

#vision-section {
  gap: 1rem;
}

#vision-section .rich-text {
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

#vision-section .grid-3x {
  margin-top: 1rem !important;
  gap: 0.5rem;
}

#vision-section .vision-images {
  margin-top: 1rem !important;
}

#success-section .rich-text {
  gap: 0.5rem;
}

.features-section {
  align-items: center;
}

.features-section a {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
}

.features-section .feature-image {
  width: 60% !important;
  min-width: 150px;
  max-width: 200px;
}

.features-section .rich-text {
  gap: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.features-section .rich-text>div:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.features-section .rich-text>div:last-child::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.features-section a .d-flex:last-child {
  display: none !important;
}

.sm-w-100 {
  width: 100% !important;
}

.grid-2x,
.grid-3x,
.grid-5x {
  grid-template-columns: 1fr;
  gap: 24px;
}

.h-full {
  height: auto;
}

.v-divider {
  width: 100%;
  height: 1px;
}

.text-fixed-width-left,
.text-fixed-width {
  max-width: unset;
  width: 100%;
}

.hero {
  min-height: 70vh !important;
}

#success-story-hero .width-page {
  padding-top: 4rem;
}

.common-height,
.comfortable-height {
  height: auto;
}

/* 平板设备�?68px-1024px */
@media screen and (min-width: 768px) {
  .multi-column {
    flex-direction: row;
    gap: 32px;
  }

  .footer-container {
    flex-direction: row;
  }

  .footer-container>div {
    width: auto;
    padding: 0 1rem;
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* 平板端恢复品牌名左对齐 */
  .footer-logo {
    text-align: left;
  }

  /* 平板端恢复分区标题的左偏移（与导航对齐） */
  .footer-section-title {
    transform: translateX(-8%);
    text-align: center;
  }

  /* 平板端恢复EXPLORE链接区域默认布局 */
  .footer-container .d-flex.gap-3 {
    justify-content: flex-start;
  }

  .footer-description,
  .footer-button {
    display: block;
  }

  #footer-contact .d-flex {
    justify-content: flex-start;
  }

  #testimonials-section {
    display: block;
  }

  .success-image {
    display: block;
  }

  .vision-image-hidden {
    display: block;
  }

  #success-section .rich-text {
    gap: normal;
  }

  .features-section {
    align-items: flex-start;
  }

  .features-section a {
    flex-direction: row;
    text-align: left;
    gap: 1rem;
  }

  .features-section .feature-image {
    width: 25% !important;
    min-width: auto;
    max-width: none;
  }

  .tutor-standards-image {
    max-height: 100%;
    overflow: hidden;
  }

  .tutor-standards-image img {
    object-fit: cover !important;
  }

  #extra-lesson-hero .rich-text {
    padding-top: 0;
    max-width: 50%;
  }

  .grid-2x {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3x {
    grid-template-columns: repeat(3, 1fr);
  }

  .text-fixed-width {
    max-width: 80%;
    margin: 0 auto;
  }

  .hero {
    min-height: 70vh !important;
  }
}

/* 笔记�?小屏�?024px-1440px */
@media screen and (min-width: 1024px) {
  .grid-5x {
    grid-template-columns: repeat(5, 1fr);
  }

  .text-fixed-width-left {
    max-width: 70%;
  }

  .text-fixed-width {
    max-width: 60%;
  }

  .hero {
    min-height: 85vh !important;
  }
}

/* 大屏/宽屏 1440px+ */
@media screen and (min-width: 1440px) {
  .text-fixed-width {
    max-width: 50%;
  }
}

/* ============================================
   首页响应式优化 - 全断点适配
   ============================================ */

/* --- 响应式工具类 --- */
@media screen and (min-width: 768px) {
  .w-md-50 {
    width: 50% !important;
  }
  .w-md-75 {
    width: 75% !important;
  }
}

/* --- 移动端（< 768px）--- */
@media screen and (max-width: 767px) {
  /* Hero区域：隐藏背景人物图，文字居中，按钮纵向排列 */
  #home-hero {
    min-height: auto;
    padding: 6rem 1rem 2rem;
  }
  #home-hero .img {
    display: none;
  }
  #home-hero .row {
    padding: 1rem 0;
  }
  #home-hero .giant-text {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  #home-hero .hero-text {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  #home-hero .d-flex.gap-4 {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  #home-hero .d-flex.gap-4 .button {
    text-align: center;
    width: 100%;
  }

  /* 学校标志轮播：缩小间距和图片高度 */
  #school-marquee {
    gap: 24px;
  }
  #school-marquee .marquee-group {
    gap: 24px;
  }
  #school-marquee img {
    max-height: 40px;
  }
  #school-marquee .item-small {
    height: 40px;
  }

  /* 三栏卡片区域：纵向堆叠，图片自适应高度 */
  .bg-blue-light .row.multi-column {
    flex-direction: column;
    gap: 1.5rem;
  }
  .bg-blue-light .row.multi-column .col {
    width: 100%;
  }
  .bg-blue-light .h-250 {
    height: 180px;
  }

  /* GSM Difference区域：图文上下堆叠 */
  main .row.gap-4.multi-column {
    flex-direction: column;
    gap: 1.5rem;
  }
  main .row.gap-4.multi-column .col:first-child {
    width: 100%;
  }
  main .row.gap-4.multi-column .col:first-child img {
    height: 220px;
    width: 100%;
    object-fit: cover;
  }
  /* 步骤卡片：紧凑排列 */
  main .row.gap-4.multi-column .col .d-flex.flex-column.gap-4 a {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  main .row.gap-4.multi-column .col .d-flex.flex-column.gap-4 .number-circle-blue {
    min-height: 28px;
    min-width: 28px;
    font-size: 0.8rem;
  }

  /* Mentorship三栏区域：纵向堆叠 */
  main section .row.multi-column {
    flex-direction: column;
    gap: 1.5rem;
  }
  main section .row.multi-column .col {
    width: 100%;
  }
  main section .row.multi-column .col img {
    height: 180px;
    object-fit: cover;
  }

  /* 数据统计区域：2x2网格 */
  .results-grid .col-6 {
    padding: 0.5rem;
  }
  .results-grid .headline-2 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* 咨询流程区域：全宽纵向堆叠 */
  .h-full.d-flex.p-2x {
    flex-direction: column;
    height: auto !important;
  }
  #block-gallery-3 {
    width: 100%;
    max-height: 300px;
  }
  #block-gallery-3 .swiper-slide img {
    max-height: 280px;
  }
  .h-full.d-flex.p-2x .w-50 {
    width: 100% !important;
  }
  .h-full.d-flex.p-2x .px-7 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .h-full.d-flex.p-2x .d-flex.align-items-start.gap-4 {
    gap: 0.75rem;
  }
  .h-full.d-flex.p-2x .number-circle {
    min-height: 28px;
    min-width: 28px;
    font-size: 0.8rem;
  }

  /* CTA底部区域：文字和按钮居中 */
  .scheme-deep.bg-theme-dark .text-fixed-width-left {
    max-width: 100%;
    text-align: center;
  }
  .scheme-deep.bg-theme-dark .description {
    text-align: center;
  }
  .scheme-deep.bg-theme-dark .button {
    width: 100%;
    text-align: center;
  }

  /* 通用section间距调整 */
  section {
    padding: 2rem 1rem;
  }
  .p-2x {
    padding: 2rem 1rem;
  }
}

/* --- 平板端（768px - 1023px）--- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Hero区域：调整文字大小 */
  #home-hero .giant-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  #home-hero .img img {
    max-width: 45%;
  }

  /* 三栏卡片：保持横排但缩小间距 */
  .bg-blue-light .row.multi-column {
    gap: 1.5rem;
  }
  .bg-blue-light .h-250 {
    height: 200px;
  }

  /* GSM Difference区域：图文上下堆叠 */
  main .row.gap-4.multi-column {
    flex-direction: column;
    gap: 1.5rem;
  }
  main .row.gap-4.multi-column .col:first-child img {
    height: 280px;
    width: 100%;
    object-fit: cover;
  }

  /* Mentorship三栏：保持横排 */
  main section .row.multi-column .col img {
    height: 200px;
  }

  /* 咨询流程区域：左右各50% */
  .h-full.d-flex.p-2x {
    height: auto !important;
    min-height: 70vh;
  }
  .h-full.d-flex.p-2x .px-7 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }

  /* CTA底部区域 */
  .scheme-deep.bg-theme-dark .text-fixed-width-left {
    max-width: 85%;
  }
}

/* --- 笔记本/小桌面（1024px - 1439px）--- */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  /* Hero区域 */
  #home-hero .giant-text {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }
  #home-hero .img img {
    max-width: 50%;
  }

  /* GSM Difference区域：图文左右排列 */
  main .row.gap-4.multi-column {
    flex-direction: row;
  }
  main .row.gap-4.multi-column .col:first-child {
    width: 40%;
  }
  main .row.gap-4.multi-column .col:first-child img {
    height: 100%;
    min-height: 350px;
  }

  /* 咨询流程区域 */
  .h-full.d-flex.p-2x {
    height: 80vh;
  }
}

/* --- 大屏（>= 1440px）--- */
@media screen and (min-width: 1440px) {
  /* Hero区域：充分利用宽屏空间 */
  #home-hero .giant-text {
    font-size: 5rem;
  }
  #home-hero .img img {
    max-width: 55%;
  }

  /* GSM Difference区域 */
  main .row.gap-4.multi-column .col:first-child {
    width: 40%;
  }
  main .row.gap-4.multi-column .col:first-child img {
    min-height: 450px;
  }

  /* 咨询流程区域 */
  .h-full.d-flex.p-2x {
    height: 80vh;
  }
}

/* --- 通用响应式辅助类 --- */

/* 触摸设备上的hover效果优化 */
@media (hover: none) {
  .button:hover {
    background-color: inherit;
    border-color: inherit;
    color: inherit;
  }
  .button-primary:hover {
    background-color: var(--color-theme);
    color: white;
  }
  .button-outline:hover {
    background-color: transparent;
    color: black;
  }
}

/* 横屏手机特殊处理 */
@media screen and (max-width: 767px) and (orientation: landscape) {
  #home-hero {
    min-height: auto;
    padding: 4rem 1rem 1.5rem;
  }
  .h-full.d-flex.p-2x {
    flex-direction: row;
    height: auto !important;
  }
  #block-gallery-3 {
    width: 50%;
  }
  .h-full.d-flex.p-2x .w-50 {
    width: 50% !important;
  }
}

/* ============================================
   咨询流程区域 - 跨设备字体溢出修复
   解决苹果macOS/iOS设备上文字超出容器的问题
   ============================================ */

/* 咨询流程右侧内容区基础样式 */
.h-full.d-flex.p-2x .w-md-50 {
  /* 确保不超出容器 */
  max-width: 100%;
  min-width: 0; /* 允许flex子项收缩 */
  overflow-x: hidden;
}

/* 标题防溢出 - 关键修复 */
.h-full.d-flex.p-2x .headline-2 {
  /* 使用更紧凑的行高防止换行异常 */
  line-height: 1.15;
  /* 强制单词内断行，解决长文本溢出 */
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  /* 限制最大宽度 */
  max-width: 100%;
}

/* 描述文字防溢出 */
.h-full.d-flex.p-2x .description {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* 步骤列表容器防溢出 */
.h-full.d-flex.p-2x .d-flex.flex-column.gap-4 {
  min-width: 0; /* 允许flex收缩 */
  max-width: 100%;
  overflow-x: hidden;
}

/* 单个步骤项防溢出 */
.h-full.d-flex.p-2x .d-flex.align-items-start.gap-4 {
  min-width: 0;
  max-width: 100%;
}

/* 步骤标题防溢出 */
.h-full.d-flex.p-2x .headline-5 {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* 步骤描述文字防溢出 */
.h-full.d-flex.p-2x .description[x-show] {
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* --- 小屏/移动端 (< 768px) --- */
@media screen and (max-width: 767px) {
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    line-height: 1.2;
  }
  .h-full.d-flex.p-2x .description {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  }
  .h-full.d-flex.p-2x .headline-5 {
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
  }
  .h-full.d-flex.p-2x .number-circle {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    min-height: 26px;
    min-width: 26px;
  }
}

/* --- 平板 (768px - 1023px) --- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.35rem, 4vw, 2rem);
    line-height: 1.15;
  }
  .h-full.d-flex.p-2x .headline-5 {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  }
}

/* --- 笔记本/小桌面 (1024px - 1279px) --- */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  }
  .h-full.d-flex.p-2x .px-7 {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
  }
}

/* --- 标准桌面 (1280px - 1439px) --- */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.6rem, 1.8vw, 2.5rem);
  }
}

/* --- 大屏 (>= 1440px) --- */
@media screen and (min-width: 1440px) {
  .h-full.d-flex.p-2x .headline-2 {
    font-size: clamp(1.8rem, 1.6vw, 2.75rem);
  }
}

/* --- 苹果设备特殊优化 (macOS/iOS字体渲染补偿) --- */
@supports (-webkit-touch-callout: none) {
  /* iOS设备 */
  .h-full.d-flex.p-2x .headline-2,
  .h-full.d-flex.p-2x .headline-5,
  .h-full.d-flex.p-2x .description {
    /* iOS上字体通常渲染偏大，略微缩小 */
    letter-spacing: -0.01em;
  }
}

/* macOS Safari/Chrome 特殊处理 */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px) {
  .h-full.d-flex.p-2x .headline-2 {
    /* Retina屏幕上优化字间距 */
    letter-spacing: -0.015em;
  }
}

@media screen and (max-width: 767px) {
  .hero.media-card .rich-text {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
  }
}