/* ==========================================================================
   Mercy Humanitarian Organization (MHO) - Official Design System & UI Styles
   Primary Palette: Humanitarian Burgundy (#8B1E2D), Charcoal (#111827),
   Resilience Green (#2D6A4F), Earth Sand (#F9F6F0)
   Target Standard: WCAG 2.2 AA Accessible, Responsive, Mobile-First
   ========================================================================== */

:root {
  /* Core Color Tokens */
  --mho-burgundy: #8B1E2D;
  --mho-burgundy-hover: #731724;
  --mho-burgundy-dark: #580F1B;
  --mho-burgundy-light: #FDF2F4;
  --mho-burgundy-glow: rgba(139, 30, 45, 0.15);

  --mho-green: #2D6A4F;
  --mho-green-hover: #1B4332;
  --mho-green-light: #EBF5F0;
  
  --mho-earth: #DDA15E;
  --mho-earth-light: #FAF6F0;
  --mho-earth-dark: #BC6C25;

  --mho-charcoal: #111827;
  --mho-charcoal-light: #1F2937;
  --mho-slate: #374151;
  --mho-muted: #6B7280;
  --mho-border: #E5E7EB;
  --mho-border-light: #F3F4F6;
  --mho-surface: #FFFFFF;
  --mho-bg: #FAF9F6;
  --mho-card-bg: #FFFFFF;

  /* Status Colors */
  --status-success: #15803D;
  --status-success-bg: #DCFCE7;
  --status-pending: #B45309;
  --status-pending-bg: #FEF3C7;
  --status-danger: #B91C1C;
  --status-danger-bg: #FEE2E2;
  --status-info: #1D4ED8;
  --status-info-bg: #DBEAFE;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Container */
  --container-max: 1280px;
  --container-pad: 1.5rem;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--mho-charcoal);
  background-color: var(--mho-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 3px solid var(--mho-burgundy);
  outline-offset: 2px;
}

/* Skip link for keyboard accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--mho-burgundy);
  color: #FFFFFF;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 6px 0;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--mho-charcoal);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.35rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.65rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

p, span, a, li, blockquote {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  margin-bottom: 1rem;
  color: var(--mho-slate);
}

a {
  color: var(--mho-burgundy);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--mho-burgundy-hover);
}

img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }
}
@media (max-width: 360px) {
  :root {
    --container-pad: 0.75rem;
  }
}


/* Utility Bar */
.mho-utility-bar {
  background-color: var(--mho-charcoal);
  color: #D1D5DB;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mho-utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mho-utility-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.mho-utility-links a {
  color: #D1D5DB;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.mho-utility-links a:hover {
  color: #FFFFFF;
}

.emergency-pill {
  background-color: var(--mho-burgundy);
  color: #FFFFFF;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); opacity: 0.95; }
  100% { transform: scale(1); }
}

/* Emergency Alert Bar */
.mho-emergency-banner {
  background-color: #7F1D1D;
  color: #FFFFFF;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mho-emergency-banner a {
  color: #FEE2E2;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 0.5rem;
}
.mho-emergency-banner a:hover {
  color: #FFFFFF;
}

/* Main Header & Navigation */
.mho-header {
  background-color: var(--mho-surface);
  border-bottom: 1px solid var(--mho-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mho-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.mho-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mho-brand img {
  height: 48px;
  width: auto;
}

.mho-main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.mho-nav-item {
  position: relative;
}

.mho-nav-link {
  color: var(--mho-charcoal);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.mho-nav-link:hover, .mho-nav-link.active {
  color: var(--mho-burgundy);
}

/* Dropdown Menu */
.mho-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--mho-surface);
  border: 1px solid var(--mho-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.5rem 0;
  display: none;
  z-index: 100;
}

.mho-dropdown.active,
.mho-dropdown.is-open,
.mho-nav-item.is-open > .mho-dropdown {
  display: block !important;
}

@media (hover: hover) and (pointer: fine) {
  .mho-nav-item:hover > .mho-dropdown:not(.is-closed) {
    display: block;
  }
}

.mho-dropdown.is-closed {
  display: none !important;
}

.mho-dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--mho-slate);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.mho-dropdown-item:hover {
  background-color: var(--mho-burgundy-light);
  color: var(--mho-burgundy);
  padding-left: 1.5rem;
}

/* Header Actions & General Buttons */
.mho-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.25;
}

.btn-primary {
  background-color: var(--mho-burgundy);
  color: #FFFFFF !important;
}
.btn-primary:hover {
  background-color: var(--mho-burgundy-hover);
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px var(--mho-burgundy-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--mho-green);
  color: #FFFFFF !important;
}
.btn-secondary:hover {
  background-color: var(--mho-green-hover);
  color: #FFFFFF !important;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--mho-burgundy);
  color: var(--mho-burgundy);
}
.btn-outline:hover {
  background-color: var(--mho-burgundy);
  color: #FFFFFF !important;
}

.btn-outline-white {
  background-color: transparent;
  border-color: #FFFFFF;
  color: #FFFFFF !important;
}
.btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--mho-charcoal) !important;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
}

.mho-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--mho-charcoal);
  padding: 0.5rem;
}

/* Teal Donate & Header Actions */
.btn-teal-donate {
  background-color: #008E8E;
  color: #FFFFFF !important;
  border-radius: 4px;
  padding: 0.65rem 1.4rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}
.btn-teal-donate:hover {
  background-color: #007A7A;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(0, 142, 142, 0.35);
  transform: translateY(-1px);
}

.mho-header-icon-btn {
  background: none;
  border: none;
  color: #4B5563;
  font-size: 1.15rem;
  padding: 0.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.mho-header-icon-btn:hover {
  color: #008E8E;
}

/* ==========================================================================
   Reference Humanitarian Hero Section & Floating Donation Card
   ========================================================================== */

.mho-reference-hero-section {
  background-color: #FFFFFF;
  padding: 1.25rem 0 3.5rem 0;
}

.mho-hero-banner-container {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background-color: #1F2937;
  min-height: 540px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mho-hero-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.96) contrast(1.02);
}

