/* The "Free or Featured" comparison table (see scripts/apply-plan-table.mjs, which writes the markup into For Law Firms and List Your Firm).
   It is a self-contained white card, so it reads the same on the dark For Law Firms band and the light List Your Firm page. Palette colors only.
   Reading order: a plan header, a "Free on every listing" band (a tick for Basic and Featured), then a navy "Featured adds" band and the Featured-only
   groups (a lock for Basic, a gold tick for Featured). Every plan cell is one icon in a fixed-size circle, so the two plan columns always line up. */
.pc{ position:relative; max-width:940px; margin:0 auto; background:#fff; color:#2a2a2a; border:1px solid #ece6d3; border-radius:16px; overflow:hidden; text-align:left; box-shadow:0 18px 40px -22px rgba(42,42,42,.45); font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif; }
.pc table{ width:100%; border-collapse:separate; border-spacing:0; table-layout:fixed; font-family:inherit; }
.pc .sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.pc-sprite{ position:absolute; width:0; height:0; overflow:hidden; }
.pc th, .pc td{ padding:14px 18px; vertical-align:middle; font-family:inherit; }

/* columns: the words on the left, one narrow column per plan */
.pc .pc-lab{ width:54%; text-align:left; }
.pc .pc-b{ width:20%; text-align:center; }
.pc .pc-f{ width:26%; text-align:center; background:rgba(244,236,216,.5); }

/* plan headers */
.pc thead th{ vertical-align:top; padding-top:20px; padding-bottom:18px; font-weight:400; }
.pc thead .pc-h{ text-align:center; padding-left:12px; padding-right:12px; }
.pc thead .pc-f{ background:#f4ecd8; border-top:4px solid #e2bd6a; padding-top:16px; }
.pc .pc-name{ display:block; font-family:'Source Serif 4',Georgia,serif; font-size:20px; font-weight:700; color:#2a2a2a; }
.pc .pc-price{ display:block; margin:2px 0 0; font-size:28px; line-height:1.15; font-weight:800; color:#2a2a2a; }
.pc .pc-price small{ font-size:14px; font-weight:600; color:#5f5f5f; }
.pc .pc-sub{ display:block; margin:3px 0 12px; font-size:12.5px; color:#5f5f5f; line-height:1.4; }
.pc .pc-tag{ display:inline-block; margin:0 0 6px; padding:2px 10px; border-radius:999px; background:#2a2a2a; color:#fffdf8; font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.pc .pc-btn{ display:block; box-sizing:border-box; width:100%; max-width:230px; margin:0 auto; padding:10px 12px; border:1.5px solid #2a2a2a; border-radius:999px; color:#2a2a2a; background:#fff; font-size:14px; font-weight:700; text-align:center; text-decoration:none; line-height:1.3; }
.pc .pc-btn:hover{ background:#f4ecd8; }
.pc .pc-btn.go{ background:#e2bd6a; border-color:#e2bd6a; }
.pc .pc-btn.go:hover{ background:#e6d4a4; border-color:#e6d4a4; }
.pc .pc-short{ display:none; }
.pc thead th.pc-corner{ vertical-align:bottom; padding-bottom:22px; font-size:12px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#5f5f5f; }

/* the two bands: what is free, then what Featured adds */
.pc .pc-band th{ padding:16px 18px; text-align:left; font-weight:400; line-height:1.45; border-top:1px solid #ece6d3; }
.pc .pc-band b{ display:block; font-size:16px; font-weight:800; }
.pc .pc-band span{ display:block; margin-top:1px; font-size:13px; }
.pc .pc-band-free th{ background:#fffdf8; color:#2a2a2a; }
.pc .pc-band-free span{ color:#5f5f5f; }
.pc .pc-band-feat th{ position:relative; padding-left:54px; background:#2a2a2a; color:#fffdf8; border-top-color:#2a2a2a; }
.pc .pc-band-feat span{ color:#e2bd6a; }
.pc .pc-bandlock{ position:absolute; left:18px; top:50%; width:24px; height:24px; margin-top:-12px; color:#e2bd6a; }

/* the groups inside "Featured adds" */
.pc .pc-group th{ padding:10px 18px; background:#fff; border-top:1px solid #ece6d3; border-bottom:1px solid #f7f1e0; text-align:left; font-size:11.5px; font-weight:800; letter-spacing:.07em; text-transform:uppercase; color:#8c8c8c; }

/* rows: a title and one line on the left, one icon per plan */
.pc tbody tr:not(.pc-band):not(.pc-group) > *{ border-top:1px solid #f7f1e0; }
.pc tbody tr.pc-band + tr > *, .pc tbody tr.pc-group + tr > *{ border-top:0; }
.pc tbody th.pc-lab{ font-size:15px; font-weight:700; line-height:1.35; color:#2a2a2a; }
.pc tbody th.pc-lab small{ display:block; margin-top:3px; font-size:13px; font-weight:400; line-height:1.45; color:#5f5f5f; }
.pc-mark{ display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:28px; height:28px; border-radius:50%; vertical-align:middle; }
.pc .pc-i{ width:16px; height:16px; }
.pc-mark.ok{ background:#f7f1e0; color:#3a3a3a; }
.pc .pc-f .pc-mark.ok{ background:#e2bd6a; color:#2a2a2a; }
.pc-mark.lock{ border:1.5px solid #ece6d3; background:#fff; color:#8c8c8c; }
.pc .pc-i{ display:block; }
/* the Basic column of a Featured-only row is shaded, so the lock reads as a closed door all the way down */
.pc tr.pc-lk > td.pc-b{ background:#fffdf8; }

/* the buttons again at the foot, so nobody scrolls back up */
.pc tfoot td{ padding:18px; border-top:1px solid #ece6d3; vertical-align:middle; }
.pc tfoot td.pc-end{ font-size:15px; line-height:1.4; color:#2a2a2a; }
.pc tfoot td.pc-end b{ display:block; font-weight:800; }
.pc tfoot td.pc-end small{ display:block; margin-top:2px; font-size:13px; font-weight:400; color:#5f5f5f; }
.pc tfoot td.pc-b, .pc tfoot td.pc-f{ padding-left:12px; padding-right:12px; }

@media (max-width:680px){
  .pc{ border-radius:12px; }
  .pc th, .pc td{ padding:12px 8px; }
  .pc .pc-lab{ width:52%; }
  .pc .pc-b{ width:21%; }
  .pc .pc-f{ width:27%; }
  .pc thead .pc-h{ padding-left:4px; padding-right:4px; }
  .pc .pc-name{ font-size:16px; }
  .pc .pc-price{ font-size:21px; }
  .pc .pc-price small{ font-size:10.5px; white-space:nowrap; }
  .pc thead th.pc-corner{ padding-left:12px; font-size:10.5px; }
  .pc .pc-sub{ display:none; }
  .pc .pc-price{ margin-bottom:10px; }
  .pc .pc-tag{ font-size:9px; padding:2px 6px; letter-spacing:.02em; }
  .pc .pc-long{ display:none; }
  .pc .pc-short{ display:inline; }
  .pc .pc-btn{ font-size:12px; padding:9px 4px; white-space:nowrap; }
  .pc .pc-band th{ padding:14px 12px; }
  .pc .pc-band b{ font-size:15px; }
  .pc .pc-band span{ font-size:12.5px; }
  .pc .pc-band-feat th{ padding-left:44px; }
  .pc .pc-bandlock{ left:12px; width:22px; height:22px; margin-top:-11px; }
  .pc .pc-group th{ padding:9px 12px; }
  .pc tbody th.pc-lab{ padding-left:12px; font-size:13.5px; }
  .pc tbody th.pc-lab small{ font-size:12px; }
  .pc-mark{ width:26px; height:26px; }
  .pc .pc-i{ width:15px; height:15px; }
  .pc tfoot td{ padding:14px 8px; }
  .pc tfoot td.pc-end{ padding-left:12px; font-size:13.5px; }
  .pc tfoot td.pc-end small{ font-size:12px; }
  .pc tfoot td.pc-b, .pc tfoot td.pc-f{ padding-left:4px; padding-right:4px; }
}
