/* ============================================================
   The public /advertise page (templates/advertise/page.html), on top of
   static/css/leads.css. Loaded only by that page; every selector is under
   .adv, so nothing here reaches the base nav, the footer or another page.
   Mobile first: one column at 375px, two from 720px.
   ============================================================ */
.adv-wrap { max-width: 860px; margin: 0 auto; }
.adv-hero { text-align: center; padding: 16px 0 12px; }
.adv-hero h1 { font-size: 34px; }
.adv-cta {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--lead-terracotta);
  color: #FFFFFF !important;
  font-weight: 600;
  text-decoration: none !important;
}
.adv-cta:hover { background: var(--lead-terracotta-dark); }
.adv-section { margin-top: 36px; }
.adv-section h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--lead-ink);
  margin: 0 0 12px;
}
.adv-section p { font-size: 16px; line-height: 1.65; color: var(--lead-soft); margin: 0 0 12px; }
.adv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.adv-card {
  background: #FFFFFF;
  border: 1px solid #EDE3D6;
  border-radius: 16px;
  padding: 20px;
  overflow-wrap: anywhere;
}
.adv-card h3 { font-size: 18px; font-weight: 700; color: var(--lead-ink); margin: 0 0 8px; }
.adv-card ul { margin: 0; padding-left: 20px; color: var(--lead-soft); line-height: 1.7; }
.adv .adv-price { font-weight: 700; color: var(--lead-terracotta-dark); margin: 8px 0 0; }
.adv-form { scroll-margin-top: 90px; max-width: none; }
.adv-slots { border: 0; padding: 0; margin-left: 0; margin-right: 0; }
.adv-slots legend { font-weight: 600; padding: 0; margin-bottom: 8px; color: var(--lead-ink); }
.adv .adv-choice { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 400; margin: 0; }
.adv-choice input { width: auto; margin: 0; }
.adv select {
  display: block; width: 100%; box-sizing: border-box; font: 16px 'Inter', sans-serif;
  color: var(--lead-ink); background: #FFFFFF; border: 1.5px solid var(--lead-line);
  border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
/* leads.css styles text, email and tel inputs; the website box matches them. */
.adv input[type="url"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: 16px 'Inter', sans-serif;
  color: var(--lead-ink);
  background: #FFFFFF;
  border: 1.5px solid var(--lead-line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
}

@media (min-width: 720px) {
  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-hero h1 { font-size: 42px; }
}

/* The live numbers (utils/site_stats.py): two columns on a phone, four from 720px. */
.adv-stats-group { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lead-soft); margin: 22px 0 10px; }
.adv-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.adv-stat { display: flex; flex-direction: column-reverse; background: #FFFFFF; border: 1px solid #EDE3D6; border-radius: 16px; padding: 16px; min-width: 0; }
.adv-stat-num { margin: 0; font-family: 'Playfair Display', serif; font-size: 30px; line-height: 1.15; color: var(--lead-terracotta-dark); overflow-wrap: anywhere; }
.adv-stat-label { margin: 6px 0 0;  /* drawn under the number: column-reverse */ font-size: 14px; line-height: 1.4; color: var(--lead-soft); }
.adv .adv-stats-updated { font-size: 13px; color: var(--lead-soft); margin: 14px 0 0; }
@media (min-width: 720px) {
  .adv-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
