/* ═══════════════════════════════════════════════════════════════════════════
   CKC PORTAL — v5 Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── tokens ─────────────────────────────────────────────────────────────── */
:root {
  --teal:  #2E6B6B;
  --lime:  #BEDD3A;
  --peri:  #8EA3D5;
  --lav:   #9BBFB4;
  --cream: #F5F3EF;
  --navy:  #1A1A18;
  --ink:   #1C1C1A;
  --gap:   22px;
}

/* ── reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1 0 auto;
}

/* ── Flash messages ──────────────────────────────────────────────────────── */
.flash-stack { position: sticky; top: 0; z-index: 60; display: flex; flex-direction: column; }
.flash-banner {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600; color: #fff;
}
.flash-banner svg { flex-shrink: 0; }
.flash-banner span { flex: 1; line-height: 1.4; }
.flash-banner--notice { background: var(--teal); }
.flash-banner--alert { background: #BE3A6B; }
.flash-close {
  flex-shrink: 0; background: none; border: 0; color: inherit;
  font-size: 1.25rem; line-height: 1; padding: 0; cursor: pointer; opacity: 0.7;
}
.flash-close:hover { opacity: 1; }

/* ── Page hero ───────────────────────────────────────────────────────────── */
.pg-hero {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-hero-content {
  position: relative;
  z-index: 3;
  padding: 48px 0 60px;
  text-align: center;
}

.pg-hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pg-hero-title em {
  font-style: normal;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.25em;
  color: var(--lime);
}

/* ── Horizontal nav (bottom of hero) ─────────────────────────────────────── */
.pg-hero-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  padding: 0 36px 14px;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: space-between;
}

.pg-hero-link {
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245,243,239,0.65);
  transition: color 0.15s;
  white-space: nowrap;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.pg-hero-link:hover { color: rgba(245,243,239,0.95); }
.pg-hero-link.active {
  color: #BEDD3A;
  font-weight: 800;
  border-bottom-color: #BEDD3A;
}

/* ── Search + Hamburger icons ─────────────────────────────────────────────── */
.pg-nav-icons {
  position: absolute;
  top: 14px;
  right: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pg-nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,243,239,0.7);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.pg-nav-btn:hover { color: #fff; }

/* ── Hamburger dropdown ──────────────────────────────────────────────────── */
.db-dropdown {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: #1e4a4a;
  max-height: 100vh;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 8px 40px -8px rgba(0,0,0,0.35);
}
.db-dropdown.open { transform: translateY(0); }

.db-dropdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 36px 40px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 4px 40px;
}

.db-nav-item {
  display: flex;
  flex-direction: column;
  padding: 13px 0;
  border-bottom: 1px solid rgba(245,243,239,0.08);
  text-decoration: none;
  color: rgba(245,243,239,0.75);
  transition: color 0.12s;
}
.db-nav-item:hover { color: #fff; }
.db-nav-item.active { color: var(--lime); }

.db-nav-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.db-nav-badge {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 8.5px;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--lime);
  color: #1e4a4a;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
}

.db-nav-badge--admin {
  background: rgba(245,243,239,0.15);
  color: rgba(245,243,239,0.6);
  border: 1px solid rgba(245,243,239,0.2);
}

.db-nav-unread-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  flex-shrink: 0;
}

.db-dropdown-close {
  position: fixed;
  top: 20px; right: 36px;
  z-index: 1000;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,243,239,0.5);
  font-size: 22px;
  line-height: 1;
  transition: color 0.15s;
}
.db-dropdown-close:hover { color: #fff; }

.db-dropdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  display: none;
}
.db-dropdown-overlay.open { display: block; }

/* ── main canvas ─────────────────────────────────────────────────────────── */
.db-canvas { background: var(--cream); padding: 32px 0 88px; }

/* ── container ──────────────────────────────────────────────────────────── */
.db-container { max-width: 1320px; margin: 0 auto; padding: 0 36px; }

/* ── bento grid ──────────────────────────────────────────────────────────── */
.db-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
.db-grid + .db-grid { margin-top: var(--gap); }
.db-c3  { grid-column: span 3; }
.db-c4  { grid-column: span 4; }
.db-c5  { grid-column: span 5; }
.db-c6  { grid-column: span 6; }
.db-c7  { grid-column: span 7; }
.db-c8  { grid-column: span 8; }
.db-c12 { grid-column: span 12; }
.db-tall { min-height: 380px; }
.db-mid  { min-height: 300px; }

/* ── base card ───────────────────────────────────────────────────────────── */
.dc {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #BEDD3A;
  display: flex;
  flex-direction: column;
  transition: transform 0.38s cubic-bezier(.2,.8,.2,1), box-shadow 0.38s;
  text-decoration: none;
  color: inherit;
}
.dc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(46,107,107,0.25);
}

.dc-body {
  position: relative;
  z-index: 3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dc-flat { position: absolute; inset: 0; z-index: 1; }
.dc-flat svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.dc-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: soft-light;
  opacity: 0.48;
}
.dc-grain-svg { width: 100%; height: 100%; }

/* ── card type helpers ───────────────────────────────────────────────────── */
.dc-kicker {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border: 1.5px solid rgba(20,18,12,0.12);
  width: max-content;
  color: var(--ink);
  line-height: 1;
}

.dc-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.dc-headline em {
  font-style: normal;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 34px;
}

.dc-dek {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(28,28,26,0.55);
  margin: 0;
}

/* ── announcements ──────────────────────────────────────────────────────── */
.db-ann-horiz { flex-direction: column !important; gap: 0; align-items: stretch; padding: 28px 32px !important; }
.db-ann-horiz-left {
  display: flex;
  flex-direction: column;
  border-bottom: 1.5px solid rgba(43,50,82,0.15);
  padding-bottom: 20px;
}
.db-ann-horiz-right { display: flex; flex-direction: column; padding-top: 16px; }

