/* 内页共用：学校库 / 院校详情 / 留学问答 */

.page-inner {
  background: #fff9f2;
}

.page-inner .header {
  background: #fff;
}

.inner-banner {
  position: relative;
  height: 458px;
  overflow: hidden;
}

.inner-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-banner__copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 48px;
  z-index: 1;
  width: 1176px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  color: #fff;
}

.inner-banner__copy .inner-crumb--light {
  position: static;
  left: auto;
  top: auto;
  margin: 0;
}

.inner-banner__copy h1 {
  margin: 10px 0 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.inner-banner__desc {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
}

.inner-banner--short {
  height: 426px;
}

.inner-banner--carousel .inner-banner__swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.inner-banner--carousel .inner-banner__swiper .swiper-slide {
  height: 100%;
}

.inner-banner--carousel .inner-banner__swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-banner__dots.swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.inner-banner__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.inner-banner__dots .swiper-pagination-bullet-active {
  width: 36px;
  border-radius: 8px;
  background: #f58220;
}

.page-article .inner-banner--article > img {
  object-position: center top;
}

.page-article .article-page__crumb {
  margin-top: 32px;
}

.page-article .article-layout {
  margin-top: 24px;
}

.inner-wrap {
  width: 1176px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
}

.inner-crumb {
  font-size: 14px;
  line-height: 28px;
  color: #4b5563;
  margin-top: 24px;
}

.inner-crumb a {
  color: inherit;
}

.inner-crumb--light {
  position: absolute;
  left: 369px;
  top: 40px;
  z-index: 1;
  color: #fff;
  white-space: nowrap;
}

.inner-crumb--light a {
  color: #fff;
}

.page-school .inner-crumb--light {
  left: 50%;
  transform: translateX(-50%);
  width: 1204px;
  max-width: calc(100% - 48px);
  top: 24px;
  text-align: center;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 0 64px;
}

.pager a,
.pager span {
  box-sizing: border-box;
  min-width: 40px;
  height: 40px;
  padding: 0 6px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  user-select: none;
}

.pager a:hover:not(.is-active):not(.is-disabled) {
  background: #e8eaee;
  color: #374151;
}

.pager a.is-active {
  background: #f58220;
  color: #fff;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.28);
}

.pager a.is-disabled {
  background: #f3f4f6;
  color: #d1d5db;
  pointer-events: none;
}

.pager__nav {
  font-size: 18px;
  font-weight: 300;
}

.pager__ellipsis {
  min-width: 28px;
  padding: 0;
  background: transparent;
  color: #9ca3af;
  cursor: default;
}

.page-qa .qa-list .pager,
.page-videos .pager {
  justify-content: center;
  padding-top: 32px;
}

/* ---------- 学校库 ---------- */
.schools-filter {
  position: relative;
  z-index: 2;
  margin: -187px auto 0;
  width: 1176px;
  max-width: calc(100% - 48px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  padding: 33px 30px 28px;
}

.schools-filter__search {
  display: flex;
  align-items: center;
  width: 403px;
  max-width: 100%;
  height: 51px;
  border: 1px solid #808080;
  border-radius: 5px;
  padding: 0 14px;
  margin-bottom: 20px;
}

.schools-filter__search input {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 14px;
  color: #333;
  background: transparent;
}

.schools-filter__search input::placeholder {
  color: #666;
}

.schools-filter__search img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.schools-filter__go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.schools-filter__other {
  margin-left: auto;
}

.schools-filter__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-height: 46px;
  border-top: 1px solid #f3f2f2;
  font-size: 14px;
  color: #4a4a4a;
}

.schools-filter__label {
  width: 72px;
  flex-shrink: 0;
}

.schools-filter__row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.schools-filter__row input[type="checkbox"] {
  width: 12px;
  height: 12px;
  accent-color: #f58220;
  border-radius: 2px;
}

.schools-filter__more {
  width: 172px;
  height: 22px;
  border: 1px solid #808080;
  border-radius: 3px;
  margin-left: 0;
  padding: 0 24px 0 8px;
  outline: 0;
  font-size: 12px;
  color: #4a4a4a;
  background: #fff url("../img/d59e999f-bce3-48ea-9335-72c1af8afed4.png") no-repeat right 8px center;
  background-size: 10px 6px;
}

.schools-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 58px auto 32px;
  width: 1176px;
  max-width: calc(100% - 48px);
  padding-bottom: 16px;
  border-bottom: 1px solid #ddc1b0;
}

.schools-head h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 41.6px;
  color: #241913;
}

.schools-head p {
  font-size: 16px;
  color: #564336;
}

.schools-head strong {
  color: #964900;
  font-weight: 400;
}

.schools-grid {
  width: 1176px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 377px);
  gap: 21px 22px;
  justify-content: space-between;
}

.schools-empty {
  width: 1176px;
  max-width: calc(100% - 48px);
  margin: 24px auto 80px;
  text-align: center;
  color: #564336;
  font-size: 16px;
}

.school-card {
  display: flex;
  flex-direction: column;
  width: 377px;
  height: 464px;
  background: #fff;
  border: 1px solid #f3dfd3;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(36, 25, 19, 0.12);
}

.school-card__cover {
  height: 200px;
  background: #f3dfd3;
  overflow: hidden;
}

