@font-face {
  font-family: "Swis721 Cn BT";
  src: url("../fonts/swis721-cn-bt-regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Swis721 Cn BT";
  src: url("../fonts/swis721-cn-bt-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Swis721 Cn BT";
  src: url("../fonts/swis721-cn-bt-regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Swis721 Cn BT";
  src: url("../fonts/swis721-cn-bt-bold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Swis721 Cn BT";
  src: url("../fonts/swis721-cn-bt-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-primary: "Swis721 Cn BT", sans-serif;
  --font-bold: "Swis721 Cn BT", sans-serif;
  --brand-green: #00793a;
  --brand-green-dark: #00632f;
  --brand-green-soft: #eef5f0;
  --brand-green-border: #cde0d3;
  --brand-yellow: #fabc05;
  --warm-tint: #f8f4eb;
  --warm-tint-border: #ebe2ce;
  --text-dark: #1b1b1b;
  --text-body: #6c706e;
  --text-muted: #7a7d82;
  --border-light: #e7e9e4;
  --border-card: #dfe3dc;
  --bg-page: #ffffff;
  --bg-breadcrumb: #fafafa;
  --bg-placeholder: #edefea;
  --bg-placeholder-hover: #e5e8e1;
  --container-max: clamp(1280px, 83.33vw, 2880px);
  --btn-radius: clamp(10px, 0.85vw, 18px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-page);
  line-height: 1.5;
  overflow-x: clip;
  min-height: 100dvh;
}

button,
input,
select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-left: max(clamp(16px, 3vw, 64px), env(safe-area-inset-left));
  padding-right: max(clamp(16px, 3vw, 64px), env(safe-area-inset-right));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top Accent + Breadcrumb (matches index.html UI without header/footer) */
.page-top-accent {
  width: 100%;
  height: clamp(4px, 0.35vw, 8px);
  background-color: var(--brand-yellow);
}

.breadcrumb-bar {
  width: 100%;
  background-color: var(--bg-breadcrumb);
  border-bottom: 1px solid #ededed;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: clamp(44px, 3.6vw, 90px);
  padding-block: clamp(10px, 0.9vw, 22px);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(7px, 0.7vw, 18px);
  list-style: none;
  font-size: clamp(0.84rem, 0.72vw + 0.25rem, 1.45rem);
  line-height: 1.4;
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  border-radius: 3px;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--brand-green);
}

.breadcrumb-link:focus-visible {
  color: var(--brand-green);
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  color: #a3a7ad;
  user-select: none;
}

.breadcrumb-separator svg {
  width: clamp(12px, 0.9vw, 22px);
  height: clamp(12px, 0.9vw, 22px);
}

.breadcrumb-current {
  color: var(--text-dark);
  font-weight: 500;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(0.84rem, 0.65vw + 0.25rem, 1.35rem);
  font-weight: 600;
  color: var(--brand-green);
  text-decoration: none;
  border-radius: 4px;
}

.back-link:hover {
  text-decoration: underline;
}

.back-link:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

/* Main Page Shell with warm #fafaf8 surface & subtle vertical grid lines matching SharonPly theme */
.page-shell {
  position: relative;
  background-color: #fafaf8;
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0.025) 1px,
      transparent 1px);
  background-size: clamp(72px, 8vw, 220px) 100%;
  background-position: center top;
  padding-block: clamp(28px, 3.2vw, 88px) clamp(48px, 5vw, 130px);
}

/* Page Header */
.page-header {
  margin-bottom: clamp(22px, 2.2vw, 52px);
}

.page-eyebrow {
  display: block;
  font-family: var(--font-bold);
  font-size: clamp(0.75rem, 0.55vw + 0.3rem, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: clamp(6px, 0.5vw, 14px);
}

.page-title {
  font-family: var(--font-bold);
  font-size: clamp(1.9rem, 2.5vw + 0.45rem, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin-bottom: clamp(8px, 0.7vw, 18px);
}

.page-title__accent {
  color: var(--brand-green);
}

.page-subtitle {
  font-size: clamp(0.96rem, 0.72vw + 0.4rem, 1.75rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-body);
  max-width: 72ch;
}

.page-accent-bar {
  width: clamp(44px, 4vw, 84px);
  height: clamp(3px, 0.3vw, 6px);
  border-radius: 999px;
  background-color: var(--brand-yellow);
  margin-top: clamp(12px, 1vw, 22px);
}

/* Audience Tabs (Factory Visits) */
.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 0.9vw, 20px);
  margin-bottom: clamp(20px, 1.8vw, 42px);
}

.audience-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(44px, 3.2vw, 68px);
  padding: clamp(10px, 0.75vw, 18px) clamp(22px, 1.9vw, 46px);
  border-radius: var(--btn-radius);
  border: 1px solid #e0e2de;
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-bold);
  font-size: clamp(0.92rem, 0.65vw + 0.35rem, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.audience-tab:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.audience-tab.is-active {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 121, 58, 0.2);
}

.audience-tab:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

/* Filter Toolbar */
.filter-bar {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(180px, 0.75fr) minmax(0, 1.6fr);
  gap: clamp(12px, 1.2vw, 28px);
  align-items: end;
  margin-bottom: clamp(16px, 1.5vw, 34px);
}

.filter-bar--two-col {
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1.8fr);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.45vw, 10px);
}

