@import url('gallery-grid.css');

/* Shared styles for student welfare pages (PTA extensions) */

.pta-page .animate-on-scroll,
.antiragging-page .animate-on-scroll,
.student-council-page .animate-on-scroll,
.ieee-page .animate-on-scroll,
.afsti-page .animate-on-scroll,
.nss-page .animate-on-scroll {
  opacity: 1;
  transform: none;
}

.student-page-section {
  padding: 5.5rem 0;
  background: var(--white);
}

.student-page-intro {
  margin-bottom: 2.5rem;
}

.student-council-page .student-page-intro,
.student-council-page .student-page-card,
.student-council-page .student-page-note {
  margin-left: 0;
  margin-right: 0;
}

.student-council-page .student-page-intro {
  margin-bottom: 2.5rem;
}

.student-council-page .student-page-note {
  margin-top: 2rem;
}

.ieee-page .student-page-intro,
.ieee-page .student-page-card,
.ieee-page .student-page-note,
.afsti-page .student-page-intro,
.afsti-page .student-page-card,
.afsti-page .student-page-note,
.nss-page .student-page-intro,
.nss-page .student-page-card,
.nss-page .student-page-note {
  margin-left: 0;
  margin-right: 0;
}

.ieee-page .student-page-intro,
.afsti-page .student-page-intro,
.nss-page .student-page-intro {
  margin-bottom: 2.5rem;
}

.ieee-page .student-page-note,
.afsti-page .student-page-note,
.nss-page .student-page-note {
  margin-top: 2rem;
}

.student-club-image {
  margin-top: 1.25rem;
}

.student-club-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

.student-club-image--medium {
  max-width: 420px;
}

.student-page-intro p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 1.1rem;
}

.student-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.student-page-card {
  padding: 1.75rem 1.85rem;
  background: var(--off-white);
  border-radius: var(--ab-radius-lg, 24px);
  border-left: 4px solid var(--gold);
}

.student-page-card h3 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.student-page-card ul,
.student-page-card ol {
  margin: 0;
  padding-left: 1.15rem;
}

.student-page-card li {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 0.55rem;
}

.student-page-card li:last-child {
  margin-bottom: 0;
}

.student-page-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.student-page-card strong {
  color: var(--navy);
}

.student-resource-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.student-resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.student-resource-link:hover {
  border-color: rgba(255, 184, 0, 0.45);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
}

.student-resource-link span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.student-resource-link i {
  color: var(--gold-dark);
}

.student-council-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.student-council-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.student-council-table th,
.student-council-table td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--gray-200);
  text-align: left;
  font-size: 0.9rem;
}

.student-council-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.student-council-table tbody tr:nth-child(even) td {
  background: var(--off-white);
}

.student-page-note {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.04) 0%, rgba(255, 184, 0, 0.08) 100%);
  border-radius: var(--ab-radius-lg, 24px);
  border: 1px solid var(--gray-200);
}

.student-page-note p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

.student-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.student-page-link:hover {
  color: var(--gold-dark);
}

@media (max-width: 768px) {
  .student-page-grid {
    grid-template-columns: 1fr;
  }

  .student-resource-link {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Campus Life page gallery */
.campus-life-gallery {
  padding: 4.5rem 0 5.5rem;
  background: var(--off-white);
}

.campus-life-gallery-header {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.campus-life-gallery-header p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0.75rem 0 0;
}