.school-card__cover img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.school-card:hover .school-card__cover img {
  transform: scale(1.04);
}

.school-card__body {
  padding: 24px 24px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.school-card h2 {
  font-family: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  color: #241913;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-card__tags {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.school-card__tags span {
  display: inline-flex;
  align-items: center;
  height: 27px;
  padding: 0 8px;
  background: #fff1ea;
  border: 1px solid #ddc1b0;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #564336;
}

.school-card__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 25px;
  color: #564336;
  height: 75px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.school-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 16px 0 16px;
  border-top: 1px solid #f3dfd3;
}

.school-card__fee {
  font-size: 16px;
  font-weight: 600;
  color: #f58220;
}

.school-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 108px;
  height: 33px;
  background: #f58220;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.7px;
}

.school-card__btn img {
  width: 9px;
  height: 9px;
}

/* ---------- 院校详情 ---------- */
.sd-hero {
  position: relative;
  z-index: 2;
  width: 1204px;
  max-width: calc(100% - 48px);
  margin: -360px auto 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 7px 8.7px 6px rgba(0, 0, 0, 0.24);
  padding: 50px 24px 24px 24px;
}

.sd-hero__top {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.sd-hero__logo {
  width: 200px;
  height: 200px;
  border: 1px solid #e0e0e0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-hero__logo img {
  width: 142px;
  height: 107px;
  object-fit: contain;
}

.sd-hero__main {
  flex: 1;
  min-width: 0;
  padding-top: 8px;
}

.sd-hero__main h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.sd-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sd-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 14px;
}

