/* ===== Stakeholder Portal — Supplemental Styles ===== */

/* --- Page Header --- */
.stakeholder-hero {
  background: var(--grad-dark);
  color: var(--clr-white);
  padding: calc(var(--nav-h) + 3rem) 0 3rem;
  text-align: center;
}
.stakeholder-hero h1 { color: var(--clr-white); margin-bottom: 0.5rem; }
.stakeholder-hero .subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 55ch;
  margin: 0 auto;
}
.stakeholder-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.stakeholder-hero .back-link:hover { color: var(--clr-secondary); }

/* --- Section Nav --- */
.section-nav {
  background: var(--clr-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  overflow-x: auto;
}
.section-nav .container {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.section-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.section-nav a:hover {
  background: rgba(255,159,67,0.08);
  color: var(--clr-primary-dark);
}

/* --- Content Sections --- */
.content-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.content-section:last-child { border-bottom: none; }
.content-section .section-intro {
  margin-bottom: 2rem;
}
.content-section .section-intro h2 { margin-bottom: 0.5rem; }
.content-section .section-intro p {
  color: var(--clr-text-muted);
  font-size: 1rem;
}

/* --- Info Cards (for overview) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--clr-primary);
}
.info-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.info-card p { font-size: 0.9rem; color: var(--clr-text-muted); }
.info-card .metric {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: 0.3rem;
}

/* --- Document Block --- */
.doc-block {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}
.doc-block h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--clr-cream-dark);
}
.doc-block .content-body {
  font-size: 0.95rem;
  line-height: 1.7;
}
.doc-block .content-body h4 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
}
.doc-block .content-body ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}
.doc-block .content-body li { margin-bottom: 0.3rem; }
.doc-block .content-body strong { color: var(--clr-dark); }

/* --- Accordion --- */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }
.accordion-item {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--clr-dark);
  transition: background .2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.accordion-header:hover { background: rgba(255,159,67,0.04); }
.accordion-header .arrow {
  transition: transform .3s;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.accordion-body-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.93rem;
  line-height: 1.7;
  color: var(--clr-text);
}
.accordion-body-inner p { margin-bottom: 0.8rem; max-width: none; }
.accordion-body-inner ul { padding-left: 1.5rem; margin: 0.5rem 0 1rem; }

/* --- Media Section --- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.media-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.media-card .media-embed {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card video, .media-card audio {
  width: 100%;
  display: block;
}
.media-card .media-info {
  padding: 1.2rem;
}
.media-card .media-info h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.media-card .media-info p { font-size: 0.85rem; color: var(--clr-text-muted); }
.media-card .audio-wrapper {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #1a1a2e, #2d2d44);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.media-card .audio-wrapper .audio-icon { font-size: 3rem; }
.media-card .audio-wrapper audio { width: 100%; }

/* --- Template Cards --- */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.template-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--clr-accent);
  transition: transform .2s;
}
.template-card:hover { transform: translateY(-3px); }
.template-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.template-card p { font-size: 0.85rem; color: var(--clr-text-muted); margin-bottom: 0.8rem; }
.template-card .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.template-card .btn-sm:hover { background: var(--clr-accent-light); color: var(--clr-dark); }

/* --- Infographic --- */
.infographic-wrap {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.infographic-wrap img {
  border-radius: var(--radius-md);
  width: 100%;
}

/* --- PDF Embed --- */
.pdf-embed {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pdf-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
}
.pdf-fallback {
  padding: 1.5rem;
  text-align: center;
}

@media (max-width: 640px) {
  .section-nav .container { padding: 0.5rem 0; }
  .media-grid { grid-template-columns: 1fr; }
  .pdf-embed iframe { height: 400px; }
}
