/* Shared Inner Pages */
.page-banner {
  /* height: min(60vh, 420px); */
  /* padding-top: var(--header-height); */
  /* background:
    linear-gradient(180deg, rgba(7, 18, 35, 0.14) 0%, rgba(7, 18, 35, 0.48) 100%),
    url("../../images/banner1.jpg") center/cover no-repeat; */
}

.page-banner--short {
  height: min(46vh, 320px);
}

.page-banner--article {
  /* margin-top: var(--header-height); */
  /* height: min(72vh, 560px); */
  height: 100vh;
  min-height: 24rem;
  background: #0b1e35;
  overflow: hidden;
}

.page-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-banner__inner {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.page-banner__title {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 800;
  margin: 0;
}

.page-banner__desc {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.page-crumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--theme-border-light);
}

.page-breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.7rem 0;
  font-size: 0.92rem;
}

.page-breadcrumb a {
  text-decoration: none;
}

.page-breadcrumb__sep {
  color: #93a2b1;
}

.section-block {
  padding: 4rem 0;
}

.section-block--white {
  background: #fff;
}

.section-block--muted {
  background: var(--theme-surface-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head__eyebrow {
  display: inline-flex;
  color: var(--theme-accent);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-head__title {
  margin: 0.25rem 0 0;
  color: var(--theme-heading);
  font-weight: 800;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.section-head__desc {
  max-width: 46rem;
  color: var(--theme-muted);
  margin: 0.75rem 0 0;
}

.section-head__more {
  text-decoration: none;
  font-weight: 700;
}

.content-card,
.feature-card,
.info-card,
.news-card,
.article-card,
.college-card,
.major-card,
.quick-card,
.contact-card,
.table-card,
.intro-card {
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(16, 35, 56, 0.05);
}

.content-card {
  padding: 1.5rem;
}

.feature-card {
  height: 100%;
  padding: 1.5rem;
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  font-size: 1.3rem;
}

.feature-card h3,
.info-card h3,
.news-card__title,
.article-card__title,
.contact-card h3,
.intro-card h3 {
  color: var(--theme-heading);
  font-weight: 800;
}

.feature-card p,
.info-card p,
.intro-card p,
.contact-card p,
.content-card p {
  color: var(--theme-muted);
  line-height: 1.8;
}

.simple-list,
.article-list,
.timeline-list,
.tag-list,
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li + li,
.simple-list li + li,
.timeline-list li + li {
  border-top: 1px solid var(--theme-border-light);
}

.article-list a,
.simple-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}

.article-list a:hover .article-list__title,
.simple-list a:hover .simple-list__title {
  color: var(--theme-primary);
}

.article-list__title,
.simple-list__title {
  color: var(--theme-heading);
  font-weight: 600;
}

.article-list time,
.simple-list time {
  flex-shrink: 0;
  color: #8a9aab;
  font-size: 0.9rem;
}

.news-card {
  overflow: hidden;
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  display: block;
}

.news-card__body {
  padding: 1.3rem;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.75rem;
  color: #8a9aab;
  font-size: 0.92rem;
}

.news-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.news-card__summary {
  margin: 0;
  color: var(--theme-muted);
}

.metric-band {
  background: linear-gradient(135deg, var(--theme-primary) 0%, #0b2443 100%);
  color: #fff;
}

.metric-band .section-head__title,
.metric-band .section-head__desc {
  color: #fff;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
  overflow: hidden;
}

.metric-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.6rem;
  text-align: center;
}

.metric-item__num {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1;
}

.metric-item__label {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  display: block;
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
  color: #fff;
}

.quick-card {
  height: 100%;
  padding: 1.2rem;
}

.quick-card__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--theme-heading);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 35, 56, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

.gallery-card__caption {
  padding: 0.9rem 1rem;
  color: var(--theme-heading);
  font-weight: 700;
}

.page-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.page-layout > * {
  min-width: 0;
}

.page-sidenav {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 1.25rem;
  box-shadow: 0 10px 28px rgba(16, 35, 56, 0.05);
}

.page-sidenav__head {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--theme-heading);
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  border-bottom: 2px solid rgba(var(--theme-primary-rgb), 0.12);
}

.page-sidenav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-sidenav__list li + li {
  margin-top: 0.35rem;
}

.page-sidenav__link {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 0.9rem;
  color: var(--theme-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-sidenav__link:hover,
.page-sidenav__link.is-active {
  color: #fff;
  background: var(--theme-primary);
}

.page-content-card {
  padding: 1.8rem;
  min-width: 0;
}

.page-pane {
  display: none;
}

.page-pane.is-active {
  display: block;
}

.page-pane__title {
  margin: 0 0 1rem;
  color: var(--theme-heading);
  font-size: 1.9rem;
  font-weight: 800;
}

.page-pane__lead {
  color: var(--theme-muted);
  line-height: 1.9;
  margin-bottom: 1.3rem;
}

.jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.jump-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.jump-bar a:hover {
  border-color: rgba(var(--theme-primary-rgb), 0.4);
}

.content-section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.content-section + .content-section {
  margin-top: 1.5rem;
}

.college-hub-grid,
.major-grid,
.card-grid-3,
.card-grid-4 {
  display: grid;
  gap: 1rem;
}

.college-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.major-grid,
.card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.college-card,
.major-card {
  overflow: hidden;
  height: 100%;
}

.college-card__body,
.major-card__body {
  padding: 1.35rem;
}

.college-card__title,
.major-card__title {
  margin: 0 0 0.75rem;
  color: var(--theme-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.college-card__desc,
.major-card__desc {
  margin: 0;
  color: var(--theme-muted);
  line-height: 1.8;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(var(--theme-primary-rgb), 0.08);
  color: var(--theme-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-page {
  max-width: 64rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 1.4rem;
  padding: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  box-shadow: 0 16px 40px rgba(16, 35, 56, 0.08);
}

.article-page__head {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--theme-border-light);
}

.article-page__title {
  margin: 0;
  color: var(--theme-heading);
  font-size: clamp(1.95rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.28;
}

.article-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
  color: #7d8d9e;
  font-size: 0.96rem;
}

.article-page__meta time {
  color: var(--theme-primary);
  font-weight: 700;
}

.article-page__summary {
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--theme-primary);
  background: rgba(var(--theme-primary-rgb), 0.06);
  color: var(--theme-muted);
  line-height: 1.85;
}

.article-page__summary strong {
  color: var(--theme-heading);
}

.article-page__body {
  margin-top: 2rem;
  color: var(--theme-text);
  line-height: 1.95;
}

.article-page__body h2,
.article-page__body h3 {
  color: var(--theme-heading);
  font-weight: 800;
  margin-top: 2rem;
}

.article-page__body blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--theme-primary);
  background: var(--theme-surface-soft);
  color: var(--theme-muted);
}

.article-page__figure {
  margin: 1.8rem 0;
}

.article-page__figure img {
  width: 100%;
  border-radius: 1rem;
}

.article-page__figcaption {
  margin-top: 0.65rem;
  color: #7d8d9e;
  font-size: 0.92rem;
  text-align: center;
}

.article-page__footer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--theme-border-light);
}

.article-page__back {
  display: flex;
  justify-content: flex-end;
}

.article-page__pager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.article-page__pager-item {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--theme-border-light);
  border-radius: 1rem;
  background: #fff;
  min-width: 0;
  box-shadow: 0 8px 20px rgba(16, 35, 56, 0.04);
}