.sd-tag--blue { background: #e9f4ff; color: #2698f3; }
.sd-tag--purple { background: #f1e8ff; color: #a473ef; }
.sd-tag--orange { background: #fceede; color: #ff9228; }
.sd-tag--green { background: #d0f1d5; color: #3fbf54; }

.sd-hero__loc {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: 16px;
  color: #5f5e5e;
}

.sd-hero__loc img {
  width: 24px;
  height: 24px;
}

.sd-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 17px;
  flex-shrink: 0;
}

.sd-split {
  display: flex;
  width: 178px;
  height: 38px;
  border: 1px solid #f0f0f0;
  border-radius: 19px;
  overflow: hidden;
  background: #fff;
  color: #686868;
  font-size: 14px;
}

button.sd-split {
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.sd-split span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sd-split em {
  width: 77px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-style: normal;
}

.sd-split--green em { background: #27b73f; }
.sd-split--orange em { background: #ff8d31; }

.sd-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid #e6e6e6;
}

.sd-stats div {
  text-align: center;
  position: relative;
}

.sd-stats div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: 94px;
  background: #ebebeb;
}

.sd-stats strong {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 18px;
}

.sd-stats span {
  font-size: 16px;
  color: #858585;
}

.sd-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 1204px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
}

.sd-nav a {
  width: 192px;
  height: 55px;
  background: #fff;
  border-radius: 48.5px;
  box-shadow: 0 5px 4px rgba(0, 0, 0, 0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: inherit;
  transition: color 0.2s ease;
}

.sd-nav a:hover {
  color: #f58220;
}

.sd-section,
.sd-block,
.sd-req-section,
.sd-brochure-wrap {
  scroll-margin-top: 96px;
}

.sd-section {
  width: 1204px;
  max-width: calc(100% - 48px);
  margin: 56px auto 0;
}

.sd-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 28px;
}

.sd-title::before {
  content: "";
  width: 13px;
  height: 33px;
  background: #f58220;
  border-radius: 12.5px;
  flex-shrink: 0;
}

.sd-intro {
  font-size: 16px;
  line-height: 1.86;
  color: #666;
}

.sd-gallery {
  margin-top: 28px;
  overflow: hidden;
}

.sd-gallery .swiper-slide {
  height: auto;
}

.sd-gallery img {
  display: block;
  width: 100%;
  height: 372px;
  object-fit: cover;
  border-radius: 8px;
}

.sd-dots.swiper-pagination {
  position: static;
  bottom: auto;
  left: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.sd-dots .swiper-pagination-bullet {
  width: 13px;
  height: 13px;
  margin: 0 !important;
  border-radius: 50%;
  background: #d9d9d9;
  opacity: 1;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.sd-dots .swiper-pagination-bullet-active {
  width: 44px;
  height: 13px;
  border-radius: 10px;
  background: #f58220;
}

.sd-block {
  background: #fff;
  padding: 40px 24px 48px;
  margin-top: 40px;
}

.sd-adv {
  font-size: 14px;
  line-height: 2;
  color: #666;
}

.sd-adv--html p,
.sd-adv--html ul,
.sd-adv--html ol {
  margin: 0 0 12px;
}

.sd-adv--html ul,
.sd-adv--html ol {
  padding-left: 1.4em;
}

.sd-adv--html img {
  max-width: 100%;
  height: auto;
}

.sd-req-section {
  position: relative;
  margin-top: 56px;
}

.sd-req-section .sd-section {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.sd-req {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 3px 5.5px 9px rgba(0, 0, 0, 0.12);
  padding: 40px 32px;
  align-items: flex-start;
}

.sd-req__list {
  flex: 1;
}

.sd-req__item {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 28px;
}

.sd-req__item:last-child {
  margin-bottom: 0;
}

.sd-req__item img {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  flex-shrink: 0;
}

.sd-req img.sd-req__photo {
  width: 432px;
  height: 283px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.sd-wide-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 411px;
  margin-top: -168px;
  overflow: hidden;
}

.sd-wide {
  display: block;
  width: 100%;
  height: 411px;
  object-fit: cover;
}

.sd-table-wrap {
  overflow: hidden;
  border: 1px solid #e4e5ec;
  border-radius: 10px;
  background: #fff;
}

.sd-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
  color: #6d6d6d;
}

.sd-table__col-cat {
  width: 128px;
}

.sd-table__col-name {
  width: 260px;
}

.sd-table th {
  height: 86px;
  padding: 20px 12px;
  background: #f6f6f6;
  border: 1px solid #e4e5ec;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  text-align: center;
  vertical-align: middle;
}

.sd-table th.is-name {
  background: #f9a23e;
  color: #fff;
  font-size: 24px;
  border-color: #f9a23e;
  border-left: 2px solid #f9a23e;
  border-right: 2px solid #f9a23e;
}

.sd-table th.is-desc {
  text-align: left;
  padding-left: 28px;
}

.sd-table td {
  padding: 12px 16px;
  border: 1px solid #e4e5ec;
  vertical-align: middle;
  line-height: 1.7;
  height: 56px;
}

.sd-table td.is-cat,
.sd-table th.is-cat {
  width: 128px;
  background: #f6f6f6;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: #6d6d6d;
}

.sd-table th.is-cat {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.sd-table td.is-name {
  text-align: center;
  color: #333;
  padding-left: 12px;
  padding-right: 12px;
}

.sd-table td.is-desc {
  text-align: left;
  padding: 12px 24px 12px 28px;
  color: #6d6d6d;
}

.sd-table th.is-name,
.sd-table td.is-name {
  border-left: 2px solid rgba(249, 138, 0, 0.8);
  border-right: 2px solid rgba(249, 138, 0, 0.8);
}

.sd-table tbody tr:nth-child(odd) .is-name,
.sd-table tbody tr:nth-child(odd) .is-desc {
  background: #fff7ee;
}

.sd-table tbody tr:nth-child(even) .is-name,
.sd-table tbody tr:nth-child(even) .is-desc {
  background: #fff;
}

.sd-table.is-collapsed tbody tr.sd-table__hide {
  display: none;
}

.sd-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  border: 0;
  background: #f58220;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.sd-more img {
  width: 12px;
  height: 8px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.sd-table-wrap.is-open .sd-more img {
  transform: rotate(180deg);
}

.sd-trans {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.sd-trans__text {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 27px;
  color: #000;
}

.sd-trans__row {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  align-items: flex-start;
}

.sd-trans__row > img {
  width: 16px;
  height: 16px;
  margin-top: 5px;
  flex-shrink: 0;
  object-fit: contain;
}

.sd-trans__row--lines > img {
  margin-top: 6px;
}

.sd-trans__line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
}

.sd-trans__line img {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
}

.sd-trans__map {
  position: relative;
  width: 604px;
  height: 340px;
  flex-shrink: 0;
}

.sd-trans__map-bg {
  position: absolute;
  left: 50px;
  top: 40px;
  width: 554px;
  height: 300px;
  background: #f58220;
}

.sd-trans__map img {
  position: relative;
  z-index: 1;
  width: 554px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 4px 5.6px rgba(0, 0, 0, 0.32);
}

.sd-brochure-wrap {
  width: 1204px;
  max-width: calc(100% - 48px);
  margin: 56px auto 72px;
}

.sd-brochure {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #f58220;
  min-height: 449px;
  padding: 18px 40px;
  margin: 0;
  width: 100%;
  color: #fff;
}

.sd-brochure img {
  width: 413px;
  height: 413px;
  object-fit: contain;
  flex-shrink: 0;
}

.sd-brochure h3,
.sd-brochure h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.sd-brochure p {
  font-size: 14px;
  line-height: 28px;
  max-width: 636px;
}

.sd-brochure a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 185px;
  height: 56px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 35px;
  color: #f58220;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- 留学问答 ---------- */
.page-qa .inner-banner--qa > img {
  object-position: center top;
}

.page-qa .qa-page__crumb {
  margin-top: 32px;
}

.qa-tabs {
  background: #fff;
  box-shadow: 0 9px 4.3px rgba(0, 0, 0, 0.08);
  height: 80px;
}

.qa-tabs__inner {
  width: 1152px;
  max-width: calc(100% - 48px);
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}

.qa-tabs button,
.qa-tabs a,
.qa-tabs__link {
  display: inline-block;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  padding: 0 4px 10px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.qa-tabs button:hover,
.qa-tabs a:hover,
.qa-tabs__link:hover {
  color: #f58220;
}

.qa-tabs button.is-active,
.qa-tabs a.is-active,
.qa-tabs__link.is-active {
  color: #f58220;
  font-weight: 600;
}

.qa-tabs button.is-active::after,
.qa-tabs a.is-active::after,
.qa-tabs__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #f58220;
  border-radius: 11px;
}

.qa-layout {
  display: flex;
  gap: 40px;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 24px auto 72px;
  align-items: flex-start;
}

.qa-list {
  flex: 1;
  min-width: 0;
}

.qa-item {
  position: relative;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.qa-item:last-of-type {
  margin-bottom: 0;
}

.qa-item__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.qa-item__hot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 31px;
  padding: 0 10px;
  background: #f58220;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.qa-item h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  color: #000;
}

.qa-item h2 a {
  color: inherit;
  transition: color 0.2s ease;
}

.qa-item h2 a:hover {
  color: #f58220;
}

.qa-item__summary {
  margin-top: 16px;
  font-size: 14px;
  line-height: 26px;
  color: #5f5e5e;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qa-item__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 26px;
  color: #7c7c7c;
}

.qa-item__meta time,
.qa-item__views {
  display: inline-block;
}

.qa-empty,
.video-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 16px;
  color: #7c7c7c;
}

.qa-side {
  width: 315px;
  flex-shrink: 0;
}

.qa-ad {
  width: 315px;
  height: 226px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.qa-form {
  background: #f58220;
  border-radius: 11px;
  padding: 36px 18px 24px;
  box-shadow: 0 8px 20px rgba(245, 130, 32, 0.18);
}

.qa-form h3 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin: 0 0 24px;
}

.qa-form input {
  width: 100%;
  height: 59px;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  margin-bottom: 11px;
  font-size: 14px;
  color: #333;
  background: #fff;
}

.qa-form input::placeholder {
  color: #aeaeae;
}

.qa-form button {
  width: 100%;
  height: 67px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: #a34b00;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qa-form button:hover {
  background: #8b4000;
}

.qa-form button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.qa-form__message {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.qa-form__message.is-success {
  background: rgba(255, 255, 255, 0.92);
  color: #2f7a1f;
}

.qa-form__message.is-error {
  background: rgba(255, 255, 255, 0.92);
  color: #b42318;
}

@media (max-width: 1280px) {
  .inner-wrap,
  .schools-filter,
  .schools-head,
  .schools-grid,
  .sd-hero,
  .sd-nav,
  .sd-section,
  .sd-brochure,
  .sd-brochure-wrap,
  .qa-tabs__inner,
  .qa-layout {
    width: auto;
  }

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

  .school-card {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1100px) {
  .inner-banner,
  .inner-banner--short {
    height: 280px;
  }

  .inner-crumb--light,
  .page-school .inner-crumb--light {
    left: 24px;
    right: 24px;
    transform: none;
    white-space: normal;
    text-align: left;
    width: auto;
  }

  .inner-banner__copy {
    top: 24px;
  }

  .inner-banner__copy h1 {
    font-size: 28px;
  }

  .schools-filter {
    margin-top: -80px;
  }

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

  .sd-hero {
    margin-top: -80px;
  }

  .sd-hero__top,
  .sd-req,
  .sd-trans,
  .sd-brochure,
  .qa-layout {
    flex-direction: column;
  }

  .sd-wide-wrap,
  .sd-wide {
    height: 220px;
    margin-top: 16px;
  }

  .sd-trans__map,
  .sd-trans__map-bg,
  .sd-trans__map img {
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
  }

  .sd-trans__map {
    height: auto;
  }

  .sd-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .sd-stats div + div::before {
    display: none;
  }

  .sd-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sd-gallery {
    overflow: hidden;
  }

  .sd-gallery img,
  .sd-req img.sd-req__photo,
  .sd-trans__map,
  .sd-trans__map img,
  .sd-wide {
    width: 100%;
    height: auto;
  }

  .qa-side,
  .qa-ad {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .schools-grid,
  .qa-tabs__inner {
    grid-template-columns: 1fr;
    flex-wrap: wrap;
    height: auto;
    gap: 8px;
    padding: 12px 0;
  }

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

  .schools-filter__search {
    width: 100%;
  }

  .schools-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pager {
    gap: 8px;
    padding: 32px 0 48px;
  }

  .pager a,
  .pager span {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .sd-hero__main h1,
  .sd-title,
  .sd-brochure h2,
  .sd-brochure h3 {
    font-size: 24px;
  }

  .sd-hero__logo {
    width: 140px;
    height: 140px;
  }

  .sd-table-wrap {
    overflow-x: auto;
  }

  .sd-table {
    min-width: 640px;
  }

  .sd-table th {
    height: 56px;
    font-size: 16px;
    padding: 12px 8px;
  }

  .sd-table th.is-name {
    font-size: 18px;
  }

  .sd-table th.is-desc,
  .sd-table td.is-desc {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sd-table__col-cat,
  .sd-table td.is-cat,
  .sd-table th.is-cat {
    width: 88px;
  }

  .sd-table__col-name {
    width: 160px;
  }

  .qa-item h2 {
    font-size: 18px;
  }

  .qa-item__summary {
    -webkit-line-clamp: 3;
  }

  .qa-item__meta {
    gap: 12px;
  }

  .article-layout,
  .video-detail,
  .about-intro,
  .about-contact__card,
  .about-honors,
  .about-certs {
    flex-direction: column;
  }

  .article-main,
  .article-side,
  .vd-main,
  .vd-side {
    width: 100%;
  }

  .article-main__title,
  .article-main h1 {
    font-size: 28px;
  }

  .vd-player,
  .vd-player > img {
    height: auto;
  }

  .video-grid,
  .about-honors,
  .about-certs,
  .page-about .about-courses .courses__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 问答详情 ---------- */
.article-layout {
  display: flex;
  gap: 24px;
  width: 1136px;
  max-width: calc(100% - 48px);
  margin: 24px auto 72px;
  align-items: flex-start;
}

.article-main {
  width: 763px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.article-main__title,
.article-main h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  color: #241913;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ddc1b0;
  font-size: 14px;
  color: #666;
}

.article-meta__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.article-meta img {
  vertical-align: middle;
  margin-right: 6px;
}

.article-meta__tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  background: #fff1ea;
  border-radius: 4px;
  color: #f58220;
  font-size: 12px;
  font-weight: 500;
}

.article-body {
  padding-top: 32px;
  font-size: 16px;
  line-height: 26px;
  color: #333;
}

.article-body > p:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 16px;
}

.article-body h2 {
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #f58220;
  font-size: 24px;
  font-weight: 600;
  line-height: 33.6px;
  color: #241913;
}

.article-body h2:first-of-type {
  margin-top: 8px;
}

.article-figure {
  margin: 16px 0 24px;
}

.article-figure img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  border-radius: 8px;
}

.article-figure figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.article-tip {
  margin-top: 24px;
  padding: 24px;
  background: #fff1ea;
  border-left: 4px solid #964900;
  border-radius: 8px;
}

.article-tip h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.7px;
  color: #964900;
  margin-bottom: 12px;
}

.article-tip h3 img {
  flex-shrink: 0;
}

.article-tip p {
  font-size: 14px;
  line-height: 21px;
  color: #564336;
  margin: 0;
}

.article-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #ddc1b0;
}

.article-foot__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-foot__tags span {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 0 12px;
  background: #e7e2db;
  border-radius: 9999px;
  font-size: 14px;
  color: #67645f;
}

.article-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 0;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  flex-shrink: 0;
}

.article-share:hover {
  color: #f58220;
}

.article-side {
  width: 363px;
  flex-shrink: 0;
}

.hot-news {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.hot-news h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 500;
  color: #241913;
  margin-bottom: 24px;
}

.hot-news__item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: inherit;
}

.hot-news__item:last-child {
  margin-bottom: 0;
}

.hot-news__item:hover h3 {
  color: #f58220;
}

.hot-news__item img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.hot-news__copy {
  min-width: 0;
  flex: 1;
}

.hot-news h3 {
  font-size: 14px;
  line-height: 21px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-news time {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.consult-card {
  margin-top: 32px;
  background: #f9e4d9;
  border-radius: 12px;
  padding: 24px 24px 24px;
  text-align: center;
}

.consult-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-card h2 {
  font-size: 24px;
  color: #241913;
}

.consult-card p {
  margin: 12px 0 16px;
  font-size: 14px;
  line-height: 21px;
  color: #564336;
}

.consult-card__qr {
  width: 146px;
  height: 146px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ddc1b0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-card__qr img {
  width: 128px;
  height: 128px;
  object-fit: cover;
}

.consult-card small {
  display: block;
  margin: 12px 0 16px;
  font-size: 12px;
  color: #666;
}

.consult-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  background: #f58220;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- 干货视频 ---------- */
.video-tabs {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(221, 193, 176, 0.4);
}

.video-tabs button,
.video-tabs a,
.video-tabs__link {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 0;
  background: none;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.video-tabs button.is-active,
.video-tabs a.is-active,
.video-tabs__link.is-active {
  color: #f58220;
  border-bottom: 2px solid #f58220;
}

.video-grid {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.vcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(221, 193, 176, 0.2);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: inherit;
}

.vcard__cover {
  position: relative;
  display: block;
  height: 203px;
  background: #f3dfd3;
  color: inherit;
  text-decoration: none;
}

.vcard__cover > img {
  width: 100%;
  height: 203px;
  object-fit: cover;
}

.vcard__play img {
  width: 11px;
  height: 14px;
  max-width: none;
}

.vcard__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcard__time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 26px;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 26px;
}

.vcard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.vcard__tag {
  display: inline-flex;
  height: 26px;
  padding: 0 8px;
  background: #fff1ea;
  border-radius: 4px;
  color: #f58220;
  font-size: 12px;
  align-items: center;
  text-decoration: none;
}

.vcard__tag:hover {
  background: #ffe4d4;
}

.vcard__title {
  display: block;
  color: inherit;
  text-decoration: none;
}

.vcard__title:hover {
  color: #f58220;
}

.vcard h2 {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 27px;
  font-weight: inherit;
  color: #241913;
}

.vcard .vcard__title {
  word-break: break-word;
}

.vcard__meta {
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

.vcard__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.video-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 48px;
  margin: 48px auto 72px;
  border: 1px solid #f58220;
  border-radius: 8px;
  color: #f58220;
  font-size: 16px;
}

/* ---------- 视频详情 ---------- */
.video-detail {
  display: flex;
  gap: 24px;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 72px;
  align-items: flex-start;
}

.vd-main {
  width: 752px;
}

.vd-player {
  position: relative;
  width: 100%;
  height: 423px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.vd-player > img,
.vd-player > video,
.vd-player > iframe {
  width: 100%;
  height: 423px;
  border: 0;
}

.vd-player > img,
.vd-player > video {
  object-fit: cover;
}

.vd-player > img {
  opacity: 0.8;
}

.vd-player__btn img {
  width: 22px;
  height: 28px;
  max-width: none;
}

.vd-player__btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 130, 32, 0.9);
  box-shadow: 0 0 30px rgba(245, 130, 32, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vd-player__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.vd-player__bar i {
  display: block;
  width: 33%;
  height: 4px;
  background: #f58220;
}

.vd-main h1 {
  margin-top: 32px;
  font-size: 32px;
  line-height: 41.6px;
  color: #241913;
}

.vd-meta {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(221, 193, 176, 0.3);
  font-size: 14px;
  color: #564336;
}

.vd-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.vd-desc {
  margin-top: 24px;
  font-size: 16px;
  line-height: 26px;
  color: #564336;
}

.vd-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.vd-tags span {
  display: inline-flex;
  height: 24px;
  padding: 0 12px;
  background: #f3dfd3;
  border-radius: 9999px;
  font-size: 12px;
  color: #564336;
  align-items: center;
}

.vd-side {
  width: 376px;
  flex-shrink: 0;
}

.vd-side h2 {
  font-size: 24px;
  font-weight: 600;
  color: #241913;
  margin-bottom: 24px;
}

.vd-side__empty {
  margin: 0;
  padding: 24px 16px;
  border-radius: 8px;
  background: #f8f8f8;
  color: #888;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.rec-video {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: inherit;
}

.rec-video__thumb {
  position: relative;
  width: 160px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f3dfd3;
}

.rec-video__thumb > img:first-child {
  width: 160px;
  height: 96px;
  object-fit: cover;
}

.rec-video__play {
  position: absolute;
  left: 70px;
  top: 38px;
  width: 20px;
  height: 20px;
  max-width: none;
}

.rec-video__time {
  position: absolute;
  right: 4px;
  bottom: 4px;
  height: 20px;
  padding: 0 6px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
}

.rec-video h3 {
  font-size: 14px;
  line-height: 19.25px;
  color: #241913;
}

.rec-video p,
.rec-video small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: #564336;
}

.rec-video small {
  font-size: 12px;
}

/* ---------- 关于我们 ---------- */
.about-intro {
  display: flex;
  gap: 72px;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 48px auto 0;
  align-items: flex-start;
}

.about-intro__media {
  position: relative;
  width: 563px;
  height: 582px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(39, 24, 19, 0.14);
}

.about-intro__photo {
  position: absolute;
  height: 100%;
  left: -42.47%;
  width: 184.93%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.about-intro__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(164, 55, 0, 0.1);
  pointer-events: none;
}

.about-intro__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--orange, #f98a00);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-intro__play:hover {
  background: var(--orange-solid, #e07d00);
  transform: translate(-50%, -50%) scale(1.06);
}

.about-intro__play img {
  display: block;
  width: 16.5px;
  height: 21px;
  max-width: 16.5px;
  max-height: 21px;
  margin-left: 2px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.about-intro__play::before,
.about__play::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
  opacity: 0;
}

.about-intro__play.is-icon-fallback::before,
.about__play.is-icon-fallback::before {
  opacity: 1;
}

.about-intro__copy {
  flex: 1;
  min-width: 0;
}

.about-intro__copy h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 32px;
  color: #271813;
  margin: 16px 0 24px;
}

.about-intro__copy h1::after {
  content: "";
  flex: 0 0 243px;
  max-width: 243px;
  height: 1px;
  background: rgba(249, 138, 0, 0.8);
}

.about-intro__copy p,
.about-intro__content p {
  font-size: 14px;
  line-height: 26px;
  color: #000;
}

.about-intro__copy p + p,
.about-intro__content p + p {
  margin-top: 12px;
}

.about-stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.about-stats div {
  width: 145px;
  height: 86px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  padding-top: 16px;
}

.about-stats strong {
  display: block;
  font-size: 24px;
  color: rgba(249, 138, 0, 0.8);
}

.about-stats span {
  font-size: 14px;
  color: #5a4138;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(249, 138, 0, 0.8);
  font-size: 16px;
}

.about-block {
  padding: 80px 0;
}

.about-block--white {
  background: #fff;
}

.page-about .about-block--white h2 {
  line-height: 41.6px;
}

.page-about .about-block--white .about-sub {
  margin-top: 8px;
  line-height: 25.6px;
}

.page-about .about-block--white .about-timeline {
  margin-top: 48px;
}

.page-about .about-block--white .about-team,
.page-about .about-block--white .about-certs,
.page-about .about-block--white .about-feedback {
  margin-top: 48px;
}

.page-about .about-block--white .about-feedback__viewport {
  width: 100%;
}

.page-about .about-block--white .about-team {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.page-about .about-block--white .about-team .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.page-about .about-block--white .about-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 427px;
  padding: 24px 24px 24px;
  box-sizing: border-box;
}

.page-about .about-block--white .about-person img.about-person__avatar {
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-about .about-block--white .about-person h3 {
  margin-top: 16px;
  line-height: 33.6px;
}

.page-about .about-block--white .about-person .role {
  margin: 4px 0 8px;
  line-height: 21px;
}

.page-about .about-block--white .about-person p:not(.role) {
  flex: none;
  width: 100%;
  max-width: 222px;
  margin: 8px 0 28px;
  line-height: 22px;
  text-align: justify;
  text-align-last: left;
}

.page-about .about-block--white .about-person img.about-person__qr {
  margin-top: 0;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-about .about-block--white .about-person small {
  margin-top: 8px;
  line-height: 16px;
  flex-shrink: 0;
}

.page-about .about-block--white .about-certs img {
  display: block;
  width: 100%;
  height: 365px;
  object-fit: cover;
}

.page-about .about-block--white .about-feedback img.about-feedback__shot {
  width: 280px;
  height: 480px;
  object-fit: cover;
}

.page-about .about-block--white .about-feedback__arrow {
  color: #f58220;
}

.about-block h2 {
  text-align: center;
  font-size: 32px;
  color: #241913;
}

.about-block .about-sub {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
  color: #564336;
}

.about-timeline {
  display: flex;
  justify-content: space-between;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 48px auto 0;
  position: relative;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 24px;
  height: 2px;
  background: rgba(221, 193, 176, 0.5);
}

.about-timeline article {
  width: 264px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.about-timeline__dot {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #f58220;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-timeline h3 {
  margin-top: 8px;
  font-size: 24px;
  color: #f58220;
}

.about-timeline p {
  font-size: 14px;
  line-height: 21px;
  color: #564336;
}

.about-honors,
.about-certs {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 270px));
  justify-content: center;
  gap: 24px;
}

.about-team.swiper {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
  overflow: hidden;
}

.about-team .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.about-honor {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: #241913;
}

.about-person {
  background: #fff9f2;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 24px 16px 20px;
  text-align: center;
}

.about-person img.about-person__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
}

.about-person h3 {
  margin-top: 8px;
  font-size: 24px;
  color: #241913;
}

.about-person .role {
  color: #964900;
  font-size: 14px;
  margin: 8px 0;
}

.about-person p:not(.role) {
  font-size: 14px;
  line-height: 22px;
  color: #564336;
  text-align: justify;
  text-align-last: left;
}

.about-person img.about-person__qr {
  width: 80px;
  height: 80px;
  margin-top: 24px;
  border-radius: 4px;
}

.about-person small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #564336;
}

.about-courses .courses__grid {
  margin-top: 40px;
}

.about-certs img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  box-shadow: 0 0 9px 4px rgba(0, 0, 0, 0.18);
}

.about-map {
  text-align: center;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 32px auto 0;
}

.about-map img {
  width: 831px;
  max-width: 100%;
  height: auto;
}

.about-map p,
.about-map__desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 33px;
  color: #564336;
}

.about-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
  overflow: hidden;
}

.about-feedback__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.about-feedback .swiper-slide {
  display: flex;
  justify-content: center;
  height: auto;
  box-sizing: border-box;
}

.about-feedback__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f58220;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.about-feedback__arrow svg {
  display: block;
  width: 24px;
  height: 40px;
}

.about-feedback__arrow:hover {
  color: #e06d00;
}

.about-feedback__arrow--prev:hover {
  transform: translateX(-2px);
}

.about-feedback__arrow--next:hover {
  transform: translateX(2px);
}

.about-feedback img.about-feedback__shot {
  width: 280px;
  max-width: 100%;
  height: auto;
}


.about-contact__card {
  display: flex;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 80px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-contact__map {
  position: relative;
  width: 691px;
  height: 432px;
  flex-shrink: 0;
  background: #3f3f3f;
}

.about-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-contact__copy {
  padding: 48px;
  flex: 1;
}

.about-contact__copy h2 {
  font-size: 32px;
  text-align: left;
}

.about-contact__row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.about-contact__row i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffeade;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-contact__copy h3 {
  font-size: 16px;
  color: #241913;
}

.about-contact__copy p {
  font-size: 14px;
  line-height: 21px;
  color: #564336;
}

.about-contact__copy strong {
  color: #964900;
  font-size: 18px;
}

.about-contact__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: #f58220;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

.about-contact__cta:hover {
  background: #e67412;
  color: #fff;
}

.qa-item h2 a,
.article-main__title,
.article-main h1,
.vcard h2 {
  color: inherit;
}

.qa-item h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.page-about .courses {
  background: transparent;
  padding: 0;
}

.page-about .inner-banner--short {
  height: 506px;
}

.page-about__crumb {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin-top: 32px;
}

.page-about .about-intro {
  width: 1152px;
  margin-top: 40px;
  margin-bottom: 64px;
}

.page-about .about-timeline__dot {
  position: relative;
  z-index: 1;
  background: #fff;
}

.page-about .about-timeline::before {
  z-index: 0;
}

.page-about .about-timeline article > p:first-of-type {
  font-weight: 500;
  color: #241913;
}

.page-about .about-block.about-courses h2 {
  text-align: center;
  font-size: 32px;
  color: #241913;
}

.page-about .about-block.about-courses .about-sub {
  text-align: center;
}

.page-about .about-courses {
  padding: 80px 0;
}

.page-about .about-courses .courses__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 277px));
  justify-content: center;
  column-gap: 15px;
  row-gap: 42px;
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 40px auto 0;
}