.mho-hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.mho-hero-floating-card-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 2rem 2.5rem;
  min-height: 540px;
}

.mho-reference-donation-card {
  width: 100%;
  max-width: 380px;
  background: #FFFFFF;
  border-radius: 6px;
  padding: 1.5rem 1.4rem 1.25rem 1.4rem;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.35), 0 10px 15px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.mho-card-title {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.mho-freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  position: relative;
}

.mho-freq-btn {
  padding: 0.65rem 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid #E5E7EB;
  background: #FFFFFF;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.mho-freq-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.mho-freq-btn:last-child {
  border-radius: 0 4px 4px 0;
  border-left: none;
}

.mho-freq-btn.active {
  background-color: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
  z-index: 2;
}

.mho-freq-btn.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #DC2626 transparent transparent transparent;
}

.mho-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.mho-amount-pill {
  padding: 0.65rem 0.15rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  background: #FFFFFF;
  color: #1F2937;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.mho-amount-pill:hover {
  border-color: #DC2626;
  color: #DC2626;
}

.mho-amount-pill.active {
  background-color: #DC2626;
  border-color: #DC2626;
  color: #FFFFFF;
}

.mho-impact-statement {
  font-size: 0.8rem;
  color: #4B5563;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 0.85rem;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mho-custom-amount-box {
  position: relative;
  margin-bottom: 0.85rem;
}

.mho-currency-sym {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #6B7280;
}

.mho-custom-amount-input {
  width: 100%;
  padding: 0.7rem 0.85rem 0.7rem 2.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  color: #111827;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.15s ease;
}

.mho-custom-amount-input:focus {
  border-color: #008E8E;
}

.mho-hero-donate-btn {
  width: 100%;
  background-color: #008E8E;
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.mho-hero-donate-btn:hover {
  background-color: #007A7A;
  transform: translateY(-1px);
}

.mho-card-trust {
  margin-top: 0.75rem;
  text-align: center;
}

.mho-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}

.mho-trust-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #4B5563;
  padding: 2px 6px;
  border: 1px solid #E5E7EB;
  border-radius: 3px;
  background: #F9FAFB;
}

.mho-trust-text {
  font-size: 0.725rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Narrative Section below Hero */
.mho-urgent-narrative-wrap {
  margin-top: 2rem;
  max-width: 980px;
}

.mho-urgent-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.mho-urgent-tag {
  color: #DC2626;
  font-weight: 900;
  margin-right: 0.35rem;
}

.mho-narrative-paragraph {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1F2937;
  margin-bottom: 1.25rem;
}

.mho-narrative-paragraph strong {
  color: #111827;
  font-weight: 700;
}

/* Floating Accessibility / Support Button */
.mho-floating-support-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #008E8E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  text-decoration: none;
  font-size: 1.25rem;
}

.mho-floating-support-btn:hover {
  transform: scale(1.08);
  background-color: #007A7A;
  color: #FFFFFF;
}

/* ==========================================================================
   Universal Page Hero Banner & Inner Page Design System
   ========================================================================== */

.mho-page-hero {
  position: relative;
  background-color: #111827;
  color: #FFFFFF;
  padding: 3.5rem 0 3.75rem 0;
  overflow: hidden;
  border-bottom: 3px solid #008E8E;
}

.mho-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(17, 24, 39, 0.94) 0%, rgba(31, 41, 55, 0.90) 50%, rgba(139, 30, 45, 0.85) 100%), url('/images/mho-hero-crisis.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.9);
  z-index: 1;
}

.mho-story-hero::before {
  display: none !important;
}

.mho-page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.mho-page-hero-text {
  max-width: 820px;
}

.mho-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #9CA3AF;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mho-breadcrumbs a {
  color: #D1D5DB;
  transition: color 0.15s ease;
}

.mho-breadcrumbs a:hover {
  color: #008E8E;
}

.mho-hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F87171;
  margin-bottom: 0.75rem;
}

.mho-page-hero h1 {
  color: #FFFFFF;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.mho-page-hero-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #E5E7EB;
  margin-bottom: 0;
}

.mho-page-hero-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Universal Page Content Card */
.mho-content-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 2.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 2rem;
}

.mho-badge-red {
  background-color: #DC2626;
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}

.mho-badge-teal {
  background-color: #008E8E;
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-block;
}

/* ==========================================================================
   Single-Line Recent Blog Post Spotlight Bar
   ========================================================================== */

.mho-recent-blog-bar {
  margin-top: 1.75rem;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-left: 4px solid #008E8E;
  border-radius: 6px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.mho-recent-blog-bar:hover {
  border-color: #008E8E;
  box-shadow: 0 4px 14px rgba(0, 142, 142, 0.12);
}

.mho-recent-blog-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.mho-recent-blog-badge {
  background-color: #F3F4F6;
  color: #111827;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #E5E7EB;
}

.mho-recent-blog-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #008E8E;
  display: inline-block;
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.mho-recent-blog-title {
  color: #111827;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mho-recent-blog-title:hover {
  color: #008E8E;
}

.mho-recent-blog-meta {
  font-size: 0.8rem;
  color: #6B7280;
  white-space: nowrap;
}

.mho-recent-blog-link {
  color: #008E8E;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mho-recent-blog-link:hover {
  color: #007A7A;
  gap: 0.55rem;
}

@media (max-width: 768px) {
  .mho-recent-blog-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .mho-recent-blog-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    width: 100%;
  }
  .mho-recent-blog-title {
    white-space: normal;
  }
}

