/* appeals-v3.css — Human Appeal Theme
   All styles for the canonical Appeals archive
   Decoupled from components.css */

/* ── HERO — Default image position ───────────────────────── */
.ha-appeals-page .ha-hero-bg {
  background-position: top center;
}

/* ── HERO — Campaign-mode overrides ──────────────────────── */
.ha-hero-content h1,
.ha-hero-content .ha-hero-byline,
.ha-hero-content .ha-hero-tagline {
  transition: opacity 0.6s ease;
}
.ha-hero-content.crossfading h1,
.ha-hero-content.crossfading .ha-hero-byline,
.ha-hero-content.crossfading .ha-hero-tagline {
  opacity: 0;
}
body.campaign-mode .ha-hero h1 { font-size: clamp(36px, 5vw, 56px); }
body.campaign-mode .ha-hero-byline { font-size: 17px; max-width: 580px; }
.ha-hero-tagline {
  display: none;
  margin-top: 14px;
  max-width: 560px;
  font-size: 14px;
  font-style: italic;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
  border-left: 3px solid rgba(255,255,255,0.7);
  padding-left: 14px;
  line-height: 1.5;
}
body.campaign-mode .ha-hero-tagline { display: block; opacity: 0.95; transform: translateY(0); }
.ha-hero-readmore {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: white;
  opacity: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  transition: opacity 0.5s ease 0.25s, gap 0.2s;
  width: fit-content;
}
body.campaign-mode .ha-hero-readmore { display: inline-flex; opacity: 0.9; }
.ha-hero-readmore:hover { opacity: 1 !important; gap: 9px; }
button.ha-hero-readmore:hover,
button.ha-hero-readmore:focus,
button.ha-hero-readmore:focus-visible {
  background: none;
  color: #fff;
  border-color: transparent;
  text-decoration: none;
}

/* ── HERO — Height overrides ─────────────────────────────── */
body.ha-appeals-page {
  overflow-x: clip; /* prevent any element (e.g. Elementor injected) from widening the viewport */
}
.ha-appeals-page .ha-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--container-pad);
  width: 100%;
}
.ha-appeals-page .ha-hero { height: 250px; min-height: 250px; }
@media (max-width: 768px) {
  .ha-appeals-page .ha-hero { height: 250px; min-height: 250px; }
  .ha-hero-content { text-align: center !important; }
  .ha-hero-byline { max-width: 100% !important; }
}

/* ── FILTER BAR ──────────────────────────────────────────── */
.ha-filter-container {
  background: white;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.ha-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 30;
}
.ha-filter-pill-wrap { position: relative; }
.ha-filter-pill {
  border: 1.5px solid var(--green);
  background: white;
  color: var(--green);
  padding: 0 22px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.ha-filter-pill.active {
  background: var(--green-light);
  color: var(--green);
  font-weight: 600;
}
.ha-filter-pill.campaign-active {
  background: var(--campaign-accent);
  color: white;
  border-color: var(--campaign-accent);
}

.ha-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 8px;
  min-width: 260px;
  z-index: 50;
  display: none;
  max-height: 400px;
  overflow-y: auto;
}
.ha-filter-pill-wrap--right .ha-dropdown-menu {
  left: auto;
  right: 0;
}
.ha-dropdown-menu.open { display: block; animation: ha-fadeDown 0.15s ease; }
@keyframes ha-fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ha-dropdown-option {
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition-fast);
}
.ha-dropdown-option:hover { background: var(--green-faint); }
.ha-dropdown-option.selected { background: var(--green-light); color: var(--green); font-weight: 600; }
.ha-dropdown-option .ha-opt-icon { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; }
.ha-dropdown-option .ha-opt-icon svg,
.ha-dropdown-option .ha-opt-icon i { width: 18px; height: 18px; color: var(--green-dark); }
.ha-dropdown-option .fi { width: 22px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.ha-dropdown-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 6px;
  outline: none;
  box-sizing: border-box;
}
.ha-dropdown-search:focus { border-color: var(--green); }

/* Search in filter bar */
.ha-search-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
  flex: 0 0 264px;
  width: 264px;
}
.ha-search-wrap input {
  border: none;
  outline: none;
  padding: 10px 16px;
  width: 0;
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--text);
}
.ha-search-wrap .ha-search-btn {
  background: var(--green);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
  /* Beat Elementor kit button { border-radius: 30px } — follow .ha-search-wrap shape */
  border-radius: 0;
}
.ha-search-wrap .ha-search-btn:hover { background: var(--green-dark); }