.page-about .about-courses .course-card {
  width: 100%;
}

.page-about .about-courses .courses__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 171px;
  height: 48px;
  margin: 49px auto 0;
  background: #f58220;
  border-radius: 40.5px;
  color: #fff;
  font-size: 16px;
}

.page-about .about-block--map {
  padding-bottom: 64px;
}

.page-about .about-map__desc {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 16px auto 0;
  /* text-align: center; */
  font-size: 16px;
  line-height: 33px;
  color: #564336;
}

.page-about .about-block--contact {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #f5f5f5;
}

.page-about .about-block--contact .about-contact__card {
  margin-top: 0;
  margin-bottom: 0;
}

.about-dots.swiper-pagination {
  position: static;
  bottom: auto;
  left: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.about-dots .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  margin: 0 !important;
  border-radius: 50%;
  background: #ddc1b0;
  opacity: 1;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.about-dots .swiper-pagination-bullet-active {
  width: 57px;
  border-radius: 10px;
  background: #f58220;
}

.about-dots span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ddc1b0;
}

.about-dots span.is-active {
  width: 57px;
  border-radius: 10px;
  background: #f58220;
}

@media (max-width: 1100px) {
  .article-layout,
  .video-detail,
  .about-intro,
  .about-contact__card,
  .about-feedback,
  .about-timeline {
    flex-direction: column;
    width: calc(100% - 32px);
  }

  .article-main,
  .article-side,
  .vd-main,
  .vd-side,
  .about-intro__media,
  .about-intro__photo,
  .about-contact__map,
  .about-contact__map iframe {
    width: 100%;
    height: auto;
  }

  .article-main__title,
  .article-main h1 {
    font-size: 28px;
  }

  .vd-main h1 {
    font-size: 24px;
  }

  .vd-player,
  .vd-player img,
  .article-figure img {
    height: auto;
    min-height: 180px;
  }

  .video-grid,
  .about-honors,
  .about-certs,
  .page-about .about-courses .courses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 32px);
  }

  .video-tabs {
    width: calc(100% - 32px);
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .article-foot,
  .about-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-intro__media {
    max-height: 420px;
  }

  .about-intro__photo {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 240px;
  }
}