@media (max-width: 991px) {
  .mho-reference-hero-section {
    padding: 1rem 0 2.5rem 0;
  }

  .mho-hero-banner-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .mho-hero-banner-bg {
    position: relative;
    height: 230px;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 30%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .mho-hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 230px;
    border-radius: 8px;
    pointer-events: none;
  }

  .mho-hero-floating-card-wrapper {
    position: relative;
    z-index: 10;
    display: block;
    justify-content: normal;
    padding: 0;
    margin-top: 1.25rem;
    min-height: auto;
    width: 100%;
  }

  .mho-reference-donation-card {
    max-width: 100%;
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.35rem 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  }

  .mho-urgent-narrative-wrap {
    margin-top: 1.75rem;
  }

  .mho-urgent-headline {
    font-size: clamp(1.4rem, 5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .mho-narrative-paragraph {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .mho-hero-banner-bg {
    height: 190px;
  }

  .mho-hero-banner-overlay {
    height: 190px;
  }

  .mho-reference-donation-card {
    padding: 1.15rem 0.85rem;
  }

  .mho-card-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .mho-amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .mho-amount-pill {
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .mho-impact-statement {
    font-size: 0.76rem;
    min-height: auto;
    margin-bottom: 0.75rem;
  }

  .mho-hero-donate-btn {
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
  }
}


/* ==========================================================================
   Ways to Get Involved & Editorial Blog Section (Save the Children / UNICEF Style)
   ========================================================================== */

.mho-involved-section {
  padding: 4.5rem 0 5rem 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.mho-involved-accent-bar {
  width: 44px;
  height: 4px;
  background-color: #D92D20;
  margin-bottom: 0.85rem;
}

.mho-involved-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  line-height: 1.15;
}

.mho-involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.mho-involved-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mho-involved-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1.25rem;
  background-color: #F3F4F6;
}

.mho-involved-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mho-involved-card:hover .mho-involved-image {
  transform: scale(1.04);
}

.mho-involved-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.mho-involved-card-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mho-involved-card-title a:hover {
  color: #D92D20;
}

.mho-involved-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.mho-involved-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid #D92D20;
  color: #D92D20;
  background: transparent;
  padding: 0.6rem 1.3rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mho-involved-btn:hover {
  background-color: #D92D20;
  color: #FFFFFF;
}

.mho-involved-btn .btn-arrow {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mho-involved-btn:hover .btn-arrow {
  transform: translateX(3px);
}

@media (max-width: 992px) {
  .mho-involved-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .mho-involved-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .mho-involved-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }
}

/* Legacy Hero Fallback */
.mho-hero {
  position: relative;
  background-color: var(--mho-charcoal);
  color: #FFFFFF;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.mho-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(88, 15, 27, 0.85) 100%);
  z-index: 1;
}

.mho-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.mho-hero-text h1 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.mho-hero-lead {
  font-size: 1.2rem;
  color: #E5E7EB;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mho-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FAF6F0;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* Quick Donation Card */
.mho-donation-card {
  background-color: var(--mho-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  color: var(--mho-charcoal);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.mho-donation-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--mho-charcoal);
}

.mho-donation-card p {
  font-size: 0.875rem;
  color: var(--mho-muted);
  margin-bottom: 1.25rem;
}

/* Amount Presets Grid */
.amount-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.preset-btn {
  background-color: var(--mho-bg);
  border: 1.5px solid var(--mho-border);
  color: var(--mho-charcoal);
  padding: 0.65rem 0.25rem;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  border-color: var(--mho-burgundy);
  color: var(--mho-burgundy);
  background-color: var(--mho-burgundy-light);
}

.preset-btn.active {
  border-color: var(--mho-burgundy);
  background-color: var(--mho-burgundy);
  color: #FFFFFF;
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.custom-amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--mho-muted);
  font-size: 0.95rem;
}

.custom-amount-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  border: 1.5px solid var(--mho-border);
  border-radius: var(--radius-md);
  color: var(--mho-charcoal);
  background-color: var(--mho-surface);
}
.custom-amount-input:focus {
  border-color: var(--mho-burgundy);
}

.donation-trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--mho-muted);
  margin-top: 1rem;
}

/* Sections */
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--mho-burgundy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--mho-muted);
}

