.student-council-page {
  padding: 3.5rem 1rem;
  background:
    radial-gradient(ellipse at top, rgba(47, 105, 163, 0.13), transparent 58%),
    #f3f6fa;
}

.student-council-panel {
  max-width: 1080px;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(24, 57, 91, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 1.25rem 3.5rem rgba(20, 45, 72, 0.12);
}

.student-council-heading {
  margin-bottom: 2.5rem;
  text-align: center;
}

.student-council-eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: #b17c26;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.student-council-heading h1 {
  margin-bottom: 0.6rem;
  color: #18395b;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}

.student-council-heading p {
  margin: 0;
  color: #667789;
  font-size: 1.05rem;
}

.student-council-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.student-council-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
  background: linear-gradient(155deg, #fff 20%, #f5f8fc 100%);
  border: 1px solid #e3eaf1;
  border-radius: 1.1rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.student-council-card:hover {
  transform: translateY(-5px);
  border-color: #b9cde0;
  box-shadow: 0 1rem 2rem rgba(24, 57, 91, 0.12);
}

.student-council-initials {
  display: grid;
  width: 76px;
  height: 76px;
  margin-bottom: 1.25rem;
  place-items: center;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(145deg, #2e6595, #18395b);
  border: 4px solid #e9f0f7;
  border-radius: 50%;
}

.student-council-role {
  margin-bottom: 0.55rem;
  color: #b17c26;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-council-card h2 {
  margin: 0;
  color: #23384d;
  font-family: "Merriweather", serif;
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .student-council-page {
    padding: 2rem 0.75rem;
  }

  .student-council-grid {
    grid-template-columns: 1fr;
  }

  .student-council-card {
    min-height: 215px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-council-card {
    transition: none;
  }

  .student-council-card:hover {
    transform: none;
  }
}
