/* ==========================================================================
   About Page Styles — 关于我们
   Uses CSS custom properties from shared variables.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header / Hero Banner
   -------------------------------------------------------------------------- */
.about-header {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(/images/about/about_bg.png);
  aspect-ratio: 2.4;
}

.about-header .container {
  padding-top: 10%;
}

.about-header-text {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .about-header-text {
    gap: 1rem;
  }
}

.about-header-title {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@media (min-width: 640px) {
  .about-header-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .about-header-title {
    font-size: 3rem;
  }
}

@media (min-width: 1280px) {
  .about-header-title {
    font-size: 3.75rem;
  }
}

.about-header-subtitle {
  font-size: 1rem;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

@media (min-width: 640px) {
  .about-header-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .about-header-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .about-header-subtitle {
    font-size: 1.875rem;
  }
}

/* --------------------------------------------------------------------------
   Section Pattern
   -------------------------------------------------------------------------- */
.about-section {
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .about-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.about-section-gray {
  background-color: var(--coolgray-100);
}

.about-section-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.about-section-title-bar {
  position: absolute;
  bottom: 1px;
  width: 3rem;
  height: 0.5rem;
  background-color: var(--orange);
  z-index: 0;
}

@media (min-width: 768px) {
  .about-section-title-bar {
    width: 5rem;
    height: 0.75rem;
  }
}

.about-section-title {
  position: relative;
  z-index: 10;
  font-size: 1.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .about-section-title {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */
.about-intro-text {
  color: var(--gray-500);
  line-height: 1.625;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-intro-text p {
  text-indent: 2rem;
}

/* --------------------------------------------------------------------------
   Operation Mode — 4 Operation Centers Grid
   -------------------------------------------------------------------------- */
.operation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .operation-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.operation-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.operation-icon {
  width: 4rem;
  height: 4rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.75rem;
}

.operation-icon img {
  width: 100%;
  height: 100%;
}

.operation-title {
  font-weight: 700;
  font-size: 1.125rem;
}

.operation-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   License / Certificates
   -------------------------------------------------------------------------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .license-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.license-item img {
  width: 100%;
  border-radius: 0.25rem;
}

/* --------------------------------------------------------------------------
   Researcher / Teacher Team
   -------------------------------------------------------------------------- */
.researcher-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .researcher-content {
    flex-direction: row;
  }
}

.researcher-img {
  width: 100%;
  border-radius: 0.25rem;
}

@media (min-width: 768px) {
  .researcher-img {
    width: 50%;
  }
}

/* --------------------------------------------------------------------------
   School Logos — columns layout
   -------------------------------------------------------------------------- */
.school-logos-grid {
  columns: 4;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .school-logos-grid {
    columns: 5;
  }
}

@media (min-width: 1024px) {
  .school-logos-grid {
    columns: 10;
  }
}

.school-logo-item {
  break-inside: avoid;
  margin-bottom: 0.5rem;
}

.school-logo-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* --------------------------------------------------------------------------
   Institution — Swiper Slides
   -------------------------------------------------------------------------- */
.institution-slide img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Partners — Grid
   -------------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(10, 1fr);
  }
}

.partner-item img {
  width: 100%;
  height: auto;
}
