/* ==============================================
   evidence-checklist.css
   Brand: #1c375b (dark) | #6f8197 (mid) | #fff
   ============================================== */

.ec-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

@media (min-width: 760px) {
  .ec-container { width: min(1180px, calc(100% - 48px)); }
}

.ec-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------
   Shared
-------------------------------------------------- */
.ec-section { padding: 56px 0; }
.ec-section + .ec-section { border-top: 1px solid rgba(111,129,151,.18); }

.ec-section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.ec-section-head h2 {
  margin: 8px 0 12px;
  color: #1c375b;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.ec-section-head p {
  margin: 0;
  color: #6f8197;
  font-size: 16px;
  line-height: 1.7;
}

.ec-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f8197;
  margin-bottom: 6px;
}

/* --------------------------------------------------
   Breadcrumb
-------------------------------------------------- */
.ec-breadcrumb {
  padding: 12px 0;
  background: #f5f7fa;
  border-bottom: 1px solid rgba(111,129,151,.24);
}

.ec-bc-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.ec-bc-list li { display: flex; align-items: center; gap: 8px; }
.ec-bc-list li:not(:last-child)::after { content: '\203A'; color: #6f8197; }
.ec-bc-list a { color: #1c375b; text-decoration: none; }
.ec-bc-list a:hover { text-decoration: underline; }
.ec-bc-list [aria-current="page"] { color: #6f8197; }

/* --------------------------------------------------
   Hero
-------------------------------------------------- */
.ec-hero {
  background: #1c375b;
  padding: 60px 0 52px;
  border-bottom: 4px solid #6f8197;
}

.ec-hero-inner { max-width: 760px; }

.ec-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f8197;
}

.ec-hero h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

.ec-hero-sub {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.75;
}

.ec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ec-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 20px;
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.ec-btn-primary,
.ec-btn-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.ec-btn-primary {
  background: #ffffff;
  color: #1c375b;
  border-color: #ffffff;
}

.ec-btn-primary:hover {
  background: #6f8197;
  color: #fff;
  border-color: #6f8197;
}

.ec-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
}

.ec-btn-secondary:hover { border-color: #ffffff; }

.ec-btn-cta-primary,
.ec-btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.ec-btn-cta-primary {
  background: #ffffff;
  color: #1c375b;
  border-color: #ffffff;
}

.ec-btn-cta-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.ec-btn-cta-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
}

.ec-btn-cta-secondary:hover { border-color: #ffffff; }

/* --------------------------------------------------
   Intro / sidebar grid
-------------------------------------------------- */
.ec-intro-section { background: #ffffff; }

.ec-intro-grid {
  display: grid;
  gap: 36px;
  align-items: start;
}

@media (min-width: 900px) {
  .ec-intro-grid { grid-template-columns: 1fr 380px; gap: 52px; }
}

.ec-intro-main h2 {
  margin: 8px 0 16px;
  color: #1c375b;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
  letter-spacing: -.02em;
}

.ec-intro-main p {
  margin: 0 0 16px;
  color: #1c375b;
  font-size: 15px;
  line-height: 1.8;
}

.ec-intro-main a { color: #1c375b; font-weight: 700; }
.ec-intro-main p:last-child { margin-bottom: 0; }

.ec-rules-box {
  background: #f5f7fa;
  border: 1px solid rgba(111,129,151,.24);
  border-top: 4px solid #1c375b;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.ec-rules-box h3 {
  margin: 0 0 16px;
  color: #1c375b;
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(111,129,151,.2);
}

.ec-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ec-rules-list li {
  font-size: 14px;
  color: #1c375b;
  line-height: 1.55;
  padding-left: 16px;
  border-left: 3px solid #1c375b;
}

.ec-rules-list li strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.ec-jump-box {
  background: #ffffff;
  border: 1px solid rgba(111,129,151,.24);
  padding: 18px 22px;
}

.ec-jump-box h3 {
  margin: 0 0 12px;
  color: #1c375b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.ec-jump-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.ec-jump-list li {
  border-bottom: 1px solid rgba(111,129,151,.14);
}

.ec-jump-list li:last-child { border-bottom: none; }

.ec-jump-list a {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 600;
  color: #1c375b;
  text-decoration: none;
  transition: color .12s;
}

.ec-jump-list a:hover { color: #6f8197; text-decoration: underline; }

/* --------------------------------------------------
   Evidence category accordion
-------------------------------------------------- */
.ec-categories { background: #f5f7fa; }

.ec-cat-list { display: grid; gap: 8px; }

.ec-cat-item {
  background: #ffffff;
  border: 1px solid rgba(111,129,151,.24);
  overflow: hidden;
}

.ec-cat-toggle {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1c375b;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}

.ec-cat-toggle:hover { background: #f5f7fa; }

.ec-cat-toggle.is-open {
  background: #1c375b;
  color: #ffffff;
}

.ec-cat-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111,129,151,.15);
  color: #1c375b;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  transition: background .15s, color .15s;
}

.ec-cat-toggle.is-open .ec-cat-num {
  background: rgba(255,255,255,.2);
  color: #ffffff;
}

.ec-cat-title { flex: 1; }

.ec-cat-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  background: rgba(111,129,151,.12);
  color: #6f8197;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.ec-cat-toggle.is-open .ec-cat-count {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
}

/* Chevron */
.ec-cat-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.ec-cat-chevron::before,
.ec-cat-chevron::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease;
}

.ec-cat-chevron::before { width: 10px; height: 2px; top: 9px; left: 1px; transform: rotate(45deg); }
.ec-cat-chevron::after  { width: 10px; height: 2px; top: 9px; right: 1px; transform: rotate(-45deg); }

.ec-cat-toggle.is-open .ec-cat-chevron::before { transform: rotate(-45deg); }
.ec-cat-toggle.is-open .ec-cat-chevron::after  { transform: rotate(45deg); }

/* Body */
.ec-cat-body { border-top: 1px solid rgba(111,129,151,.18); }

.ec-cat-intro {
  padding: 20px 24px 0;
  max-width: 820px;
}

.ec-cat-intro p {
  margin: 0;
  color: #1c375b;
  font-size: 15px;
  line-height: 1.8;
}

/* Checklist */
.ec-checklist-wrap { padding: 20px 24px; }

.ec-checklist-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6f8197;
}

.ec-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.ec-check-item {
  border-bottom: 1px solid rgba(111,129,151,.12);
}

.ec-check-item:last-child { border-bottom: none; }

.ec-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 4px;
  cursor: pointer;
  user-select: none;
}

.ec-check-label:hover .ec-check-box {
  border-color: #1c375b;
  background: rgba(28,55,91,.06);
}

.ec-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ec-check-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(111,129,151,.5);
  background: #ffffff;
  margin-top: 1px;
  position: relative;
  transition: background .15s, border-color .15s;
}