/* Priority Campaign Section */
.priority-campaign-card {
  background-color: var(--mho-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--mho-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.priority-campaign-image {
  background-color: var(--mho-charcoal-light);
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.priority-campaign-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.progress-bar-wrap {
  background-color: var(--mho-border-light);
  border-radius: var(--radius-full);
  height: 10px;
  overflow: hidden;
  margin: 1.25rem 0 0.5rem 0;
}

.progress-bar-fill {
  background: linear-gradient(90deg, var(--mho-burgundy) 0%, #D9384D 100%);
  height: 100%;
  border-radius: var(--radius-full);
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mho-slate);
  margin-bottom: 1.5rem;
}

/* Programs & Humanitarian Sectors (Minimal Human-Touch Design) */
.mho-sectors-section {
  background-color: var(--mho-bg, #FAF9F6);
  padding: 5rem 0;
  border-top: 1px solid var(--mho-border, #E5E7EB);
  border-bottom: 1px solid var(--mho-border, #E5E7EB);
}

.mho-sectors-header {
  margin-bottom: 2.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.mho-sectors-header-left {
  max-width: 680px;
}

.mho-sectors-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mho-burgundy, #8B1E2D);
  margin-bottom: 0.6rem;
}

.mho-sectors-kicker::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--mho-burgundy, #8B1E2D);
  border-radius: 50%;
}

.mho-sectors-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--mho-charcoal, #111827);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.mho-sectors-subtitle {
  font-size: 1.05rem;
  color: var(--mho-muted, #4B5563);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Minimalist Category Filter Tabs */
.mho-sectors-filter {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  padding: 0.35rem;
  border-radius: 9999px;
  border: 1px solid var(--mho-border, #E5E7EB);
  box-shadow: var(--shadow-sm);
}

.mho-sector-filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mho-muted, #6B7280);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mho-sector-filter-btn:hover {
  color: var(--mho-charcoal, #111827);
  background: #F3F4F6;
}

.mho-sector-filter-btn.active {
  background: var(--mho-charcoal, #111827);
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Sectors Grid */
.mho-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Sector Card - Human Minimalist Editorial */
.mho-sector-item {
  background: #FFFFFF;
  border: 1px solid var(--mho-border, #E5E7EB);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.mho-sector-item:hover {
  border-color: #9CA3AF;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
}

.mho-sector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #F3F4F6;
}

.mho-sector-index {
  font-size: 0.8rem;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
}

.mho-sector-code-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4B5563;
  background: #F3F4F6;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.mho-sector-icon {
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.mho-sector-item:hover .mho-sector-icon {
  color: var(--mho-burgundy, #8B1E2D);
}

.mho-sector-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--mho-charcoal, #111827);
  line-height: 1.35;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.mho-sector-desc {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Field Action Highlights (Micro-Tags) */
.mho-sector-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed #F3F4F6;
}

.mho-action-tag {
  font-size: 0.74rem;
  color: #6B7280;
  background: #FAFAFA;
  border: 1px solid #EDEDED;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
  line-height: 1.3;
}

.mho-sector-item:hover .mho-action-tag {
  background: #F9FAFB;
  border-color: #E5E7EB;
  color: #374151;
}

/* Bottom Action Link */
.mho-sector-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mho-charcoal, #111827);
  padding-top: 0.75rem;
  border-top: 1px solid #F3F4F6;
  margin-top: auto;
}

.mho-sector-link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--mho-charcoal, #111827);
  transition: color 0.2s ease;
}

.mho-sector-item:hover .mho-sector-link-text {
  color: var(--mho-burgundy, #8B1E2D);
}

.mho-sector-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.mho-sector-item:hover .mho-sector-arrow {
  color: var(--mho-burgundy, #8B1E2D);
}

/* Bottom Human Footprint Strip */
.mho-sectors-bottom-bar {
  margin-top: 2.5rem;
  background: #FFFFFF;
  border: 1px solid var(--mho-border, #E5E7EB);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mho-sectors-bottom-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #4B5563;
  font-weight: 500;
}

.mho-sectors-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mho-sectors-stat-pill span.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mho-green, #2D6A4F);
}

.mho-sectors-bottom-cta {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mho-burgundy, #8B1E2D);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.mho-sectors-bottom-cta:hover {
  text-decoration: underline;
  gap: 0.6rem;
}

/* Generic programs grid fallback & sub-page compatibility */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.program-card {
  background-color: var(--mho-surface);
  border-radius: 12px;
  border: 1px solid var(--mho-border);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  position: relative;
}

.program-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #9CA3AF;
}

.program-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: #F3F4F6;
  color: var(--mho-charcoal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.program-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--mho-charcoal);
}

.program-card p {
  font-size: 0.88rem;
  color: var(--mho-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .mho-sectors-grid,
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mho-sectors-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .mho-sectors-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mho-sectors-filter {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }
  .mho-sectors-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Geographic / Where We Work Grid */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.district-card {
  background-color: var(--mho-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--mho-border);
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.district-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--mho-green);
}

.district-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--mho-charcoal);
}

.district-pill {
  display: inline-block;
  background-color: var(--mho-green-light);
  color: var(--mho-green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

/* Impact Section */
.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.impact-stat-card {
  background-color: var(--mho-charcoal);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.impact-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #D1D5DB;
  margin-bottom: 0.5rem;
}

.impact-stat-desc {
  font-size: 0.8rem;
  color: #9CA3AF;
  line-height: 1.4;
}

/* Editorial Story & News Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: var(--mho-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--mho-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  height: 220px;
  background-color: var(--mho-charcoal-light);
  background-size: cover;
  background-position: center;
}

.news-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--mho-muted);
  margin-bottom: 0.75rem;
}

.news-category-badge {
  color: var(--mho-burgundy);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--mho-charcoal);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--mho-border);
  border-radius: var(--radius-md);
  color: var(--mho-charcoal);
  background-color: var(--mho-surface);
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--mho-burgundy);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.mho-footer {
  background-color: var(--mho-charcoal);
  color: #D1D5DB;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mho-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.mho-footer h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.mho-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mho-footer-links a {
  color: #9CA3AF;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.mho-footer-links a:hover {
  color: #FFFFFF;
}

.mho-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9CA3AF;
}

/* ==========================================================================
   Admin Suite Styles
   ========================================================================== */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #F3F4F6;
}

.admin-sidebar {
  width: 260px;
  background-color: #111827;
  color: #9CA3AF;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid #1F2937;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar-header h2 {
  font-size: 1.1rem;
  color: #FFFFFF;
}

.admin-nav {
  padding: 1rem 0;
  flex-grow: 1;
  overflow-y: auto;
  list-style: none;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  color: #9CA3AF;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}

.admin-nav-item a:hover,
.admin-nav-item.active a {
  background-color: #1F2937;
  color: #FFFFFF;
  border-left: 3px solid var(--mho-burgundy);
}

.admin-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.admin-topbar {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.admin-content {
  padding: 2rem;
  flex-grow: 1;
}

/* KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.kpi-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mho-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.kpi-card-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mho-charcoal);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

/* Admin Tables */
.table-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.table-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-table th {
  background-color: #F9FAFB;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #4B5563;
  border-bottom: 1px solid #E5E7EB;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  color: #374151;
}

.admin-table tr:hover td {
  background-color: #F9FAFB;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge-success { background-color: var(--status-success-bg); color: var(--status-success); }
.badge-pending { background-color: var(--status-pending-bg); color: var(--status-pending); }
.badge-danger { background-color: var(--status-danger-bg); color: var(--status-danger); }
.badge-info { background-color: var(--status-info-bg); color: var(--status-info); }
.badge-role { background-color: #E0E7FF; color: #3730A3; font-weight: 700; }

/* ==========================================================================
   Printable Receipt Styles
   ========================================================================== */
.receipt-container {
  max-width: 680px;
  margin: 2rem auto;
  background: #FFFFFF;
  border: 1px solid var(--mho-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }
  .mho-header, .mho-utility-bar, .mho-footer, .no-print, .btn {
    display: none !important;
  }
  .receipt-container {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .mho-hero-content { grid-template-columns: 1fr; }
  .priority-campaign-card { grid-template-columns: 1fr; }
  .priority-campaign-image { min-height: 260px; }
  .mho-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Prevent unexpected iOS form zoom */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }

  /* Header & Navigation Mobile Layout */
  .mho-main-nav { display: none; }
  .mho-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .mho-nav-container { height: 64px; }
  .mho-brand img { height: 38px; width: auto; max-width: 150px; }
  .mho-header-actions { gap: 0.45rem; }
  .btn-teal-donate { padding: 0.45rem 0.85rem; font-size: 0.82rem; }

  /* Utility Bar */
  .mho-utility-bar { font-size: 0.75rem; padding: 0.35rem 0; }
  .mho-utility-content { justify-content: center; text-align: center; }
  .mho-utility-links { gap: 0.75rem; }

  /* Grids */
  .programs-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .impact-stats-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .amount-presets-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .mho-footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; }

  /* Universal Subpage 2-Column & 3-Column Inline Grid Collapse */
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Page Sections Padding & Headers */
  .section-py { padding-top: 3rem; padding-bottom: 3rem; }
  .section-header { margin-bottom: 2rem; }
  .mho-page-hero { padding: 2.5rem 0 2.5rem 0; }
  .mho-page-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .mho-page-hero-side { width: 100%; }
  .mho-content-card { padding: 1.5rem 1.15rem; }
  .mho-sectors-section { padding: 3rem 0; }
  .mho-involved-section { padding: 3rem 0 3.5rem 0; }

  /* Priority campaign on mobile */
  .priority-campaign-body { padding: 1.5rem 1.15rem; }

  /* Footer */
  .mho-footer { padding: 3rem 0 1.5rem 0; }
  .mho-footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

@media (max-width: 480px) {
  /* Header Micro-Screen Optimization */
  .mho-header-icon-btn { display: none !important; }
  .mho-brand img { height: 34px; max-width: 130px; }
  .btn-teal-donate { padding: 0.38rem 0.65rem; font-size: 0.76rem; letter-spacing: 0.02em; }
  .mho-mobile-toggle { font-size: 1.35rem; padding: 0.35rem; }

  /* Hero & Headings */
  .mho-urgent-headline { font-size: 1.45rem; }
  .mho-page-hero h1 { font-size: 1.65rem; }
  .mho-page-hero-lead { font-size: 0.95rem; }

  /* Donation Card Padding on Subpage */
  .container-narrow > div { padding: 1.5rem 1rem !important; }
  .preset-btn { padding: 0.65rem 0.25rem; font-size: 0.88rem; }
  .custom-amount-input { font-size: 1rem; padding: 0.65rem 0.85rem 0.65rem 3.2rem; }
  .custom-amount-prefix { font-size: 0.88rem; left: 0.85rem; }

  /* Team modal on mobile */
  .mho-modal-card { padding: 1.5rem 1.15rem; }
  .mho-modal-close { top: 0.75rem; right: 0.75rem; }
}


/* ==========================================================================
   OUR IMPACT Strip Section (Next of Hero)
   Matches reference NGO metric counter row: Red outline icons, bold counts, clear labels
   ========================================================================== */
.mho-our-impact-section {
  background-color: #FFFFFF;
  padding: 3.5rem 0 3.25rem 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.mho-our-impact-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.mho-our-impact-title {
  font-family: 'Plus Jakarta Sans', var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mho-charcoal);
  margin-bottom: 0.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.mho-our-impact-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background-color: #D92D20;
  border-radius: 2px;
}

.mho-our-impact-subtitle {
  font-size: 0.95rem;
  color: var(--mho-muted);
  max-width: 600px;
  margin: 0 auto;
}

.mho-impact-five-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: flex-start;
  text-align: center;
}

.mho-impact-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
  transition: transform 0.2s ease;
}

.mho-impact-stat-item:hover {
  opacity: 0.95;
}

.mho-impact-icon-wrap {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.mho-impact-icon-wrap svg {
  width: 46px;
  height: 46px;
}

.mho-impact-number {
  font-family: 'Plus Jakarta Sans', var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.05;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.mho-impact-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #374151;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .mho-impact-five-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .mho-impact-five-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 0.85rem;
  }
}

@media (max-width: 380px) {
  .mho-impact-five-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ==========================================================================
   Reference NGO Leadership / Team Grid & Portrait Cards
   Matches 4-column studio headshot card layout with "View Details ->" modal
   ========================================================================== */
.mho-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.mho-team-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mho-team-card:hover {
  box-shadow: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.mho-team-photo-wrap {
  width: 100%;
  height: 290px;
  background: #18243C;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mho-team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.3s ease;
}

.mho-team-card:hover .mho-team-photo {
  opacity: 0.95;
}

.mho-team-avatar-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #18243C 0%, #0F172A 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.mho-team-initial-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.85rem;
  color: #FFFFFF;
}

.mho-team-body {
  padding: 1.15rem 1.15rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mho-team-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.mho-team-position {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369A1;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.mho-team-view-btn {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.mho-team-view-btn:hover {
  color: var(--mho-burgundy);
}

/* Team Member Modal */
.mho-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mho-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mho-modal-card {
  background: #FFFFFF;
  border-radius: 12px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
  padding: 2rem;
}

.mho-modal-backdrop.active .mho-modal-card {
  transform: scale(1);
}

.mho-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #F3F4F6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  color: #4B5563;
  transition: background 0.15s ease, color 0.15s ease;
}

.mho-modal-close:hover {
  background: #E5E7EB;
  color: #111827;
}

@media (max-width: 1100px) {
  .mho-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mho-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .mho-team-photo-wrap {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .mho-team-grid {
    grid-template-columns: 1fr;
  }
  .mho-team-photo-wrap {
    height: 300px;
  }
}

/* ==========================================================================
   Continuous Auto-Sliding Horizontal Partner Logo Marquee
   ========================================================================== */
.mho-partners-marquee-section {
  padding: 4.5rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--mho-border);
  border-bottom: 1px solid var(--mho-border);
  overflow: hidden;
  position: relative;
}

.mho-partner-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.mho-partner-marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: partnerMarqueeSlide 30s linear infinite;
  align-items: center;
}

.mho-partner-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes partnerMarqueeSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.mho-partner-logo-card {
  flex: 0 0 auto;
  width: 260px;
  height: 120px;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  cursor: pointer;
}

.mho-partner-logo-card:hover {
  background: #FFFFFF;
  border-color: var(--mho-burgundy);
  box-shadow: 0 14px 28px rgba(139, 21, 56, 0.12), 0 6px 12px rgba(0, 0, 0, 0.04);
}

.mho-partner-logo-card a,
.mho-partner-logo-card div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mho-partner-logo-img {
  max-width: 210px;
  max-height: 75px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mho-partner-logo-card:hover .mho-partner-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .mho-partner-logo-card {
    width: 200px;
    height: 95px;
    padding: 0.75rem 1rem;
  }
  .mho-partner-logo-img {
    max-width: 160px;
    max-height: 58px;
  }
}

/* ==========================================================================
   Minimal Page Loading Animation (No Text)
   ========================================================================== */
.mho-page-loader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mho-page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mho-spinner-minimal {
  position: relative;
  width: 48px;
  height: 48px;
}

.mho-spinner-minimal::before,
.mho-spinner-minimal::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--mho-burgundy, #8B1538);
  animation: mhoSpinOrb 0.85s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

.mho-spinner-minimal::after {
  inset: 7px;
  border-top-color: transparent;
  border-bottom-color: var(--mho-green, #10B981);
  animation: mhoSpinOrbReverse 0.65s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes mhoSpinOrb {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes mhoSpinOrbReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

/* ==========================================================================
   Chapa Payment Redirect Loading Animation & Overlay
   ========================================================================== */
.chapa-redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.chapa-redirect-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: chapaFadeIn 0.3s ease-out forwards;
}

.chapa-redirect-box {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.75rem 2.25rem 2.25rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: chapaModalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 10;
}

.chapa-spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapa-spinner-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 4px solid #F3F4F6;
  border-top-color: #00875A;
  border-right-color: #8B1E2D;
  animation: chapaSpin 0.9s linear infinite;
}

.chapa-spinner-ring-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 3px solid #F9FAFB;
  border-bottom-color: #00875A;
  animation: chapaSpinReverse 1.2s linear infinite;
}

.chapa-spinner-icon {
  position: relative;
  z-index: 2;
  color: #00875A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapa-redirect-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E8F5E9;
  color: #00875A;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid #C8E6C9;
  margin-bottom: 0.85rem;
}

.chapa-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #00875A;
  border-radius: 50%;
  display: inline-block;
  animation: chapaPulse 1.4s infinite;
}

.chapa-redirect-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.chapa-redirect-desc {
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.chapa-channels-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.chapa-channels-strip span.chapa-dot {
  color: #9CA3AF;
  font-size: 0.6rem;
}

.chapa-progress-track {
  width: 100%;
  height: 5px;
  background: #E5E7EB;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.chapa-progress-bar {
  position: absolute;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #00875A, #8B1E2D, #00875A);
  border-radius: 99px;
  animation: chapaProgressBar 1.6s infinite ease-in-out;
}

.chapa-redirect-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 500;
}

.chapa-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: chapaSpin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}

@keyframes chapaSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes chapaSpinReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes chapaFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes chapaModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes chapaPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 135, 90, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(0, 135, 90, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 135, 90, 0);
  }
}

@keyframes chapaProgressBar {
  0% {
    left: -45%;
  }
  50% {
    left: 45%;
  }
  100% {
    left: 100%;
  }
}

/* ==========================================================================
   Responsive Subpage Layout Classes & Viewport Fixes
   ========================================================================== */
.donation-page-card {
  background: #FFFFFF;
  border: 1px solid var(--mho-border, #E5E7EB);
  border-radius: var(--radius-xl, 16px);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}

.donor-name-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mho-impact-filter-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1rem;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .mho-impact-filter-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .donation-page-card {
    padding: 1.5rem 1.15rem;
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  .donor-name-phone-grid {
    grid-template-columns: 1fr !important;
  }
  .mho-impact-filter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .donation-page-card {
    padding: 1.25rem 0.85rem;
  }
  .chapa-redirect-box {
    padding: 2rem 1.25rem 1.75rem;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Full RTL & Arabic Typography Module
   ========================================================================== */

[dir="rtl"],
html[lang="ar"] {
  direction: rtl;
  text-align: right;
  font-family: 'Cairo', 'Alexandria', 'Segoe UI', Tahoma, Arial, sans-serif;
}

[dir="rtl"] body {
  font-family: 'Cairo', 'Alexandria', sans-serif;
  text-align: right;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] .mho-card-title,
[dir="rtl"] .mho-urgent-headline,
[dir="rtl"] .mho-our-impact-title,
[dir="rtl"] .mho-involved-title,
[dir="rtl"] .mho-page-hero h1 {
  font-family: 'Alexandria', 'Cairo', sans-serif;
  letter-spacing: normal;
  text-align: right;
}

[dir="rtl"] .mho-urgent-tag {
  margin-right: 0;
  margin-left: 0.5rem;
}

[dir="rtl"] .mho-dropdown {
  right: 0;
  left: auto;
  text-align: right;
}

[dir="rtl"] .mho-dropdown-item {
  text-align: right;
}

@media (min-width: 992px) {
  [dir="rtl"] .mho-hero-floating-card-wrapper {
    right: auto;
    left: 2.5rem;
  }
}

[dir="rtl"] .mho-custom-amount-box {
  flex-direction: row-reverse;
}

[dir="rtl"] .mho-currency-sym {
  border-right: none;
  border-left: 1.5px solid #D1D5DB;
  border-radius: 0 4px 4px 0;
}

[dir="rtl"] .mho-custom-amount-input {
  border-radius: 4px 0 0 4px;
  text-align: right;
}

[dir="rtl"] .mho-breadcrumbs {
  flex-direction: row;
}

[dir="rtl"] .mho-footer-links {
  text-align: right;
  padding-right: 0;
}

[dir="rtl"] .mho-footer-bottom {
  text-align: right;
}

[dir="rtl"] .form-label,
[dir="rtl"] .form-control,
[dir="rtl"] .form-select,
[dir="rtl"] select,
[dir="rtl"] input,
[dir="rtl"] textarea {
  text-align: right;
}

[dir="rtl"] .badge {
  letter-spacing: normal;
}

[dir="rtl"] .mho-impact-stat-item {
  text-align: center;
}

[dir="rtl"] .mho-involved-btn .btn-arrow,
[dir="rtl"] .mho-sector-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .mho-page-hero-side {
  text-align: left;
}

/* ==========================================================================
   Executive Director Message & Leadership Spotlight Styles
   ========================================================================== */
.mho-director-message-section {
  padding: 5rem 0;
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--mho-border);
  border-bottom: 1px solid var(--mho-border);
}

.mho-director-message-section::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--mho-burgundy) 0%, #C1292E 50%, var(--mho-green) 100%);
}

.mho-director-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--mho-border);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 10px -2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  position: relative;
}

.mho-director-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
}

@media (max-width: 991px) {
  .mho-director-grid {
    grid-template-columns: 1fr;
  }
  .mho-director-profile-col {
    border-inline-end: none !important;
    border-bottom: 1px solid var(--mho-border);
  }
}

.mho-director-profile-col {
  background: #FFFFFF;
  padding: 3rem 2rem;
  color: var(--mho-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  border-inline-end: 1px solid var(--mho-border);
}

.mho-director-avatar-frame {
  position: relative;
  width: 200px;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #F1F5F9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  background-color: #F8FAFC;
}

.mho-director-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.mho-director-avatar-frame:hover img {
  transform: scale(1.04);
}

.mho-director-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mho-burgundy-light);
  border: 1px solid rgba(139, 30, 45, 0.15);
  color: var(--mho-burgundy);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.mho-director-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--mho-charcoal);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.mho-director-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mho-burgundy);
  margin-bottom: 0.25rem;
}

.mho-director-org {
  font-size: 0.82rem;
  color: var(--mho-muted);
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

.mho-director-contact-box {
  width: 100%;
  background: #F8FAFC;
  border: 1px solid var(--mho-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: start;
}

.mho-director-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--mho-slate);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.mho-director-contact-item:hover {
  color: var(--mho-burgundy);
  background: #FFFFFF;
}

.mho-director-content-col {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFFFFF;
}

@media (max-width: 768px) {
  .mho-director-content-col {
    padding: 2rem 1.5rem;
  }
  .mho-director-profile-col {
    padding: 2.5rem 1.5rem;
  }
}

.mho-director-header {
  margin-bottom: 1.75rem;
}

.mho-director-tagline-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--mho-burgundy-light);
  color: var(--mho-burgundy);
  border: 1px solid rgba(139, 30, 45, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.mho-director-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--mho-charcoal);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mho-director-body-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--mho-slate);
  margin-bottom: 1.25rem;
}