.filter-label {
  font-family: var(--font-bold);
  font-size: clamp(0.72rem, 0.48vw + 0.3rem, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.filter-select,
.filter-input {
  width: 100%;
  min-height: clamp(44px, 3.2vw, 68px);
  padding: clamp(9px, 0.65vw, 16px) clamp(14px, 1.15vw, 26px);
  border: 1px solid #e0e2de;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--text-dark);
  font-size: clamp(0.92rem, 0.65vw + 0.35rem, 1.5rem);
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-select {
  appearance: none;
  padding-right: clamp(34px, 2.4vw, 52px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c706e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(12px, 0.9vw, 22px) center;
  background-size: clamp(14px, 1vw, 22px);
  cursor: pointer;
}

.filter-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-input-icon {
  position: absolute;
  left: clamp(14px, 1.1vw, 24px);
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.filter-input-icon svg {
  width: clamp(15px, 1vw, 24px);
  height: clamp(15px, 1vw, 24px);
}

.filter-input {
  border-radius: 9999px;
  padding-left: clamp(38px, 2.8vw, 60px);
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(0, 121, 58, 0.14);
}

/* Media / Activity Switch Bar */
.view-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(12px, 1vw, 24px);
  margin-bottom: clamp(22px, 2vw, 48px);
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 0.7vw, 16px);
}

.pill-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(40px, 2.8vw, 60px);
  padding: clamp(8px, 0.6vw, 14px) clamp(20px, 1.6vw, 38px);
  border-radius: var(--btn-radius);
  border: 1px solid #e0e2de;
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-bold);
  font-size: clamp(0.88rem, 0.6vw + 0.34rem, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pill-tab:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.pill-tab.is-active {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 121, 58, 0.2);
}

.pill-tab:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.view-status {
  font-size: clamp(0.85rem, 0.6vw + 0.3rem, 1.35rem);
  color: var(--text-muted);
}

/* Event Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 1.8vw, 44px);
}

.event-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #eceee9;
  border-radius: clamp(14px, 1.1vw, 24px);
  padding: clamp(12px, 1vw, 26px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: #c9ddd0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.media-placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: clamp(10px, 0.8vw, 18px);
  background-color: #1f2421;
  overflow: hidden;
}

.media-placeholder__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.38s ease;
}

.media-placeholder--captioned::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.16) 45%, transparent 72%);
  pointer-events: none;
}

.media-badge {
  position: absolute;
  top: clamp(10px, 0.85vw, 18px);
  right: clamp(10px, 0.85vw, 18px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-yellow);
  color: var(--text-dark);
  font-family: var(--font-bold);
  font-size: clamp(0.72rem, 0.45vw + 0.28rem, 1.15rem);
  font-weight: 700;
  line-height: 1;
  padding: clamp(5px, 0.42vw, 10px) clamp(9px, 0.72vw, 16px);
  border-radius: clamp(6px, 0.45vw, 10px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.event-card__media {
  margin-bottom: clamp(12px, 1.1vw, 26px);
}

.event-card:hover .media-placeholder__img,
.media-tile:hover .media-placeholder__img {
  transform: scale(1.03);
}

.media-placeholder__label {
  position: absolute;
  left: clamp(10px, 0.9vw, 22px);
  right: clamp(10px, 0.9vw, 22px);
  bottom: clamp(8px, 0.75vw, 18px);
  z-index: 2;
  font-size: clamp(0.75rem, 0.5vw + 0.3rem, 1.25rem);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  line-height: 1.25;
}

.event-card__eyebrow {
  font-family: var(--font-bold);
  font-size: clamp(0.72rem, 0.48vw + 0.28rem, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: clamp(4px, 0.35vw, 10px);
}

.event-card__title {
  font-family: var(--font-bold);
  font-size: clamp(1.12rem, 0.95vw + 0.35rem, 2.05rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-dark);
  margin-bottom: clamp(10px, 0.85vw, 20px);
}

.event-card__title a {
  color: inherit;
  text-decoration: none;
}

.event-card__title a:hover {
  color: var(--brand-green);
}

.event-card__title a:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 3px;
}

.event-card__meta {
  font-size: clamp(0.86rem, 0.58vw + 0.32rem, 1.38rem);
  line-height: 1.48;
  color: var(--text-body);
  margin-bottom: clamp(14px, 1.2vw, 28px);
}

.event-card__college-link {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.event-card__college-link:hover {
  color: var(--brand-green);
  text-decoration: none;
}

.event-card__college-link:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 2px;
}

.event-card__footer {
  margin-top: auto;
  padding-top: clamp(10px, 0.85vw, 20px);
  border-top: 1px solid #eef0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(0.84rem, 0.56vw + 0.32rem, 1.35rem);
}

.event-card__media-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a3a8a2;
}

.event-card__media-links a {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: none;
}

.event-card__media-links a:hover {
  text-decoration: underline;
}

.event-card__view-link {
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: clamp(0.82rem, 0.54vw + 0.3rem, 1.28rem);
  line-height: 1;
  color: #ffffff;
  background-color: var(--brand-green);
  border-radius: var(--btn-radius);
  padding: clamp(8px, 0.6vw, 14px) clamp(15px, 1.2vw, 28px);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 3px 10px rgba(0, 121, 58, 0.16);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-arrow-icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.event-card__view-link:hover,
.event-card:hover .event-card__view-link {
  background-color: var(--brand-green-dark);
  box-shadow: 0 5px 14px rgba(0, 121, 58, 0.24);
}

.event-card__view-link:hover .btn-arrow-icon,
.event-card:hover .btn-arrow-icon,
.event-hero__context-link:hover .btn-arrow-icon,
.viewer-event-link:hover .btn-arrow-icon {
  transform: translateX(3px);
}

.event-card__media-links a:focus-visible,
.event-card__view-link:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

/* Grouped Media Views (Photos & Videos tabs) */
.media-view-kicker {
  font-family: var(--font-bold);
  font-size: clamp(0.76rem, 0.52vw + 0.28rem, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: clamp(16px, 1.5vw, 34px);
}

.media-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 2.8vw, 68px);
}

.media-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: clamp(12px, 1.1vw, 24px);
}

