/* Inner page styles */
.page-hero {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-primary-dark) 100%
  );
  padding: 3rem 0 2.5rem;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero--photo {
  min-height: min(52vh, 420px);
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: page-hero-kenburns 18s ease-out forwards;
}

@keyframes page-hero-kenburns {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1);
  }
}

.page-hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 28, 46, 0.9) 0%,
    rgba(15, 28, 46, 0.62) 50%,
    rgba(15, 28, 46, 0.35) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 2.75rem;
  max-width: 720px;
}

.page-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.page-hero--photo .page-hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  max-width: 14ch;
}

.page-hero__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  max-width: 640px;
  line-height: 1.6;
}

.page-content--flush {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: var(--color-text);
}

.page-content--flush > section {
  margin-bottom: 3.5rem;
}

.page-content--flush > section:last-child {
  margin-bottom: 0;
}

/* About page */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-intro__copy p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-intro__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border-radius: 0;
}

.about-vm {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-vm__panel {
  padding: 2rem 1.75rem 2.15rem;
  background: #fff;
  margin: 0;
  border-right: 1px solid var(--color-border);
}

.about-vm__panel:last-child {
  border-right: none;
}

.about-vm__panel--mission {
  background: var(--color-navy);
}

.about-vm__label {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.about-vm__panel--mission .about-vm__label {
  color: var(--color-accent);
}

.page-content--flush .about-vm__panel h2,
.about-vm__panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.page-content--flush .about-vm__panel--mission h2,
.about-vm__panel--mission h2 {
  color: #fff;
}

.about-vm__panel p:not(.about-vm__label) {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-vm__panel--mission p:not(.about-vm__label) {
  color: rgba(255, 255, 255, 0.78);
}

.about-vm__values {
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

.about-vm__values .about-vm__label {
  display: block;
  margin-bottom: 0.85rem;
}

.about-vm__values ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-vm__values li {
  margin: 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface-2);
  border-left: 3px solid var(--color-primary);
}

.about-vc {
  padding-top: 0.5rem;
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.about-vc__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin: -0.35rem 0 1.15rem;
}

.about-vc__message p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.about-vc__message p:last-child {
  margin-bottom: 0;
}

.about-officials .section__title {
  margin-bottom: 0.5rem;
}

.about-officials__label {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-people--dense {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-person {
  margin: 0;
}

.about-person img,
.about-person__ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-md);
  margin: 0 0 0.85rem;
  display: block;
  background: var(--color-surface-2);
}

.about-person__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  background: linear-gradient(145deg, var(--color-surface-2), #e8e4df);
}

.about-person h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.about-person p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.about-address {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.75rem;
  align-items: center;
}

.about-address__copy p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.about-address__map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 280px;
  background: var(--color-surface-2);
}

.about-address__map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* Academics hub */
.academics-intro p {
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 42rem;
}

.academics-faculties .faculties-grid {
  margin-top: 0.25rem;
}

.academics-linklist {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1.15rem;
}

.academics-link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  transition: background 0.2s var(--ease-out);
}

.academics-link:last-child {
  border-bottom: none;
}

.academics-link:hover,
.academics-link:focus-visible {
  background: var(--color-surface-2);
}

.academics-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.academics-link strong {
  font-size: 0.975rem;
  color: var(--color-text);
}

.academics-link span {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Research hub */
.research-themes {
  margin-top: 2.5rem;
}

.research-themes__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.research-themes__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.research-themes__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.research-related {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.research-related a {
  color: var(--color-primary);
  font-weight: 600;
}

@media (max-width: 640px) {
  .research-themes__list {
    grid-template-columns: 1fr;
  }
}

/* Admissions hub */
.admissions-steps {
  margin-top: 2.5rem;
}

.admissions-steps__list {
  margin: 1.15rem 0 0;
  padding-left: 1.35rem;
  color: var(--color-text-muted);
}

.admissions-steps__list li {
  margin-bottom: 0.85rem;
  line-height: 1.65;
  font-size: 0.9375rem;
}

.admissions-steps__list li strong {
  color: var(--color-text);
}

.admissions-note {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.admissions-note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* Academic calendar */
.cal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.cal-meta__note {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cal-circular {
  margin-bottom: 1.75rem;
}

.cal-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.cal-highlight {
  padding: 1.1rem 1rem;
  background: var(--color-navy);
  border-radius: var(--radius-md);
  color: #fff;
}

.cal-highlight__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.cal-highlight strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.25;
}

.cal-table-wrap .section__title {
  margin-bottom: 1rem;
}

.cal-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
}

.cal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.cal-table th,
.cal-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.cal-table th {
  background: var(--color-navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
}

.cal-table th:nth-child(1),
.cal-table td:nth-child(1) {
  width: 32%;
}

.cal-table th:nth-child(3),
.cal-table td:nth-child(3) {
  width: 16%;
  white-space: nowrap;
}

.cal-table tbody tr:nth-child(even) {
  background: var(--color-surface-2);
}

.cal-table tbody tr:hover {
  background: rgba(122, 31, 53, 0.05);
}

.cal-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
}

.cal-table td:nth-child(2) {
  color: var(--color-text-muted);
}

.cal-table td:nth-child(3) {
  color: var(--color-primary);
  font-weight: 600;
}

.cal-table__accent td {
  background: rgba(122, 31, 53, 0.08);
  color: var(--color-text);
  font-weight: 600;
}

.cal-table__accent td:nth-child(2),
.cal-table__accent td:nth-child(3) {
  color: var(--color-primary);
}

.cal-signoff {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.cal-signoff p {
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.cal-signoff__note {
  font-size: 0.8125rem !important;
}

/* Faculties hub */
.faculties-hub-intro p {
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 40rem;
}

.faculties-hub-grid {
  margin-top: 0.25rem;
}

.faculties-hub-grid .faculties-grid {
  margin-top: 1.25rem;
}

.page-content--flush .faculty-tile,
.page-content--flush .faculty-tile:hover,
.page-content--flush .academics-link {
  text-decoration: none;
  color: inherit;
}

.page-content--flush .faculty-tile__title,
.page-content a.faculty-tile .faculty-tile__title {
  color: #fff;
  text-decoration: none;
}

.page-content--flush .faculty-tile__desc,
.page-content a.faculty-tile .faculty-tile__desc {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.page-content--flush .faculty-tile__go,
.page-content a.faculty-tile .faculty-tile__go {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs a:hover {
  color: var(--color-accent);
}

.breadcrumbs span {
  opacity: 0.5;
}

.page-body {
  padding: 3rem 0 4rem;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
}

.page-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  min-width: 0;
  overflow-x: clip;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.3;
}

.page-content h2 {
  font-size: 1.5rem;
}
.page-content h3 {
  font-size: 1.2rem;
}
.page-content p {
  margin-bottom: 1rem;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1rem 1.25rem;
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content img {
  border-radius: var(--radius-md);
  margin: 1rem 0;
}

.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content .wp-block-button__link,
.page-content .btn {
  display: inline-flex;
  text-decoration: none;
  margin: 0.5rem 0.5rem 0.5rem 0;
}

.page-content .btn--primary,
.page-content .btn--primary:hover,
.page-content .btn--primary:focus-visible {
  color: var(--color-white);
}

.page-content .btn--accent,
.page-content .btn--accent:hover {
  color: var(--color-navy);
}

.page-content .document-card__download {
  color: #fff;
  text-decoration: none;
}

.page-content .document-card__download:hover {
  color: #fff;
}

.page-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  min-width: 0;
  width: 280px;
  max-width: 100%;
}

.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-card h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
}

.sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-card li {
  margin-bottom: 0.25rem;
}

.sidebar-card a {
  display: block;
  padding: 0.45rem 0.625rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    color var(--transition);
}

.sidebar-card a:hover,
.sidebar-card a.active {
  background: rgba(122, 31, 53, 0.08);
  color: var(--color-primary);
}

/* Cards grid for hub pages */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.info-card {
  display: block;
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-card h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.info-card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

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

.info-card--media {
  padding: 0;
  overflow: hidden;
}

.info-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: var(--color-surface-2);
}

.info-card__body {
  display: block;
  padding: 1.25rem 1.35rem 1.4rem;
}

.info-card--media h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.info-card--media:hover .info-card__media {
  filter: brightness(1.03);
}

/* Student representatives */
.student-reps-page {
  background:
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(122, 31, 53, 0.05), transparent 55%),
    var(--color-bg);
}

.student-reps-intro {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
}

.student-org-group {
  margin-bottom: 2.75rem;
}

.student-org-group h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

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

.student-org {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  scroll-margin-top: 6rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.student-org:hover {
  border-color: rgba(122, 31, 53, 0.28);
  box-shadow: var(--shadow-sm);
}

.student-org__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--color-surface);
  background-size: cover;
  background-position: center;
  transition: transform var(--transition);
}

.student-org:hover .student-org__media {
  transform: scale(1.02);
}

.student-org__content {
  padding: 1.25rem 1.35rem 1.35rem;
}

.student-org__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.student-org__abbr {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.student-org__content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
  color: var(--color-text);
  line-height: 1.3;
}

.student-org__role {
  margin: 0 0 0.55rem !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary) !important;
}

.student-org__content > p:last-child {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.student-reps-note {
  margin-top: 1rem;
  padding: 1.75rem 2rem;
  background: var(--color-surface);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.student-reps-note h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.student-reps-note p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.student-reps-note .btn {
  margin-top: 0.25rem;
}

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

/* Contact page */
.contact-lead {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem 1.5rem 0;
  margin-right: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

.contact-channel:not(.contact-channel--static):hover .contact-channel__value {
  color: var(--color-primary);
}

.page-content .contact-channel,
.page-content a.contact-channel {
  color: inherit;
  text-decoration: none;
}

.contact-channel__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.contact-channel__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  transition: color var(--transition);
}

.contact-compose {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(122, 31, 53, 0.04) 0%, transparent 40%),
    linear-gradient(90deg, transparent, rgba(15, 28, 46, 0.03));
}

.contact-compose__intro .section__title {
  margin-bottom: 0.75rem;
}

.contact-compose__intro p:last-child {
  color: var(--color-text-muted);
  max-width: 28rem;
  line-height: 1.65;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(122, 31, 53, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-status--error {
  color: #b42318;
}

.form-status--success {
  color: #027a48;
}

.contact-map__frame {
  margin-top: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 380px;
}

.contact-map__more {
  margin-top: 1rem;
}

.page-content .contact-map__more a {
  font-weight: 600;
  text-decoration: none;
}

.page-content .contact-map__more a:hover {
  text-decoration: underline;
}

/* Legacy contact layout helpers */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info-block {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-block h3 {
  font-family: var(--font-display);
  margin-bottom: 1.25rem;
}

.contact-info-block p {
  margin-bottom: 1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.contact-info-block__link,
.page-content .contact-info-block__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-width: 0;
    max-width: 100%;
  }

  .page-body .container {
    max-width: 100%;
    overflow-x: clip;
  }

  .page-content {
    min-width: 0;
    max-width: 100%;
  }

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

  .about-intro__media {
    min-height: 260px;
  }

  .about-people--dense {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cal-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-sidebar {
    position: static;
    order: -1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .sidebar-card {
    max-width: 100%;
    overflow: hidden;
  }

  .sidebar-card ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .sidebar-card ul::-webkit-scrollbar {
    display: none;
  }

  .sidebar-card li {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .sidebar-card a {
    display: inline-block;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-surface-2);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .sidebar-card a:hover {
    background: rgba(122, 31, 53, 0.08);
    color: var(--color-primary);
  }

  .sidebar-card a.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .cards-grid--media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journals-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    grid-template-columns: 1fr;
  }

  .contact-channel {
    margin-right: 0;
    padding-right: 0;
  }

  .contact-compose {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 2rem 0 1.75rem;
  }

  .page-hero--photo {
    min-height: 360px;
    padding: 0;
  }

  .page-hero__content {
    padding: 2.5rem 0 2rem;
  }

  .page-hero--photo .page-hero__title {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .page-hero__title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    hyphens: auto;
  }

  .page-hero__desc {
    font-size: 0.9375rem;
  }

  .breadcrumbs {
    font-size: 0.75rem;
    gap: 0.375rem;
    overflow-wrap: anywhere;
  }

  .page-body {
    padding: 2rem 0 3rem;
  }

  .page-sidebar .sidebar-card {
    border-radius: var(--radius-md);
  }

  .page-content {
    padding: 1.25rem;
  }

  .page-content--flush {
    padding: 0;
  }

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

  .about-vm__panel {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .about-vm__panel:last-child {
    border-bottom: none;
  }

  .about-people,
  .about-people--dense {
    grid-template-columns: 1fr 1fr;
  }

  .about-vc.vc-welcome,
  .about-vc {
    grid-template-columns: 1fr;
  }

  .about-vc .vc-welcome__portrait {
    max-width: 240px;
  }

  .cal-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .cal-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .documents-intro {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-map__frame iframe {
    min-height: 280px;
  }

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

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

  .journals-grid {
    grid-template-columns: 1fr;
  }

  .tetfund-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.25rem;
    padding: 0 0.25rem;
  }

  .tetfund-table {
    min-width: 520px;
  }

  .sports-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .sports-lightbox {
    padding: 1rem 0.75rem;
  }

  .sports-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .sports-lightbox__nav--prev {
    left: 0.35rem;
  }

  .sports-lightbox__nav--next {
    right: 0.35rem;
  }

  .alumni-portal-cta {
    padding: 1.25rem;
  }

  .page-content .wp-block-table,
  .page-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* SLUK Journals */
.journals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.journal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-2);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.journal-card:hover {
  border-color: rgba(122, 31, 53, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.journal-card__logo {
  width: 100%;
  max-width: 200px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.journal-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.journal-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.journal-card__abbr {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.journal-card__cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.journal-card:hover .journal-card__cta {
  color: var(--color-primary-dark);
}

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

/* TETFund interventions */
.tetfund-page {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.tetfund-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

.tetfund-tabs {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tetfund-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    var(--color-navy-soft) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tetfund-tabs__btn {
  flex: 1 1 auto;
  min-width: 4.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.tetfund-tabs__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tetfund-tabs__btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary-light);
  color: #fff;
  box-shadow: 0 4px 12px rgba(122, 31, 53, 0.4);
}

.tetfund-tabs__panels {
  padding: 1.5rem;
}

.tetfund-tabs__panel {
  display: none;
  animation: tetfundFadeIn 0.25s var(--ease-out);
}

.tetfund-tabs__panel.active {
  display: block;
}

@keyframes tetfundFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tetfund-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.tetfund-panel-meta__count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.tetfund-panel-meta__total {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-accent-soft);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
}

.tetfund-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.tetfund-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 640px;
}

.tetfund-table thead {
  background: var(--color-surface-2);
}

.tetfund-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.tetfund-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  line-height: 1.5;
}

.tetfund-table tbody tr:last-child td {
  border-bottom: none;
}

.tetfund-table tbody tr:nth-child(even) {
  background: rgba(243, 244, 246, 0.5);
}

.tetfund-table tbody tr:hover {
  background: rgba(122, 31, 53, 0.04);
}

.tetfund-table td:first-child {
  font-weight: 600;
  color: var(--color-text-muted);
  width: 3rem;
}

.financial-page {
  display: grid;
  gap: 2rem;
  min-width: 0;
  max-width: 100%;
}

.financial-page > *,
.financial-block,
.financial-block > * {
  min-width: 0;
  max-width: 100%;
}

.financial-page .financial-block:first-of-type h2,
.financial-page > .cal-highlights + .financial-block h2 {
  margin-top: 0;
}

.financial-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0;
}

.page-content .cal-highlights {
  margin-bottom: 0;
  max-width: 100%;
}

.location-page .location-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.location-page__map {
  margin: 1.75rem 0 2rem;
}

.location-page h2 {
  margin-top: 0;
}

.financial-block {
  padding-top: 0.25rem;
}

.financial-block__header {
  margin-bottom: 1rem;
}

.financial-block__header h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.financial-block__header p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.financial-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.06);
  max-width: 100%;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.financial-table {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  font-size: 0.8125rem;
}

.financial-table__col-label {
  width: 28%;
}

.financial-table__col-year {
  width: 11%;
}

.financial-table__col-total {
  width: 13%;
}

.financial-table thead {
  background: var(--color-navy);
}

.financial-table th {
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  padding: 0.7rem 0.55rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.financial-table td {
  padding: 0.7rem 0.55rem;
  vertical-align: middle;
}

.financial-table td:first-child,
.financial-table th:first-child {
  width: auto;
  min-width: 0;
  white-space: normal;
  text-align: left;
  padding-left: 0.85rem;
}

.financial-table tbody th {
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.financial-table th:not(:first-child),
.financial-table td:not(:first-child) {
  text-align: right;
}

.financial-table .tetfund-table__amount {
  font-size: 0.8125rem;
  cursor: help;
}

.financial-table tbody tr:nth-child(even) td,
.financial-table tbody tr:nth-child(even) th {
  background: rgba(243, 244, 246, 0.65);
}

.financial-table tbody tr:last-child td {
  border-bottom: none;
}

.financial-table__total-row th,
.financial-table__total-row td {
  background: rgba(122, 31, 53, 0.08);
  font-weight: 700;
  color: var(--color-navy);
  border-top: 2px solid rgba(122, 31, 53, 0.15);
}

.financial-table thead th:last-child,
.financial-table tbody td:last-child {
  background-color: rgba(122, 31, 53, 0.06);
}

.financial-table thead th:last-child {
  background: linear-gradient(135deg, var(--color-navy) 0%, rgba(122, 31, 53, 0.85) 100%);
}

.financial-table__total-row td:last-child {
  background: rgba(122, 31, 53, 0.12);
}

.financial-source {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.financial-definitions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.financial-definition {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.financial-definition h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--color-navy);
}

.financial-definition p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.financial-years {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.financial-year {
  display: grid;
  grid-template-columns: 3.5rem 1fr 5.5rem;
  align-items: center;
  gap: 0.85rem;
}

.financial-year__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.financial-year__track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(15, 28, 46, 0.08);
  overflow: hidden;
}

.financial-year__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--color-primary), var(--color-navy));
}

.financial-year__value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.financial-trend-note {
  margin: 0;
  font-size: 0.9375rem;
}

.financial-footer-note {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.financial-footer-note p {
  margin: 0;
}

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

@media (max-width: 560px) {
  .financial-year {
    grid-template-columns: 3rem 1fr 4.75rem;
    gap: 0.65rem;
  }
}

.tetfund-table__amount {
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .tetfund-tabs__nav {
    padding: 0.875rem;
  }

  .tetfund-tabs__btn {
    flex: 1 1 calc(33.333% - 0.5rem);
    min-width: 0;
    padding: 0.5rem 0.625rem;
    font-size: 0.875rem;
  }

  .tetfund-tabs__panels {
    padding: 1rem;
  }

  .tetfund-panel-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Document downloads */
.documents-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

.documents-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.document-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.document-card:hover {
  border-color: rgba(122, 31, 53, 0.25);
  box-shadow: var(--shadow-md);
}

.document-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  background: rgba(122, 31, 53, 0.08);
  color: var(--color-primary);
  flex-shrink: 0;
}

.document-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.document-card__badge {
  position: absolute;
  bottom: -0.375rem;
  right: -0.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.document-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.document-card__meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.document-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s var(--ease-out);
}

.document-card__download:hover {
  background: var(--color-primary-dark);
}

.document-card__download:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .document-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.875rem;
    padding: 1rem;
  }

  .document-card__visual {
    width: 3rem;
    height: 3rem;
  }

  .document-card__body h3 {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .document-card__download {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 1rem;
  }
}

/* 404 error page */
.error-page {
  position: relative;
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(122, 31, 53, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(15, 28, 46, 0.08), transparent 50%),
    var(--color-bg);
}

.error-page__inner {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.error-page__code {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  opacity: 0.9;
}

.error-page__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  line-height: 1.15;
}

.error-page__lede {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.error-page__links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.error-page__links a:hover,
.error-page__links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Alumni Relations */
.alumni-portal-cta {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(122, 31, 53, 0.08) 0%, rgba(232, 160, 32, 0.12) 100%);
  border: 1px solid rgba(122, 31, 53, 0.15);
}

.alumni-portal-cta h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  color: var(--color-navy);
}

.alumni-portal-cta p:last-child {
  margin-bottom: 0;
}

/* Sports Centre gallery & video */
.sports-intro {
  max-width: 640px;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.sports-video,
.sports-gallery-wrap {
  margin-bottom: 3rem;
}

.sports-video h2,
.sports-gallery-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.sports-video__frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.sports-video__frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
}

.sports-video__caption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.sports-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.sports-gallery__item {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sports-gallery__item:hover,
.sports-gallery__item:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sports-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sports-gallery__caption {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.sports-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 25, 0.92);
  padding: 2rem;
}

.sports-lightbox[hidden] {
  display: none !important;
}

.sports-lightbox__figure {
  max-width: min(960px, 92vw);
  margin: 0;
}

.sports-lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.sports-lightbox__figure figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
}

.sports-lightbox__close,
.sports-lightbox__nav {
  position: absolute;
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.sports-lightbox__close:hover,
.sports-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.sports-lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.sports-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
}

.sports-lightbox__nav--prev { left: 1.25rem; }
.sports-lightbox__nav--next { right: 1.25rem; }

.facility-venues,
.facility-booking {
  margin-top: 2.5rem;
}

.facility-venues h2,
.facility-booking h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 1.25rem;
  color: var(--color-navy);
}

.facility-uses {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.facility-booking ul {
  margin-top: 1rem;
  padding-left: 1.25rem;
}

.facility-booking li + li {
  margin-top: 0.35rem;
}
