/* 学院概况二级页面。共享页眉由 soif-home.css 与 r5.css 提供。 */

:root {
  --about-measure: 760px;
  --about-profile: 920px;
}

body.about-overview-page {
  margin: 0;
  color: var(--color-on-surface);
  background: var(--color-surface);
  font-size: 16px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}

.about-overview-page a {
  color: inherit;
  text-decoration: none;
}

.about-overview-page a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

body :where(
  .about-section h2,
  .about-operation-map .about-stage-name,
  .about-leader h3,
  .about-footer strong
) {
  font-family: var(--display-font) !important;
  font-synthesis: none;
  letter-spacing: 0;
}

.about-intro {
  border-bottom: 1px solid var(--color-outline);
  background: linear-gradient(96deg, var(--color-surface-dim) 0%, var(--color-surface) 62%);
}

.about-intro-inner {
  /* The five secondary-page titles share one shell and one baseline. The
     narrower profile measure begins below the title band. */
  width: min(100%, var(--shell));
  margin: 0 auto;
  padding: var(--intro-space-top) var(--gutter) var(--intro-space-bottom);
}

.about-intro .secondary-page-title {
  margin-bottom: 14px;
}

.about-intro p {
  /* Keep the lead readable while its title retains the shared shell edge. */
  width: 100%;
  max-width: var(--intro-text-measure);
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(17px, 1.4vw, 18px);
  line-height: 1.95;
}

.about-profile {
  max-width: var(--about-profile);
  margin: 0 auto;
  padding: clamp(54px, 6vw, 76px) var(--gutter) clamp(58px, 7vw, 84px);
}

.about-section,
.about-intro h1,
.about-section h2 {
  scroll-margin-top: 116px;
}

.about-section + .about-section {
  margin-top: clamp(52px, 6vw, 72px);
  padding-top: clamp(40px, 4.5vw, 54px);
  border-top: 1px solid var(--color-outline);
}

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

.about-section h2 {
  margin: 0;
  font-size: clamp(25px, 2.35vw, 31px);
  font-weight: 600;
  line-height: 1.35;
}

.about-section-body {
  min-width: 0;
  max-width: 850px;
  margin-left: 52px;
  padding-left: 26px;
  border-left: 1px solid var(--color-outline);
}

.about-section p {
  /* Keep prose and the supporting visual on one shared right edge. The body
     container already provides the bounded editorial measure. */
  max-width: none;
  margin: 0;
  color: var(--color-muted);
  font-size: 16.5px;
  line-height: 2;
}

.about-section p + p {
  margin-top: 18px;
}

.about-visual {
  margin: clamp(48px, 6vw, 68px) 0;
  overflow: hidden;
  border-radius: var(--radius-surface);
  background: var(--color-surface-tint);
}

.about-profile > .about-visual:first-child {
  margin-top: 0;
}

.about-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.about-operation-map {
  margin: 28px 0 0;
  padding: 18px 30px 20px;
  color: #fff;
  background: var(--color-primary);
}

.about-stage {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.about-stage:first-of-type {
  padding-top: 2px;
  border-top: 0;
}

.about-stage:last-of-type {
  padding-bottom: 2px;
}

.about-stage-name {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.about-stage p {
  grid-column: 2;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 801px) {
  body.english-page .about-stage {
    grid-template-columns: 208px minmax(0, 1fr);
  }
}

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

.about-leader {
  min-width: 0;
  display: block;
  border-top: 2px solid var(--color-primary);
  background: var(--color-surface-dim);
  transition: transform var(--motion-short) var(--ease), box-shadow var(--motion-short) var(--ease);
}

.about-leader:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(8, 38, 57, .1);
}

.about-leader figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-tint);
}

.about-leader img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--leader-position, 50% 25%);
  transform: scale(var(--leader-scale, 1));
  transform-origin: var(--leader-position, 50% 25%);
}

.about-leader-copy {
  padding: 20px 20px 23px;
}

.about-leader-copy > span {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.about-leader h3 {
  margin: 5px 0 9px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
}

.about-leader p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-onward {
  margin-top: clamp(42px, 5vw, 58px);
  padding-top: 18px;
  border-top: 1px solid var(--color-on-surface);
  text-align: right;
}

.about-home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary) !important;
  font-size: 15px;
  border-bottom: 1px solid transparent;
}

.about-home-link:hover {
  border-bottom-color: var(--color-primary);
}

.about-footer {
  background: var(--color-on-surface);
}

.about-footer-inner {
  width: min(100%, var(--shell));
  min-height: 0;
  margin: 0 auto;
  padding: 18px var(--gutter) 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) auto;
  align-items: start;
  gap: 16px 28px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  letter-spacing: .03em;
}

.about-footer-brand {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-footer strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.about-footer-contact {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  font-style: normal;
  line-height: 1.5;
}

.about-footer-contact span,
.about-footer-contact a,
.about-footer-copyright {
  overflow-wrap: anywhere;
}

.about-footer-contact a {
  color: #9ed2f1;
  text-decoration: none;
}

.about-footer-contact a:hover {
  color: #fff;
}

.about-footer-copyright {
  align-self: end;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-section-body {
    margin-left: 28px;
  }
}

@media (max-width: 720px) {
  .about-section h2 {
    font-size: 23px;
  }

  .about-section-heading {
    margin-bottom: 20px;
  }

  .about-section-body {
    margin-left: 0;
    padding-left: 18px;
  }

  .about-visual {
    margin-inline: calc(var(--gutter) * -1);
  }

  .about-operation-map {
    padding: 22px 20px 24px;
  }

  .about-stage {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .about-stage-name,
  .about-stage p {
    grid-column: 1;
  }

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

  .about-leader {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .about-leader figure {
    aspect-ratio: 104 / 136;
  }

  .about-leader-copy {
    padding: 16px 16px 18px;
  }

  .about-leader h3 {
    font-size: 22px;
  }

  .about-footer-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .about-footer strong {
    font-size: 14px;
  }

  .about-footer-contact {
    display: grid;
    gap: 4px;
  }

  .about-footer-school,
  .about-footer-contact,
  .about-footer-copyright {
    font-size: 10px;
    line-height: 1.45;
  }

  .about-footer-copyright {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
