
/* Content pages: articles, comparisons, resources, FAQ */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: #2563eb;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
  color: #334155;
  font-weight: 600;
}

.content-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-answer {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.quick-answer strong {
  color: #1e3a8a;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body p,
.article-body li {
  color: #475569;
  line-height: 1.75;
}

.article-body ul,
.article-body ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.25rem;
}

.article-body li + li {
  margin-top: 0.35rem;
}

.article-body a {
  color: #2563eb;
  font-weight: 600;
}

.article-body a:hover {
  text-decoration: underline;
}

.callout {
  border: 1px solid #dbeafe;
  border-radius: var(--radius-xl);
  background: #f8fafc;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.callout-tip {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.comparison-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.comparison-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight-col {
  background: #eff6ff;
}

.faq-list details {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.85rem 1rem;
}

.faq-list details + details {
  margin-top: 0.65rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: #2563eb;
  font-weight: 800;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  margin-top: 0.65rem;
  color: #475569;
}

.related-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.related-card {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem;
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.related-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-soft);
}

.related-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.related-card p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.content-cta {
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 1.5rem;
}

.content-index-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .content-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .content-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.content-index-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem;
}

.content-index-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.content-index-card p {
  flex: 1;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.footer-nav-expanded {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
