/* Programmes & Activities hub */

.nla-prog-hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 193, 7, 0.18), transparent 50%),
    linear-gradient(135deg, #0f5132 0%, #198754 55%, #146c43 100%);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}

.nla-prog-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.nla-prog-hero .lead {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.nla-prog-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(25, 135, 84, 0.15);
  box-shadow: 0 1px 0 rgba(15, 81, 50, 0.04);
}

.nla-prog-nav .nav-link {
  color: #146c43;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-bottom: 3px solid transparent;
}

.nla-prog-nav .nav-link:hover,
.nla-prog-nav .nav-link:focus {
  color: #0f5132;
  border-bottom-color: #ffc107;
}

.nla-prog-section {
  scroll-margin-top: 4.5rem;
  padding: 2.5rem 0;
}

.nla-prog-section:nth-of-type(even) {
  background: linear-gradient(180deg, #f8fdf9 0%, #ffffff 100%);
}

.nla-prog-section-head {
  margin-bottom: 1.5rem;
}

.nla-prog-section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #0f5132;
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
}

.nla-prog-section-head p {
  color: #5c6b63;
  margin-bottom: 0;
  max-width: 40rem;
}

.nla-prog-card {
  border: 1px solid rgba(25, 135, 84, 0.12);
  border-radius: 0.65rem;
  background: #fff;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.nla-prog-card:hover {
  border-color: rgba(25, 135, 84, 0.35);
  transform: translateY(-2px);
}

.nla-prog-card .nla-prog-meta {
  font-size: 0.8rem;
  color: #6c757d;
}

.nla-prog-badge {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.nla-media-tile {
  border: 1px solid rgba(25, 135, 84, 0.12);
  border-radius: 0.65rem;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nla-media-tile .nla-media-thumb {
  aspect-ratio: 16 / 9;
  background: #0f5132;
  position: relative;
  overflow: hidden;
}

.nla-media-tile .nla-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nla-media-tile .nla-media-thumb .nla-media-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 81, 50, 0.35);
  color: #fff;
  font-size: 2rem;
  transition: background 0.15s ease;
}

.nla-media-tile:hover .nla-media-play {
  background: rgba(15, 81, 50, 0.55);
}

.nla-media-tile .nla-media-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nla-media-embed {
  background: #000;
  border-radius: 0.5rem;
  overflow: hidden;
}

.nla-media-embed.nla-media-audio {
  background: transparent;
}

.nla-media-embed iframe,
.nla-media-embed video {
  display: block;
  width: 100%;
  border: 0;
}

.nla-prog-empty {
  border: 1px dashed rgba(25, 135, 84, 0.28);
  border-radius: 0.65rem;
  padding: 1.5rem;
  color: #6c757d;
  background: rgba(25, 135, 84, 0.03);
}

.nla-prog-cat-tabs .nav-link {
  color: #146c43;
  border: 1px solid rgba(25, 135, 84, 0.2);
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.nla-prog-cat-tabs .nav-link.active {
  background: #198754;
  border-color: #198754;
  color: #fff;
}

@media (max-width: 767.98px) {
  .nla-prog-nav .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nla-prog-nav .nav-link {
    white-space: nowrap;
  }
}