/* Active filter chips */
.ha-filtered-by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 22px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ha-filtered-by.empty { display: none; }
.ha-filter-chip {
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
}
.ha-filter-chip.campaign { border-color: var(--campaign-accent); color: var(--campaign-accent); }
.ha-filter-chip-x { cursor: pointer; opacity: 0.7; font-size: 12px; line-height: 1; }
.ha-filter-chip-x:hover { opacity: 1; }
.ha-clear-all { margin-left: auto; color: var(--pink); background: none; border: none; font-size: 15px; cursor: pointer; font-family: inherit; font-weight: 500; }
.ha-clear-all:hover { text-decoration: underline; }

/* Context banner */
.ha-context-banner {
  background: linear-gradient(90deg, var(--green-faint), white);
  border: 1px solid var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  animation: ha-slideDown 0.3s ease;
}
.ha-context-banner.visible { display: flex; }
@keyframes ha-slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ha-context-banner strong { color: var(--green); }

/* Results count */
.ha-results-count {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 24px;
}

/* ── CARD GRID ───────────────────────────────────────────── */
.ha-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}
@media (max-width: 1100px) { .ha-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .ha-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .ha-grid { grid-template-columns: 1fr; } }

/* ── APPEAL CARD ─────────────────────────────────────────── */
.ha-card {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow 0.3s ease, z-index 0s 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  min-width: 0;
}
.ha-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ha-card.expanded {
  box-shadow: var(--shadow-lg);
  z-index: 10;
  transition: transform var(--transition-base), box-shadow 0.3s ease, z-index 0s;
  cursor: default;
  transform: translateY(-2px);
  min-height: auto;
}
.ha-card-hint {
  display: none;
}

.ha-card-image-wrap { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.ha-card-image {
  width: 100%;
  height: 250px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  transition: height 0.3s ease;
}
.ha-card.expanded .ha-card-image { height: 140px; }

.ha-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: all var(--transition-base);
  cursor: help;
  overflow: hidden;
  position: absolute;
}
.ha-card-badge .fi { width: 22px; height: 16px; border-radius: 2px; }
.ha-card-badge svg { width: 18px; height: 18px; stroke-width: 2; }
.ha-card-badge.where-needed { background: rgba(10,143,60,0.9); color: white; }
.ha-card.expanded .ha-card-badge { opacity: 0; pointer-events: none; }

/* Card badge tooltip */
.ha-card-badge::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.ha-card-badge:hover::after { opacity: 1; }

.ha-card-body { padding: 14px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.ha-card-title {
  font-family: 'Oakes Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
}
.ha-card-title-link {
  color: inherit;
  text-decoration: none;
}
.ha-card-title-link:hover {
  color: var(--color-haa-green);
  text-decoration: none;
}
.ha-card:hover .ha-card-title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}
.ha-card-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.ha-card.expanded .ha-card-meta {
  flex-wrap: wrap;
}
.ha-card-subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
  min-width: 0;
  flex-shrink: 1;
}
.ha-card.expanded .ha-card-subtitle {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.ha-card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); flex-shrink: 0; }
.ha-card-meta > span:not(.ha-card-subtitle):not(.ha-card-meta-dot) { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 800px) {
  .ha-card-subtitle {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .ha-card-meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 575px) {
  .ha-card-meta-dot {
    display: none;
  }
  .ha-card-meta > span:not(.ha-card-subtitle):not(.ha-card-meta-dot) {
    display: block;
    width: 100%;
    margin-top: 4px;
  }
}

/* Card expand panel */
.ha-card-expand {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  padding: 0 20px;
  background: linear-gradient(to bottom, transparent, var(--green-faint));
  border-top: 1px solid transparent;
}
.ha-card-expand:has(.ha-country-select.open) { overflow: visible; }
.ha-card:has(.ha-country-select.open) { z-index: 100; }
.ha-card-expand-inner { min-height: 0; }
.ha-card.expanded .ha-card-expand {
  grid-template-rows: 1fr;
  opacity: 1;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-light);
  transition: grid-template-rows 0.3s ease, opacity 0.25s 0.1s ease, padding 0.3s ease;
  overflow: visible;
}