.mho-director-quote-callout {
  background: linear-gradient(135deg, #FDF2F4 0%, #FFFBEB 100%);
  border-inline-start: 4px solid var(--mho-burgundy);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  position: relative;
}

.mho-director-quote-callout p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--mho-burgundy-dark);
  line-height: 1.55;
  margin-bottom: 0;
}

.mho-director-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--mho-border);
  margin-top: 1rem;
}

.mho-director-signature-block {
  display: flex;
  flex-direction: column;
}

.mho-director-signature-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mho-charcoal);
}

.mho-director-signature-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mho-muted);
}

.mho-director-btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

[dir="rtl"] .mho-director-contact-box {
  text-align: right;
}

[dir="rtl"] .mho-director-quote-callout {
  border-inline-start: 4px solid var(--mho-burgundy);
}

/* ==========================================================================
   WhatsApp & Facebook Social Integrations & Floating Button
   ========================================================================== */

/* Floating WhatsApp Button */
.mho-floating-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 995;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, background-color 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.mho-floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  background-color: #20BA5A;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.mho-floating-whatsapp:active {
  transform: scale(0.96) translateY(0);
}

.mho-floating-whatsapp .mho-whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  display: block;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.mho-floating-whatsapp:hover .mho-whatsapp-icon {
  transform: scale(1.05);
}

