/* /css/pages/get-involved.css
   =========================================================
   Get Involved pages (landing + detail pages)
   (Aligned with Research/Programmes patterns)
   ========================================================= */

/* Hero background */
.hero.hero--get-involved {
  background:
    linear-gradient(to right, rgba(5, 9, 20, 0.92), rgba(5, 9, 20, 0.62)),
    url("../../../assets/img/programmes-bg.jpg")
      center/cover no-repeat;
}

.hero--get-involved .hero-title { max-width: 30ch; }
.hero--get-involved .hero-accent { color: var(--color-primary); }

/* Hero card (dark treatment consistent with Research hero card) */
.involve-hero-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 198, 233, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--color-text-main);
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.involve-hero-card .programme-label {
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.involve-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.involve-hero-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
}

.involve-hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.18rem;
  font-size: 0.65rem;
  color: var(--color-primary);
}

.involve-hero-note {
  margin: 0.9rem 0 0;
  font-size: var(--fs-xs);
  color: rgba(161, 165, 181, 0.9);
  line-height: 1.6;
}

/* Make btn-ghost behave consistently in light 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;
}

/* On-page nav */
.involve-nav { padding: 26px 0; }

.involve-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.involve-subnav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  padding: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(245, 245, 247, 0.85);
}

.involve-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: var(--fs-sm);
  color: rgba(11, 16, 32, 0.85);
  text-decoration: none;
  border: 1px solid transparent;
}

.involve-subnav a:hover {
  background: rgba(255, 147, 76, 0.08);
  border-color: rgba(255, 147, 76, 0.25);
  text-decoration: none;
}

/* Ways grid */
.involve-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.involve-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.involve-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.involve-card p {
  font-size: var(--fs-sm);
  color: var(--color-text-soft-dark);
}

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

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

.involve-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.12rem;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.involve-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

/* Steps grid (consistent with Research/Programmes) */
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.step {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.02);
  padding: 1.05rem 1.1rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: var(--fs-sm);
  font-weight: 750;
  color: rgba(11, 16, 32, 0.95);
  background: rgba(255, 147, 76, 0.18);
  border: 1px solid rgba(255, 147, 76, 0.28);
  margin-bottom: 0.65rem;
}

.step-title {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.step-text {
  margin: 0;
  font-size: var(--fs-sm);
  color: rgba(11, 16, 32, 0.75);
}

/* Dark section cards (reuse governance-card styling pattern) */
.involve-principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.governance-card {
  background: var(--color-bg-dark);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--color-text-main);
}

.governance-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* Scoping layout (mirrors Research scoping) */
.scoping-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.scoping-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.scoping-aside a {
  color: var(--color-primary);
  text-decoration: none;
}

.scoping-aside a:hover { text-decoration: underline; }

.scoping-aside-text {
  font-size: var(--fs-sm);
  color: rgba(11, 16, 32, 0.78);
  margin: 0;
}

.scoping-aside-note {
  margin: 0.8rem 0 0;
  font-size: var(--fs-xs);
  color: rgba(11, 16, 32, 0.7);
  line-height: 1.6;
}

/* =========================================================
   Detail pages shared styles
   ========================================================= */
.involve-detail-hero { padding-top: 38px; padding-bottom: 56px; }

.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; }

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

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

.involve-detail-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.involve-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.involve-cta-wide { margin-top: 1.25rem; }

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

.involve-note {
  margin: 0.9rem 0 0;
  font-size: var(--fs-xs);
  color: rgba(11, 16, 32, 0.62);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .involve-grid { grid-template-columns: minmax(0, 1fr); }
  .involve-principles-grid { grid-template-columns: minmax(0, 1fr); }

  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scoping-grid { grid-template-columns: minmax(0, 1fr); }

  .involve-detail-highlights { grid-template-columns: minmax(0, 1fr); }
  .involve-two-col { grid-template-columns: minmax(0, 1fr); }

  .involve-subnav {
    border-radius: 18px;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
}

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