﻿/* ==========================================================================
   FindPaidFocusGroup — Nationwide listing page
   Loaded after home.css (design tokens, cards, chips, badges, header/footer).
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */
.fp .crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.fp .crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-muted); }
.fp .crumbs a:hover { color: var(--brand); text-decoration: underline; }
.fp .crumbs span { color: var(--ink); }

/* ---------- Hero ---------- */
.fp .nw-hero {
  padding: 40px 0 48px;
  background: var(--surface-100);
  border-bottom: 1px solid var(--line);
}
.fp .nw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  margin-top: 16px;
}
.fp .nw-stats { display: flex; gap: 32px; margin-top: 24px; }
.fp .nw-stat-val { font-size: 26px; font-weight: 800; line-height: 1.2; }

/* Top-paying sidebar */
.fp .nw-top-paying {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.fp .nw-top-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color .15s;
}
.fp .nw-top-item + .nw-top-item { margin-top: 10px; }
.fp .nw-top-item:hover { border-color: var(--brand); }
.fp .nw-top-item__title { font-weight: 700; font-size: 15px; }

/* ---------- On this page nav ---------- */
.fp .nw-onpage { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 600; font-size: 15px; padding: 16px 0; }

/* ---------- Sections ---------- */
.fp .nw-sec { padding: var(--space-12) 0; }
.fp .nw-sec.band { background: var(--surface-100); }

/* ---------- Study row list (same pattern as focus-groups page) ---------- */
.fp .nw-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.fp .nw-list .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-6);
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .1s;
}
.fp .nw-list .row:last-child { border-bottom: 0; }
.fp .nw-list .row:hover { background: var(--surface-100); }
.fp .nw-list .row-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.fp .nw-list .row h3 { font-size: 17px; line-height: 24px; font-weight: 700; color: var(--brand-strong); margin: 2px 0 0; }
.fp .nw-list .row .meta { margin-top: 4px; font-size: 14px; }

/* Row tags */
.fp .row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fp .row-tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ---------- Pagination ---------- */
.fp .nw-pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.fp .nw-pagination .chip { text-decoration: none; }
.fp .nw-pagination .chip.on { cursor: default; }

/* ---------- How it works prose ---------- */
.fp .nw-prose { max-width: 820px; font-size: 17px; line-height: 28px; }
.fp .nw-prose h3 { margin: 24px 0 6px; }
.fp .nw-prose p + p { margin-top: 14px; }

.fp .nw-pay-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.fp .nw-pay-table td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fp .nw-pay-table td:last-child { text-align: right; font-weight: 700; color: var(--pay); }

/* ---------- FAQ ---------- */
.fp details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fp summary {
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.fp summary::-webkit-details-marker { display: none; }
.fp summary::after { content: "+"; color: var(--brand); font-size: 22px; flex-shrink: 0; }
.fp details[open] summary::after { content: "−"; }
.fp details p { margin-top: 8px; font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* ---------- Topic grid ---------- */
.fp .nw-topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.fp .topic-group h3 { font-size: 15px; line-height: 22px; margin-bottom: 10px; }
.fp .topic-group .chips { gap: 8px; }
.fp .topic-count { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--ink-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .fp .nw-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fp .nw-list .row { padding: 14px 16px; gap: 12px; }
  .fp .nw-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 640px) {
  .fp .nw-hero { padding: 28px 0 36px; }
  .fp .nw .card h1 { font-size: 30px; line-height: 36px; }
  .fp .nw-stats { gap: 20px; }
  .fp .nw-topic-grid { grid-template-columns: minmax(0, 1fr); }
  .fp .nw-onpage { gap: 12px; }
}