/* Country selector in card */
.ha-direction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 2px;
}
.ha-direction-row .ha-dir-label { font-weight: 500; }
.ha-country-select { position: relative; }
.ha-country-select-btn {
  border: 1px solid var(--border);
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.15s, background 0.15s;
  max-width: 180px;
}
.ha-country-select-btn:hover,
.ha-country-select.open .ha-country-select-btn { border-color: var(--green); background: var(--green-faint); }
.ha-country-select-btn .fi { width: 14px; height: 10px; border-radius: 2px; }
.ha-country-select-btn .ha-csc-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-country-select-btn svg { width: 11px; height: 11px; opacity: 0.5; flex-shrink: 0; transition: transform 0.2s; }
.ha-country-select.open .ha-country-select-btn svg { transform: rotate(180deg); }

.ha-country-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.ha-country-select.open .ha-country-select-menu { display: block; }
.ha-country-select-option {
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: background 0.1s;
  color: var(--text);
}
.ha-country-select-option .fi { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); flex-shrink: 0; }
.ha-country-select-option svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--green-dark); }
.ha-country-select-option:hover { background: var(--green-faint); }
.ha-country-select-option.selected { background: var(--green-light); color: var(--green-dark); font-weight: 600; }
.ha-country-select-option.where-needed-row {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
  padding-bottom: 10px;
  color: var(--green-dark);
  font-weight: 600;
}
.ha-country-note {
  cursor: default;
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
  padding-top: 10px;
  text-align: center;
}
.ha-country-note:hover { background: transparent; }

/* Amount selector */
.ha-amount-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.ha-card .ha-amount-btn {
  border: 2px solid var(--border);
  background: var(--white);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: all var(--transition-fast);
  text-align: center;
  height: 44px;
  box-sizing: border-box;
}
.ha-card .ha-amount-btn:hover { border-color: var(--green); color: var(--green); }
.ha-card .ha-amount-btn.selected { border-color: var(--green); background: var(--green); color: white; font-weight: 700; }

/* Quantity stepper */
.ha-qty-stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 8px;
  height: 44px;
  box-sizing: border-box;
}
.ha-qty-btn {
  background: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ha-qty-btn:hover:not(:disabled) { background: var(--green-faint); color: var(--green-dark); }
.ha-qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.ha-qty-display {
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  text-align: center;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ha-card .ha-qty-total {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 12px;
  font-family: 'Oakes Grotesk', 'Inter', sans-serif;
}
.ha-card .ha-amount-total {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 6px;
  font-family: 'Oakes Grotesk', 'Inter', sans-serif;
}
.ha-qty-unit-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: -6px;
  margin-bottom: 12px;
}
.ha-custom-input {
  width: 100%;
  padding: 0 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.15s;
  color: var(--text);
  height: 44px;
  box-sizing: border-box;
}
.ha-custom-input:focus { border-color: var(--green); }

/* Donate CTA in card */
.ha-donate-cta {
  width: 100%;
  background: var(--pink);
  color: white;
  border: none;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.ha-donate-cta:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(216, 20, 115, 0.5); }
.ha-donate-cta .ha-cta-destination { font-size: 11px; font-weight: 400; opacity: 0.88; }

/* ── PAGINATION ───────────────────────────────────────────── */
.ha-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 48px 0 16px;
  flex-wrap: wrap;
}

