/* ============================================================
   DAILY OPPORTUNITIES — index.css  (v3)
   Homepage: Hero · Search · Categories · Listings · Steps · Alert · SEO
   This file is the DESIGN SYSTEM ROOT.
   All other page stylesheets (category.css, search.css, tag.css)
   inherit tokens from :root defined here — keep them in sync.
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   DESIGN TOKENS
   ───────────────────────────────────────────────────────────── */
:root {
  /* Brand greens */
  --green-deep:    #1B5E20;
  --green-mid:     #2E7D32;
  --green-bright:  #43A047;
  --green-light:   #E8F5E9;
  --green-pale:    #F2F7F2;

  /* Ambers */
  --amber:         #F57F17;
  --amber-bright:  #FFB300;
  --amber-light:   #FFF8E1;

  /* Text */
  --dark-text:     #111827;
  --muted-text:    #4B5563;
  --light-text:    #9CA3AF;

  /* Surfaces & borders */
  --border:        #E5E7EB;
  --border-strong: #D1D5DB;
  --white:         #FFFFFF;

  /* Layout */
  --nav-h:         68px;
  --radius-card:   18px;
  --radius-sm:     10px;

  /* Shadows */
  --shadow-card:   0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.05);
  --shadow-hover:  0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.05);

  /* Easing */
  --ease-out:      cubic-bezier(.22,.61,.36,1);

  /* Smooth anchor scrolling */
  scroll-behavior: smooth;
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL UTILITY
   NOTE: .sr-only is defined here AND in category.css so any
   page that loads either file gets it. Ideally move to a
   global base.css loaded in base.html for every page.
   ───────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORY BADGES
   ───────────────────────────────────────────────────────────── */
