/* TokenScouts compare — tuned for live navy page + white cards */

.post-content.review-card:has(.ts-compare) {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  color: inherit !important;
}

.ts-compare {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #e8eef6;
  font-family: var(--ts-font-body, system-ui, sans-serif);
}

.ts-compare > h2,
.ts-compare .section-title {
  margin: 0 0 0.65rem !important;
  font-family: var(--ts-font-display, "Jura", system-ui, sans-serif);
  font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.4rem) !important;
  font-weight: 700;
  color: #f4f6f9 !important;
}

/* Kill theme/RankMath double underline + junk ::after icons on compare links */
.ts-compare a,
.ts-compare a:visited {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-image: none !important;
}
.ts-compare a:hover,
.ts-compare a:focus {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.ts-compare a::before,
.ts-compare a::after,
.ts-compare li::before,
.ts-compare li::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}

/* —— Hero: light card on navy (readable) —— */
.ts-compare-hero {
  padding: 1.35rem 1.5rem;
  border-radius: 12px;
  background: #ffffff !important;
  color: #1a2332 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ts-compare-hero p,
.ts-compare-hero li,
.ts-compare-hero a {
  color: inherit;
}

.ts-compare-hero a {
  color: #c45f12 !important;
  font-weight: 600;
}

.ts-compare-hero a:hover {
  color: #9a4a0d !important;
}

.ts-compare-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6b7c !important;
  font-weight: 700;
}

.ts-compare-hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--ts-font-display, "Jura", system-ui, sans-serif);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #0b1f3a !important;
}

.ts-compare-hero__lead {
  margin: 0 0 1rem;
  max-width: 48rem;
  color: #3a4654 !important;
  line-height: 1.55;
  font-size: 1.02rem;
}

.ts-compare-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none !important;
  font-size: 0.92rem;
}

.ts-compare-hero__links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Method + prose panels */
.ts-compare-method,
.ts-compare-prose {
  padding: 1.1rem 1.35rem;
  border-radius: 12px;
  background: #ffffff !important;
  color: #1a2332 !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ts-compare-method p,
.ts-compare-prose p {
  margin: 0 0 0.75rem;
  color: #3a4654 !important;
  line-height: 1.55;
}

.ts-compare-method p:last-child,
.ts-compare-prose p:last-child {
  margin-bottom: 0;
}

.ts-compare-method strong,
.ts-compare-prose strong {
  color: #0b1f3a !important;
}

.ts-compare-prose ul {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.15rem;
  color: #3a4654;
}

.ts-compare-prose li {
  margin: 0.3rem 0;
  line-height: 1.5;
}

.ts-compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ts-compare-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Evidence cluster: readable on navy */
.ts-compare-evidence {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e8eef6;
}

.ts-compare-evidence__intro .section-title {
  color: #f4f6f9 !important;
}

.ts-compare-evidence__intro p {
  margin: 0;
  color: rgba(232, 238, 246, 0.82) !important;
  line-height: 1.55;
}

.ts-compare-evidence__intro a {
  color: #ffb36b !important;
}

.ts-compare-evidence__sub {
  margin: 0.35rem 0 0 !important;
  font-size: 1rem !important;
  font-weight: 700;
  color: #f4f6f9 !important;
}

.ts-compare-pass,
.ts-compare-facts,
.ts-compare-dim,
.ts-compare-fit,
.ts-compare-hub-card {
  background: #ffffff !important;
  color: #1a2332 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14) !important;
}

.ts-compare-pass a,
.ts-compare-facts a,
.ts-compare-dim a,
.ts-compare-fit a,
.ts-compare-hub-card a {
  color: #c45f12 !important;
  font-weight: 650;
}

.ts-compare-pass__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.ts-compare-pass__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1f3a !important;
}

.ts-compare-pass__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6b7c !important;
  white-space: nowrap;
}

.ts-compare-pass__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ts-compare-pass__label {
  font-size: 0.75rem;
  color: #5b6b7c !important;
  margin-bottom: 0.15rem;
}

.ts-compare-pass__value {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0b1f3a !important;
}

.ts-compare-pass__meta,
.ts-compare-pass__empty,
.ts-compare-facts__meta,
.ts-compare-facts__more {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: #5b6b7c !important;
}

.ts-compare-signals {
  margin: 0;
}

.ts-compare-signals__text {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #1a2332 !important;
  font-weight: 600;
}

.ts-compare-pass__dims,
.ts-compare-facts__list {
  list-style: none !important;
  margin: 0.75rem 0 0;
  padding: 0;
}

.ts-compare-pass__dims li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  font-size: 0.9rem;
  color: #1a2332 !important;
}

.ts-compare-facts__list li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  color: #1a2332 !important;
}

.ts-compare-facts__list li:first-child,
.ts-compare-pass__dims li:first-child {
  border-top: none;
  padding-top: 0;
}

.ts-compare-facts__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.ts-compare-facts__field {
  font-size: 0.8rem;
  color: #5b6b7c !important;
}

.ts-compare-facts__value {
  font-weight: 650;
  font-size: 0.95rem;
  color: #0b1f3a !important;
}

.ts-compare-dims,
.ts-compare-fit-grid,
.ts-compare-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ts-compare-dims,
  .ts-compare-fit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ts-compare-hub-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.ts-compare-dim h3,
.ts-compare-fit h3,
.ts-compare-hub-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1f3a !important;
  line-height: 1.3;
}

.ts-compare-dim p,
.ts-compare-fit p,
.ts-compare-hub-card p {
  margin: 0 0 0.55rem;
  line-height: 1.55;
  color: #3a4654 !important;
}

.ts-compare-hub-card p:last-child,
.ts-compare-dim p:last-child,
.ts-compare-fit p:last-child {
  margin-bottom: 0;
}

.ts-compare-hub-card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: #3a4654;
}

.ts-compare-hub-card li {
  margin: 0.25rem 0;
  line-height: 1.45;
  font-size: 0.92rem;
}

.ts-compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #ffffff !important;
  color: #1a2332 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.ts-compare-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: #1a2332 !important;
}

.ts-compare-table th,
.ts-compare-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
  text-align: left;
  vertical-align: top;
  color: #1a2332 !important;
}

.ts-compare-table th {
  background: #f4f6f9 !important;
  font-weight: 700;
  color: #0b1f3a !important;
}

.ts-compare-table tr:last-child td {
  border-bottom: none;
}

/* FAQ on navy */
.ts-compare-faq {
  padding: 0.25rem 0 0.5rem;
}

.ts-compare-faq details {
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ts-compare-faq summary {
  cursor: pointer;
  font-weight: 650;
  color: #f4f6f9 !important;
}

.ts-compare-faq p {
  margin: 0.5rem 0 0;
  color: rgba(232, 238, 246, 0.82) !important;
  line-height: 1.55;
}

.ts-compare-faq a {
  color: #ffb36b !important;
}

.ts-compare .small,
.ts-compare-disclaimer {
  font-size: 0.86rem;
  color: rgba(232, 238, 246, 0.65) !important;
}

/* Hide empty theme FAQ shell if meta is blank but section chrome shows */
#faq:not(:has(.accordion-item)) {
  display: none !important;
}
