/* Existing specialty-page dark surfaces.
   Load after ldb-site-polish.css and the page-family stylesheet.
   Scoped to reviewed mains; the approved homepage and AI page are untouched. */

main.spp[data-ldb-site-polish] :is(.pod-hero,.pod-dark,.fit-hero,.fit-dark,.rest-hero,.rest-navy,.rest-close) :is(h1,h2,h3,h4) {
  color: #fff;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.pod-dark,.fit-hero,.fit-dark,.rest-hero,.rest-navy,.rest-close) :is(p,li,.lead,.rest-lead,.fit-lead) {
  color: #d0dfe5;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.pod-dark,.fit-hero,.fit-dark,.rest-hero,.rest-navy,.rest-close) :is(.eyebrow,.rest-eyebrow,.fit-eyebrow) {
  color: #f4c65d;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.pod-dark,.fit-hero,.fit-dark,.rest-hero,.rest-navy,.rest-close) a:not(:is(.btn,.rest-button,.fit-button,.button,.spp-button,.ai-link)) {
  color: #f5c764;
}

main.spp[data-ldb-site-polish] .rest-hero h1 em {
  color: #f5c845;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.pod-dark,.fit-hero,.fit-dark,.rest-hero,.rest-navy,.rest-close) :is(a,button,summary):focus-visible {
  outline-color: #f5c764;
}

/* These original testimonial cards have light backgrounds inside dark heroes.
   Keep their text and links dark after restoring the surrounding palette. */
main.spp[data-ldb-site-polish] :is(.pod-hero,.fit-hero,.rest-hero) .ldb-review-hero,
main.spp[data-ldb-site-polish] :is(.pod-hero,.fit-hero,.rest-hero) .ldb-review-hero :is(h1,h2,h3,h4,.ldb-review-name) {
  color: #14252e;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.fit-hero,.rest-hero) .ldb-review-hero :is(p,li) {
  color: #4b5c66;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.fit-hero,.rest-hero) .ldb-review-hero a {
  color: #075c78;
}

main.spp[data-ldb-site-polish] :is(.pod-hero,.fit-hero,.rest-hero) .ldb-review-hero a:focus-visible {
  outline-color: #075c78;
}

/* The plugin keeps its existing ID-scoped hero design. Only its dark closing
   section needs a direct paragraph color after the shared typography reset. */
main#plugin-page.spp[data-ldb-site-polish] .closing :is(h1,h2,h3,h4,strong) {
  color: #fff;
}

main#plugin-page.spp[data-ldb-site-polish] .closing :is(p,li) {
  color: #d0dfe5;
}

main#plugin-page.spp[data-ldb-site-polish] .closing .eyebrow,
main#plugin-page.spp[data-ldb-site-polish] .closing a:not(.button) {
  color: #f4c65d;
}

main#plugin-page.spp[data-ldb-site-polish] .closing :is(a,button,summary):focus-visible {
  outline-color: #f5c764;
}

/* After the empty prompt card is removed, let the remaining guidance use the
   full existing grid without changing any other two-column plugin section. */
main#plugin-page.spp[data-ldb-site-polish] .start-grid > :only-child {
  grid-column: 1 / -1;
}