.badge-cat {
  display: inline-block;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: .02em;
}
.badge-learnerships    { background: #DBEAFE; color: #1E40AF; }
.badge-apprenticeships { background: #EDE9FE; color: #5B21B6; }
.badge-training        { background: #E0E7FF; color: #3730A3; }
.badge-internships     { background: #D1FAE5; color: #065F46; }
.badge-vacancies       { background: #FEF3C7; color: #92400E; }
.badge-yes4youth       { background: #DCFCE7; color: #14532D; }

.badge-new {
  display: inline-block;
  background: var(--amber-bright);
  color: #1A1100;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────── */
.hero-section {
  background: var(--green-deep);
  min-height: calc(100vh - var(--nav-h));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(60px, 8vw, 100px) 5% clamp(100px, 12vw, 140px);
  text-align: center;
}

/* Background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  right: -100px; top: -100px;
  background: radial-gradient(circle, rgba(67,160,71,.30) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 400px; height: 400px;
  left: -80px; bottom: 40px;
  background: radial-gradient(circle, rgba(255,179,0,.12) 0%, transparent 70%);
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  animation: heroUp .75s var(--ease-out) both;
}

@keyframes heroUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--amber-bright);
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(.75); opacity: .55; }
}

/* Hero title */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -.03em;
}
.hero-title em {
  font-style: normal;
  color: var(--amber-bright);
}
.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--amber);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .925rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  min-height: 50px;
  box-sizing: border-box;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(245,127,23,.35);
}
.btn-hero-primary:hover {
  background: #E65100;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,127,23,.45);
}
.btn-hero-primary:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 3px;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .925rem;
  font-weight: 600;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,.40);
  text-decoration: none;
  min-height: 50px;
  box-sizing: border-box;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.btn-hero-ghost:focus-visible {
  outline: 3px solid rgba(255,255,255,.70);
  outline-offset: 3px;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 20px 32px;
  backdrop-filter: blur(12px);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.hero-stat strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber-bright);
  line-height: 1.2;
}
.hero-stat span {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: rgba(255,255,255,.60);
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   SEARCH BAR (floating card)
   ───────────────────────────────────────────────────────────── */
.search-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding: 0 5%;
}
.search-card {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 12px 48px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-field        { flex: 2; min-width: 160px; }
.search-select-wrap  { flex: 1; min-width: 140px; position: relative; }

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-icon {
  position: absolute;
  left: 12px;
  color: var(--light-text);
  pointer-events: none;
  flex-shrink: 0;
}

.search-card input,
.search-card select {
  width: 100%;
  padding: 11px 14px;
  background: var(--green-pale);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--dark-text);
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.search-card input  { padding-left: 36px; }
.search-card input::placeholder { color: var(--light-text); }
.search-card input:focus,
.search-card select:focus {
  border-color: var(--green-bright);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27,94,32,.10);
}

.search-select-wrap::after {
  content: '';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 10px; height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%239CA3AF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.search-select-wrap select { padding-right: 30px; cursor: pointer; }

.search-divider {
  width: 1px; height: 32px;
  background: var(--border);
  flex-shrink: 0;
}
.btn-search {
  padding: 11px 26px;
  background: var(--green-deep);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 42px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-search:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,94,32,.25);
}
.btn-search:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* Quick-filter pills */
.quick-filters {
  max-width: 960px;
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}
.qf-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted-text);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.qf-pill:hover {
  border-color: var(--green-bright);
  color: var(--green-deep);
  background: var(--green-pale);
  transform: translateY(-1px);
}
.qf-pill:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   SECTION COMMONS
   ───────────────────────────────────────────────────────────── */
.section      { padding: 80px 5%; }
.section-alt  { background: var(--green-pale); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 8px;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--muted-text);
  margin: 0 0 40px;
  line-height: 1.65;
  max-width: 460px;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

/* ─────────────────────────────────────────────────────────────
   CATEGORY CARDS
   ───────────────────────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.category-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .22s var(--ease-out), box-shadow .22s, border-color .22s;
  box-shadow: var(--shadow-card);
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.category-card:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* Per-category hover border colour */
.category-card.cat-learnerships:hover    { border-color: #93C5FD; }
.category-card.cat-apprenticeships:hover { border-color: #C4B5FD; }
.category-card.cat-training:hover        { border-color: #A5B4FC; }
.category-card.cat-internships:hover     { border-color: #6EE7B7; }
.category-card.cat-vacancies:hover       { border-color: #FCD34D; }
.category-card.cat-yes4youth:hover       { border-color: #86EFAC; }

.cat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.category-card.cat-learnerships .cat-icon    { background: #DBEAFE; }
.category-card.cat-apprenticeships .cat-icon { background: #EDE9FE; }
.category-card.cat-training .cat-icon        { background: #E0E7FF; }
.category-card.cat-internships .cat-icon     { background: #D1FAE5; }
.category-card.cat-vacancies .cat-icon       { background: #FEF3C7; }
.category-card.cat-yes4youth .cat-icon       { background: #DCFCE7; }

.cat-content { flex: 1; min-width: 0; }
.cat-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .925rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.3;
}
.cat-desc {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: var(--light-text);
  margin-top: 2px;
}
.cat-arrow {
  font-size: 1rem;
  color: var(--light-text);
  transition: transform .22s, color .22s;
  flex-shrink: 0;
}
.category-card:hover .cat-arrow {
  transform: translateX(5px);
  color: var(--green-mid);
}

/* ─────────────────────────────────────────────────────────────
   LISTING GRID
   ───────────────────────────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* ─────────────────────────────────────────────────────────────
   LISTING CARD
   ───────────────────────────────────────────────────────────── */
.listing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s var(--ease-out), box-shadow .22s, border-color .22s;
  box-shadow: var(--shadow-card);
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #D1FAE5;
}

/* ─────────────────────────────────────────────────────────────
   ACCENT LINE (coloured top strip)
   ───────────────────────────────────────────────────────────── */
.listing-accent {
  height: 3px;
  width: 100%;
  flex-shrink: 0;
}
.listing-accent-learnerships    { background: #3B8BD4; }
.listing-accent-apprenticeships { background: #7C3AED; }
.listing-accent-training        { background: #534AB7; }
.listing-accent-internships     { background: #1D9E75; }
.listing-accent-vacancies       { background: #BA7517; }
.listing-accent-yes4youth       { background: #3B6D11; }

/* ─────────────────────────────────────────────────────────────
   CARD BODY
   ───────────────────────────────────────────────────────────── */
.listing-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.listing-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.listing-top-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* Category-coloured icon box */
.listing-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.listing-logo-learnerships    { background: #DBEAFE; }
.listing-logo-apprenticeships { background: #EDE9FE; }
.listing-logo-training        { background: #E0E7FF; }
.listing-logo-internships     { background: #D1FAE5; }
.listing-logo-vacancies       { background: #FEF3C7; }
.listing-logo-yes4youth       { background: #DCFCE7; }

/* ─────────────────────────────────────────────────────────────
   FEATURED IMAGE
   ───────────────────────────────────────────────────────────── */
.listing-image-wrap {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-pale);
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.listing-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.listing-card:hover .listing-featured-image { transform: scale(1.02); }

/* ─────────────────────────────────────────────────────────────
   CARD TEXT ELEMENTS
   ───────────────────────────────────────────────────────────── */
.listing-title {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.4;
  margin: 0;
}
.listing-title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.listing-title a:hover { color: var(--green-deep); }
.listing-title a:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
  border-radius: 2px;
}

.listing-org {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: .825rem;
  color: var(--muted-text);
  margin: 0;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: .775rem;
  color: var(--light-text);
}
.listing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.listing-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: var(--muted-text);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────
   CARD FOOTER
   ───────────────────────────────────────────────────────────── */
.listing-footer {
  padding: 12px 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--green-pale);
  gap: 10px;
  margin-top: auto;
}
.listing-closing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  color: var(--light-text);
}
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--green-deep);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .775rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 34px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-apply:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,94,32,.25);
}
.btn-apply:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   HOW IT WORKS — STEPS
   ───────────────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.step-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: transform .22s var(--ease-out), box-shadow .22s;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,94,32,.03) 0%, transparent 60%);
  pointer-events: none;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.step-number {
  width: 52px; height: 52px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(27,94,32,.25);
}
.step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0 0 10px;
}
.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--muted-text);
  line-height: 1.7;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   ALERT SIGNUP BANNER
   ───────────────────────────────────────────────────────────── */
.alert-section {
  background: var(--green-deep);
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}
.alert-bg-orb {
  position: absolute;
  right: -120px; top: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,179,0,.14) 0%, transparent 65%);
  pointer-events: none;
}
.alert-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.alert-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: #fff;
  margin: 12px 0 12px;
  line-height: 1.25;
}
.alert-title em { font-style: normal; color: var(--amber-bright); }
.alert-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: rgba(255,255,255,.70);
  margin: 0 0 20px;
  line-height: 1.7;
}
.alert-perks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.alert-perks li {
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: rgba(255,255,255,.80);
}
.alert-form-wrap {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}
.alert-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.alert-form input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: .925rem;
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s, box-shadow .2s;
}
.alert-form input::placeholder { color: rgba(255,255,255,.40); }
.alert-form input:focus {
  border-color: rgba(255,255,255,.45);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06);
}
.btn-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--amber);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  min-height: 46px;
  width: 100%;
  box-sizing: border-box;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(245,127,23,.30);
}
.btn-alert:hover {
  background: #E65100;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,127,23,.40);
}
.btn-alert:focus-visible {
  outline: 3px solid var(--amber-bright);
  outline-offset: 2px;
}
.alert-disclaimer {
  margin: 12px 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* ─────────────────────────────────────────────────────────────
   SEO CONTENT SECTION
   ───────────────────────────────────────────────────────────── */
.seo-section {
  background: #fff;
  padding: 64px 5%;
  border-top: 1px solid var(--border);
}
.seo-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}
.seo-col h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0 0 10px;
}
.seo-col p {
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  color: var(--muted-text);
  line-height: 1.75;
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   PAGINATION  (shared with category, search pages)
   ───────────────────────────────────────────────────────────── */
.pagination-container {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pagination {
  display: flex;
  list-style: none;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0; margin: 0;
}
.pagination-item { display: flex; }
.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--muted-text);
  font-family: 'DM Sans', sans-serif;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.pagination-link:hover:not(.disabled) {
  background: var(--green-light);
  border-color: var(--green-bright);
  color: var(--green-deep);
}
.pagination-link.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(27,94,32,.25);
}
.pagination-link.disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination-link:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}
.pagination-ellipsis {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--light-text);
  height: 40px;
  font-size: .875rem;
}
.pagination-info {
  font-family: 'DM Sans', sans-serif;
  font-size: .825rem;
  color: var(--light-text);
}

/* View All button */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: transparent;
  border: 2px solid var(--green-deep);
  color: var(--green-deep);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn-view-all:hover {
  background: var(--green-deep);
  color: #fff;
  transform: translateY(-2px);
}
.btn-view-all:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   EMPTY STATE
   ───────────────────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 0;
  color: var(--light-text);
}
.empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--muted-text);
  margin: 0 0 8px;
}
.empty-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  margin: 0;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   AD SLOTS
   ───────────────────────────────────────────────────────────── */