.ha-pagination a,
.ha-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.ha-pagination a:hover {
  background: var(--off-white, #F5F5F5);
  border-color: var(--border, #CCCCCC);
}

.ha-pagination .ha-pg-num {
  color: var(--text);
  background: white;
  border-color: var(--border, #CCCCCC);
}
.ha-pagination .ha-pg-num:hover {
  background: var(--off-white, #F5F5F5);
  border-color: var(--border, #CCCCCC);
  transform: none;
}

.ha-pagination .ha-pg-current {
  background: var(--green);
  color: #FFFFFF;
  font-weight: 700;
  border-color: var(--green);
  cursor: default;
}
.ha-pagination .ha-pg-current:hover { transform: none; background: var(--green); }

.ha-pagination .ha-pg-prev,
.ha-pagination .ha-pg-next {
  border: 1px solid var(--border, #CCCCCC);
  background: white;
  color: var(--text);
}
.ha-pagination .ha-pg-prev:hover,
.ha-pagination .ha-pg-next:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.ha-pagination .ha-pg-prev svg,
.ha-pagination .ha-pg-next svg { width: 16px; height: 16px; }

.ha-pagination .ha-pg-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border: 1px solid var(--border, #CCCCCC);
  background: white;
  color: var(--text-muted);
}
.ha-pagination .ha-pg-disabled:hover { transform: none; background: white; border-color: var(--border, #CCCCCC); }

.ha-pagination .ha-pg-ellipsis {
  cursor: default;
  letter-spacing: 2px;
  border: none;
  color: var(--text-muted);
  min-width: 24px;
}
.ha-pagination .ha-pg-ellipsis:hover { transform: none; background: none; }

.ha-results-footer { text-align: center; color: var(--text-muted); margin: 8px 0 48px; font-size: 14px; }
.ha-pagination + .ha-results-footer { margin-top: 8px; }

/* ── CAMPAIGN STORY SECTION ──────────────────────────────── */
.ha-campaign-story {
  display: none;
  background: white;
  border-radius: var(--radius-xl);
  margin: 24px 0 56px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  animation: ha-fadeUp 0.5s ease;
}
body.campaign-mode .ha-campaign-story { display: block; }
@keyframes ha-fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ha-story-header {
  padding: 48px 56px 40px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}
.ha-story-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--campaign-accent);
  margin-bottom: 12px;
}
.ha-story-title {
  font-family: 'Fields Display', 'DM Serif Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.ha-story-lede { font-size: 18px; color: var(--text-muted); max-width: 680px; margin: 0 auto; line-height: 1.6; }
.ha-story-body {
  padding: 48px 56px;
  font-size: 16px;
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto;
}
.ha-story-body p { margin-bottom: 16px; }
.ha-story-body blockquote {
  border-left: 3px solid var(--campaign-accent);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  font-family: 'Fields Display', 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
}
.ha-story-body img { width: 100%; border-radius: var(--radius-md); margin: 24px 0; }
.ha-story-body a { color: var(--campaign-accent); text-decoration: underline; }
.ha-story-cta {
  padding: 48px 32px;
  text-align: center;
  background: linear-gradient(180deg, white, var(--green-faint));
  border-top: 1px solid var(--border-light);
}
.ha-story-cta h3 { font-size: 24px; margin-bottom: 8px; }
.ha-story-cta p { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.ha-story-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--campaign-accent);
  background: none;
  border: none;
  border-bottom: 1.5px solid var(--campaign-accent);
  padding: 4px 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: gap 0.2s, opacity 0.2s;
}
.ha-story-cta-link:hover { gap: 12px; opacity: 0.75; }
button.ha-story-cta-link:hover,
button.ha-story-cta-link:focus,
button.ha-story-cta-link:focus-visible {
  background: none;
  color: inherit;
  border-color: transparent;
  text-decoration: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .ha-story-header { padding: 32px 24px 24px; }
  .ha-story-body   { padding: 32px 24px; }

  .ha-filter-bar {
    gap: 8px;
  }
  .ha-filter-pill-wrap {
    flex: 1 1 0;
    min-width: 0;
    position: static;
  }
  .ha-search-wrap {
    margin-left: 0;
    flex: 0 0 100%;
    width: 100%;
  }
  .ha-filter-pill {
    padding: 0 8px;
    font-size: 13px;
    width: 100%;
    justify-content: center;
    overflow: hidden;
  }
  .ha-filter-pill > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ha-filter-pill .ha-caret {
    flex-shrink: 0;
  }
  .ha-dropdown-menu {
    left: 0;
    right: 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }
  .ha-filter-pill-wrap--right .ha-dropdown-menu {
    left: 0;
    right: 0;
  }
}

/* ── CARD UTILITIES ──────────────────────────────────────── */
.ha-card[data-href] { cursor: pointer; }
.ha-card-error {
  color: var(--pink);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
}

.ha-chip-content { display: inline-flex; align-items: center; gap: 6px; }
.ha-chip-icon { width: 15px; height: 15px; flex-shrink: 0; }
.ha-pill-icon { width: 15px; height: 15px; flex-shrink: 0; }
.ha-filter-pill .ha-caret { width: 14px; height: 14px; opacity: 0.7; }
.ha-country-select-single {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.ha-country-select-single .fi { width: 14px; height: 10px; border-radius: 2px; }
.ha-country-select-single svg { width: 14px; height: 14px; }

/* ── MOBILE AUTO-EXPAND ──────────────────────────────────── */
/* On touch layouts (≤800px) cards are always expanded; hide the chevron hint */
@media (max-width: 800px) {
  .ha-card-title { margin-bottom: 2px; min-height: 0; }
  .ha-card-expand {
    grid-template-rows: 1fr;
    opacity: 1;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--border-light);
    overflow: visible;
    transition: none;
  }
  .ha-card-expand-inner { overflow: visible; }
}
