/*
 * Aegina Churches, Parishes & Monasteries Directory (Demo / Staging)
 * Palette aligned with AeginaPages.com:
 *   Light-blue icon & accent: #0095da
 *   Dark-blue hover ONLY:     #0F2C59
 *   Yellow scroll-to-top:     #ffe56b
 *   Card style:               Borderless, crisp ambient shadow
 */

:root {
  --ap-blue: #0095da;
  --ap-blue-soft: rgba(0, 149, 218, 0.11);
  --ap-navy: #0F2C59;
  --ap-yellow: #ffe56b;
  --ap-bg: #f4f7fb;
  --ap-surface: #ffffff;
  --ap-text: #1e293b;
  --ap-muted: #64748b;
  --ap-shadow: 0 6px 24px rgba(15, 44, 89, 0.06);
  --ap-shadow-hover: 0 14px 36px rgba(15, 44, 89, 0.13);
  --ap-radius: 16px;

  --cat-monastery: #7c3aed;
  --cat-parish: #0095da;
  --cat-chapel: #0ea5e9;
  --cat-historic: #d97706;
}

.ach-root {
  background: var(--ap-bg);
  color: var(--ap-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  padding-bottom: 72px;
  -webkit-font-smoothing: antialiased;
}

.ach-root *,
.ach-root *::before,
.ach-root *::after {
  box-sizing: border-box;
}

.ach-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   Hero Section
   =========================== */
.ach-hero {
  background: linear-gradient(135deg, #ffffff 0%, #eaf6fd 100%);
  padding: 36px 0 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(15, 44, 89, 0.04);
}

.ach-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ach-staging-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ap-blue);
  background: var(--ap-blue-soft);
  padding: 6px 14px;
  border-radius: 999px;
}

.ach-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ap-blue);
  display: inline-block;
}

.ach-lang-switch {
  display: inline-flex;
  background: #ffffff;
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 2px 10px rgba(15, 44, 89, 0.07);
  gap: 4px;
}

.ach-lang-btn {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ap-blue);
  padding: 6px 14px;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ach-lang-btn.is-active {
  background: var(--ap-blue);
  color: #ffffff;
}

.ach-lang-btn:hover {
  background: var(--ap-navy);
  color: #ffffff;
  text-decoration: none;
}

.ach-hero-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ach-hero-sub {
  margin: 0;
  max-width: 780px;
  font-size: 16px;
  color: #475569;
}

/* ===========================
   Upcoming Feast Days Strip
   =========================== */
.ach-feasts-section {
  margin-bottom: 24px;
}

.ach-feasts-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ach-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #1e293b;
}

.ach-icon-accent {
  color: var(--ap-blue);
}

.ach-feasts-hint {
  font-size: 13px;
  color: var(--ap-muted);
}

.ach-feasts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 12px;
}

.ach-feast-pill {
  background: var(--ap-surface);
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: var(--ap-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.ach-feast-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--ap-shadow-hover);
}

.ach-feast-pill:hover .ach-feast-name {
  color: var(--ap-navy);
}

.ach-feast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ach-feast-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--ap-blue);
  background: var(--ap-blue-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.ach-feast-countdown {
  font-size: 11px;
  font-weight: 700;
  color: #0369a1;
}

.ach-feast-countdown.is-soon {
  color: #b45309;
  background: #fef3c7;
  padding: 2px 8px;
  border-radius: 999px;
}

.ach-feast-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  transition: color 0.18s ease;
  line-height: 1.3;
}

.ach-feast-saint {
  font-size: 12px;
  color: var(--ap-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===========================
   Interactive Map Section
   =========================== */
.ach-map-section {
  margin-bottom: 24px;
}

.ach-map-card {
  background: var(--ap-surface);
  border: none;
  border-radius: var(--ap-radius);
  box-shadow: var(--ap-shadow);
  overflow: hidden;
}

.ach-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #ffffff;
}

.ach-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.ach-leg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ach-pin-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.ach-cat-monastery { background: var(--cat-monastery); }
.ach-cat-parish { background: var(--cat-parish); }
.ach-cat-chapel { background: var(--cat-chapel); }
.ach-cat-historic_monument { background: var(--cat-historic); }

.ach-btn-subtle {
  border: none;
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ach-btn-subtle:hover {
  background: var(--ap-navy);
  color: #ffffff;
}

.ach-leaflet-pin {
  background: transparent;
  border: none;
}

.ach-leaflet-map {
  width: 100%;
  height: 440px;
  background: #e2edf6;
  z-index: 1;
}

/* Leaflet Popup Styling */
.ach-popup {
  min-width: 220px;
  font-family: inherit;
}

.ach-popup-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 999px;
  color: #ffffff;
  margin-bottom: 5px;
}

.ach-popup-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.ach-popup-meta {
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
}

.ach-popup-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.ach-popup-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: #ecfdf5;
  color: #15803d;
}

.ach-popup-actions {
  display: flex;
  gap: 8px;
}

.ach-popup-btn {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: var(--ap-blue);
  color: #ffffff !important;
  transition: background-color 0.18s ease;
}