.article-page__pager-label {
  color: var(--theme-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-page__pager-link {
  color: var(--theme-heading);
  font-weight: 700;
  text-decoration: none;
}

.article-page__pager-link:hover {
  color: var(--theme-primary);
}

.article-page__pager-empty {
  color: var(--theme-muted);
}

.list-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.list-page__meta {
  color: var(--theme-muted);
}

.list-card {
  overflow: hidden;
}

.list-card img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  display: block;
}

.list-card__body {
  padding: 1.2rem;
}

.list-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--theme-heading);
}

.list-card__summary {
  margin: 0;
  color: var(--theme-muted);
}

.simple-table {
  overflow: hidden;
}

.simple-table table {
  margin-bottom: 0;
}

.simple-table td,
.simple-table th {
  padding: 1rem 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  padding: 1.4rem;
  height: 100%;
}

.contact-card__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(var(--theme-primary-rgb), 0.1);
  color: var(--theme-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.mailbox-form {
  background: #fff;
  border: 1px solid var(--theme-border-light);
  border-radius: 1.3rem;
  padding: 1.6rem;
  box-shadow: 0 10px 28px rgba(16, 35, 56, 0.05);
}

.mailbox-form .form-control,
.mailbox-form .form-select {
  border-radius: 0.9rem;
}

@media (max-width: 1199.98px) {
  .college-hub-grid,
  .card-grid-4,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .page-banner--article {
    height: 62vh;
    min-height: 24rem;
  }

  .metric-grid,
  .gallery-grid,
  .major-grid,
  .card-grid-3,
  .page-layout {
    grid-template-columns: 1fr;
  }

  .page-sidenav {
    position: static;
    padding: 0 0 0.9rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
  }

  .page-sidenav__head {
    width: min(18rem, 100%);
    margin: 0 auto 0.75rem;
    padding: 0.15rem 0 0.75rem;
    border-bottom: 2px solid var(--theme-primary);
  }

  .page-sidenav__list {
    width: 100%;
    margin: 0 auto;
  }

  .page-sidenav__list li + li {
    margin-top: 0;
  }

  .page-sidenav__link {
    width: min(18rem, 100%);
    margin: 0 auto;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
    background: transparent;
    text-align: center;
  }

  .page-sidenav__link:hover,
  .page-sidenav__link.is-active {
    color: var(--theme-primary);
    background: transparent;
    font-weight: 700;
    border-bottom: 3px solid var(--theme-primary);
  }
}

@media (max-width: 767.98px) {
  .page-banner--article {
    min-height: 22rem;
  }

  .metric-grid,
  .college-hub-grid,
  .card-grid-4,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .article-page,
  .page-content-card,
  .mailbox-form,
  .content-card {
    padding: 1.25rem;
  }

  .article-page__back {
    justify-content: flex-start;
  }

  .article-page__pager {
    grid-template-columns: 1fr;
  }

  .page-layout {
    gap: 1rem;
  }

  .page-sidenav__head {
    font-size: 1.12rem;
  }

  .page-sidenav__link {
    font-size: 0.98rem;
  }
}