.media-group__title {
  font-family: var(--font-bold);
  font-size: clamp(1.12rem, 1vw + 0.35rem, 2.1rem);
  font-weight: 700;
  color: var(--text-dark);
}

.media-group__title a {
  color: inherit;
  text-decoration: none;
}

.media-group__title a:hover {
  color: var(--brand-green);
}

.media-group__meta {
  font-size: clamp(0.84rem, 0.56vw + 0.3rem, 1.32rem);
  color: var(--text-body);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 34px);
}

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

.media-tile {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: clamp(8px, 0.65vw, 16px);
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.media-tile:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(44px, 3.6vw, 76px);
  height: clamp(44px, 3.6vw, 76px);
  border-radius: 50%;
  background-color: var(--brand-green);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.media-tile:hover .video-play-badge {
  transform: translate(-50%, -50%) scale(1.06);
  background-color: var(--brand-green-dark);
}

.video-play-badge svg {
  width: clamp(18px, 1.4vw, 30px);
  height: clamp(18px, 1.4vw, 30px);
  margin-left: 2px;
}

.media-helper-note {
  margin-top: clamp(16px, 1.5vw, 34px);
  font-size: clamp(0.84rem, 0.56vw + 0.3rem, 1.32rem);
  color: var(--text-muted);
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 2.4vw, 56px);
  padding-top: clamp(16px, 1.4vw, 32px);
  border-top: 1px solid var(--border-light);
}

