@charset "UTF-8";
/* 固定顶栏锚点定位时预留滚动偏移 */
.page-about #about-profile,
.page-about #about-headmaster,
.page-about #about-features {
  scroll-margin-top: 100px;
}
.about-sec {
  position: relative;
  background: #fff;
}
/* ---------- 1. 学校简介 ---------- */
.about-sec--profile {
  position: relative;
  overflow-x: clip;
  padding: 10px 0 120px;
}
.about-sec--profile .about-sec--profile__bg {
  position: absolute;
  left: -5%;
  top: 10px;
  width: min(29.58%, 489px);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.5;
}
.about-sec--profile__inner {
  position: relative;
  z-index: 2;
}
/* =========================
 主体布局
========================= */
.about-profile-body {
  display: grid;
  /* 左右比例 */
  grid-template-columns: minmax(0, 46.36%) minmax(320px, 45.64%);
  align-items: start;
  /* 自适应间距 */
  gap: clamp(30px, 4vw, 116px);
}
/* =========================
 左侧文字
========================= */
.about-profile-copy {
  position: relative;
  padding-left: clamp(24px, 2vw, 35px);
  padding-bottom: 42px;
  text-align: justify;
}
.about-profile-line {
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: #723489;
}
.about-profile-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #723489;
}
.about-profile-text {
  line-height: 2;
  font-size: clamp(14px, 0.95vw, 18px);
  color: #000;
}
/* =========================
 列表
========================= */
.about-profile-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.about-profile-list li {
  position: relative;
  padding-left: clamp(14px, 0.92vw, 18px);
  line-height: 1.9;
  font-size: clamp(14px, 0.92vw, 17px);
  color: #000;
}
.about-profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #723489;
}
.about-profile-list__label {
  color: #723489;
  font-weight: 700;
}
/* =========================
 右侧图片
========================= */
.about-profile-media {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
.about-profile-media img {
  display: block;
  width: 100%;
  /* 核心 */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-profile-media:hover img {
  transform: scale(1.03);
}
/* =========================
 1440 以下
========================= */
@media (max-width: 1440px) {
  .about-profile-body {
    gap: 50px;
  }
  .about-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =========================
 1200 以下
========================= */
@media (max-width: 1200px) {
  .about-profile-body {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 40px;
  }
}
/* =========================
 平板
========================= */
@media (max-width: 992px) {
  .about-sec--profile {
    padding: 60px 0;
  }
  .about-profile-body {
    /* 改成上下布局 */
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-profile-media {
    order: -1;
    max-width: 100%;
  }
  .about-profile-copy {
    padding-left: 28px;
    padding-bottom: 0;
  }
  .about-sec--profile__bg {
    width: 260px;
    opacity: 0.2;
  }
}
/* =========================
 手机
========================= */
@media (max-width: 768px) {
  .about-sec--profile {
    padding: 48px 0;
  }
  .about-profile-copy {
    padding-left: 22px;
  }
  .about-profile-text {
    line-height: 1.9;
  }
  .about-profile-list li {
    line-height: 1.8;
  }
  .about-profile-line::before {
    width: 10px;
    height: 10px;
    margin-left: -5px;
  }
  .about-sec--profile__bg {
    width: 180px;
    left: -60px;
    bottom: 20px;
  }
}
/* =========================
 超小手机
========================= */
@media (max-width: 480px) {
  .about-profile-body {
    gap: 28px;
  }
  .about-profile-copy {
    padding-left: 18px;
  }
  .about-profile-list li {
    padding-left: 14px;
  }
}
/* ---------- 2. 校长寄语 ---------- */
.about-sec--headmaster {
  padding: 40px 0 110px;
  overflow: hidden;
}
.about-sec--headmaster::after {
  content: '';
  background: url(../img/about/bg_headmaster.png) no-repeat center center;
  background-size: 100%;
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: min(25.3%, 489px);
  padding: 12% 0;
  height: 0;
}
.about-headmaster-inner {
  position: relative;
}
.about-headmaster-decor--dots {
  position: absolute;
  right: 18%;
  top: 28%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(circle, #d0d0d0 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.9;
  pointer-events: none;
}
.about-headmaster-layout {
  position: relative;
  z-index: 1;
}
.about-headmaster-photo {
  width: 72.6%;
  max-width: 1060px;
  border-radius: 80px 0px 80px 0px;
  overflow: hidden;
  align-self: flex-start;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
.about-headmaster-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.about-headmaster-card {
  flex: none;
  width: 49.45%;
  min-width: 0;
  display: flex;
  color: #fff;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.about-headmaster-card > div {
  padding: 48px 46px 60px;
  background: rgba(114, 52, 137, 0.78);
  border-top-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.about-headmaster-card__pin {
  position: absolute;
  right: 58px;
  top: -36px;
  width: 1px;
  height: 40px;
  background: #723489;
}
.about-headmaster-card__pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #723489;
}
.about-headmaster-card__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 1px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
}
.about-headmaster-card__en {
  font-size: clamp(26px, 1.25vw, 32px);
  letter-spacing: 2px;
}
.about-headmaster-card__zh {
  font-size: clamp(28px, 1.25vw, 36px);
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 0.06em;
}
.about-headmaster-card__body {
  line-height: 2.1;
  text-align: justify;
}
/* ---------- 3. 办学特色 ---------- */
.about-sec--features {
  padding: 59px 0 80px;
  background: #FAFAFA;
}
.about-sec-head {
  margin-bottom: 48px;
}
.about-sec-head__en {
  font-family: var(--font_en), Candara, sans-serif;
  font-size: clamp(30px, 0.95vw, 32px);
  color: #723489;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.about-sec-head__zh {
  font-size: clamp(34px, 0.95vw, 36px);
  font-weight: 400;
}
.about-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
  margin-top: 10px;
}
.about-feature-card {
  display: flex;
  gap: 29px;
  align-items: flex-start;
  padding: 52px 6.42% 30px;
  background: #F2F2F2;
  border-radius: 23px;
  min-height: 100%;
  transition: all 0.3s ease;
  min-height: 213px;
}
.about-feature-card:hover {
  background: #E5E5E5;
}
.about-feature-card__icon {
  flex-shrink: 0;
  width: 27.34%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #723489;
}
.about-feature-card__ttl {
  font-size: clamp(18px, 1.25vw, 20px);
  font-weight: 400;
  color: #723489;
  margin-bottom: 8px;
}
.about-feature-card__desc {
  line-height: 1.56;
  color: #000;
  text-align: justify;
}
@media (max-width: 1440px) {
  .about-feature-grid {
    gap: 20px 24px;
  }
  .about-feature-card {
    gap: 20px;
    padding: 40px 5.2% 28px 4.9%;
    min-height: 180px;
  }
  .about-feature-card .about-feature-card__icon {
    width: 22.22%;
  }
  .about-sec--profile {
    padding-bottom: 70px;
  }
  .about-sec--profile .about-sec--profile__bg {
    transform: scale(0.93);
    transform-origin: left top;
  }
  .about-headmaster-card > div {
    padding: 36px 28px;
  }
}
@media (max-width: 1100px) {
  .about-profile-body {
    grid-template-columns: 1fr;
  }
  .about-profile-media img {
    aspect-ratio: 16 / 10;
  }
  .about-headmaster-layout {
    flex-direction: column;
  }
  .about-headmaster-photo {
    flex: none;
    max-width: none;
    width: 100%;
  }
  .about-headmaster-card {
    margin-left: 0;
    margin-top: -40px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
  .about-headmaster-decor--ring {
    right: -20%;
    opacity: 0.5;
  }
  .about-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .page-about .breadcrumb-nav {
    font-size: 14px;
  }
  .about-profile-text {
    font-size: 16px;
  }
  .about-profile-list li {
    font-size: 15px;
  }
  .about-headmaster-card {
    padding: 36px 28px;
  }
  .about-headmaster-card__zh {
    font-size: 28px;
  }
  .about-feature-grid {
    grid-template-columns: 1fr;
  }
}