/* Pulse animation ring */
.mho-whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.6;
  z-index: -1;
  animation: waPulse 3s infinite ease-out;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.42);
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mho-whatsapp-pulse {
    animation: none;
    display: none;
  }
}

/* Floating Tooltip */
.mho-whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(10px);
  background: #FFFFFF;
  color: #111827;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mho-whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #FFFFFF;
}

.mho-whatsapp-status-dot {
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
  animation: waDotBlink 2s infinite ease-in-out;
}

@keyframes waDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.mho-floating-whatsapp:hover .mho-whatsapp-tooltip,
.mho-floating-whatsapp:focus-visible .mho-whatsapp-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* RTL orientation for Floating WhatsApp */
[dir="rtl"] .mho-floating-whatsapp {
  right: auto;
  left: 26px;
}

[dir="rtl"] .mho-whatsapp-tooltip {
  right: auto;
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-10px);
}

[dir="rtl"] .mho-whatsapp-tooltip::after {
  left: auto;
  right: 100%;
  border-color: transparent #FFFFFF transparent transparent;
}

[dir="rtl"] .mho-floating-whatsapp:hover .mho-whatsapp-tooltip,
[dir="rtl"] .mho-floating-whatsapp:focus-visible .mho-whatsapp-tooltip {
  transform: translateY(-50%) translateX(0);
}