.ach-popup-btn:hover {
  background: var(--ap-navy);
  color: #ffffff !important;
  text-decoration: none;
}

.ach-popup-btn.is-secondary {
  background: var(--ap-blue-soft);
  color: var(--ap-blue) !important;
}

.ach-popup-btn.is-secondary:hover {
  background: var(--ap-navy);
  color: #ffffff !important;
}

/* ===========================
   Filter & Search Bar
   =========================== */
.ach-filters-section {
  margin-bottom: 24px;
}

.ach-filter-card {
  background: var(--ap-surface);
  border: none;
  border-radius: var(--ap-radius);
  padding: 20px;
  box-shadow: var(--ap-shadow);
}

.ach-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.ach-search-wrap {
  position: relative;
  flex: 1 1 320px;
}

.ach-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ap-blue);
  pointer-events: none;
  transition: color 0.18s ease;
}

.ach-search-wrap:hover .ach-search-icon {
  color: var(--ap-navy);
}

.ach-search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border: none;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

.ach-search-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--ap-blue);
}

.ach-area-select {
  flex: 0 1 240px;
  height: 44px;
  padding: 0 14px;
  border: none;
  background: #f1f5f9;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  outline: none;
}

.ach-area-select:focus {
  box-shadow: 0 0 0 2px var(--ap-blue);
}

.ach-btn-reset {
  border: none;
  background: transparent;
  color: var(--ap-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 0 14px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.ach-btn-reset:hover {
  color: var(--ap-navy);
  background: #eff6ff;
}

.ach-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ach-cat-pill {
  border: none;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ach-cat-pill .ach-pill-count {
  background: rgba(15, 44, 89, 0.08);
  color: inherit;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
}

.ach-cat-pill.is-active {
  background: var(--ap-blue);
  color: #ffffff;
}

.ach-cat-pill.is-active .ach-pill-count {
  background: rgba(255, 255, 255, 0.24);
}

.ach-cat-pill:hover {
  background: var(--ap-navy);
  color: #ffffff;
}

.ach-cat-pill:hover .ach-pill-count {
  background: rgba(255, 255, 255, 0.22);
}

.ach-toggles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ach-toggle-btn {
  border: none;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: inset 0 0 0 1px rgba(15, 44, 89, 0.08);
  transition: all 0.18s ease;
}

.ach-toggle-btn .ach-t-ico {
  color: var(--ap-blue);
  font-weight: 700;
}

.ach-toggle-btn.is-active {
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
  box-shadow: inset 0 0 0 1.5px var(--ap-blue);
}

.ach-toggle-btn:hover {
  background: var(--ap-navy);
  color: #ffffff;
  box-shadow: none;
}

.ach-toggle-btn:hover .ach-t-ico {
  color: var(--ap-yellow);
}

.ach-results-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--ap-muted);
  padding-top: 6px;
}

/* ===========================
   Borderless Church Cards Grid
   =========================== */
.ach-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ach-card {
  background: var(--ap-surface);
  border: none;
  border-radius: var(--ap-radius);
  overflow: hidden;
  box-shadow: var(--ap-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-hover);
}

.ach-card:hover .ach-card-title {
  color: var(--ap-navy);
}

.ach-card:hover .ach-arch-icon {
  color: var(--ap-navy);
}

/* Clean Architectural Card Header (Zero Hotlinked Images) */
.ach-card-banner {
  position: relative;
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4fb 100%);
}

.ach-card.is-monastery .ach-card-banner {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.ach-card.is-historic_monument .ach-card-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.ach-card.is-chapel .ach-card-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.ach-banner-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ach-arch-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #ffffff;
  color: var(--ap-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(15, 44, 89, 0.08);
  flex-shrink: 0;
  transition: color 0.18s ease;
}

.ach-arch-icon svg {
  width: 21px;
  height: 21px;
}

.ach-cat-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ap-blue);
}

.ach-area-label {
  display: block;
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.ach-feast-chip {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.ach-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ach-card-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.32;
  cursor: pointer;
  transition: color 0.18s ease;
}

.ach-card-patron {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ap-blue);
  margin-bottom: 10px;
}

.ach-card-excerpt {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ach-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 15px;
}

.ach-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
}

.ach-badge.is-good {
  background: #ecfdf5;
  color: #15803d;
}

.ach-badge.is-blue {
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
}

.ach-badge.is-warn {
  background: #fef3c7;
  color: #b45309;
}

.ach-card-actions {
  display: flex;
  gap: 9px;
  margin-top: auto;
}