.grid-ad {
  grid-column: 1 / -1;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 60px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .alert-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 5%; }

  .search-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }
  .search-field,
  .search-select-wrap { width: 100%; }
  .search-divider  { display: none; }
  .btn-search      { width: 100%; justify-content: center; }

  .section-header-row  { flex-direction: column; align-items: flex-start; }
  .section-subtitle    { margin-bottom: 28px; }
  .hide-mobile         { display: none; }
  .quick-filters       { gap: 6px; }

  .hero-stats   { padding: 16px; }
  .hero-stat    { padding: 0 14px; }
  .hero-stat strong { font-size: 1.15rem; }

  .seo-inner { grid-template-columns: 1fr; gap: 28px; }

  .alert-form-wrap { padding: 24px 20px; }
}

@media (max-width: 600px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat-divider:nth-child(4) { display: none; }
  .hero-stat { padding: 12px 10px; }

  .categories-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-ghost { width: 100%; justify-content: center; }

  .categories-grid { grid-template-columns: 1fr; }
  .steps-grid      { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: 1fr 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }

  .hero-inner,
  .hero-badge-dot,
  .category-card,
  .listing-card,
  .step-card,
  .btn-hero-primary,
  .btn-hero-ghost,
  .btn-apply,
  .btn-alert,
  .btn-search,
  .btn-view-all,
  .listing-featured-image,
  .qf-pill,
  .cat-arrow,
  .pagination-link {
    transition: none !important;
    animation: none !important;
  }
}