/* Mobile adjustments for Floating WhatsApp */
@media (max-width: 640px) {
  .mho-floating-whatsapp {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
  [dir="rtl"] .mho-floating-whatsapp {
    left: 18px;
    right: auto;
  }
  .mho-floating-whatsapp .mho-whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .mho-whatsapp-tooltip {
    display: none !important;
  }
}

/* Footer Social & Direct Channels */
.mho-footer-social-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mho-footer-channel-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.6rem;
}

.mho-footer-channel-link:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.mho-channel-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.45);
}

.mho-channel-facebook:hover {
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.45);
}

.mho-channel-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.mho-footer-channel-link:hover .mho-channel-icon-wrap {
  transform: scale(1.08);
}

.mho-icon-wa {
  background-color: #25D366;
  color: #FFFFFF;
}

.mho-icon-fb {
  background-color: #1877F2;
  color: #FFFFFF;
}

.mho-channel-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.mho-channel-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

.mho-channel-text small {
  font-size: 0.75rem;
  color: #9CA3AF;
  direction: ltr;
  display: inline-block;
}

/* Footer Bottom Social Circles */
.mho-footer-bottom-social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.mho-footer-social-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #D1D5DB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mho-footer-social-circle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mho-circle-wa:hover {
  background: #25D366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.mho-circle-fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Contact Page Enhancements */
