/* ─────────────────────────────────────────────────────────────────
   /education/ — education-vertical site overlay.
   Inherits from ../assets/styles.css. Sage-green accent (#2F6F4F)
   chosen for the academic-growth-calm associations of green/blue
   without competing with healthcare's teal, seceng's neon green,
   or government's red. Brand orange retained on the primary
   "Schedule a working session" CTA so cross-vertical CTA muscle
   memory holds.
   ───────────────────────────────────────────────────────────────── */

:root {
  --edu-sage: #2F6F4F;
  --edu-sage-deep: #1F4F38;
  --edu-sage-soft: rgba(47, 111, 79, 0.07);
  --edu-sage-line: rgba(47, 111, 79, 0.18);
  --edu-warm: #C68A2E;            /* warm gold accent for highlights */
  --edu-warm-soft: rgba(198, 138, 46, 0.08);
  --edu-bg-soft: #f4f7f4;
  --edu-rule: #d9e1dc;
  --edu-navy: #0f1c30;             /* shared CybrIQ navy */
  --edu-slate: #4a5566;
  --edu-ink: #1d2532;
  --edu-ink-faint: #6b7686;
}

/* Eyebrow notice bar — establishes the persona on every page. */
.edu-eyebrow-bar {
  background: #0f1c30;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  padding: 8px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.edu-eyebrow-bar a { color: var(--edu-sage); text-decoration: none; }
.edu-lockup { font-weight: 600; letter-spacing: 0.04em; }
.edu-lockup-x { color: var(--edu-warm); padding: 0 4px; }

/* Page eyebrow text. */
.edu-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edu-sage);
  margin-bottom: 14px;
}

/* Breadcrumb strip. */
.edu-breadcrumb {
  background: var(--edu-bg-soft);
  border-bottom: 1px solid var(--edu-rule);
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--edu-slate);
}
.edu-breadcrumb a { color: var(--edu-sage); text-decoration: none; }
.edu-breadcrumb-sep { color: var(--edu-ink-faint); margin: 0 8px; }

/* Hero band: deep sage gradient, white text. */
.edu-hero {
  background: linear-gradient(135deg, var(--edu-sage-deep) 0%, var(--edu-sage) 100%);
  color: white;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.edu-hero h1 {
  color: white;
  font-size: 38px;
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.edu-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17.5px;
  line-height: 1.55;
  max-width: 760px;
  margin: 0;
}

/* Section heads. */
.edu-h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--edu-navy);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.edu-h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--edu-navy);
  margin: 0 0 10px;
}

/* Body text rhythm. */
.edu-body p { color: var(--edu-ink); font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.edu-body ul, .edu-body ol { color: var(--edu-ink); font-size: 16px; line-height: 1.65; margin: 0 0 16px; }
.edu-body li { margin-bottom: 6px; }
.edu-body strong { color: var(--edu-navy); }
.edu-body a { color: var(--edu-sage); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.edu-body a:hover { color: var(--edu-sage-deep); }

/* Trust strip — same shape as healthcare and government variants. */
.edu-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: -24px 0 0;
  background: white;
  border: 1px solid var(--edu-rule);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(15, 28, 48, 0.08);
  position: relative;
  z-index: 2;
}
.edu-trust-item {
  padding: 22px 24px;
  border-right: 1px solid var(--edu-rule);
}
.edu-trust-item:last-child { border-right: none; }
.edu-trust-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--edu-sage);
  margin-bottom: 8px;
}
.edu-trust-value {
  display: block;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--edu-ink);
}
@media (max-width: 880px) {
  .edu-trust-strip { grid-template-columns: 1fr 1fr; }
  .edu-trust-item:nth-child(2) { border-right: none; }
  .edu-trust-item:nth-child(1), .edu-trust-item:nth-child(2) { border-bottom: 1px solid var(--edu-rule); }
}
@media (max-width: 560px) {
  .edu-trust-strip { grid-template-columns: 1fr; }
  .edu-trust-item { border-right: none; border-bottom: 1px solid var(--edu-rule); }
  .edu-trust-item:last-child { border-bottom: none; }
}

/* Three-column grid for audience cards / steps. */
.edu-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.edu-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 880px) {
  .edu-grid-3 { grid-template-columns: 1fr; }
  .edu-grid-2 { grid-template-columns: 1fr; }
}

