/* /pricing-guide, /{state}/pricing-guide and /expensive-exotics (SER-598, boards/PricingGuide.html
   and Article.html). Body class "crl": tokens, page head, stats strip, bars, tables, prose and cards
   come from base.css; page-only rules here. */
.crl .site-main { display: block; }

/* SER-679: full-bleed header photo behind the H1 (render/content.js pageHeadHTML heroImg), the
   brand / city heroes' shade so the eyebrow, lead and meta keep >= 4.5:1 over the photo */
.pg-photo { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 520px; padding: 0; }
.pg-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pg-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.6) 50%, rgba(10,10,11,.2) 80%), linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 40%); }
.pg-photo-in { position: relative; z-index: 1; width: 100%; padding-top: 72px; padding-bottom: 48px; }
@media (max-width: 900px) { .pg-photo { min-height: 440px; } }
@media (max-width: 600px) {
  .pg-photo { min-height: 400px; }
  .pg-photo-in { padding-bottom: 32px; }
  .pg-photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,.8) 55%, rgba(10,10,11,.7) 100%); }
}

.pgd-stats { padding-top: 32px; }
.pgd-intro { max-width: 820px; }
.pgd-intro p:last-child { margin-bottom: 0; }
.pgd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pgd-chips .chip { min-height: var(--tap); }

/* brand bars: label carries a muted count line */
.pgd-bars { max-width: 960px; }
.pgd-bars .bar-row { grid-template-columns: minmax(0, 220px) minmax(0, 1fr) minmax(80px, auto); }
.pgd-bars .bar-label { display: flex; flex-direction: column; }
.pgd-bars .bar-label a { font-weight: 700; text-decoration: none; }
.pgd-bars .bar-label a:hover { color: var(--accent); }
.pgd-n { font-size: 13px; color: var(--mu); }

/* price distribution: vertical bars (bands low → high) */
.dist { display: flex; gap: 14px; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.dist-col { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.dist-l { order: 3; font-size: 13px; text-align: center; overflow-wrap: anywhere; }
.dist-n { order: 1; font-size: 13px; color: var(--mu); }
.dist-track { order: 2; display: flex; align-items: flex-end; width: 100%; height: 200px; background: linear-gradient(0deg, var(--s2) 1px, transparent 1px); }
.dist-bar { display: block; width: 100%; background: var(--accent); animation: rise var(--dur-rise) var(--ease-ui) both; }
.dist-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pgd-insights { margin-top: 36px; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); max-width: 900px; }
.pgd-insights h3 { margin: 0 0 10px; font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); }
.pgd-insights ul { margin: 0; padding-left: 20px; color: var(--tx-2); }
.pgd-insights li { margin: 0 0 6px; }

/* tables */
.crl .tbl td a, .crl .tbl th a { display: inline-block; padding: 4px 0; }
.pgd-rank { color: var(--mu); }
.pgd-price-table td, .pgd-price-table th { white-space: nowrap; }
.pgd-narrow { max-width: 760px; }

/* CTA band (two buttons: one gold, one ghost) */
.pg-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; border: 1px solid var(--line); background: var(--s1); }
.pg-cta-title { margin: 0; font-size: 22px; font-weight: 800; }
.pg-cta p { margin: 6px 0 0; }
.pg-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rel-card .muted { font-size: 15px; }
.pgd-about { max-width: 920px; }

/* /expensive-exotics: ranked list inside the long-read */
.ee-list { margin: 24px 0 32px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.ee-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.ee-rank { font-size: 22px; color: var(--accent); }
.ee-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ee-name { font-size: 18px; } .ee-name a { color: var(--tx); text-decoration: none; } .ee-name a:hover { color: var(--accent); }
.ee-meta { font-size: 15px; color: var(--mu); }
.ee-price { font-size: 20px; color: var(--tx); white-space: nowrap; }
.ee-unit { font: 500 13px var(--font-body); color: var(--mu); }
.ee-article .chunk h3 { margin-bottom: 0; }
.ee-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; }

@media (max-width: 600px) {
  .pgd-bars .bar-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .pgd-bars .bar-label { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  .dist { gap: 6px; }
  .dist-l, .dist-n { font-size: 11px; }
  .dist-track { height: 150px; }
  .pg-cta { padding: 22px; }
  .pg-cta-btns .btn { flex: 1 1 100%; }
  .ee-item { grid-template-columns: 34px minmax(0, 1fr); }
  .ee-price { grid-column: 2; }
}