.ach-btn-primary {
  flex: 1;
  border: none;
  border-radius: 10px;
  background: var(--ap-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.ach-btn-primary:hover {
  background: var(--ap-navy);
  color: #ffffff;
  text-decoration: none;
}

.ach-btn-icon {
  border: none;
  border-radius: 10px;
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ach-btn-icon:hover {
  background: var(--ap-navy);
  color: #ffffff;
  text-decoration: none;
}

.ach-btn-icon svg {
  width: 16px;
  height: 16px;
}

/* ===========================
   Empty State
   =========================== */
.ach-empty-state {
  background: #ffffff;
  border-radius: var(--ap-radius);
  padding: 44px 20px;
  text-align: center;
  box-shadow: var(--ap-shadow);
}

.ach-empty-state h3 {
  margin: 0 0 8px;
  color: #0f172a;
}

.ach-empty-state p {
  margin: 0 0 18px;
  color: var(--ap-muted);
}

/* ===========================
   Detail Modal
   =========================== */
.ach-modal[hidden] {
  display: none !important;
}

.ach-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ach-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 44, 89, 0.56);
  backdrop-filter: blur(4px);
}

.ach-modal-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: none;
  border-radius: 20px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 44, 89, 0.28);
}

.ach-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: #f8fafc;
}

.ach-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.ach-modal-close {
  border: none;
  background: var(--ap-blue-soft);
  color: var(--ap-blue);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.ach-modal-close:hover {
  background: var(--ap-navy);
  color: #ffffff;
}

.ach-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.ach-modal-title {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.ach-modal-altname {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ap-muted);
  font-weight: 600;
}

.ach-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.ach-info-box {
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px 16px;
}

.ach-info-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ap-blue);
  margin-bottom: 4px;
}

.ach-info-val {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.ach-modal-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ach-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 11px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: var(--ap-blue);
  color: #ffffff !important;
  transition: background-color 0.18s ease;
}

.ach-cta-btn:hover {
  background: var(--ap-navy);
  color: #ffffff !important;
  text-decoration: none;
}

.ach-cta-btn.is-soft {
  background: var(--ap-blue-soft);
  color: var(--ap-blue) !important;
}

.ach-cta-btn.is-soft:hover {
  background: var(--ap-navy);
  color: #ffffff !important;
}

.ach-section-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}

.ach-history-prose {
  margin-bottom: 24px;
}

.ach-history-prose p {
  margin: 0 0 12px;
  font-size: 15px;
  color: #334155;
  line-height: 1.68;
}

/* Weddings & Baptisms Pros/Cons Comparison */
.ach-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.ach-pc-col {
  border-radius: 14px;
  padding: 16px 18px;
}

.ach-pc-col.is-pros {
  background: #f0fdf4;
}

.ach-pc-col.is-cons {
  background: #fffbeb;
}

.ach-pc-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ach-pc-col.is-pros .ach-pc-heading {
  color: #15803d;
}

.ach-pc-col.is-cons .ach-pc-heading {
  color: #b45309;
}

.ach-pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #1e293b;
}

.ach-pc-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ach-pc-sign {
  font-weight: 900;
  flex-shrink: 0;
}

.ach-pc-col.is-pros .ach-pc-sign {
  color: #16a34a;
}

.ach-pc-col.is-cons .ach-pc-sign {
  color: #d97706;
}

.ach-access-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.ach-dress-box {
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 24px;
}

/* Plan Your Event Nearby (Cross-Promotion) */
.ach-promo-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4fb 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
}

.ach-promo-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: #475569;
}

.ach-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.ach-promo-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(15, 44, 89, 0.05);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.ach-promo-link:hover {
  transform: translateY(-2px);
  background: var(--ap-navy);
  text-decoration: none;
}

.ach-promo-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ap-blue);
  transition: color 0.18s ease;
}

.ach-promo-link:hover .ach-promo-title {
  color: #ffffff;
}

.ach-promo-desc {
  font-size: 12px;
  color: var(--ap-muted);
  transition: color 0.18s ease;
}

.ach-promo-link:hover .ach-promo-desc {
  color: #cbd5e1;
}

.ach-sources-box {
  font-size: 12.5px;
  color: var(--ap-muted);
}

.ach-sources-box ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.ach-sources-box a {
  color: var(--ap-blue);
  word-break: break-all;
}

.ach-sources-box a:hover {
  color: var(--ap-navy);
}

/* ===========================
   Yellow Highlight Scroll-to-Top Button
   =========================== */
.ach-scroll-top,
body #btn-back-to-top {
  position: fixed !important;
  right: 22px !important;
  bottom: 24px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: none !important;
  background: var(--ap-yellow) !important;
  color: var(--ap-navy) !important;
  box-shadow: 0 8px 22px rgba(15, 44, 89, 0.2) !important;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99990;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.ach-scroll-top.is-visible {
  display: flex;
}

.ach-scroll-top:hover,
body #btn-back-to-top:hover {
  transform: translateY(-3px);
  background: #ffd93b !important;
  color: var(--ap-navy) !important;
}

.ach-scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ===========================
   Responsive Breakpoints
   =========================== */
@media (max-width: 1024px) {
  .ach-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .ach-cards-grid {
    grid-template-columns: 1fr;
  }
  .ach-leaflet-map {
    height: 340px;
  }
  .ach-pros-cons {
    grid-template-columns: 1fr;
  }
  .ach-modal-body {
    padding: 18px;
  }
  .ach-hero {
    padding: 24px 0 22px;
  }
}
