/* ============================================================
   WordFindLab — Homepage layout (RankSerps-style alignment)
   Loaded only on the homepage, after style.css + premium.css.
   Two-column hero with the live tool as the hero card,
   benefit cards row, consistent section rhythm.
   ============================================================ */

/* ---------- Hero ---------- */
.pr-hero { padding: 40px 24px 20px; }
.pr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
}
.pr-hero-copy { padding-top: 14px; }
.pr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--pr-accent-soft);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.pr-hero-badge .ui-icon { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.pr-hero .hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  margin: 0 0 14px;
}
.pr-hero .hero-subcopy {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 0 0 22px;
}
.pr-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.pr-hero-cta .btn {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
}
.pr-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.pr-hero-trust span { display: inline-flex; align-items: center; }
.pr-hero-trust span + span::before {
  content: "\00B7";
  margin: 0 10px;
  color: var(--pr-border-strong);
}
.pr-hero-quick { display: flex; flex-wrap: wrap; gap: 10px; }

/* hero panel = the live tool */
.pr-hero-panel { min-width: 0; }
.pr-hero-panel .hero-search-card {
  margin: 0;
  box-shadow: var(--pr-shadow-lg);
  border: 1px solid var(--pr-border-strong);
}

/* ---------- Benefits row ---------- */
.pr-benefits { padding: 26px 24px 6px; }
.pr-benefits-grid {
  max-width: 1200px;
  margin: 0 auto;
}
.pr-benefits .hero-feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
.pr-benefits .hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--pr-border-strong);
  border-radius: var(--radius);
  box-shadow: var(--pr-shadow-sm);
  padding: 18px 16px;
  margin: 0;
  transition: transform 0.16s var(--pr-ease), box-shadow 0.16s var(--pr-ease);
}
.pr-benefits .hero-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--pr-shadow-md);
}
.pr-benefits .hero-feature h3 { margin: 0 0 4px; font-size: 15px; }
.pr-benefits .hero-feature p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Section rhythm ---------- */
.pr-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
  margin: 0 0 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pr-hero { padding: 26px 16px 10px; }
  .pr-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .pr-hero-copy { padding-top: 0; text-align: left; }
  .pr-benefits { padding: 18px 16px 4px; }
  .pr-benefits .hero-feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pr-benefits .hero-feature-row { grid-template-columns: 1fr; }
  .pr-hero-cta .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
}

/* ============================================================
   Homepage cleanup pass: full-width layout, even vertical
   rhythm, no empty side rail, consistent section kickers.
   ============================================================ */

/* 1. Remove the near-empty right rail: single column, full width */
body.home-page .page-wrap {
  grid-template-columns: 1fr;
  gap: 0;
}
body.home-page .page-sidebar { display: none; }

/* 2. One uniform gap between every homepage section — kills the
      mixed 7px-gap + 16/24px-margin stacking */
body.home-page .page-main { gap: 22px; }
body.home-page .page-main > section,
body.home-page .page-main > div { margin: 0 !important; }

/* 3. Tighten loose section interiors */
body.home-page .today-games-section { padding: 22px; }
body.home-page .homepage-wotd--featured { padding: 20px; }
body.home-page .seo-section--grid { gap: 14px; }
body.home-page .wotd-featured-layout { gap: 14px; }

/* 4. All section kickers share one style (match .pr-kicker) */
body.home-page .family-section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
}

/* 5. Hero: trim bottom so the first section sits close */
body.home-page .pr-hero { padding-bottom: 12px; }
body.home-page .page-wrap { padding-top: 10px; }

/* 6. Soften the hero background gradient pools (hard band at hero edge) */
body.home-page .hero-shell::before { opacity: 0.45; }

/* 7. Deterministic centering: block layout, hard auto margins */
body.home-page .page-wrap {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
body.home-page .page-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}

/* 8. Merged how-it-works card: numbered steps */
.pr-howto { max-width: none; }
.pr-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 4px;
}
.pr-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--pr-surface-2);
  border: 1px solid var(--pr-border-strong);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.pr-step > span {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--pr-accent-grad);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.pr-step strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.pr-step p { margin: 0; font-size: 13px; color: var(--pr-ink-soft); line-height: 1.5; }
.pr-howto-note { margin: 10px 0 4px; color: var(--pr-ink-soft); }
@media (max-width: 860px) { .pr-steps { grid-template-columns: 1fr; } }

/* 9. Unfilled ad slots must not reserve blank space on the homepage */
body.home-page .ad-slot:empty { min-height: 0; background: transparent; }
body.home-page .ad-wrap { margin-top: 10px; margin-bottom: 10px; }