.pagination-status {
  font-size: clamp(0.86rem, 0.58vw + 0.32rem, 1.38rem);
  color: var(--text-body);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(42px, 3vw, 64px);
  padding: clamp(9px, 0.7vw, 16px) clamp(26px, 2.2vw, 52px);
  border: 1.5px solid var(--brand-green);
  border-radius: var(--btn-radius);
  background-color: #ffffff;
  color: var(--brand-green);
  font-family: var(--font-bold);
  font-size: clamp(0.9rem, 0.65vw + 0.35rem, 1.5rem);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 121, 58, 0.2);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(42px, 3vw, 64px);
  padding: clamp(9px, 0.7vw, 16px) clamp(24px, 2vw, 48px);
  border: none;
  border-radius: var(--btn-radius);
  background-color: var(--brand-green);
  color: #ffffff;
  font-family: var(--font-bold);
  font-size: clamp(0.9rem, 0.65vw + 0.35rem, 1.5rem);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 121, 58, 0.2);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--brand-green-dark);
  box-shadow: 0 6px 18px rgba(0, 121, 58, 0.26);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: clamp(36px, 4vw, 84px) 20px;
  border: 1px dashed var(--border-card);
  border-radius: clamp(10px, 0.85vw, 22px);
  background-color: #fafbf9;
}

.empty-state__title {
  font-family: var(--font-bold);
  font-size: clamp(1.15rem, 1vw + 0.38rem, 2.1rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.empty-state__desc {
  font-size: clamp(0.9rem, 0.62vw + 0.34rem, 1.45rem);
  color: var(--text-body);
  margin-bottom: clamp(16px, 1.5vw, 32px);
}

/* Callout Banner */
.callout-banner {
  margin-top: clamp(24px, 2.4vw, 56px);
  padding: clamp(16px, 1.5vw, 34px) clamp(18px, 1.8vw, 42px);
  border-radius: clamp(8px, 0.7vw, 18px);
  background-color: var(--brand-green-soft);
  border: 1px solid var(--brand-green-border);
}

.callout-banner--warm {
  background-color: var(--warm-tint);
  border-color: var(--warm-tint-border);
}

.callout-banner__title {
  font-family: var(--font-bold);
  font-size: clamp(0.98rem, 0.75vw + 0.35rem, 1.7rem);
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 4px;
}

.callout-banner--warm .callout-banner__title {
  color: var(--text-dark);
}

.callout-banner__text {
  font-size: clamp(0.86rem, 0.6vw + 0.32rem, 1.4rem);
  color: var(--text-body);
}

/* College Overview Header Card (Page 7) */
.college-hero {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 42px);
  padding: clamp(18px, 1.8vw, 44px);
  border-radius: clamp(10px, 0.85vw, 22px);
  background-color: var(--brand-green-soft);
  border: 1px solid var(--brand-green-border);
  margin-bottom: clamp(20px, 2vw, 48px);
}

.college-hero__logo {
  flex-shrink: 0;
  width: clamp(72px, 6.2vw, 148px);
  height: clamp(72px, 6.2vw, 148px);
  border-radius: clamp(8px, 0.65vw, 16px);
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.college-hero__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.college-hero__title {
  font-family: var(--font-bold);
  font-size: clamp(1.65rem, 2.2vw + 0.4rem, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.college-hero__subtitle {
  font-size: clamp(0.92rem, 0.68vw + 0.34rem, 1.55rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.college-hero__desc {
  font-size: clamp(0.88rem, 0.62vw + 0.32rem, 1.45rem);
  color: var(--text-body);
}

/* Event Detail Page (Page 8) */
.event-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(22px, 2.6vw, 64px);
  align-items: center;
  margin-bottom: clamp(24px, 2.4vw, 56px);
}

.event-hero__media {
  aspect-ratio: 2.35 / 1;
  max-height: clamp(170px, 18vw, 400px);
  border-radius: clamp(10px, 0.85vw, 20px);
}

.event-hero__about-label {
  font-family: var(--font-bold);
  font-size: clamp(0.78rem, 0.55vw + 0.28rem, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: clamp(8px, 0.7vw, 16px);
}

.event-hero__about-text {
  font-size: clamp(0.96rem, 0.72vw + 0.4rem, 1.7rem);
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: clamp(14px, 1.3vw, 28px);
}

.event-hero__context-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-bold);
  font-size: clamp(0.92rem, 0.68vw + 0.34rem, 1.55rem);
  font-weight: 700;
  color: var(--brand-green);
  text-decoration: none;
}

.event-hero__context-link:hover {
  text-decoration: underline;
}

.event-hero__context-link:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Modal Viewer (Photo Lightbox & Video Player) */
.viewer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(16, 20, 17, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.5vw, 48px);
}

.viewer-backdrop[hidden] {
  display: none;
}

.viewer-dialog {
  position: relative;
  width: 100%;
  max-width: min(92vw, 1120px);
  background-color: #ffffff;
  border-radius: clamp(10px, 0.9vw, 20px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1vw, 22px) clamp(16px, 1.5vw, 30px);
  border-bottom: 1px solid var(--border-light);
}

.viewer-title {
  font-family: var(--font-bold);
  font-size: clamp(0.95rem, 0.72vw + 0.35rem, 1.5rem);
  font-weight: 700;
  color: var(--text-dark);
}

.viewer-close {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-card);
  background-color: #f6f7f5;
  color: var(--text-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewer-close:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.viewer-close:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.viewer-stage {
  position: relative;
  background-color: #161917;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
}

.viewer-stage__placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.viewer-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(20, 24, 21, 0.76);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewer-nav-btn--prev {
  left: 14px;
}

.viewer-nav-btn--next {
  right: 14px;
}

.viewer-nav-btn:hover {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
}

.viewer-nav-btn:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 2px;
}

.viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(12px, 1vw, 22px) clamp(16px, 1.5vw, 30px);
  background-color: #ffffff;
}

.viewer-caption {
  font-size: clamp(0.88rem, 0.62vw + 0.3rem, 1.35rem);
  color: var(--text-body);
}

.viewer-event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: clamp(0.88rem, 0.62vw + 0.3rem, 1.35rem);
  color: var(--brand-green);
  text-decoration: none;
}

.viewer-event-link[hidden] {
  display: none;
}

.viewer-event-link:hover {
  text-decoration: underline;
}

.viewer-video-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #ffffff;
  padding: 24px;
  text-align: center;
}

