@charset "utf-8";

/* Clean layout for Empowering People placeholders */
.team-page {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 56px;
  display: grid;
  gap: 34px;
}

.team-section,
.story-section {
  background: #ffe2d2;
  border: 2px solid #2c1b7e;
  border-radius: 12px;
  padding: 22px;
}

.team-section h1,
.story-section h2 {
  text-align: center;
  color: #210a72;
  font-size: clamp(30px, 3.2vw, 42px);
  margin: 0 0 18px;
  line-height: 1.1;
}

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

.poster-card {
  margin: 0;
  border: 2px dashed #210a72;
  border-radius: 10px;
  background: #ffe2d2;
  min-height: 260px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.poster-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  background: #f4c8ad;
  display: block;
}

.poster-card figcaption {
  padding: 10px 12px;
  text-align: center;
  color: #210a72;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid rgba(33, 10, 114, 0.2);
}

.video-card {
  border: 2px dashed #210a72;
  border-radius: 10px;
  padding: 12px;
  background: #ffe2d2;
}

.video-card video {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #f4c8ad;
}

.video-card p {
  margin: 10px 0 0;
  text-align: center;
  color: #210a72;
  font-size: 15px;
}

.team-page + .footer-basic {
  top: 0 !important;
}

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

  .team-page {
    width: min(1180px, calc(100% - 28px));
    margin: 24px auto 42px;
    gap: 24px;
  }

  .team-section,
  .story-section {
    padding: 14px;
  }
}
