/*
 * Task #1469883 — 10/10 Final Polish Pass: Homepage + /settlements
 *
 * This file owns: Premium visual refinements for hp-* and dir-* components.
 * Does NOT own: Base layout, color tokens, or typography scale.
 * All changes are additive — no `!important` overrides unless fixing a visual defect.
 *
 * Sections:
 *  1. HOMEPAGE — Hero elevation
 *  2. HOMEPAGE — Stats / "By the Numbers" premium treatment
 *  3. HOMEPAGE — Trust bar refinement
 *  4. HOMEPAGE — Section spacing rhythm (80px+ between major sections)
 *  5. HOMEPAGE — Testimonials — premium card styling
 *  6. HOMEPAGE — Pricing — elevated "Most Popular" badge + card
 *  7. HOMEPAGE — Payout feed / social proof
 *  8. HOMEPAGE — CTA hierarchy
 *  9. HOMEPAGE — Mobile: hero, search bar, CTAs at 375px
 * 10. SETTLEMENTS — Filter bar premium feel
 * 11. SETTLEMENTS — Card hover elevation
 * 12. SETTLEMENTS — Pagination clean
 * 13. SETTLEMENTS — Empty state
 * 14. SETTLEMENTS — Hero section spacing
 * 15. SETTLEMENTS — Grid section top padding
 * 16. SETTLEMENTS — Mobile at 375px
 */

/* ═══════════════════════════════════════════════════════════
   1. HOMEPAGE — Hero elevation
   ═══════════════════════════════════════════════════════════ */

/* Hero: more generous top padding on desktop for premium feel */
.hp-hero {
  padding-top: 6rem;
  padding-bottom: 5rem;
  /* Subtle warm bg to separate from header */
  background: linear-gradient(180deg, #fafff9 0%, #ffffff 100%);
}

/* Headline: add a touch more letter-spacing refinement */
.hp-hero__headline {
  line-height: 1.12;
  letter-spacing: -0.03em;
}

/* The em (italic accent) word: slight text-shadow glow to make it pop */
.hp-hero__headline em {
  text-shadow: 0 0 40px rgba(0,135,90,0.15);
}

/* Sub: slightly more muted and compact */
.hp-hero__sub {
  font-size: 1.1rem;
  color: #4B5563;
  max-width: 520px;
}

/* Hero CTAs: make the primary button more prominent */
.hp-hero__ctas .btn-primary {
  box-shadow: 0 4px 20px rgba(0, 135, 90, 0.3), 0 1px 4px rgba(0, 0, 0, 0.08);
  letter-spacing: -0.01em;
}
.hp-hero__ctas .btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 135, 90, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.hp-hero__ctas .btn-secondary:hover {
  transform: translateY(-1px);
  border-color: #00875A;
  color: #00643E;
}

/* Social proof stars: gold */
.hp-hero__stars svg {
  color: #D97706;
}

/* Animated live counter: more prominent */
.hp-counter {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1.5px solid #6ee7b7;
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #065f46;
  box-shadow: 0 2px 10px rgba(0, 135, 90, 0.08);
}
.hp-counter__value {
  font-weight: 800;
  font-size: 1rem;
  color: #00643E;
}
.hp-counter__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00875A;
  flex-shrink: 0;
  animation: hp-pulse-dot 2s ease-in-out infinite;
}
@keyframes hp-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 135, 90, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(0, 135, 90, 0); }
}

/* Eyebrow: slightly more breathing room */
.hp-hero__eyebrow {
  margin-bottom: 1.5rem;
  background: #f0fdf4;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  border: 1px solid #a7f3d0;
  display: inline-flex;
}

/* Urgency: more visible */
.hp-urgency--red {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-top: 0.75rem;
  font-weight: 600;
}


/* ═══════════════════════════════════════════════════════════
   2. HOMEPAGE — Stats / "By the Numbers" premium treatment
   ═══════════════════════════════════════════════════════════ */

