/* Resources section — article + index styling, dark theme, matches site.css vars */

.res-head { max-width: 46rem; }

.res-group { margin: 2.5rem 0; }
.res-group h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.res-group .muted { margin-bottom: 0.9rem; }

.res-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.res-list li { margin: 0 0 0.55rem; break-inside: avoid; }
.res-list a { color: var(--paper-100); text-decoration: none; border-bottom: 1px solid var(--ink-600); }
.res-list a:hover { color: #fff; border-bottom-color: var(--mist-400); }
@media (max-width: 40rem) { .res-list { columns: 1; } }

.res-article { max-width: 46rem; margin: 0 auto; }
.res-crumbs { font-size: 0.8rem; color: var(--mist-400); display: flex; gap: 0.5rem; margin-bottom: 1.2rem; }
.res-crumbs a { color: var(--mist-400); text-decoration: none; }
.res-crumbs a:hover { color: var(--paper-100); }

.res-article h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 0.5rem; }
.res-reviewed { font-size: 0.78rem; color: var(--mist-600); margin-bottom: 1.6rem; }

.res-answer {
  border-left: 3px solid var(--brand-300);
  background: var(--ink-750);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1.8rem;
}
.res-answer p { margin: 0 0 0.6rem; }
.res-answer p:last-child { margin-bottom: 0; }

.res-body h2 { font-size: 1.3rem; margin: 2rem 0 0.7rem; }
.res-body h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }
.res-body p { margin: 0 0 0.9rem; color: var(--paper-100); }
.res-body ul, .res-body ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.res-body li { margin-bottom: 0.4rem; }
.res-body a { color: var(--brand-300); }
.res-body strong { color: #fff; }
.res-body .note { color: var(--mist-400); font-size: 0.9rem; }

.res-table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
.res-body table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 32rem; }
.res-body th, .res-body td { text-align: left; padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--ink-600); vertical-align: top; }
.res-body th { color: #fff; font-weight: 600; background: var(--ink-750); }
.res-body td:first-child, .res-body th:first-child { color: var(--paper-100); font-weight: 600; white-space: nowrap; }

.res-disclosure {
  border-left: 3px solid var(--mist-400);
  background: var(--ink-750);
  border-radius: 0 10px 10px 0;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  color: var(--mist-400);
}
.res-disclosure strong { color: #fff; }

.res-faq { margin: 2.4rem 0; }
.res-faq h2 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.res-faq-item { border-top: 1px solid var(--ink-600); padding: 0.7rem 0; }
.res-faq-item summary { cursor: pointer; font-weight: 600; }
.res-faq-item p { margin: 0.6rem 0 0; color: var(--mist-400); }

.res-cta {
  margin: 2.6rem 0;
  padding: 1.4rem 1.5rem;
  background: var(--ink-750);
  border: 1px solid var(--ink-600);
  border-radius: 12px;
}
.res-cta h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.res-cta p { margin: 0 0 1rem; color: var(--mist-400); }

.res-related { margin: 2.4rem 0 1rem; }
.res-related h2 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.res-related .res-list { columns: 1; }
