/* =========================================================
   Programme detail pages
   Mirrors: /css/pages/research-service.css conventions
   File: /css/pages/programme.css
   ========================================================= */

/* --------------------------------
   Hero spacing (match service page)
   -------------------------------- */

.service-hero,
.programme-hero {
  padding-top: 38px;
  padding-bottom: 56px;
}

/* --------------------------------
   Breadcrumb
   -------------------------------- */

.breadcrumb {
  margin: 0 0 0.9rem;
  font-size: var(--fs-sm);
  color: rgba(11, 16, 32, 0.7);
}

.breadcrumb a {
  color: rgba(11, 16, 32, 0.85);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* --------------------------------
   Header text rhythm
   -------------------------------- */

.service-hero-inner h1,
.programme-hero-inner h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.service-kicker {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 16, 32, 0.6);
  margin-bottom: 0.45rem;
}

.service-lead {
  font-size: var(--fs-md);
  color: rgba(11, 16, 32, 0.82);
  max-width: 70ch;
}

/* --------------------------------
   Hero actions (buttons)
   -------------------------------- */

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.15rem 0 1.25rem;
}

/* Match your Research pattern for ghost buttons on light/soft sections */
.section-light .btn-ghost,
.section-soft .btn-ghost {
  color: rgba(11, 16, 32, 0.5) !important;
}

.section-light .btn-ghost:hover,
.section-soft .btn-ghost:hover {
  color: var(--color-bg) !important;
}

/* --------------------------------
   Highlights grid (3-up)
   -------------------------------- */

.service-highlights,
.programme-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --------------------------------
   Body layout (2-up)
   -------------------------------- */

.service-body-grid,
.programme-body-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --------------------------------
   Bullets (same as service page)
   -------------------------------- */

.service-bullets,
.service-list {
  margin: 0.6rem 0 0;
  padding-left: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: rgba(11, 16, 32, 0.78);
}

.service-bullets li,
.service-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.28rem;
}

.service-bullets li::before,
.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* --------------------------------
   Output card + actions (match service page)
   -------------------------------- */

.service-output,
.programme-output {
  margin-top: 1.25rem;
}

.service-output-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.95rem;
}

/* --------------------------------
   Responsive
   -------------------------------- */

@media (max-width: 960px) {
  .service-highlights,
  .programme-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-body-grid,
  .programme-body-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Defensive: ensure [hidden] behaves consistently */
[hidden] {
  display: none !important;
}