/* Stats section: light emerald gradient bg for visual rhythm break */
.hp-stats {
  background: linear-gradient(180deg, #f0fdf4 0%, #fafff9 100%);
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Stat values: much larger and bolder */
.hp-stat__value {
  font-family: var(--font-display, 'Fraunces', serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #00875A;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

/* Stat labels: stronger contrast */
.hp-stat__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: -0.01em;
}

/* Stats grid: better spacing */
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Individual stat: card treatment */
.hp-stat {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: #fff;
  border: 1px solid #d1fae5;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 135, 90, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hp-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 135, 90, 0.1);
}

@media (max-width: 768px) {
  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .hp-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .hp-stat {
    padding: 1.25rem 0.75rem;
  }
  .hp-stat__value {
    font-size: 2rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   3. HOMEPAGE — Trust bar refinement
   ═══════════════════════════════════════════════════════════ */

.trust-bar {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  max-width: 100%;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1F2A37;
  white-space: nowrap;
}

.trust-item-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D1FAE5;
}

.trust-item-icon {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .trust-bar {
    gap: 0.5rem 1rem;
    padding: 0.75rem 1rem;
  }
  .trust-item-sep {
    display: none;
  }
}


/* ═══════════════════════════════════════════════════════════
   4. HOMEPAGE — Section spacing rhythm (80px+ desktop)
   ═══════════════════════════════════════════════════════════ */

/* SOTD section */
.hp-sotd {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
/* Steps */
.hp-steps {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
/* Feed */
.hp-feed {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
/* Categories */
.hp-categories {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #fafff9;
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}
/* Testimonials */
.hp-testimonials {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
/* Pricing */
.hp-pricing {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
/* Payouts */
.hp-payouts {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: #f0fdf4;
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}
/* Unclaimed section */
.hp-unclaimed {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 768px) {
  .hp-sotd, .hp-steps, .hp-feed, .hp-categories,
  .hp-testimonials, .hp-pricing, .hp-payouts,
  .hp-stats, .hp-unclaimed {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
@media (max-width: 480px) {
  .hp-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .hp-sotd, .hp-steps, .hp-feed, .hp-categories,
  .hp-testimonials, .hp-pricing, .hp-payouts,
  .hp-stats, .hp-unclaimed {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   5. HOMEPAGE — Testimonials premium card styling
   ═══════════════════════════════════════════════════════════ */

/* Testimonial grid: consistent spacing */
.hp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Card: elevated, clean */
.hp-testimonial-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1fae5;
}

/* Stars: gold */
.hp-testimonial-card__stars {
  display: flex;
  gap: 2px;
}

/* Quote: larger, italic */
.hp-testimonial-card__quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #374151;
  font-style: italic;
  margin: 0;
  flex: 1;
}

/* Author */
.hp-testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f3f4f6;
}
.hp-testimonial-card__name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1F2A37;
}
.hp-testimonial-card__location {
  font-size: 0.78rem;
  color: #6B7280;
}

@media (max-width: 900px) {
  .hp-testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 480px) {
  .hp-testimonial-card {
    padding: 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   6. HOMEPAGE — Pricing — elevated "Most Popular" card
   ═══════════════════════════════════════════════════════════ */

/* Pricing grid */
.hp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

/* Base card */
.hp-pricing-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

/* Popular card: stand out */
.hp-pricing-card--popular {
  border-color: #00875A;
  box-shadow: 0 4px 24px rgba(0, 135, 90, 0.15);
  transform: translateY(-4px);
}
.hp-pricing-card--popular:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 32px rgba(0, 135, 90, 0.2);
}

/* "Most Popular" badge */
.hp-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00875A, #00643E);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 135, 90, 0.35);
}

/* Pricing amounts */
.hp-pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1F2A37;
  margin: 0 0 0.35rem;
}
.hp-pricing-card__amount {
  font-size: 2rem;
  font-weight: 800;
  color: #00875A;
  font-family: var(--font-display, 'Fraunces', serif);
  letter-spacing: -0.03em;
}
.hp-pricing-card__period {
  font-size: 0.9rem;
  color: #6B7280;
  font-weight: 500;
}

/* Feature list */
.hp-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hp-pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #374151;
  font-weight: 500;
}

/* Pricing note */
.hp-pricing__note {
  text-align: center;
  font-size: 0.82rem;
  color: #6B7280;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .hp-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .hp-pricing-card--popular {
    transform: none;
    order: -1;
  }
}


/* ═══════════════════════════════════════════════════════════
   7. HOMEPAGE — Payout feed / social proof elevation
   ═══════════════════════════════════════════════════════════ */

/* Payout cards: horizontal scroll with premium card treatment */
.hp-payout-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.hp-payout-scroll::-webkit-scrollbar {
  height: 4px;
}
.hp-payout-scroll::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}

.hp-payout-card {
  background: #fff;
  border: 1.5px solid #d1fae5;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  min-width: 220px;
  max-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: 0 2px 10px rgba(0, 135, 90, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hp-payout-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 135, 90, 0.1);
  border-color: #6ee7b7;
}

.hp-payout-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.hp-payout-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00875A, #00643E);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-payout-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1F2A37;
}
.hp-payout-card__settlement {
  font-size: 0.72rem;
  color: #6B7280;
}
.hp-payout-card__amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: #00875A;
  font-family: var(--font-display, 'Fraunces', serif);
  letter-spacing: -0.02em;
}
.hp-payout-card__label {
  font-size: 0.7rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════════════════
   8. HOMEPAGE — Feed table premium
   ═══════════════════════════════════════════════════════════ */

/* Feed rows: hover state more pronounced */
.hp-feed-row {
  cursor: pointer;
  transition: background 0.15s;
}
.hp-feed-row:hover {
  background: #f0fdf4;
}
.hp-feed-row:focus {
  outline: 2px solid #00875A;
  outline-offset: -2px;
}

/* Feed payout: green emphasis */
.hp-feed-row__payout {
  color: #00875A;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Feed section label */
.hp-feed__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00875A;
}
.hp-feed__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00875A;
  animation: hp-pulse-dot 2s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════
   9. HOMEPAGE — Mobile: hero, search bar, CTAs at 375px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .hp-hero {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }
  /* Ensure hero counter wraps cleanly */
  .hp-counter {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hp-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  /* CTAs: stack vertically, full-width */
  .hp-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .hp-hero__ctas .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 1rem;
  }
  /* Social proof: center, allow wrapping */
  .hp-hero__social-proof {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
  /* Counter: center pill */
  .hp-counter {
    margin-top: 1.5rem;
    font-size: 0.78rem;
  }
  /* Eyebrow: smaller on mobile */
  .hp-hero__eyebrow {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   10. SETTLEMENTS — Filter bar premium feel
   ═══════════════════════════════════════════════════════════ */

/* Sticky filter bar: subtle drop shadow for depth */
.dir-filter-bar {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* Filter toolbar: slightly taller for premium feel */
.dir-filter-toolbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Sort buttons: smoother active state */
.dir-sort-btn.active {
  box-shadow: 0 2px 8px rgba(0, 135, 90, 0.2) !important;
}

/* No-proof quick filter: more prominent */
.dir-noproof-quick {
  font-size: 0.84rem !important;
  padding: 0.45rem 1.1rem !important;
}

/* Result count: larger and bolder */
.dir-result-count {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

/* Category nav: active pill — more obvious underline */
.dir-cat-pill.active {
  border-bottom-width: 3px !important;
}


/* ═══════════════════════════════════════════════════════════
   11. SETTLEMENTS — Card hover elevation
   ═══════════════════════════════════════════════════════════ */

/* Cards: slightly more pronounced hover */
.dir-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
  border-color: #a7f3d0 !important;
}

/* Card CTA: arrow moves on hover */
.dir-card-cta svg,
.dir-card-cta::after {
  transition: transform 0.2s ease;
}
.dir-card:hover .dir-card-cta {
  color: #00643E !important;
}

/* Card title: smooth color transition */
.dir-card-title {
  transition: color 0.2s ease;
}

/* Settlement payout: larger font on cards for premium visual hierarchy */
.sr2-payout,
.dir-stat-payout {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #00875A !important;
}

/* Card image: slightly more pronounced scale on hover */
.dir-card:hover .sr2-cat-img {
  transform: scale(1.06) !important;
}

/* Consistent min-height for card content area */
.dir-card-wrap {
  min-height: 240px !important;
}

/* Upvote/save buttons: slight glow on hover */
.dir-upvote-btn:hover,
.dir-save-btn:hover {
  box-shadow: 0 3px 12px rgba(0, 135, 90, 0.15) !important;
}


/* ═══════════════════════════════════════════════════════════
   12. SETTLEMENTS — Pagination clean & prominent
   ═══════════════════════════════════════════════════════════ */

.dir-pagination {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  gap: 0.4rem;
}

.dir-page-btn {
  min-width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  transition: all 0.2s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.dir-page-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.dir-page-btn.active {
  box-shadow: 0 3px 12px rgba(0, 135, 90, 0.25) !important;
  font-weight: 700 !important;
}


/* ═══════════════════════════════════════════════════════════
   13. SETTLEMENTS — Empty state premium
   ═══════════════════════════════════════════════════════════ */

.dir-empty {
  padding: 5rem 1.5rem;
  background: #fafff9;
  border-radius: 16px;
  border: 1.5px dashed #d1fae5;
  margin: 1rem 0;
}
.dir-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}
.dir-empty-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1a1d21 !important;
  margin-bottom: 0.6rem !important;
}
.dir-empty-desc {
  font-size: 1rem !important;
  color: #4B5563 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.65 !important;
}
.dir-empty-btn {
  padding: 0.75rem 2rem !important;
  font-size: 0.92rem !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0, 135, 90, 0.2);
}
.dir-empty-btn:hover {
  box-shadow: 0 4px 16px rgba(0, 135, 90, 0.3) !important;
}


/* ═══════════════════════════════════════════════════════════
   14. SETTLEMENTS — Hero section spacing & visual quality
   ═══════════════════════════════════════════════════════════ */

/* Hero: add subtle gradient for depth */
.dir-hero {
  background: linear-gradient(180deg, #fafff9 0%, #ffffff 100%) !important;
  border-bottom: 1px solid #e8f5f0 !important;
  padding-bottom: 2.5rem !important;
}

/* H1 in hero: slightly more prominent */
.dir-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem) !important;
  letter-spacing: -0.025em !important;
}
.dir-h1 .count {
  font-variant-numeric: tabular-nums;
}

/* Freshness badge: slightly more polished */
.dir-freshness-badge {
  margin-bottom: 0.75rem !important;
}

/* Hero stats: card-like treatment */
.dir-hero-stats {
  margin-top: 1.75rem !important;
}
.dir-hero-stat-num {
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Search bar: taller, more prominent */
.dir-hero-search-wrap {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}
.dir-hero-search-input {
  height: 52px !important;
}
.dir-hero-search-btn {
  height: 42px !important;
  margin: 5px !important;
  padding: 0 20px !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 135, 90, 0.2);
}
.dir-hero-search-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 135, 90, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Category pills in hero: tighter gap, cleaner hover */
.dir-hero-cats {
  margin-top: 0.85rem;
  gap: 0.4rem;
}
.dir-hero-cat-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 135, 90, 0.12);
}

/* Primary CTA in hero */
.dir-cta-primary {
  box-shadow: 0 3px 14px rgba(0, 135, 90, 0.25) !important;
}
.dir-cta-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 135, 90, 0.35) !important;
}


