/* Inner pages — match homepage section layout (desktop + mobile) */

body:not([data-page="home"]) .section-head-split,
body:not([data-page="home"]) .home-events__head,
body:not([data-page="home"]) .home-facilities__head,
body:not([data-page="home"]) .home-news__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 2rem;
}

body:not([data-page="home"]) .section-head-split .section-desc,
body:not([data-page="home"]) .home-events__head .section-desc,
body:not([data-page="home"]) .home-facilities__head .section-desc {
  max-width: 38rem;
  color: var(--text-muted);
}

body:not([data-page="home"]) .page-hero {
  position: relative;
  overflow: hidden;
}

body:not([data-page="home"]) .page-hero-bg {
  object-fit: cover;
}

/* Media filters — same pill row as homepage / events featured */
.media-filter-head {
  margin-bottom: 1.15rem;
}

.media-filter-pills-shell .media-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.media-filter-pills-shell .media-filter-pills button {
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--brand-primary);
}

.media-filter-pills-shell .media-filter-pills button.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* Inner news grid uses homepage card chrome when .home-news is present */
body:not([data-page="home"]) .home-news .media-news-card,
body:not([data-page="home"]) .home-news .home-news-card {
  width: 100%;
}

.featured-events-head .home-events__head,
.featured-events-head .featured-events-head__title {
  margin-bottom: 0;
  flex: 1 1 280px;
}