.ec-checkbox:checked ~ .ec-check-box {
  background: #1c375b;
  border-color: #1c375b;
}

.ec-checkbox:checked ~ .ec-check-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.ec-checkbox:focus-visible ~ .ec-check-box {
  outline: 2px solid #1c375b;
  outline-offset: 2px;
}

.ec-check-text {
  font-size: 14px;
  color: #1c375b;
  line-height: 1.6;
  transition: color .15s;
}

.ec-checkbox:checked ~ .ec-check-box ~ .ec-check-text {
  color: #6f8197;
  text-decoration: line-through;
}

/* Tip */
.ec-cat-tip {
  margin: 0 24px 20px;
  padding: 14px 16px;
  background: rgba(111,129,151,.08);
  border-left: 4px solid #6f8197;
}

.ec-cat-tip p {
  margin: 0;
  font-size: 14px;
  color: #1c375b;
  line-height: 1.7;
}

/* Progress */
.ec-progress-wrap {
  margin-top: 24px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid rgba(111,129,151,.24);
}

.ec-progress-track {
  height: 8px;
  background: rgba(111,129,151,.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.ec-progress-bar {
  height: 100%;
  background: #1c375b;
  border-radius: 4px;
  transition: width .3s ease;
}

.ec-progress-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #6f8197;
}

/* --------------------------------------------------
   Pathway search
-------------------------------------------------- */
.ec-search-section { background: #ffffff; }

.ec-search-wrap { max-width: 660px; margin-bottom: 40px; }

.ec-search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.ec-search-svg {
  position: absolute;
  left: 15px;
  width: 20px;
  height: 20px;
  color: #6f8197;
  pointer-events: none;
  flex-shrink: 0;
}

.ec-path-search {
  width: 100%;
  padding: 16px 50px 16px 48px;
  border: 2px solid rgba(111,129,151,.4);
  font-size: 16px;
  font-family: inherit;
  color: #1c375b;
  background: #ffffff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}

.ec-path-search:focus {
  outline: none;
  border-color: #1c375b;
  box-shadow: 0 0 0 4px rgba(28,55,91,.1);
}

.ec-search-clear {
  position: absolute;
  right: 13px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111,129,151,.18);
  border: none;
  border-radius: 50%;
  font-size: 18px;
  color: #1c375b;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background .15s;
}

.ec-search-clear:hover { background: rgba(28,55,91,.14); }

.ec-search-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #6f8197;
  min-height: 20px;
  font-weight: 600;
}

/* Industry groups */
.ec-industry-group { margin-bottom: 44px; }
.ec-industry-group:last-child { margin-bottom: 0; }

.ec-industry-heading {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #6f8197;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(111,129,151,.2);
}

.ec-result-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) { .ec-result-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ec-result-grid { grid-template-columns: repeat(3, 1fr); } }

