/* ---------- About page ---------- */

/* Hero */

/* Hide subheader on admin pages */
.subheader {
  display: none;
}


.about-hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.8rem;
  padding: 1.8rem 2rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(234, 179, 8, 0.18), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.about-hero-main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 2 1 260px;
}

.about-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.about-logo {
  width: 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-hero-text h1 {
  margin: 0.2rem 0 0.4rem;
  color: gold;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-hero-lead {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.95);
    align-items: center;
  justify-content: center;
  text-align: center;
}

/* President card */
/* Leadership cards container (right side) */
.about-leadership {
  flex: 1 1 260px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

/* Shared leader card styles */
.about-leader-card {
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
}

/* Optional subtle variation per role (accent borders, etc.) */
.about-leader-card.is-president {
  border-color: rgba(250, 204, 21, 0.75); /* golden accent */
}

.about-leader-card.is-project-leader {
  border-color: rgba(56, 189, 248, 0.75); /* cyan accent */
}

.about-leader-photo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.about-leader-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.about-leader-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.9);
}

.about-leader-name {
  margin: 0;
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(248, 250, 252, 0.98);
}

.about-leader-role {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(209, 213, 219, 0.92);
}

/* Small screens: stack everything nicely */
@media (max-width: 640px) {
  .about-hero-inner {
    padding: 1.4rem 1.2rem;
  }

  .about-leadership {
    justify-content: center;
  }

  .about-leader-card {
    max-width: 100%;
  }
}




/* Philosophie */
.about-philosophy-grid {
  margin-top: 1.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 1.6rem;
  background-color: #020617;
}

.about-philosophy-intro p {
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}

.about-philosophy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-philo-card {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(30, 64, 175, 0.7);
}

.about-philo-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(209, 213, 219, 0.95);
}

.about-philo-card p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(226, 232, 240, 0.92);
}

/* Vision */

.about-vision-card {
  margin-top: 1.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 60%),
    #020617;
  border: 1px solid rgba(148, 163, 184, 0.55);
}

.about-vision-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.94);
}

.about-vision-quote {
  margin-top: 0.9rem;
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(250, 250, 250, 0.98);
}

/* Fields */

.about-fields-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.about-field-card {
  padding: 0.6rem 0.6rem 0.9rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.about-field-photo {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: #020617;
}

.about-field-photo img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.about-field-card figcaption {
  font-size: 0.82rem;
  color: rgba(209, 213, 219, 0.94);
}

/* Responsive */

@media (max-width: 900px) {
  .about-philosophy-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .about-hero-inner {
    padding: 1.5rem 1.4rem;
    border-radius: 1.3rem;
  }

  .about-president {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .about-hero-inner {
    flex-direction: column;
  }

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