/* Full "All 40 comparisons" page (/compare). Reuses the .pc-card markup
   produced by price-comparison-cards.js but lays them out as a wrapping
   grid instead of the homepage ribbon's horizontal scroll strip. */

body.price-comparisons-page .pcf-hero {
  max-width: 760px;
  margin: 28px auto 8px;
  padding: 0 18px;
  text-align: center;
}
body.price-comparisons-page .pcf-hero-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 163, 96, .12);
  color: var(--np-price-saving, #0f9d58);
  font-size: 12px;
  font-weight: 600;
}
body.price-comparisons-page .pcf-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -.02em;
}
body.price-comparisons-page .pcf-hero-sub {
  margin: 0 auto;
  max-width: 620px;
  color: var(--pub-text2, #6b7280);
  font-size: 15px;
  line-height: 1.5;
}
body.price-comparisons-page .pcf-count {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pub-text2, #6b7280);
}

body.price-comparisons-page .pcf-section {
  max-width: 1180px;
  margin: 18px auto 40px;
  padding: 0 18px;
}
body.price-comparisons-page .pcf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

body.price-comparisons-page .pc-card {
  display: flex;
  flex-flow: row wrap;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--pub-border, #e5e7eb);
  background: var(--pub-surface, #fff);
}
body.price-comparisons-page .pc-card-name {
  order: 0;
  flex: 0 0 100%;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}
body.price-comparisons-page .pc-card-badge {
  order: 1;
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 1px solid #329c70;
  border-radius: 10px;
  background: #08683f;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
body.price-comparisons-page .pc-card-prices { order: 2; flex: 0 0 100%; display: flex; flex-direction: column; gap: 6px; }
body.price-comparisons-page .pc-card-neo-label { color: var(--np-ui-accent, #2563eb); font-size: .8125rem; margin-right: 6px; }
body.price-comparisons-page .pc-price-amount { font-size: 1.1rem; font-weight: 650; }
body.price-comparisons-page .pc-price-unit { color: var(--pub-text2, #6b7280); font-size: .8125rem; }
body.price-comparisons-page .pc-card-official-label { font-size: .8125rem; color: var(--pub-text2, #6b7280); margin-right: 6px; }
body.price-comparisons-page .pc-card-official-val { font-size: .875rem; color: var(--pub-text2, #6b7280); }
body.price-comparisons-page .pc-card-note {
  order: 3;
  flex: 0 0 100%;
  margin: 0;
  padding-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--pub-text3, #9ca3af);
}
body.price-comparisons-page .pc-card-source {
  order: 4;
  flex: 0 0 100%;
  font-size: 11px;
  color: var(--np-ui-accent, #2563eb);
  text-decoration: none;
  word-break: break-all;
}
body.price-comparisons-page .pc-card-source:hover { text-decoration: underline; }

@media (max-width: 700px) {
  body.price-comparisons-page .pcf-grid { grid-template-columns: 1fr; }
}