.ec-result-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid rgba(111,129,151,.24);
  border-left: 4px solid #1c375b;
  background: #ffffff;
  text-decoration: none;
  transition: box-shadow .16s, transform .16s, border-left-color .16s;
}

.ec-result-card:hover {
  box-shadow: 0 6px 20px rgba(28,55,91,.1);
  transform: translateY(-2px);
  border-left-color: #6f8197;
}

.ec-card-body { margin-bottom: 12px; }

.ec-card-industry {
  display: block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6f8197;
  margin-bottom: 5px;
}

.ec-card-title {
  margin: 0 0 6px;
  color: #1c375b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.ec-result-card:hover .ec-card-title { color: #6f8197; }

.ec-card-excerpt {
  margin: 0;
  font-size: 13px;
  color: #6f8197;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ec-card-cta {
  font-size: 12px;
  font-weight: 800;
  color: #1c375b;
  border-top: 1px solid rgba(111,129,151,.16);
  padding-top: 10px;
}

.ec-result-card:hover .ec-card-cta { color: #6f8197; }

.ec-no-results,
.ec-no-data {
  padding: 24px;
  border: 1px dashed rgba(111,129,151,.4);
  text-align: center;
  font-size: 15px;
  color: #6f8197;
}

.ec-no-results a,
.ec-no-data a { color: #1c375b; font-weight: 700; }

/* --------------------------------------------------
   FAQ
-------------------------------------------------- */
.ec-faq-section { background: #f5f7fa; }

.ec-faq-list {
  display: grid;
  gap: 6px;
  max-width: 820px;
}

.ec-faq-item {
  border: 1px solid rgba(111,129,151,.28);
  background: #ffffff;
  transition: border-color .15s;
}

.ec-faq-item:has(.ec-faq-q[aria-expanded="true"]) {
  border-color: #1c375b;
}

.ec-faq-q {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: #1c375b;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: background .15s;
}

.ec-faq-q:hover { background: #f5f7fa; }

.ec-faq-q[aria-expanded="true"] {
  background: #1c375b;
  color: #ffffff;
}

.ec-faq-icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.ec-faq-icon::before,
.ec-faq-icon::after {
  content: '';
  position: absolute;
  background: #1c375b;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease, background .15s;
}

.ec-faq-icon::before { width: 14px; height: 2px; top: 10px; left: 4px; }
.ec-faq-icon::after  { width: 2px; height: 14px; top: 4px; left: 10px; }

.ec-faq-q[aria-expanded="true"] .ec-faq-icon::before,
.ec-faq-q[aria-expanded="true"] .ec-faq-icon::after {
  background: #ffffff;
}

.ec-faq-q[aria-expanded="true"] .ec-faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.ec-faq-a {
  padding: 18px 20px;
  border-top: 1px solid rgba(111,129,151,.18);
  background: #ffffff;
}

.ec-faq-a p {
  margin: 0;
  color: #1c375b;
  font-size: 15px;
  line-height: 1.8;
}

/* --------------------------------------------------
   CTA strip
-------------------------------------------------- */
.ec-cta {
  background: #1c375b;
  padding: 52px 0;
  border-top: 4px solid #6f8197;
}

.ec-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 760px) {
  .ec-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.ec-cta-text h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: -.02em;
}

.ec-cta-text p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.6;
  max-width: 540px;
}

.ec-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}