/* Card pattern — white, rule-cool border, modest accent. */
.edu-card {
  background: white;
  border: 1px solid var(--edu-rule);
  border-radius: 6px;
  padding: 22px 22px 20px;
  position: relative;
}
.edu-card .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--edu-sage);
  background: var(--edu-sage-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.edu-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--edu-navy);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.edu-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--edu-slate);
  margin: 0;
}
.edu-card.warm-top {
  border-top: 3px solid var(--edu-warm);
}
.edu-card.sage-top {
  border-top: 3px solid var(--edu-sage);
}

/* CTA buttons — keep brand orange for primary so cross-vertical
   CTA muscle memory works; sage variants for ghost/secondary. */
.btn-edu {
  display: inline-block;
  padding: 12px 22px;
  background: #E36419;
  color: white;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 4px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-edu:hover { background: #c8550e; }
.btn-edu-ghost {
  display: inline-block;
  padding: 11px 21px;
  background: transparent;
  color: var(--edu-sage);
  border: 1.5px solid var(--edu-sage);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-edu-ghost:hover { background: var(--edu-sage-soft); }

/* CTA band at the bottom of pages. */
.edu-cta-band {
  background: linear-gradient(135deg, var(--edu-sage-deep) 0%, var(--edu-sage) 100%);
  color: white;
  padding: 56px 0;
  text-align: center;
}
.edu-cta-band h2 {
  color: white;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px;
}
.edu-cta-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 22px;
}

/* "Outcome callout" — the warm gold-bordered block used to break prose density. */
.edu-callout {
  background: white;
  border: 1px solid var(--edu-rule);
  border-left: 4px solid var(--edu-warm);
  border-radius: 0 4px 4px 0;
  padding: 18px 22px;
  margin: 18px 0;
}
.edu-callout .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--edu-warm);
  margin-bottom: 4px;
}
.edu-callout p { margin: 0; font-size: 14.5px; color: var(--edu-ink); line-height: 1.55; }

/* Footer. */
.edu-footer {
  background: var(--edu-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
  margin-top: 0;
  font-size: 13.5px;
}
.edu-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}
.edu-footer a:hover { color: white; }
.edu-footer h4 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}
.edu-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.edu-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 880px) {
  .edu-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .edu-footer-grid { grid-template-columns: 1fr; }
}
.edu-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.edu-footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* FAQ details/summary pattern. */
details.faq {
  background: white;
  border: 1px solid var(--edu-rule);
  border-radius: 6px;
  padding: 0;
  margin: 0 0 8px;
}
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--edu-navy);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: '+';
  color: var(--edu-sage);
  font-size: 20px;
  font-weight: 600;
  margin-left: 12px;
  transition: transform 0.15s;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq > div {
  padding: 0 18px 16px;
}
details.faq > div p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--edu-ink);
  margin: 0 0 10px;
}
details.faq > div p:last-child { margin-bottom: 0; }

/* Glossary list. */
.edu-glossary dl { margin: 0; }
.edu-glossary dt {
  font-weight: 700;
  color: var(--edu-navy);
  font-size: 15px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--edu-rule);
}
.edu-glossary dt:first-child { margin-top: 0; }
.edu-glossary dt .expand {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--edu-ink-faint);
  font-style: italic;
}
.edu-glossary dd {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--edu-ink);
}
.edu-glossary dd a { color: var(--edu-sage); }

/* Stat numbers — used in trust strips and scenarios. */
.edu-stat-num {
  color: var(--edu-sage);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Article-card pattern for /articles/index.html. */
.edu-article-card {
  background: white;
  border: 1px solid var(--edu-rule);
  border-radius: 6px;
  padding: 22px;
  margin-bottom: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.edu-article-card:hover {
  border-color: var(--edu-sage);
  box-shadow: 0 4px 14px rgba(47, 111, 79, 0.08);
}
.edu-article-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: var(--edu-navy);
}
.edu-article-card h3 a {
  color: var(--edu-navy);
  text-decoration: none;
}
.edu-article-card h3 a:hover { color: var(--edu-sage); }
.edu-article-card .meta {
  font-size: 12px;
  color: var(--edu-ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.edu-article-card p {
  font-size: 14.5px;
  color: var(--edu-slate);
  line-height: 1.55;
  margin: 0;
}
