/* ============================================================
   Pathway Compare — Overview card
   Pathway-level fields rendered once above the comparison table.
   Split from pathway-compare.css to keep that file under 600 lines.
   pc-overview- prefix for all classes.
   ============================================================ */

/* Hidden by default; the state class on #pc-results reveals it */
.pc-overview {
  display: none;
}

.pc-state--table .pc-overview {
  display: block;
}

.pc-overview-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
  margin-bottom: 4px;
}

.pc-overview-header {
  margin-bottom: 16px;
}

.pc-overview-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pc-overview-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-style: italic;
}

.pc-overview-field {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  align-items: flex-start;
}

.pc-overview-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  min-width: 180px;
  padding-top: 2px;
  flex-shrink: 0;
}

.pc-overview-value {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .pc-overview-card {
    padding: 16px;
  }

  .pc-overview-field {
    flex-direction: column;
    gap: 4px;
  }

  .pc-overview-label {
    min-width: unset;
  }
}

/* ============================================================
   SEO static page classes
   Used by compare/*.html generated pages only.
   ============================================================ */

.pc-content-section {
  padding: 32px 0 48px;
}

.pc-seo-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 28px;
  max-width: 780px;
}

.pc-faq-section {
  margin-top: 40px;
  border-top: 2px solid var(--border);
  padding-top: 28px;
}

.pc-faq-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.pc-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.pc-faq-q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.pc-faq-a {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}

.pc-also-compare {
  margin-top: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.pc-also-compare p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.pc-also-compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-also-compare a {
  font-size: 0.875rem;
  color: var(--navy);
  text-decoration: none;
}

.pc-also-compare a:hover {
  text-decoration: underline;
}

.pc-freshness-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 36px;
  font-style: italic;
}

.pc-compare-more {
  margin-top: 24px;
  margin-bottom: 0;
}

.pc-compare-more-link {
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.pc-compare-more-link:hover {
  text-decoration: underline;
}

.pc-manifest-table th,
.pc-manifest-table td {
  text-align: left;
}

@media (max-width: 768px) {
  .pc-content-section {
    padding: 20px 0 36px;
  }

  .pc-seo-intro {
    font-size: 0.95rem;
  }

  .pc-also-compare ul {
    flex-direction: column;
  }
}