.db-ann {
  padding: 13px 0;
  border-bottom: 1px solid rgba(43,50,82,0.1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.db-ann:last-child { border-bottom: none; }
.db-ann-title { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.35; }
.db-ann-excerpt { font-size: 13px; color: rgba(28,28,26,0.6); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.db-ann-meta { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.06em; color: rgba(28,28,26,0.45); }

.db-viewall {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--navy);
}

/* ── tasks ───────────────────────────────────────────────────────────────── */
.task-list { display: flex; flex-direction: column; }
.db-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.db-task:last-child { border-bottom: none; }
.db-task-box {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
  display: grid;
  place-items: center;
  background: transparent;
}
.db-task-box--on { background: var(--lime); border-color: var(--lime); }
.db-task-lbl { flex: 1; font-weight: 500; color: #fff; }
.db-task--done .db-task-lbl { color: rgba(255,255,255,0.45); text-decoration: line-through; }
.db-task-meta { font-family: 'DM Sans', sans-serif; font-size: 10.5px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); white-space: nowrap; }

/* ── events ──────────────────────────────────────────────────────────────── */
.event-list { display: flex; flex-direction: column; }
.db-event {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  color: inherit;
}
.db-event:last-child { border-bottom: none; }
.db-event-date {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}
.db-event-date b { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; line-height: 1; color: #fff; }
.db-event-date span { font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px; color: #fff; }
.db-event-title { font-weight: 600; font-size: 14px; display: block; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.db-event-meta { font-size: 12px; margin-top: 2px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,0.5); }

/* ── news editorial ──────────────────────────────────────────────────────── */
.db-news-featured {
  display: flex;
  gap: 22px;
  align-items: stretch;
  border-bottom: 1.5px solid rgba(43,50,82,0.09);
  padding-bottom: 22px;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
}
.db-news-img { flex: 0 0 38%; align-self: stretch; min-height: 140px; position: relative; overflow: hidden; background: var(--teal); }
.db-news-img-label {
  position: absolute; left: 10px; bottom: 9px;
  font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); background: rgba(255,255,255,0.7); padding: 3px 7px;
}
.db-news-body { flex: 1; display: flex; flex-direction: column; }
.db-news-kicker { font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--peri); display: block; margin-bottom: 8px; }
.db-news-headline { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; color: var(--navy); line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.db-news-dek { font-size: 13.5px; color: rgba(28,28,26,0.55); line-height: 1.55; margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.db-news-byline { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: 0.06em; color: rgba(28,28,26,0.45); margin-top: 10px; display: block; }
.db-news-list { display: flex; flex-direction: column; }
.db-news-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid rgba(43,50,82,0.07);
  text-decoration: none; color: inherit;
}
.db-news-row:last-child { border-bottom: none; }
.db-news-row-kicker { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--peri); display: block; margin-bottom: 3px; }
.db-news-row-title { font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.35; }
.db-news-row-meta { font-family: 'DM Sans', sans-serif; font-size: 10.5px; color: rgba(28,28,26,0.45); white-space: nowrap; }

/* ── training ─────────────────────────────────────────────────────────────── */
.db-training-next {
  background: rgba(245,243,239,0.05);
  border: 1.5px solid rgba(245,243,239,0.2);
  padding: 18px; margin-bottom: 16px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
}
.db-training-badge { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--lime); display: block; margin-bottom: 6px; }
.db-training-next-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: #fff; line-height: 1.3; margin: 0 0 4px; }
.db-training-next-sub { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; margin: 0; }
.db-training-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  padding: 12px 18px;
  border: 0;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.db-training-btn:hover { opacity: 0.85; }
.db-training-list { display: flex; flex-direction: column; }
.db-training-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid rgba(245,243,239,0.12); font-size: 14px;
}
.db-training-row:last-child { border-bottom: none; }
.db-training-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid rgba(245,243,239,0.35); display: grid; place-items: center;
}
.db-training-check--on { background: var(--lime); border-color: var(--lime); }
.db-training-lbl { flex: 1; font-weight: 500; color: #fff; text-decoration: none; }
.db-training-row--done .db-training-lbl { color: rgba(255,255,255,0.4); text-decoration: line-through; }
.db-training-row--dim { opacity: 0.45; }
.db-training-meta { font-family: 'DM Sans', sans-serif; font-size: 10px; color: rgba(245,243,239,0.45); white-space: nowrap; letter-spacing: 0.06em; }
.db-training-meta--next { color: var(--lime); font-weight: 700; }

/* ── news grid row ───────────────────────────────────────────────────────── */
.db-row-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(28,28,26,0.4);
  padding: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.db-row-label::after { content: ""; flex: 1; height: 1px; background: rgba(28,28,26,0.12); }

.news-card {
  background: #fff;
  border: 1.5px solid #BEDD3A;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px -16px rgba(46,107,107,0.35); }
.news-card-img { aspect-ratio: 16/10; overflow: hidden; position: relative; flex-shrink: 0; background: var(--lav); }
.news-card-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.news-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.news-card-kicker { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--peri); margin-bottom: 7px; }
.news-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); line-height: 1.3; margin: 0 0 auto; }
.news-card-date { font-family: 'DM Sans', sans-serif; font-size: 10px; color: rgba(28,28,26,0.4); letter-spacing: 0.06em; margin-top: 12px; }

/* ── misc helpers ────────────────────────────────────────────────────────── */
.db-sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.db-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--ink);
  flex-shrink: 0;
}
.db-link:hover { color: var(--teal); }

/* ── learning module show ────────────────────────────────────────────────── */
.md-wrap { max-width: 1200px; margin: 0 auto; padding: 0 36px; }
.md-back-row { padding: 24px 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.md-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal);
  text-decoration: none;
}
.md-back:hover { text-decoration: underline; }
.md-edit-link {
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.12em; color: rgba(28,28,26,0.4);
  text-decoration: none;
}
.md-edit-link:hover { color: var(--teal); }

.md-section { margin: 24px 0 0; }
.md-section-header { display: flex; align-items: center; gap: 16px; padding: 18px 24px; margin-bottom: 24px; }
.md-section-header form.button_to { display: flex; flex-shrink: 0; }
.md-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; flex-shrink: 0; }
.md-title-wrap { flex: 1; min-width: 0; }
.md-mod-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 2px; letter-spacing: -0.01em; }
.md-mod-sub { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 0; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-status {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; padding: 0;
}
.md-status:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.1); }
.md-status.done { background: var(--lime); border-color: var(--lime); }

/* module index — list of clickable module headers */
.md-mod-list { display: flex; flex-direction: column; gap: 14px; padding: 28px 0 40px; }
.md-mod-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; text-decoration: none; transition: opacity 0.15s; }
.md-mod-card:hover { opacity: 0.9; }
.md-mod-draft { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; padding: 2px 7px; background: rgba(255,255,255,0.18); color: #fff; margin-left: 8px; vertical-align: middle; }
.md-status-static { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; }
.md-status-static.done { background: var(--lime); border-color: var(--lime); }

.md-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

/* video */
.md-video { border: 1.5px solid var(--lime); background: #1A1A18; aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.md-video-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; gap: 10px; }
.md-video-empty span { color: rgba(255,255,255,0.28); font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.md-video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; cursor: pointer; }
.md-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--lime); border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: opacity 0.15s; }
.md-play-btn:hover { opacity: 0.85; }
.md-video-frame, .md-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.md-video-tag { position: absolute; bottom: 12px; left: 14px; z-index: 2; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.4); padding: 4px 9px; }
.md-video-duration { position: absolute; bottom: 12px; right: 14px; z-index: 2; background: rgba(0,0,0,0.55); color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; letter-spacing: 0.08em; padding: 4px 9px; }