.viewer-video-controls {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
}

.viewer-video-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.viewer-video-progress>span {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--brand-yellow);
  transition: width 0.25s linear;
}

/* Responsive Breakpoints: Tablet (640px-960px) matches Desktop multi-column layout */
@media (min-width: 640px) and (max-width: 960px) {
  .filter-bar {
    grid-template-columns: minmax(95px, 0.4fr) minmax(135px, 0.7fr) minmax(0, 1.4fr);
    gap: 12px;
  }

  .cards-grid,
  .media-grid {
    gap: 14px;
  }

  .media-grid--four {
    gap: 12px;
  }

  .event-card {
    padding: 12px;
  }

  .event-card__footer {
    flex-wrap: wrap;
    gap: 8px;
  }

  .event-card__view-link {
    padding: 7px 13px;
    font-size: 0.82rem;
  }

  .event-hero-grid {
    gap: 20px;
  }
}

/* Mobile (up to 639px) */
@media (max-width: 639px) {
  #breadcrumb-back,
  .back-link {
    display: none;
  }

  .filter-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .filter-bar,
  .filter-bar--two-col,
  .event-hero-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .media-grid,
  .media-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .college-hero {
    align-items: center;
    gap: 14px;
    padding: 14px;
  }

  .college-hero>div:last-child {
    min-width: 0;
    flex: 1;
  }

  .college-hero__logo {
    width: 64px;
    height: 64px;
  }

  .audience-tabs {
    width: 100%;
  }

  .audience-tab {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding-inline: 12px;
  }
}

@media (max-width: 420px) {

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

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .event-card:hover,
  .media-tile:hover {
    transform: none;
  }
}