/* ═══════════════════════════════════════════════════════════
   15. SETTLEMENTS — Grid section top padding
   ═══════════════════════════════════════════════════════════ */

/* Grid section: more generous spacing from filter bar */
.dir-grid-section {
  padding-top: 2.5rem !important;
  padding-bottom: 3.5rem !important;
}

/* Trust ticker: clean separation */
.sr-trust-ticker {
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

/* Browse by category: slightly more spacious */
.dir-browse-cats {
  padding: 3rem 1.5rem !important;
}

/* I Got Paid section: cleaner */
.igp-home-preview {
  border-top: 1px solid #d1fae5;
  border-bottom: 1px solid #d1fae5;
}


/* ═══════════════════════════════════════════════════════════
   16. SETTLEMENTS — Mobile at 375px
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Hero: visible search bar, proper spacing */
  .dir-hero {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
  /* Grid: slightly tighter but padded */
  .dir-grid-section {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
  }
}
@media (max-width: 480px) {
  /* Filter button: large thumb-friendly */
  .dir-filter-toggle {
    min-height: 48px !important;
    font-size: 0.9rem !important;
  }
  /* No-proof quick: stretch full available width in row */
  .dir-noproof-quick {
    min-height: 48px !important;
  }
  /* Search input: thumb-friendly height */
  .dir-hero-search-input {
    height: 48px !important;
  }
  .dir-hero-search-btn {
    height: 38px !important;
    margin: 5px 5px 5px 0 !important;
    padding: 0 14px !important;
  }
  /* Hero stats: wrap cleanly */
  .dir-hero-stats {
    gap: 0.75rem !important;
    flex-wrap: wrap;
  }
  .dir-hero-stat-num {
    font-size: 1.35rem !important;
  }
  /* Grid: full-bleed on narrow screens */
  .dir-grid-section {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  /* Card: prevent overflow */
  .dir-card {
    max-width: 100%;
  }
  /* Pagination: larger tap targets */
  .dir-page-btn {
    min-width: 44px !important;
    height: 44px !important;
  }
}
