/* Site footer (inc/site-footer.php). Own .pbf-* classes, so the Tailwind purge
   and retro-brand.css recolours never reach it. Container matches the header
   (max-w-7xl, px 16/24/32) so the columns line up with the nav above. Every
   label is sized to sit on one line in a 6-column row (≈182px at 14px Inter),
   so the room to breathe is vertical: row gaps, group gaps, the bar below.
   Blush pink with black type (user's pick, 2026-10-12). */

.pbf {
  --pbf-bg: #ffdcdc;                      /* soft blush; black text on it is 16:1 */
  --pbf-line: rgba(76, 5, 25, .12);
  --pbf-head: #1f1013;                    /* warm near-black */
  --pbf-link: #0b0b10;
  --pbf-mut: rgba(0, 0, 0, .66);
  background:
    radial-gradient(1200px 520px at 12% -10%, rgba(255, 255, 255, .45), transparent 60%),
    var(--pbf-bg);
  color: var(--pbf-mut);
  font: 400 14px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pbf a { color: inherit; text-decoration: none; }
.pbf a:focus-visible { outline: 2px solid var(--pbf-head); outline-offset: 3px; border-radius: 3px; }

.pbf-wrap { max-width: 80rem; margin: 0 auto; padding: 88px 16px 0; }
@media (min-width: 640px) { .pbf-wrap { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1024px) { .pbf-wrap { padding: 128px 32px 0; } }

/* Partner program banner: the one dark block on the blush footer, so it stands out. */
.pbf .pbf-aff { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 0 0 96px; padding: 28px 28px; border-radius: 20px; background: #0b0b10; color: #f4f4f6; box-shadow: 0 18px 40px -22px rgba(76, 5, 25, .55); transition: transform .15s ease, box-shadow .15s ease; }
.pbf .pbf-aff:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -22px rgba(76, 5, 25, .6); }
@media (min-width: 1024px) { .pbf .pbf-aff { padding: 32px 40px; margin-bottom: 112px; } }
.pbf-aff__text { display: grid; gap: 6px; max-width: 46rem; }
.pbf-aff__kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ffdcdc; }
.pbf-aff__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.2; color: #fff; }
.pbf-aff__sub { font-size: 14px; color: #b4b4c0; }
.pbf-aff__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; background: #ffdcdc; color: #0b0b10; font-size: 15px; font-weight: 700; white-space: nowrap; }
.pbf-aff__btn span { transition: transform .15s ease; }
.pbf .pbf-aff:hover .pbf-aff__btn span { transform: translateX(3px); }

/* Columns */
.pbf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 24px; }
@media (min-width: 768px) { .pbf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .pbf-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.pbf-group + .pbf-group { margin-top: 72px; }
.pbf-h { margin: 0 0 28px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; color: var(--pbf-head); }
.pbf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.pbf-list li { line-height: 1.5; }
.pbf-list a { color: var(--pbf-link); transition: color .15s ease; }
.pbf-list a:hover { color: #000; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .55); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pbf-hub a { font-weight: 600; white-space: nowrap; }
.pbf-hub span { display: inline-block; transition: transform .15s ease; }
.pbf-hub a:hover span { transform: translateX(2px); }
.pbf-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 5px; background: #0b0b10; color: #ffdcdc; font-size: 12px; font-weight: 600; line-height: 1.5; vertical-align: 1px; }

/* Brand bar: logo + social, then copyright + disclaimer + legal links */
.pbf-base { display: grid; gap: 24px; margin-top: 120px; padding: 40px 0 56px; border-top: 1px solid var(--pbf-line); }
.pbf-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.pbf .pbf-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #0b0b10; }
.pbf-brand img { width: 28px; height: 28px; object-fit: contain; }
.pbf-copy { margin: 0; font-size: 13px; color: var(--pbf-mut); }
.pbf-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.pbf-legal a { color: var(--pbf-mut); transition: color .15s ease; }
.pbf-legal a:hover { color: #000; }
.pbf-social { display: flex; gap: 8px; }
.pbf-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--pbf-line); border-radius: 8px; color: var(--pbf-link); font-size: 15px; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.pbf-social a:hover { background: rgba(255, 255, 255, .55); border-color: rgba(76, 5, 25, .3); color: #000; }

/* While the sticky deal bar (template-parts/deal-bar.php) floats over the page
   bottom, leave room under the legal row so it can still be read and clicked. */
body:has(.pbb.is-on) .pbf-base { padding-bottom: 128px; }
@media (max-width: 559px) { body:has(.pbb.is-on) .pbf-base { padding-bottom: 168px; } }
