.page-school-overview {
  background: #fff;
  overflow-x: hidden;
}

.page-school-overview .page-banner {
  background:
    linear-gradient(180deg, rgba(7, 18, 35, 0.18) 0%, rgba(7, 18, 35, 0.52) 100%),
    url("../../images/banner1.jpg?v=a") center/cover no-repeat;
  height: 100vh;
  min-height: 460px;
  max-height: 100vh;
}

@media (max-width: 991.98px) {
  .page-school-overview .page-banner {
    height: min(78dvh, 620px);
  }
}

@media (max-width: 767.98px) {
  .page-school-overview .page-banner {
    min-height: 320px;
    height: min(62dvh, 460px);
  }
}

.page-school-overview .page-sidenav__group {
  padding: 0.2rem;
  border: 1px solid rgba(var(--theme-primary-rgb), 0.1);
  border-radius: 1rem;
  background: rgba(var(--theme-primary-rgb), 0.04);
}

.page-school-overview .page-pane {
  display: block;
}

.page-school-overview .page-sidenav__group-label {
  display: block;
  padding: 0.82rem 0.95rem 0.72rem;
  border-radius: 0.8rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--theme-heading);
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-school-overview .page-sidenav__group.is-active .page-sidenav__group-label,
.page-school-overview .page-sidenav__group-label.is-active {
  color: var(--theme-primary-dark);
  background: rgba(var(--theme-primary-rgb), 0.08);
}

.page-school-overview .page-sidenav__sublist {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0 0.9rem;
}

.page-school-overview .page-sidenav__sublist li + li {
  margin-top: 0.18rem;
}

.page-school-overview .page-sidenav__link--sub {
  position: relative;
  padding: 0.72rem 0.95rem 0.72rem 1.2rem;
  font-size: 0.96rem;
  border-radius: 0.8rem;
}

.page-school-overview .page-sidenav__link--sub::before {
  display: none;
}

.page-school-overview .page-sidenav__link--sub.is-active::before {
  display: none;
}

@media (max-width: 767.98px) {
  .page-school-overview .page-sidenav__group-label {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .page-school-overview .page-sidenav__sublist {
    padding-left: 0.65rem;
  }
}

@media (max-width: 991.98px) {
  .page-school-overview .page-sidenav__group {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .page-school-overview .page-sidenav__group-label {
    width: min(16rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    text-align: center;
    color: var(--theme-text);
    background: transparent;
  }

  .page-school-overview .page-sidenav__group .page-sidenav__link {
    width: auto;
  }

  .page-school-overview .page-sidenav__group.is-active .page-sidenav__group-label,
  .page-school-overview .page-sidenav__group-label.is-active {
    color: var(--theme-primary);
    background: transparent;
    font-weight: 800;
    border-bottom: 3px solid var(--theme-primary);
  }

  .page-school-overview .page-sidenav__sublist {
    width: min(17rem, calc(100% - 2rem));
    margin: 0.15rem auto 0.2rem;
    padding: 0;
    transform: translateX(0.55rem);
  }

  .page-school-overview .page-sidenav__link--sub {
    width: 100%;
    padding: 0.72rem 0.85rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
  }

  .page-school-overview .page-sidenav__link--sub:hover {
    border-bottom-color: rgba(var(--theme-primary-rgb), 0.3);
  }

  .page-school-overview .page-sidenav__link--sub.is-active {
    color: var(--theme-primary);
    background: transparent;
    font-weight: 700;
    border-bottom-color: transparent;
    border-bottom-width: 1px;
  }

  .page-school-overview .page-sidenav__link--sub.is-active::before {
    display: none;
  }
}

.school-overview-news {
  display: block;
}

.school-overview-news .list-page__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--theme-primary);
}

.school-overview-news .list-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--theme-heading);
}

.school-overview-news .list-page__desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--theme-muted);
}

.school-overview-news .list-page__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.25rem;
  margin: 0;
  padding: 0;
}

.school-overview-news .list-page__item {
  margin: 0;
}

.school-overview-news .list-page__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--theme-text);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.school-overview-news .list-page__media {
  position: relative;
}

.school-overview-news .list-page__thumb {
  aspect-ratio: 16 / 10;
  background: var(--theme-surface-soft);
  overflow: hidden;
}