/* ---------- 日语课程列表 ---------- */
.page-courses {
  background: #fff9f2;
}

.page-courses .header {
  background: #fff;
}

.courses-page {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding: 15px 0 48px;
}

.courses-page__crumb {
  font-size: 14px;
  line-height: 28px;
  color: #4b5563;
  margin-bottom: 28px;
}

.courses-page__crumb a {
  color: #4b5563;
}

.courses-page__crumb a:hover {
  color: #f58220;
}

.courses-page__section {
  padding-bottom: 16px;
}

.courses-page__head {
  text-align: center;
  margin-bottom: 36px;
}

.courses-page__title {
  margin: 0;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: #3e3242;
}

.courses-page__title::after {
  content: "";
  display: block;
  width: 102px;
  height: 6px;
  margin: 25px auto 0;
  background: #f58220;
}

.courses-page__meta {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #9c999a;
}

.courses-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 277px));
  justify-content: space-between;
  row-gap: 42px;
  column-gap: 16px;
}

.courses-page__grid .course-card {
  width: 100%;
  min-height: 368px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.courses-page__grid .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.courses-page__empty {
  grid-column: 1 / -1;
  margin: 48px 0;
  text-align: center;
  font-size: 16px;
  color: #6b7280;
}

.page-courses .pager {
  margin-top: 8px;
  padding-bottom: 32px;
}

@media (max-width: 1280px) {
  .courses-page__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .courses-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .courses-page__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .courses-page {
    max-width: calc(100% - 24px);
    padding: 12px 0 32px;
  }

  .courses-page__grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .courses-page__title {
    font-size: 28px;
  }

  .courses-page__title::after {
    width: 72px;
    height: 4px;
    margin-top: 16px;
  }
}

.apply-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.apply-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.apply-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.apply-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 36px 32px 32px;
  border-radius: 20px;
  background: #fff7f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='50' fill='%23ffe8d8' fill-opacity='0.35'/%3E%3C/svg%3E") center/cover;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.apply-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.apply-modal__close:hover {
  color: #333;
}

.apply-modal__title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #f78c2c;
}

.apply-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.apply-modal__grid input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #333;
}

.apply-modal__grid input::placeholder {
  color: #b8b8b8;
}

.apply-modal__grid input:focus {
  outline: none;
  border-color: #f78c2c;
  box-shadow: 0 0 0 2px rgba(247, 140, 44, 0.15);
}

.apply-modal__form > button[type="submit"] {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 18px;
  border: none;
  border-radius: 8px;
  background: #f78c2c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.apply-modal__form > button[type="submit"]:hover {
  background: #e67a18;
}

.apply-modal__form > button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.apply-modal__message {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.apply-modal__message.is-success {
  color: #27b73f;
}

.apply-modal__message.is-error {
  color: #e91111;
}

body.apply-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .apply-modal__dialog {
    padding: 32px 20px 24px;
  }

  .apply-modal__grid {
    grid-template-columns: 1fr;
  }
}