/* content panel */
.md-content { display: flex; flex-direction: column; gap: 20px; }
.md-overview h1 { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.4); margin: 20px 0 10px; }
.md-overview h1:first-child { margin-top: 0; }
.md-overview ul { list-style: none; margin: 0 0 4px; padding: 0; }
.md-overview li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.md-overview li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.md-overview p { font-size: 13.5px; color: var(--ink); line-height: 1.6; margin: 0 0 10px; }

/* resources */
.md-res-label { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.4); margin: 0 0 8px; }
.md-res-list { display: flex; flex-direction: column; gap: 8px; }
.md-res-link { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--lime); padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12.5px; color: var(--ink); text-decoration: none; transition: background 0.15s; }
.md-res-link:hover { background: rgba(190,221,58,0.12); }
.md-res-link::after { content: "→"; flex-shrink: 0; margin-left: 12px; color: var(--teal); }

/* go button */
.md-go-btn { display: inline-flex; align-self: flex-start; background: var(--teal); color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; padding: 11px 22px; text-decoration: none; transition: opacity 0.15s; }
.md-go-btn:hover { opacity: 0.85; }

/* bottom CTA */
.md-cta { background: var(--cream); border-top: 1.5px solid rgba(28,28,26,0.07); padding: 52px 36px; text-align: center; margin-top: 56px; }
.md-cta p { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(28,28,26,0.4); margin: 0 0 10px; }
.md-cta h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(1.2rem,2.5vw,1.8rem); color: var(--navy); margin: 0 0 20px; letter-spacing: -0.01em; }
.md-cta-btn { display: inline-block; background: var(--lime); color: #1A1A18; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; padding: 14px 28px; text-decoration: none; transition: opacity 0.15s; }
.md-cta-btn:hover { opacity: 0.85; }

@media (max-width: 860px) {
  .md-body { grid-template-columns: 1fr; }
  .md-wrap { padding: 0 18px; }
}

/* ── messages ─────────────────────────────────────────────────────────────── */
.msg-layout { display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1.5px solid var(--lime); background: rgba(28,28,26,0.06); min-height: 560px; }
.msg-sidebar { background: #fff; display: flex; flex-direction: column; border-right: 1.5px solid var(--lime); }
.msg-sidebar-head { padding: 16px 18px; border-bottom: 1px solid rgba(28,28,26,0.08); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.msg-new-link { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); text-decoration: none; }
.msg-new-link:hover { text-decoration: underline; }
.msg-conv-list { flex: 1; overflow-y: auto; }
.msg-conv { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; cursor: pointer; transition: background 0.12s; border-bottom: 1px solid rgba(28,28,26,0.06); text-decoration: none; }
.msg-conv:hover, .msg-conv.active { background: rgba(190,221,58,0.08); }
.msg-conv.unread .msg-conv-name { color: var(--navy); font-weight: 700; }
.msg-av { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.msg-conv-body { flex: 1; min-width: 0; }
.msg-conv-name { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(28,28,26,0.7); display: flex; align-items: center; gap: 4px; min-width: 0; }
.msg-conv-name-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex-shrink: 1; }
.msg-conv-preview { font-size: 12px; color: rgba(28,28,26,0.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.msg-conv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.msg-conv-time { font-size: 10px; color: rgba(28,28,26,0.35); white-space: nowrap; }
.msg-dot { width: 8px; height: 8px; background: var(--lime); border-radius: 50%; flex-shrink: 0; align-self: flex-end; }
.msg-group-pill { display: inline-flex; align-items: center; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); border: 1px solid var(--teal); padding: 1px 6px; flex-shrink: 0; }
.msg-thread { background: var(--cream); display: flex; flex-direction: column; }
.msg-thread-head { background: #fff; padding: 16px 20px; border-bottom: 1px solid rgba(28,28,26,0.08); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.msg-thread-back { display: inline-flex; align-items: center; flex-shrink: 0; color: rgba(28,28,26,0.35); text-decoration: none; }
.msg-thread-back:hover { color: var(--teal); }
.msg-thread-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-thread-sub { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 11px; color: rgba(28,28,26,0.4); margin-top: 1px; }
.msg-messages { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.msg-bubble { max-width: 72%; align-self: flex-start; }
.msg-bubble.me { align-self: flex-end; }
.msg-bubble-text { background: #fff; border: 1.5px solid var(--lime); padding: 12px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.msg-bubble.me .msg-bubble-text { background: var(--teal); border-color: var(--teal); color: #fff; }
.msg-bubble-meta { font-size: 10px; color: rgba(28,28,26,0.35); margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.msg-bubble.me .msg-bubble-meta { justify-content: flex-end; }
.msg-composer { background: #fff; border-top: 1px solid rgba(28,28,26,0.08); padding: 14px 18px; display: flex; gap: 10px; align-items: flex-end; }
.msg-input { flex: 1; background: var(--cream); border: 1.5px solid rgba(28,28,26,0.13); padding: 10px 13px; font-family: 'DM Sans', sans-serif; font-size: 13.5px; color: var(--navy); outline: none; resize: none; height: 42px; transition: border-color 0.15s; }
.msg-input:focus { border-color: var(--teal); }
.msg-send { background: var(--teal); color: #fff; border: none; cursor: pointer; padding: 10px 18px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; transition: background 0.15s; }
.msg-send:hover { background: #245555; }
.msg-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px; text-align: center; }
.msg-empty p { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(28,28,26,0.4); margin: 0; }
.msg-empty a { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); text-decoration: none; }
.msg-empty a:hover { text-decoration: underline; }
.msg-participants { background: #fff; padding: 10px 20px; border-bottom: 1px solid rgba(28,28,26,0.08); display: flex; flex-wrap: wrap; gap: 8px; }
.msg-participant-pill { display: flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; background: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 11px; color: rgba(28,28,26,0.6); }

@media (max-width: 760px) {
  .msg-layout { grid-template-columns: 1fr !important; min-height: 0; border: none; background: none; }
  .msg-layout--index .msg-thread { display: none; }
  .msg-layout--index .msg-sidebar { border: 1.5px solid var(--lime); }
  .msg-layout--show .msg-sidebar { display: none; }
  .msg-layout--show .msg-thread { border: 1.5px solid var(--lime); min-height: 70vh; }
}

/* ── resources ────────────────────────────────────────────────────────────── */
.rs-main { padding: 40px 0 0; }
.rs-section { margin-bottom: 56px; }
.rs-section-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 22px; padding: 22px 24px; }
.rs-section-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 3px; letter-spacing: -0.01em; }
.rs-section-sub { font-family: 'DM Sans', sans-serif; font-style: italic; font-size: 13px; color: rgba(255,255,255,0.65); margin: 0; }
.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rs-card { background: var(--cream); border: 1.5px solid var(--lime); display: flex; flex-direction: column; box-shadow: 0 4px 18px -10px rgba(28,28,26,0.14); transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s; }
.rs-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px -14px rgba(28,28,26,0.24); }
.rs-card-body { padding: 18px 18px 12px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
.rs-card-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.rs-tag { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; padding: 3px 8px; border: 1.5px solid; }
.rs-tag--guide    { color: var(--teal); border-color: var(--teal); }
.rs-tag--template { color: #1a1a18; background: var(--lime); border-color: var(--lime); }
.rs-tag--checklist{ color: var(--peri); border-color: var(--peri); }
.rs-tag--unpub { color: rgba(28,28,26,0.4); border-color: rgba(28,28,26,0.2); }
.rs-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--navy); line-height: 1.25; margin: 0; }
.rs-card-title a { color: inherit; text-decoration: none; }
.rs-card-title a:hover { color: var(--teal); }
.rs-card-desc { font-size: 12.5px; line-height: 1.55; color: rgba(28,28,26,0.52); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rs-card-footer { padding: 10px 18px 14px; border-top: 1px solid rgba(28,28,26,0.07); margin-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rs-card-admin { display: flex; gap: 10px; }
.rs-card-admin a, .rs-card-admin button { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(28,28,26,0.35); text-decoration: none; background: none; border: none; padding: 0; cursor: pointer; }
.rs-card-admin a:hover, .rs-card-admin button:hover { color: var(--teal); }
.rs-card-btn { background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 14px; text-decoration: none; display: inline-block; transition: background 0.15s; margin-left: auto; }
.rs-card-btn:hover { background: #245555; }

@media (max-width: 900px) { .rs-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .rs-grid { grid-template-columns: 1fr; } }

/* ── directory ────────────────────────────────────────────────────────────── */
.dr-search { width: 100%; background: #fff; border: 1.5px solid var(--lime); padding: 12px 16px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--navy); outline: none; margin-bottom: 28px; transition: border-color 0.15s; }
.dr-search:focus { border-color: var(--teal); }
.dr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dr-card { background: #fff; border: 1.5px solid var(--lime); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.dr-card.admin { border-left: 4px solid var(--lime); background: rgba(190,221,58,0.05); }
.dr-card-top { display: flex; align-items: center; gap: 14px; }
.dr-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.dr-name a { color: inherit; text-decoration: none; }
.dr-name a:hover { color: var(--teal); }
.dr-program { font-size: 12px; color: var(--teal); font-weight: 600; margin: 2px 0 0; }
.dr-loc { font-size: 12px; color: rgba(28,28,26,0.45); display: flex; align-items: center; gap: 5px; }
.dr-stage { display: inline-block; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 8px; }
.dr-btn { background: none; border: 1.5px solid var(--teal); color: var(--teal); font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 16px; cursor: pointer; transition: background 0.15s, color 0.15s; width: 100%; margin-top: auto; text-align: center; text-decoration: none; display: block; box-sizing: border-box; }
.dr-btn:hover { background: var(--teal); color: #fff; }
.dr-section-divider { grid-column: 1/-1; display: flex; align-items: center; gap: 14px; padding: 24px 0 8px; }
.dr-section-divider:first-child { padding-top: 0; }
.dr-section-label { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(28,28,26,0.4); white-space: nowrap; }
.dr-section-line { flex: 1; height: 1px; background: rgba(28,28,26,0.1); }

@media (max-width: 860px) { .dr-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .dr-grid { grid-template-columns: 1fr; } .dr-card { padding: 16px; } }

/* ── Calendar ─────────────────────────────────────────────────────────────── */
.cal-wrap { display: flex; flex-direction: column; gap: 28px; }
.cal-panel { background: #fff; border: 1.5px solid var(--lime); }

.cal-toolbar { background: var(--teal); padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cal-toolbar-left { display: flex; align-items: center; gap: 10px; }
.cal-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.01em; white-space: nowrap; margin: 0; }
.cal-tb-btn { background: none; border: 1.5px solid rgba(245,243,239,0.35); color: rgba(245,243,239,0.85); cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; transition: border-color 0.15s, color 0.15s; line-height: 1; text-decoration: none; display: inline-flex; align-items: center; }
.cal-tb-btn:hover { border-color: #fff; color: #fff; }
.cal-tb-btn.icon { padding: 6px 10px; }
.cal-toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-new-btn { background: var(--lime); color: var(--navy); border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 16px; transition: opacity 0.15s; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.cal-new-btn:hover { opacity: 0.85; }
.cal-filter-pill { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; text-decoration: none; border: 1px solid rgba(245,243,239,0.35); color: rgba(245,243,239,0.7); }
.cal-filter-pill.active { background: var(--lime); color: var(--navy); border-color: var(--lime); }

/* Day headers */
.cal-day-headers { display: grid; grid-template-columns: repeat(7,1fr); border-bottom: 1px solid rgba(28,28,26,0.08); }
.cal-day-hdr { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(28,28,26,0.35); text-align: center; padding: 10px 0; }

/* Grid */
.cal-row { display: grid; grid-template-columns: repeat(7,1fr); border-bottom: 1px solid rgba(28,28,26,0.06); }
.cal-row:last-child { border-bottom: none; }
.cal-cell { min-height: 120px; overflow: hidden; border-right: 1px solid rgba(28,28,26,0.07); padding: 8px 10px; position: relative; }
.cal-cell:last-child { border-right: none; }
.cal-cell.other-month { background: rgba(28,28,26,0.02); }
.cal-dn-row { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.cal-dn { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px; color: rgba(28,28,26,0.65); }
.cal-cell.other-month .cal-dn { color: rgba(28,28,26,0.22); }
.cal-cell.is-today .cal-dn { background: var(--teal); color: #fff; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.cal-event-pill { font-size: 9px; font-weight: 700; font-family: 'DM Sans', sans-serif; letter-spacing: 0.06em; padding: 2px 6px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; text-decoration: none; }
.cal-more { font-family: 'DM Sans', sans-serif; font-size: 9px; color: rgba(28,28,26,0.4); padding: 0 4px; margin: 0; }

/* Upcoming events sidebar */
.cal-sidebar { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 12px; align-items: start; }
.cal-upcoming-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.4); margin-bottom: 2px; grid-column: 1/-1; }
.cal-empty { font-family: 'DM Sans', sans-serif; font-size: 13px; color: rgba(28,28,26,0.5); grid-column: 1/-1; }

/* Event cards */
.cal-ev { background: #fff; border: 1.5px solid var(--lime); overflow: hidden; }
.cal-ev-main { padding: 14px 16px 12px; }
.cal-ev-date { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); margin-bottom: 5px; }
.cal-ev-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 13px; color: var(--navy); line-height: 1.2; text-decoration: none; display: block; }
.cal-ev-title:hover { text-decoration: underline; }
.cal-ev-time { font-size: 11px; color: rgba(28,28,26,0.4); margin-top: 3px; }
.cal-ev-toggle { width: 100%; background: none; border: none; border-top: 1px solid rgba(190,221,58,0.4); cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); padding: 8px 16px; display: flex; align-items: center; gap: 6px; transition: background 0.15s; list-style: none; }
.cal-ev-toggle::-webkit-details-marker { display: none; }
.cal-ev-toggle:hover { background: rgba(190,221,58,0.1); }
.cal-ev-toggle svg { transition: transform 0.2s; flex-shrink: 0; }
details[open] > .cal-ev-toggle svg { transform: rotate(180deg); }
details[open] > .cal-ev-toggle .cal-ev-toggle-closed { display: none; }
details:not([open]) > .cal-ev-toggle .cal-ev-toggle-open { display: none; }
.cal-ev-details { padding: 12px 16px 4px; background: rgba(245,243,239,0.6); border-top: 1px solid rgba(190,221,58,0.3); }
.cal-ev-detail-row { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 9px; font-size: 11.5px; color: var(--ink); line-height: 1.45; }
.cal-ev-detail-row svg { flex-shrink: 0; margin-top: 1px; color: var(--teal); }
.cal-ev-link { color: var(--teal); text-decoration: none; font-weight: 700; }
.cal-ev-link:hover { text-decoration: underline; }
.cal-ev-rsvp { display: block; width: 100%; background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; padding: 10px 16px; margin: 4px 0 12px; text-align: center; transition: background 0.15s; text-decoration: none; box-sizing: border-box; }
.cal-ev-rsvp:hover { background: #245555; }
.cal-ev-rsvp.rsvpd { background: var(--lime); color: var(--navy); }

/* Legend */
.cal-legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-family: 'DM Sans', sans-serif; font-size: 10px; color: rgba(28,28,26,0.5); }
.cal-legend-swatch { width: 10px; height: 10px; display: block; flex-shrink: 0; }

@media (max-width: 640px) {
  .cal-cell { min-height: 64px; padding: 6px; }
  .cal-event-pill { font-size: 0; width: 7px; height: 7px; padding: 0; border-radius: 50%; display: inline-block; margin: 1px; }
  .cal-more { display: none; }
  .cal-sidebar { grid-template-columns: 1fr; }
}

/* ── Support Center ───────────────────────────────────────────────────────── */
.sp-banner { background: #fff; border: 1.5px solid var(--lime); padding: 14px 20px; margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.sp-banner-icon { flex-shrink: 0; color: var(--teal); }
.sp-banner-text { font-size: 13.5px; color: rgba(28,28,26,0.65); line-height: 1.45; }
.sp-banner-text strong { color: var(--navy); }

.sp-actions-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sp-actions-row .dr-section-divider { flex: 1; padding: 0; }
.sp-actions-row .dr-section-label { white-space: nowrap; }
.sp-cta-btn { background: var(--teal); color: #fff; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding: 10px 20px; text-decoration: none; transition: background 0.15s; display: inline-block; white-space: nowrap; }
.sp-cta-btn:hover { background: #245555; }

.sp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sp-filter-pill { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 12px; text-decoration: none; border: 1.5px solid rgba(28,28,26,0.14); color: rgba(28,28,26,0.45); white-space: nowrap; transition: border-color 0.15s, color 0.15s, background 0.15s; }
.sp-filter-pill:hover { border-color: var(--teal); color: var(--teal); }
.sp-filter-pill.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.sp-filter-pill .count { opacity: 0.6; margin-left: 4px; }

.sp-cat-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 0; border-bottom: 1.5px solid rgba(28,28,26,0.08); margin-bottom: 20px; }
.sp-cat-tabs::-webkit-scrollbar { display: none; }
.sp-cat-tab { flex-shrink: 0; padding: 10px 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(28,28,26,0.38); text-decoration: none; border-bottom: 3px solid transparent; transition: color 0.15s; white-space: nowrap; }
.sp-cat-tab:hover { color: var(--teal); }
.sp-cat-tab.active { color: var(--teal); border-bottom-color: var(--lime); }
.sp-cat-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 9px; font-size: 9px; padding: 0 5px; margin-left: 5px; background: var(--peri); color: #fff; font-weight: 700; }

.sp-tickets { display: flex; flex-direction: column; gap: 12px; }
.sp-ticket { background: #fff; border: 1.5px solid var(--lime); padding: 16px 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sp-ticket-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.sp-ticket-num { font-family: 'DM Sans', sans-serif; font-size: 10px; color: rgba(28,28,26,0.3); }
.sp-ticket-tag { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; padding: 2px 8px; background: rgba(28,28,26,0.06); color: rgba(28,28,26,0.45); }
.sp-ticket-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); text-decoration: none; }
.sp-ticket-title:hover { color: var(--teal); }
.sp-ticket-sub { font-size: 11.5px; color: rgba(28,28,26,0.4); margin-top: 4px; }
.sp-ticket-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.sp-ticket-action { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(28,28,26,0.4); border: 1.5px solid rgba(28,28,26,0.12); padding: 5px 10px; background: none; cursor: pointer; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.sp-ticket-action:hover { border-color: var(--teal); color: var(--teal); }
.sp-ticket-action--danger { color: rgba(190,58,107,0.5); border-color: rgba(190,58,107,0.2); }
.sp-ticket-action--danger:hover { color: #BE3A6B; border-color: #BE3A6B; }

.sp-status { display: inline-flex; align-items: center; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em; padding: 3px 9px; }
.sp-status--open { background: rgba(142,163,213,0.18); color: #4A6FA5; }
.sp-status--in_progress { background: rgba(201,123,69,0.14); color: #C97B45; }
.sp-status--waiting { background: rgba(107,75,175,0.12); color: #6B4BAF; }
.sp-status--resolved { background: rgba(190,221,58,0.22); color: #5C7022; }

.sp-empty { text-align: center; padding: 64px 0; }
.sp-empty-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; color: rgba(28,28,26,0.15); margin: 0 0 12px; }
.sp-empty-sub { font-size: 13.5px; color: rgba(28,28,26,0.45); max-width: 340px; margin: 0 auto 20px; }
.sp-empty-link { font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); text-decoration: none; }
.sp-empty-link:hover { text-decoration: underline; }

.sp-footer-cta { padding: 32px 0 8px; margin-top: 8px; border-top: 1px solid rgba(28,28,26,0.08); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sp-footer-cta h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); margin: 0 0 4px; }
.sp-footer-cta p { font-size: 13px; color: rgba(28,28,26,0.45); margin: 0; }
.sp-footer-cta a { font-family: 'DM Sans', sans-serif; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal); text-decoration: none; flex-shrink: 0; }
.sp-footer-cta a:hover { text-decoration: underline; }

/* form */
.sp-forms { display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin: 0 auto; }
.sp-form-card { background: #fff; border: 1.5px solid var(--lime); padding: 32px; }
.sp-form-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.sp-form-sub { font-size: 13px; color: rgba(28,28,26,0.5); margin: 0 0 24px; line-height: 1.5; }
.sp-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.sp-label { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(28,28,26,0.5); }
.sp-input, .sp-select, .sp-textarea { background: var(--cream); border: 1.5px solid rgba(28,28,26,0.13); padding: 11px 13px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--navy); outline: none; transition: border-color 0.15s; width: 100%; -webkit-appearance: none; appearance: none; box-sizing: border-box; }
.sp-input:focus, .sp-select:focus, .sp-textarea:focus { border-color: var(--teal); }
.sp-textarea { resize: vertical; min-height: 110px; }
.sp-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A1A18' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-submit { background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.13em; padding: 14px 24px; width: 100%; margin-top: 10px; transition: background 0.15s; }
.sp-submit:hover { background: #245555; }
.sp-cancel-link { display: block; text-align: center; margin-top: 14px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(28,28,26,0.4); text-decoration: none; }
.sp-cancel-link:hover { color: var(--teal); }
.sp-error-box { border: 1.5px solid rgba(190,58,107,0.3); background: rgba(190,58,107,0.06); padding: 12px 14px; margin-bottom: 18px; }
.sp-error-box p { font-size: 12px; font-weight: 700; color: #BE3A6B; margin: 0 0 4px; }
.sp-error-box ul { margin: 0; padding-left: 18px; font-size: 12px; color: #BE3A6B; }
.sp-field-err { border-color: #BE3A6B !important; background: rgba(190,58,107,0.04) !important; }
.sp-admin-divider { border-top: 1px solid rgba(28,28,26,0.08); padding-top: 18px; margin-top: 4px; }
.sp-admin-divider > p:first-child { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.4); margin: 0 0 14px; }

/* show page */
.sp-detail-card { background: #fff; border: 1.5px solid var(--lime); padding: 28px 32px; margin-bottom: 20px; }
.sp-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.sp-detail-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sp-detail-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(1.3rem,2.5vw,1.8rem); color: var(--navy); margin: 10px 0 0; letter-spacing: -0.01em; }
.sp-detail-meta { font-size: 11.5px; color: rgba(28,28,26,0.4); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.sp-detail-section { border-top: 1px solid rgba(28,28,26,0.08); padding-top: 18px; margin-top: 18px; }
.sp-detail-section-title { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.4); margin: 0 0 10px; }
.sp-detail-body { font-size: 14px; line-height: 1.65; color: var(--ink); }
.sp-detail-body p { margin: 0 0 12px; }
.sp-detail-body p:last-child { margin-bottom: 0; }
.sp-notes-card { background: rgba(190,221,58,0.08); border: 1.5px solid var(--lime); padding: 24px 28px; margin-bottom: 20px; }
.sp-notes-card .sp-detail-section-title { color: var(--teal); }

/* admin panel */
.sp-admin-panel { background: #fff; border: 1.5px solid var(--lime); padding: 24px 28px; }
.sp-admin-panel h2 { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); margin: 0 0 16px; }
.sp-status-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sp-status-btn { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 14px; border: 1.5px solid rgba(28,28,26,0.15); background: #fff; color: rgba(28,28,26,0.5); cursor: pointer; transition: border-color 0.15s, color 0.15s; }
.sp-status-btn:hover { border-color: var(--teal); color: var(--teal); }
.sp-status-btn.current { cursor: default; background: var(--teal); color: #fff; border-color: var(--teal); }
.sp-notes-form .sp-submit { width: auto; padding: 10px 24px; }

.sp-delete-row { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(28,28,26,0.08); }
.sp-delete-link { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(190,58,107,0.55); text-decoration: underline; background: none; border: none; cursor: pointer; padding: 0; }
.sp-delete-link:hover { color: #BE3A6B; }

@media (max-width: 640px) {
  .sp-row { grid-template-columns: 1fr; }
  .sp-form-card { padding: 24px 20px; }
  .sp-detail-card, .sp-admin-panel, .sp-notes-card { padding: 20px; }
}

/* ── Curriculum landing ──────────────────────────────────────────────────── */
.cv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cv-card { background: var(--cream); border: 1.5px solid var(--lime); display: flex; flex-direction: column; text-decoration: none; color: inherit; box-shadow: 0 4px 20px -10px rgba(28,28,26,0.15); transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s; }
.cv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px -16px rgba(28,28,26,0.28); }
.cv-card-accent { height: 5px; flex-shrink: 0; }
.cv-card-body { padding: 20px 20px 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cv-card-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 1.2; margin: 0; }
.cv-card-desc { font-size: 13px; line-height: 1.55; color: rgba(28,28,26,0.52); margin: 0; flex: 1; }
.cv-card-footer { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 16px; border-top: 1px solid rgba(28,28,26,0.07); margin-top: 4px; }
.cv-card-count { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(28,28,26,0.4); }
.cv-card-cta { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); transition: letter-spacing 0.15s; }
.cv-card:hover .cv-card-cta { letter-spacing: 0.14em; }

.cv-footer { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(28,28,26,0.08); display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.cv-footer-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cv-footer-updated { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.25); }

@media (max-width: 960px) { .cv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cv-grid { grid-template-columns: 1fr; } }

/* ── Curriculum subject stage grid ─────────────────────────────────────────── */
.cv-subject-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 2rem 0 3rem; }
@media (max-width: 900px) { .cv-subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cv-subject-grid { grid-template-columns: 1fr; } }

/* ── Announcements ──────────────────────────────────────────────────────── */
.an-pinned { background: var(--teal); border: 1.5px solid var(--lime); padding: 24px 28px; margin-bottom: 28px; color: #fff; }
.an-pin-label { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--lime); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.an-pin-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 8px; }
.an-pin-body { font-size: 13.5px; color: rgba(245,243,239,0.8); line-height: 1.55; }
.an-pin-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.an-toolbar { display: flex; justify-content: flex-end; margin-bottom: 16px; }

.an-list { display: flex; flex-direction: column; gap: 1px; background: rgba(28,28,26,0.08); border: 1.5px solid var(--lime); }
.an-item { background: var(--cream); }
.an-item summary { display: flex; align-items: flex-start; gap: 18px; padding: 18px 22px; cursor: pointer; list-style: none; transition: background 0.15s; }
.an-item summary::-webkit-details-marker { display: none; }
.an-item summary:hover, .an-item[open] summary { background: #fff; }
.an-tag { flex-shrink: 0; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; padding: 3px 9px; border: 1.5px solid var(--teal); color: var(--teal); white-space: nowrap; margin-top: 2px; }
.an-item-body { flex: 1; min-width: 0; }
.an-item-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.an-item-excerpt { font-size: 13px; color: rgba(28,28,26,0.55); margin-top: 4px; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.an-item-date { font-size: 11px; color: rgba(28,28,26,0.35); margin-top: 5px; display: flex; align-items: center; gap: 10px; }
.an-item-unpub { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(28,28,26,0.4); border: 1px solid rgba(28,28,26,0.15); padding: 1px 6px; }
.an-chevron { flex-shrink: 0; margin-top: 3px; color: rgba(28,28,26,0.3); transition: transform 0.22s, color 0.15s; }
.an-item[open] .an-chevron { transform: rotate(180deg); color: var(--teal); }

.an-detail { padding: 0 22px 18px; border-top: 1px solid rgba(28,28,26,0.07); background: #fff; }
.an-detail-body { font-size: 13.5px; color: rgba(28,28,26,0.72); line-height: 1.6; margin: 14px 0 0; }
.an-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.an-action { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 12px; cursor: pointer; text-decoration: none; border: 1.5px solid var(--teal); color: var(--teal); background: none; transition: background 0.15s, color 0.15s; }
.an-action:hover { background: var(--teal); color: #fff; }
.an-action--lime { background: var(--lime); border-color: var(--lime); color: #1A1A18; }
.an-action--lime:hover { background: #c8d430; border-color: #c8d430; color: #1A1A18; }
.an-action--ghost { color: rgba(245,243,239,0.8); border-color: rgba(245,243,239,0.4); }
.an-action--ghost:hover { background: rgba(245,243,239,0.12); color: #fff; }
.an-action--muted { color: rgba(28,28,26,0.4); border-color: rgba(28,28,26,0.2); }
.an-action--muted:hover { background: none; color: rgba(28,28,26,0.6); border-color: rgba(28,28,26,0.35); }
.an-action--plain { border: 0; padding: 6px 0; }
.an-action--plain:hover { background: none; }
.an-action--danger { color: #C0392B; }
.an-action--danger:hover { color: #a8311f; }

.an-checkboxes { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 2px; margin-bottom: 14px; }
.an-checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 13px; color: var(--navy); }
.an-checkbox-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal); cursor: pointer; }
.an-field-hint { font-size: 11px; color: rgba(28,28,26,0.4); margin-top: 2px; }

.sp-status--unpublished { background: rgba(28,28,26,0.06); color: rgba(28,28,26,0.4); }
.sp-status--scheduled { background: rgba(142,163,213,0.18); color: #4A6FA5; }
.sp-status--expired { background: rgba(201,123,69,0.14); color: #C97B45; }
.sp-status--active { background: rgba(190,221,58,0.22); color: #5C7022; }

/* Spotlight nominations (admin) */
.sp-current { background: var(--lav); border: 1.5px solid var(--lime); padding: 24px 28px; margin-bottom: 28px; display: flex; align-items: flex-start; gap: 20px; }
.sp-curr-icon { width: 44px; height: 44px; background: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sp-curr-body { flex: 1; }
.sp-curr-label { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(28,28,26,0.55); margin-bottom: 6px; }
.sp-curr-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.sp-curr-program { font-size: 12px; color: rgba(28,28,26,0.55); }
.sp-curr-reason { font-size: 13.5px; color: var(--ink); line-height: 1.5; margin-top: 10px; font-style: italic; }
.sp-curr-empty { font-size: 13px; color: rgba(28,28,26,0.4); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.sp-card { background: #fff; border: 1.5px solid var(--lime); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.sp-card-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px; color: var(--navy); }
.sp-card-program { font-size: 12px; color: rgba(28,28,26,0.45); margin-top: 2px; }
.sp-card-reason { font-size: 13px; color: var(--ink); line-height: 1.5; background: var(--cream); padding: 12px 14px; }
.sp-card-meta { font-size: 11px; color: rgba(28,28,26,0.38); }
.sp-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.sp-btn { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 8px 14px; border: none; cursor: pointer; transition: all .15s; text-decoration: none; display: inline-block; }
.sp-btn-lime { background: var(--lime); color: #1A1A18; }
.sp-btn-lime:hover { opacity: .85; }
.sp-btn-ghost { background: none; border: 1.5px solid rgba(28,28,26,0.15); color: rgba(28,28,26,0.5); }
.sp-btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

@media (max-width: 640px) {
  .an-pinned { padding: 20px; }
  .an-item summary { padding: 14px 16px; gap: 12px; }
  .an-detail { padding: 0 16px 16px; }
}

/* ── News ───────────────────────────────────────────────────────────────── */
.nw-featured { background: var(--teal); border: 1.5px solid var(--lime); padding: 32px 36px; margin-bottom: 28px; display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: center; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
a.nw-featured:hover { transform: translateY(-3px); box-shadow: 0 10px 28px -10px rgba(28,28,26,0.35); }
.nw-feat-kicker { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--lime); margin-bottom: 10px; }
.nw-feat-title { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(1.3rem,2.4vw,1.9rem); color: #fff; line-height: 1.15; margin: 0 0 12px; }
.nw-feat-excerpt { font-size: 13.5px; color: rgba(245,243,239,0.75); line-height: 1.55; }
.nw-feat-meta { font-size: 11px; color: rgba(245,243,239,0.4); margin-top: 12px; }
.nw-feat-img { aspect-ratio: 4/3; background: rgba(168,190,128,0.25); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.nw-feat-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nw-card { background: #fff; border: 1.5px solid var(--lime); display: flex; flex-direction: column; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; }
.nw-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px -10px rgba(28,28,26,0.18); }
.nw-card-img { aspect-ratio: 16/9; overflow: hidden; }
.nw-card-img img { width: 100%; height: 100%; object-fit: cover; }
.nw-card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.nw-kicker { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--peri); margin-bottom: 7px; }
.nw-card-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); line-height: 1.3; margin: 0; }
.nw-card-date { font-size: 10px; color: rgba(28,28,26,0.35); margin-top: auto; padding-top: 12px; }
.nw-credit { color: rgba(28,28,26,0.45); font-style: italic; }
.nw-feat-meta .nw-credit { color: rgba(245,243,239,0.55); }
@media (max-width: 900px) { .nw-featured { grid-template-columns: 1fr; } .nw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .nw-grid { grid-template-columns: 1fr; } }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .db-c7, .db-c8 { grid-column: span 12; }
  .db-c6 { grid-column: span 6; }
}
@media (max-width: 880px) {
  .pg-hero-nav { display: none; }
  .pg-hero { min-height: 0; }
  .pg-hero-content { padding: 48px 0 20px; }
}
@media (min-width: 881px) {
  .pg-hamburger-toggle { display: none; }
}
@media (max-width: 680px) {
  .db-container { padding: 0 18px; }
  .db-c3, .db-c4, .db-c5, .db-c6, .db-c7, .db-c8, .db-c12 { grid-column: span 12; }
  .pg-hero-title--compact { font-size: clamp(1.65rem, 4.2vw, 3.2rem); }
  .db-news-featured { flex-direction: column; }
  .db-training-next { flex-direction: column; }
  .db-dropdown-inner { grid-template-columns: 1fr; padding: 48px 24px 32px; }
}

/* ── Feed ───────────────────────────────────────────────────────────────── */
.fd-composer { background: #fff; border: 1.5px solid var(--lime); padding: 20px 24px; margin-bottom: 28px; display: flex; gap: 14px; align-items: flex-start; }
.fd-composer-input { width: 100%; background: var(--cream); border: 1.5px solid rgba(28,28,26,0.13); padding: 11px 14px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--navy); outline: none; resize: vertical; min-height: 44px; box-sizing: border-box; transition: border-color 0.15s; }
.fd-composer-input:focus { border-color: var(--teal); }
.fd-photo-label { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; color: rgba(28,28,26,0.45); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.15s; }
.fd-photo-label:hover { color: var(--teal); }
.fd-post-btn { background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding: 11px 20px; transition: background 0.15s; }
.fd-post-btn:hover { background: #245555; }

.fd-post { background: #fff; border: 1.5px solid var(--lime); padding: 20px 24px; margin-bottom: 14px; }
.fd-post-row { display: flex; gap: 14px; }
.fd-post-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--navy); }
.fd-post-meta { font-size: 11px; color: rgba(28,28,26,0.4); margin: 2px 0 0; }
.fd-post-text { font-size: 14px; color: var(--ink); line-height: 1.55; }
.fd-post-text p { margin: 0 0 0.5rem; }
.fd-post-text p:last-child { margin-bottom: 0; }
.fd-post-photo { max-width: 100%; max-height: 280px; object-fit: cover; margin-top: 12px; border: 1.5px solid rgba(28,28,26,0.08); display: block; }
.fd-hashtag { color: var(--teal); font-weight: 700; text-decoration: none; }
.fd-hashtag:hover { text-decoration: underline; }
.fd-post-program { font-size: 11px; color: rgba(28,28,26,0.4); }
.fd-pending-badge { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; background: rgba(142,163,213,0.15); color: var(--peri); border: 1px solid var(--peri); padding: 2px 8px; }
.fd-post.pending { opacity: 0.72; border-style: dashed; }

.fd-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fd-action { background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(28,28,26,0.4); display: inline-flex; align-items: center; gap: 5px; padding: 0; transition: color 0.15s; }
.fd-action:hover { color: var(--teal); }
.fd-action.liked { color: var(--teal); }
.fd-action.liked svg { fill: var(--teal); }

.fd-comments { margin-top: 14px; border-top: 1px solid rgba(28,28,26,0.07); padding-top: 14px; }
.fd-comment { display: flex; gap: 10px; margin-bottom: 12px; }
.fd-comment-av { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.fd-reply-av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.fd-comment-body { flex: 1; background: var(--cream); padding: 8px 12px; min-width: 0; }
.fd-comment-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 12px; color: var(--navy); display: inline-flex; align-items: center; gap: 4px; }
.fd-comment-text { font-size: 13px; color: var(--ink); margin-top: 3px; line-height: 1.45; }
.fd-comment-meta { font-size: 10px; color: rgba(28,28,26,0.35); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fd-add-comment { display: flex; gap: 8px; align-items: flex-start; }
.fd-comment-input { flex: 1; background: var(--cream); border: 1.5px solid rgba(28,28,26,0.13); padding: 7px 11px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--navy); outline: none; resize: vertical; min-height: 32px; box-sizing: border-box; transition: border-color 0.15s; }
.fd-comment-input:focus { border-color: var(--teal); }
.fd-comment-btn { background: var(--teal); color: #fff; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 7px 14px; transition: background 0.15s; flex-shrink: 0; }
.fd-comment-btn:hover { background: #245555; }

@media (max-width: 640px) {
  .fd-composer, .fd-post { padding: 16px 14px; }
}

/* ── Admin section tabs ───────────────────────────────────────────────────── */
.ad-tabs { padding: 0 2.5rem; }
@media (max-width: 640px) {
  .ad-tabs { padding: 0 1rem; }
}

/* ── Admin responsive data table ──────────────────────────────────────────── */
.ad-table { border: 1.5px solid var(--lime); }
.ad-row {
  display: grid;
  grid-template-columns: var(--ad-cols);
  gap: 0;
  padding: 0.5rem 1rem;
  align-items: center;
}
.ad-row.ad-head { background: rgba(28,28,28,0.03); }
.ad-row:not(.ad-head) { background: #fff; border-top: 1.5px solid var(--lime); padding: 0.75rem 1rem; }
.ad-cell { min-width: 0; margin: 0; }

/* ── Admin bordered list rows ─────────────────────────────────────────────
   Stacked rows with a border on every side but the bottom (so adjacent rows
   don't double up). The last row gets its bottom border back, closing the
   list. New stacked-row lists should use this class to stay enclosed. ── */
.ad-list-row {
  background: #fff;
  border: 1.5px solid var(--lime);
  border-bottom: 0;
}
.ad-list-row:last-child {
  border-bottom: 1.5px solid var(--lime);
}
.ad-list-row--muted {
  background: rgba(28,28,28,0.03);
  border-color: rgba(28,28,28,0.07);
}
.ad-list-row--muted:last-child {
  border-bottom: 1.5px solid rgba(28,28,28,0.07);
}

@media (max-width: 760px) {
  .ad-table { border: none; display: flex; flex-direction: column; gap: 0.75rem; }
  .ad-row.ad-head { display: none; }
  .ad-table .ad-row:not(.ad-head) {
    display: flex; flex-direction: column; align-items: stretch; gap: 0.55rem;
    border: 1.5px solid var(--lime); padding: 1rem;
  }
  .ad-cell {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    white-space: normal !important; overflow: visible !important; text-overflow: initial !important;
  }
  .ad-cell[data-label] { text-align: right; }
  .ad-cell[data-label]::before {
    content: attr(data-label);
    font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 0.6rem;
    text-transform: uppercase; letter-spacing: 0.12em; color: rgba(28,28,28,0.4);
    flex-shrink: 0;
  }
  .ad-cell--name { order: -2; }
  .ad-cell--actions {
    order: 99; justify-content: flex-end; padding-top: 0.55rem;
    border-top: 1px solid rgba(28,28,28,0.08);
  }
}

/* ── Admin overview recent activity ───────────────────────────────────────── */
@media (max-width: 760px) {
  .ad-recent-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ── Admin FAQ rows ────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .adf-row { flex-wrap: wrap; }
  .adf-actions {
    width: 100%; justify-content: flex-end; padding-top: 0.625rem; margin-top: 0.375rem;
    border-top: 1px solid rgba(28,28,28,0.08);
  }
}

/* ── Admin module list rows ───────────────────────────────────────────────── */
@media (max-width: 640px) {
  .ad-mod-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .ad-mod-row > .ad-mod-actions {
    align-self: flex-end;
  }
}

/* ── Print styles — curriculum plan & lesson pages ────────────────────────── */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; color-adjust: exact; }
  .no-print { display: none !important; }
  .pg-hero-nav, .db-dropdown, .db-dropdown-overlay { display: none !important; }
  .cur-print-stack { display: block !important; }
}