.school-overview-news .list-page__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.school-overview-news .list-page__date-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0;
  transform: translateY(50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.35rem;
  padding: 0.5rem 0.55rem 0.55rem;
  margin: 0;
  background: var(--theme-primary);
  color: #fff;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.school-overview-news .list-page__date-badge-dm {
  display: block;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.school-overview-news .list-page__date-badge-y {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  opacity: 0.92;
}

.school-overview-news .list-page__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.1rem 1.2rem;
  background: #fff;
  transition: background-color 0.2s ease;
}

.school-overview-news .list-page__item-title {
  margin: 0;
  color: var(--theme-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.school-overview-news .list-page__item-summary {
  margin: 0;
  color: var(--theme-muted);
  font-size: 0.8125rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.school-overview-news .list-page__link:hover,
.school-overview-news .list-page__link:focus-visible {
  background: var(--theme-primary);
  color: #fff;
  border-color: var(--theme-primary-dark);
  box-shadow: 0 14px 32px rgba(var(--theme-primary-rgb), 0.38);
  transform: translateY(-4px);
}

.school-overview-news .list-page__link:hover .list-page__thumb img,
.school-overview-news .list-page__link:focus-visible .list-page__thumb img {
  transform: scale(1.04);
}

.school-overview-news .list-page__link:hover .list-page__card-body,
.school-overview-news .list-page__link:focus-visible .list-page__card-body {
  background: var(--theme-primary);
}

.school-overview-news .list-page__link:hover .list-page__item-title,
.school-overview-news .list-page__link:focus-visible .list-page__item-title,
.school-overview-news .list-page__link:hover .list-page__item-summary,
.school-overview-news .list-page__link:focus-visible .list-page__item-summary {
  color: #fff;
}

.school-overview-news .list-page__link:hover .list-page__date-badge,
.school-overview-news .list-page__link:focus-visible .list-page__date-badge {
  background: #fff;
  color: var(--theme-primary);
}

.school-overview-news .list-page__pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.school-overview-news .pagination {
  margin-bottom: 0;
}

.school-overview-news .page-link {
  color: var(--theme-primary);
  border-color: var(--theme-border-subtle);
}

.school-overview-news .page-item.active .page-link {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: #fff !important;
}

.page-school-overview .page-pane > .page-pane__title {
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 3px solid var(--theme-primary);
}

.school-intro-culture-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid #e9ecef;
}

.school-intro-culture-section__title {
  margin: 0 0 2rem;
  text-align: center;
  color: var(--theme-primary);
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 700;
}

.school-intro-culture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.school-intro-culture__item {
  background: #fff;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.school-intro-culture__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.school-intro-culture__icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--theme-primary);
  font-size: 3rem;
}

.school-intro-culture__name {
  margin: 0 0 1rem;
  color: var(--theme-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.school-intro-culture__content {
  color: var(--theme-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.school-intro-culture__content strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--theme-primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.school-intro-culture__badge-variants {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.school-intro-culture__badge-variant {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.school-intro-culture__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.school-intro-culture__badge--circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.school-intro-culture__badge--rect {
  width: 180px;
  height: 80px;
  border-radius: 0.5rem;
}

.school-intro-culture__badge img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.school-intro-culture__badge-label {
  margin-top: 0.5rem;
  color: #6c757d;
  font-size: 0.8125rem;
  font-weight: 500;
}

.school-intro-culture__flag {
  width: 100%;
  max-width: 240px;
  height: 160px;
  margin: 0 auto 1.5rem;
  padding: 0;
  border-radius: 0.5rem;
  border: 2px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.school-intro-culture__flag img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.experts-pane__lead {
  margin-bottom: 1.5rem;
}

.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.leader-grid--experts {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.leader-grid--experts .leader-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.leader-grid--experts .leader-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.leader-grid--experts .leader-card__role {
  line-height: 1.5;
  text-wrap: balance;
}

.leader-card {
  border: 1px solid var(--theme-border-light);
  border-radius: 0.375rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.leader-card__photo {
  aspect-ratio: 3 / 4;
  background: var(--theme-section-muted-bg);
  overflow: hidden;
}

.leader-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card__body {
  padding: 1rem;
  text-align: center;
}

.leader-card__name {
  font-weight: 700;
  color: var(--theme-heading);
  margin: 0 0 0.25rem;
}

.leader-card__role {
  font-size: 0.875rem;
  color: var(--theme-text-muted);
  margin: 0;
}

.leadership-pane__lead {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: #5c5c5c;
}

.leadership-swiper-wrap {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 2rem 0 0;
  min-height: 634px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background: #fff;
  align-items: stretch;
}

.leadership-main-wrap {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 634px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.leadership-main-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 634px;
  overflow: hidden;
  touch-action: pan-y;
}

.leadership-main-stage__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.leader-info-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(
    to right,
    rgba(0, 78, 162, 0.92) 0%,
    rgba(0, 78, 162, 0.85) 50%,
    rgba(0, 78, 162, 0.4) 85%,
    rgba(0, 78, 162, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.75rem;
  color: #fff;
  z-index: 10;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.6) transparent;
}

.leader-info-overlay::-webkit-scrollbar {
  width: 6px;
}

.leader-info-overlay::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.leader-info-overlay h4 {
  font-size: 1.625rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: #fff;
}

.leader-info-overlay .leader-role {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  display: inline-block;
  width: fit-content;
}

.leader-info-overlay p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 0.45rem;
  opacity: 0.95;
  color: #fff;
}

.leader-info-overlay p:last-child {
  margin-bottom: 0;
}

.leadership-mobile-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0 1rem;
  background: #fff;
}

.leadership-mobile-dot {
  appearance: none;
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 78, 162, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.leadership-mobile-dot.is-active {
  width: 1.35rem;
  background: #004ea2;
}

.leader-thumbs-wrap {
  flex: 0 0 280px;
  min-width: 0;
  max-width: 100%;
  height: 634px;
  max-height: 634px;
  margin-left: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: auto;
}

.leader-thumbs-wrap::-webkit-scrollbar {
  width: 8px;
}

.leader-thumbs-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 78, 162, 0.45);
  border-radius: 999px;
}

.leader-thumb-item {
  appearance: none;
  border: 3px solid transparent;
  background: transparent;
  padding: 0;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
  opacity: 0.5;
  transition: all 0.3s ease;
  position: relative;
}

.leader-thumb-item:hover {
  opacity: 0.75;
  transform: scale(1.02);
}

.leader-thumb-item.active {
  opacity: 1;
  border-color: #004ea2;
  box-shadow: 0 4px 12px rgba(0, 78, 162, 0.25);
}

.leader-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 1199.98px) {
  .school-overview-news .list-page__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .leadership-swiper-wrap {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }

  .leadership-main-wrap {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 360px;
    height: 360px;
  }

  .leadership-main-stage {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 360px;
    height: 360px;
  }

  .leader-info-overlay {
    width: 100%;
    background: linear-gradient(
      to top,
      rgba(0, 78, 162, 0.95) 0%,
      rgba(0, 78, 162, 0.8) 40%,
      rgba(0, 78, 162, 0.3) 100%
    );
    padding: 1.5rem 1.25rem;
    justify-content: center;
    overflow-y: auto;
  }

  .leader-info-overlay h4 {
    font-size: 1.375rem;
  }

  .leader-info-overlay .leader-role {
    font-size: 0.875rem;
  }

  .leader-info-overlay p {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .leader-thumbs-wrap {
    display: none;
  }

  .leadership-mobile-dots {
    display: flex;
  }
}

@media (max-width: 767.98px) {
  .school-overview-news .list-page__list {
    grid-template-columns: 1fr;
  }

  .school-overview-news .list-page__card-body {
    padding: 1.8rem 1rem 1.1rem;
  }

  .school-intro-culture-section {
    margin-top: 2.2rem;
    padding-top: 1.8rem;
  }

  .school-intro-culture-section__title {
    margin-bottom: 1.5rem;
  }

  .school-intro-culture {
    gap: 1.5rem;
  }

  .school-intro-culture__item {
    padding: 1.5rem 1.25rem;
  }

  .school-intro-culture__icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .school-intro-culture__badge--circle {
    width: 100px;
    height: 100px;
  }

  .school-intro-culture__badge--rect {
    width: 150px;
    height: 66px;
  }

  .school-intro-culture__flag {
    max-width: 200px;
    height: 133px;
  }
}

@media (max-width: 575.98px) {
  .leadership-swiper-wrap {
    margin-top: 1rem;
    border-radius: 0.5rem;
  }

  .leadership-main-stage {
    min-height: 280px;
    height: 280px;
  }

  .leadership-main-wrap {
    min-height: 280px;
    height: 280px;
  }

  .leader-thumb-item {
    flex: 0 0 140px;
    width: 140px;
  }
}
