/* PlaidCars — content render system (CW-4 blocks + CW-5 base), 2026-06-10.
   Token-first (brand-tokens.css; literal fallbacks so prose styles even if a
   token sheet is absent). Mobile-first. Two-colour discipline; green = deal-only.
   .pc-data numerals are Saira Semi Condensed via the shortcode's own CSS. */

/* ======================================================================
   CW-5 — native-element base: a raw <table>/<ul>/<blockquote>/<a> inside the
   post/page content renders on-brand with zero extra classes.
   ====================================================================== */
.entry-content h2 {
  font-family: var(--pc-font-display, "Saira"), system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 4.5vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--pc-charcoal, #161616);
  margin: 1.6em 0 0.5em;
}
.entry-content h3 {
  font-family: var(--pc-font-display, "Saira"), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3.4vw, 23px);
  line-height: 1.25;
  color: var(--pc-charcoal, #161616);
  margin: 1.3em 0 0.4em;
}
.entry-content a {
  color: var(--pc-red, #990000);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover { text-decoration: none; }
.entry-content ul,
.entry-content ol { margin: 1em 0; padding-left: 1.4em; }
.entry-content li { margin: 0.35em 0; line-height: 1.55; }
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 12px 18px;
  border-left: 4px solid var(--pc-red, #990000);
  background: #faf6f6;
  color: var(--pc-charcoal, #161616);
  font-style: normal;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 15px;
}
.entry-content th,
.entry-content td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--pc-line, #e5e5e5);
  vertical-align: top;
}
.entry-content thead th {
  background: var(--pc-charcoal, #161616);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.entry-content tbody th { font-weight: 700; color: var(--pc-charcoal, #161616); }
.entry-content table a { font-weight: 600; }
/* a "callout" the writer can mark with a class on a <p>/<div> */
.entry-content .pc-callout {
  margin: 1.5em 0;
  padding: 14px 18px;
  border: 1px solid var(--pc-line-strong, #d5d5d5);
  border-left: 4px solid var(--pc-red, #990000);
  border-radius: 0 6px 6px 0;
  background: #fff;
}

/* ======================================================================
   CW-4 — [pc_paths] "start where you are"
   ====================================================================== */
.pc-paths { margin: 1.8em 0; }
.pc-paths__heading,
.pc-compare__heading,
.pc-next__heading {
  font-family: var(--pc-font-display, "Saira"), system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 4vw, 26px);
  color: var(--pc-charcoal, #161616);
  margin: 0 0 0.6em;
}
.pc-paths__list { display: grid; gap: 10px; }
.pc-paths__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--pc-line, #e5e5e5);
  border-left: 4px solid var(--pc-red, #990000);
  border-radius: 0 6px 6px 0;
}
.pc-paths__who { font-weight: 800; color: var(--pc-charcoal, #161616); }
.pc-paths__what { color: #444; font-size: 15px; line-height: 1.5; }
.pc-paths__cta { margin-top: 4px; font-weight: 700; color: var(--pc-red, #990000); text-decoration: none; }
.pc-paths__cta:hover { text-decoration: underline; }

/* ======================================================================
   CW-4 — [pc_compare] rate/price table (pulls [pc_data] per cell)
   ====================================================================== */
.pc-compare { margin: 1.8em 0; }
.pc-compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pc-compare__table { width: 100%; border-collapse: collapse; min-width: 460px; }
.pc-compare__table th,
.pc-compare__table td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--pc-line, #e5e5e5);
  vertical-align: middle;
}
.pc-compare__table thead th {
  background: var(--pc-charcoal, #161616);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.pc-compare__table tbody th { font-weight: 700; color: var(--pc-charcoal, #161616); white-space: nowrap; }
.pc-compare__table .pc-data { display: inline-flex; flex-direction: column; gap: 0; }
.pc-compare__table .pc-data__value { font-family: var(--pc-font-num, "Saira Semi Condensed"), system-ui, sans-serif; font-weight: 700; color: var(--pc-charcoal, #161616); }
.pc-compare__table .pc-data__label { font-size: 11px; color: #777; }
.pc-compare__table .pc-data__stamp { display: none; }
.pc-compare__link { white-space: nowrap; font-weight: 600; color: var(--pc-red, #990000); text-decoration: none; }
.pc-compare__link:hover { text-decoration: underline; }

/* ======================================================================
   CW-4 — [pc_next] where-to-next cards
   ====================================================================== */
.pc-next { margin: 1.8em 0; }
.pc-next__grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pc-next__card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--pc-line, #e5e5e5);
  border-radius: 6px;
  text-decoration: none;
  color: var(--pc-charcoal, #161616);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.pc-next__card:hover { border-color: var(--pc-red, #990000); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.pc-next__label { font-weight: 700; }
.pc-next__sub { color: #666; font-size: 14px; }
.pc-next__arrow { margin-left: auto; color: var(--pc-red, #990000); font-weight: 700; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (min-width: 640px) {
  .pc-paths__row { grid-template-columns: 200px 1fr auto; align-items: center; gap: 14px; }
  .pc-paths__cta { margin-top: 0; white-space: nowrap; }
  .pc-next__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