.mho-contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.mho-contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mho-contact-fasttrack {
  background: #FDF2F4;
  border: 1px solid rgba(139, 30, 45, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mho-fasttrack-text {
  font-size: 0.85rem;
  color: var(--mho-charcoal);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mho-fasttrack-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mho-fasttrack-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1;
}

.mho-fasttrack-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.mho-badge-wa {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.mho-badge-wa:hover {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
  transform: translateY(-1px);
}

.mho-badge-fb {
  background: #DBEAFE;
  color: #1D4ED8;
  border: 1px solid #93C5FD;
}

.mho-badge-fb:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
  transform: translateY(-1px);
}

/* Contact Social Channel Cards */
.mho-contact-social-card {
  background: var(--mho-surface);
  border: 1px solid var(--mho-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.mho-social-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  margin-bottom: 0.85rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  gap: 1rem;
}

.mho-social-action-card:last-child {
  margin-bottom: 0;
}

.mho-card-wa {
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border-color: #BBF7D0;
}

.mho-card-wa:hover {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  border-color: #22C55E;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22);
}

.mho-card-fb {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #BFDBFE;
}

.mho-card-fb:hover {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  border-color: #3B82F6;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.22);
}

.mho-social-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mho-social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.mho-social-card-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.mho-card-wa .mho-social-card-icon {
  background-color: #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.mho-card-fb .mho-social-card-icon {
  background-color: #1877F2;
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.35);
}

.mho-social-card-content h4 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
  color: var(--mho-charcoal);
}

.mho-social-card-content p {
  font-size: 0.825rem;
  color: var(--mho-slate);
  margin-bottom: 0;
  line-height: 1.35;
}

.mho-social-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.mho-card-wa .mho-social-card-btn {
  background: #15803D;
  color: #FFFFFF;
}

.mho-card-wa:hover .mho-social-card-btn {
  background: #166534;
}

.mho-card-fb .mho-social-card-btn {
  background: #1D4ED8;
  color: #FFFFFF;
}

.mho-card-fb:hover .mho-social-card-btn {
  background: #1E40AF;
}

/* Contact Page Responsive Media Queries */
@media (max-width: 991px) {
  .mho-contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .mho-contact-form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .mho-contact-social-card {
    padding: 1.5rem;
  }
  .mho-social-action-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .mho-social-card-btn {
    align-self: flex-start;
  }
}

/* About Pages Responsive Layout */
.mho-about-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.mho-mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  .mho-about-layout-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .mho-about-sidebar {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 640px) {
  .mho-mission-vision-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ==========================================================================
   Card Stability Enforcement:
   Ensures cards stay completely fixed in place when tapped or hovered,
   preventing any jumping, movement, or layout shifts.
   ========================================================================== */
.program-card,
.district-card,
.news-card,
.mho-sector-item,
.mho-team-card,
.mho-partner-logo-card,
.mho-impact-stat-item,
.impact-stat-card,
.mho-card-wa,
.mho-card-fb,
.mho-involved-card,
.mho-content-card,
.mho-reference-donation-card,
.mho-donation-card,
.priority-campaign-card,
.kpi-card,
.table-card,
.mho-recent-blog-bar,
.mho-footer-channel-link,
.mho-about-sidebar,
.mho-director-wrapper,
[class*="card"] {
  transform: none !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.program-card:hover, .program-card:active, .program-card:focus,
.district-card:hover, .district-card:active, .district-card:focus,
.news-card:hover, .news-card:active, .news-card:focus,
.mho-sector-item:hover, .mho-sector-item:active, .mho-sector-item:focus,
.mho-team-card:hover, .mho-team-card:active, .mho-team-card:focus,
.mho-partner-logo-card:hover, .mho-partner-logo-card:active, .mho-partner-logo-card:focus,
.mho-impact-stat-item:hover, .mho-impact-stat-item:active, .mho-impact-stat-item:focus,
.impact-stat-card:hover, .impact-stat-card:active, .impact-stat-card:focus,
.mho-card-wa:hover, .mho-card-wa:active, .mho-card-wa:focus,
.mho-card-fb:hover, .mho-card-fb:active, .mho-card-fb:focus,
.mho-involved-card:hover, .mho-involved-card:active, .mho-involved-card:focus,
.mho-content-card:hover, .mho-content-card:active, .mho-content-card:focus,
.mho-reference-donation-card:hover, .mho-reference-donation-card:active, .mho-reference-donation-card:focus,
.mho-donation-card:hover, .mho-donation-card:active, .mho-donation-card:focus,
.priority-campaign-card:hover, .priority-campaign-card:active, .priority-campaign-card:focus,
.kpi-card:hover, .kpi-card:active, .kpi-card:focus,
.table-card:hover, .table-card:active, .table-card:focus,
.mho-recent-blog-bar:hover, .mho-recent-blog-bar:active, .mho-recent-blog-bar:focus,
.mho-footer-channel-link:hover, .mho-footer-channel-link:active, .mho-footer-channel-link:focus,
.mho-about-sidebar:hover, .mho-about-sidebar:active, .mho-about-sidebar:focus,
[class*="card"]:hover,
[class*="card"]:active,
[class*="card"]:focus {
  transform: none !important;
}

/* Prevent image scaling or jumping inside cards on hover or tap */
.mho-team-card:hover .mho-team-photo,
.mho-partner-logo-card:hover .mho-partner-logo-img,
.mho-involved-card:hover .mho-involved-image,
.mho-sector-item:hover .mho-sector-icon,
.mho-sector-item:hover .mho-sector-arrow {
  transform: none !important;
}

/* Touchscreen tap highlight stability */
@media (hover: none) {
  *, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
  }
}




