/*
Theme Name: Armoiredemamere
Theme URI: https://teque.tech
Author: Teque Hub Corp.
Author URI: https://teque.tech
Description: Custom nonprofit charity WordPress theme with GiveWP integration
Version: 1.0.2
License: GNU General Public License v2
Text Domain: armoiredemamere
*/

:root {
  /* Colors - Premium Palette */
  --color-primary: #0055FF; /* Electric Blue */
  --color-primary-dark: #003DBB;
  --color-dark: #0A1428; /* Deep Navy */
  --color-light: #F8F9FA;
  --color-grey: #EDF1F7;
  --color-white: #FFFFFF;
  --color-text: #2D3748;
  --color-glass: rgba(255, 255, 255, 0.85);
  
  /* Typography */
  --font-heading: 'Merriweather', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-section-y: 100px;
  --spacing-container-x: 5%;
  --max-width: 1200px;
  --border-radius-pill: 50px;
  --border-radius-card: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 10px 30px rgba(10, 20, 40, 0.1);
  --shadow-hover: 0 20px 40px rgba(10, 20, 40, 0.15);
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-light);
  background-image: radial-gradient(#0055FF08 1px, transparent 1px);
  background-size: 40px 40px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-container-x);
}

.section-padding {
  padding: var(--spacing-section-y) 0;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-dark { color: var(--color-dark); }
.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.03);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(30, 101, 215, 0.3);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.text-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link:hover {
  color: var(--color-primary-dark);
  gap: 12px;
}

/* ==========================================================================
   HI Template Header Architecture
   ========================================================================== */
.hi-header-wrapper {
  background-color: var(--color-white);
  width: 100%;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 1. Utility Bar */
.utility-bar {
  padding: 8px 20px;
  background-color: var(--color-white);
  border-bottom: 1px solid #EAEAEA;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}
.utility-bar a {
  color: var(--color-primary);
}
.utility-bar a:hover {
  text-decoration: underline;
}

/* 2. Main Header Row */
.main-header-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.main-header-row .logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-header-row .search-box {
  flex: 1;
  max-width: 400px;
  margin: 0 40px;
  position: relative;
}
.main-header-row .search-box input {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #CCC;
  border-radius: 4px;
  font-family: var(--font-body);
}

/* Massive Overlapping Donate Button */
.header-donate-btn {
  position: absolute;
  right: 20px;
  top: 10px; /* Overlaps upwards slightly */
  background-color: #D35400; /* Distinct Orange from HI */
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  padding: 25px 40px;
  z-index: 50; /* Overlap everything */
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.header-donate-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 85, 255, 0.4);
  color: var(--color-white);
}

/* 3. Blue Nav Ribbon */
.nav-ribbon {
  background: var(--color-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  width: 100%;
}
.nav-ribbon ul {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
}
.nav-ribbon a {
  color: var(--color-dark);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 20px 30px;
  display: inline-block;
  transition: background-color var(--transition-fast);
}
.nav-ribbon a:hover {
  background-color: rgba(0, 85, 255, 0.05);
  color: var(--color-primary);
}

/* Mobile Nav Overrides */
.hamburger-hi {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
}

@media (max-width: 900px) {
  .utility-bar, .search-box { display: none; }
  .header-donate-btn {
    position: relative;
    right: auto; top: auto;
    padding: 15px 20px;
    font-size: 1rem;
  }
  .nav-ribbon { display: none; }
  .hamburger-hi { display: block; }
}

/* ==========================================================================
   Home Page Sections
   ========================================================================== */

/* Section 1: HI Hero Carousel */
.hi-hero-section {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background: #EAEAEA;
  padding: 40px 0;
}

.hi-carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.5s ease-in-out;
  /* By default we center the middle slide */
  transform: translateX(-33.333vw);
}

.hi-slide {
  flex: 0 0 calc(100vw - 200px); /* Leaves 100px on each side for peek */
  margin: 0 20px;
  height: 60vh;
  min-height: 500px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.hi-slide.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow-hover);
  border-radius: var(--border-radius-card);
  overflow: hidden;
}

.hi-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide Overlays */
.hi-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  z-index: 10;
}

.hi-tag {
  background-color: var(--color-primary);
  color: white;
  display: inline-block;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.hi-slide-title {
  background-color: var(--color-primary);
  color: white;
  display: inline-block;
  padding: 10px 30px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.hi-mobilized-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-primary);
  color: white;
  padding: 15px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Carousel Controls */
.hi-carousel-controls {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  z-index: 20;
}
.hi-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
}
.hi-dot.active {
  opacity: 1;
  border-color: var(--color-primary);
}

/* HI Intro typography */
.hi-intro-block {
  text-align: center;
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}
.hi-intro-block h2 {
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.hi-intro-block p {
  font-size: 1.2rem;
  color: var(--color-text);
}

/* Section 2: Stats Bar */
.section-stats {
  background-color: var(--color-dark);
  padding: 60px 0;
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  color: #AAA;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section 3: Mission */
.section-mission {
  background-color: var(--color-light);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 30px;
  position: relative;
}

.mission-quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: -1;
}

.mission-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--color-text);
}

.mission-image-wrapper {
  position: relative;
  border-left: 8px solid var(--color-primary);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mission-image-wrapper img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Section 4: Active Campaigns */
.section-campaigns {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
}

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

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.campaign-card {
  background-color: var(--color-light);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.campaign-img-wrapper {
  position: relative;
  height: 220px;
}

.campaign-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.campaign-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.campaign-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.campaign-content p {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 25px;
  flex-grow: 1;
}

.campaign-progress {
  margin-bottom: 20px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background-color: #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 4px;
}

.progress-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* Card 4 - View All */
.campaign-card.view-all {
  background-color: var(--color-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  cursor: pointer;
}
.campaign-card.view-all h3 {
  font-size: 1.8rem;
  color: var(--color-dark);
}

/* Section 5: Stories Slider */
.section-stories {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-stories .section-header h2 {
  color: var(--color-white);
}

.stories-container {
  max-width: 1000px;
  margin: 0 auto;
}

.stories-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.story-tab-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  transition: var(--transition-fast);
}

.story-tab-btn.active, .story-tab-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.story-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

.story-panel.active {
  display: grid;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.story-image {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content .story-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
}

.story-content .story-quote {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 25px;
  color: var(--color-primary);
}

.story-content p {
  color: #CCC;
  margin-bottom: 20px;
}

/* Section 6: How It Works */
.section-how-it-works {
  background-color: var(--color-grey);
}

.steps-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 2px;
  background-image: linear-gradient(to right, #B0B0B0 50%, transparent 50%);
  background-size: 15px 100%;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 250px;
  background: var(--color-grey); /* Hide the dashed line behind icon */
  padding: 0 10px;
}

.step-icon {
  width: 120px;
  height: 120px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
}

/* Add absolute step number badge */
.step-icon::before {
  content: attr(data-step);
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 32px;
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* Section 7: Inline Donation Widget */
.section-donation {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.donation-text h2 {
  color: var(--color-white);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.donation-text > p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
}

.trust-bullets i {
  color: var(--color-dark);
  background-color: var(--color-white);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.donation-form-ui {
  background-color: var(--color-white);
  border-radius: var(--border-radius-card);
  padding: 40px;
  color: var(--color-dark);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.donation-amount-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  flex: 1 1 calc(33.333% - 10px);
  background-color: var(--color-grey);
  border: 2px solid transparent;
  color: var(--color-dark);
  padding: 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.amount-btn:hover, .amount-btn.value-icon {
  background-color: rgba(30, 101, 215, 0.1);
  color: var(--color-primary);
  color: var(--color-primary);
}

.custom-amount-input {
  display: none;
  width: 100%;
  margin-bottom: 20px;
}

.custom-amount-input.active {
  display: block;
  animation: fadeIn 0.3s;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #DDD;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #888;
  margin-top: 15px;
}
.secure-note i {
  color: #4CAF50;
}

/* Section 8: Partner Logos */
.section-partners {
  background-color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.section-partners h3 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  color: #AAA;
  margin-bottom: 40px;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.partner-logos img {
  height: 50px;
  filter: grayscale(100%) opacity(0.5);
  transition: filter var(--transition-fast);
}

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

/* Section 9: Newsletter */
.section-newsletter {
  background-color: #8A261D;
  color: var(--color-white);
  text-align: center;
}

.section-newsletter h2 {
  color: var(--color-white);
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-form .form-control {
  border: none;
  border-radius: var(--border-radius-pill);
  padding: 18px 30px;
}

.newsletter-form .btn {
  background-color: var(--color-dark);
}

.newsletter-form .btn:hover {
  background-color: #000;
  box-shadow: none;
}

.newsletter-privacy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 15px;
}

/* ==========================================================================
   About Page Sections
   ========================================================================== */
.hero-half {
  height: 50vh;
  min-height: 400px;
}
.about-story .mission-grid {
  grid-template-columns: 1fr 1fr;
}
.about-values {
  background-color: var(--color-grey);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.value-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.value-card i {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card {
  text-align: center;
}
.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--border-radius-card);
  margin-bottom: 15px;
}
.team-card h4 { margin-bottom: 5px; }
.team-card .role { color: var(--color-primary); font-weight: 600; margin-bottom: 15px; font-size: 0.9rem; }
.cta-strip { background: var(--color-primary); color: white; padding: 60px 0; text-align: center; }
.cta-strip h2 { color: white; margin-bottom: 25px; }

/* ==========================================================================
   Donate Page Sections
   ========================================================================== */
.donate-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.donate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.donate-tab-btn {
  padding: 10px 18px;
  border: 2px solid var(--color-grey);
  border-radius: var(--border-radius-pill);
  background: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.donate-tab-btn.active, .donate-tab-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.donate-panel {
  display: none;
  animation: fadeIn 0.4s forwards;
}
.donate-panel.active {
  display: block;
}
.donate-panel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-card);
  margin-bottom: 20px;
}
.donate-panel p {
  margin-bottom: 20px;
}
.impact-list {
  background: var(--color-grey);
  padding: 25px;
  border-radius: var(--border-radius-card);
}
.impact-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-weight: 500;
}
.impact-list li:last-child { margin-bottom: 0; }
.impact-list .amt {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  font-weight: 700;
  width: 50px;
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.trust-badges img {
  height: 35px;
  filter: grayscale(100%);
  opacity: 0.6;
}

/* FAQ Accordion */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #DDD;
  margin-bottom: 10px;
}
.faq-header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}
.faq-header i {
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}
.faq-item.active .faq-header i {
  transform: rotate(180deg);
}
.faq-content {
  display: none;
  padding-bottom: 20px;
  color: var(--color-text);
  animation: fadeIn 0.3s;
}
.faq-item.active .faq-content {
  display: block;
}

/* ==========================================================================
   Campaigns Page Sections
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}
.filter-btn {
  background: var(--color-grey);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 600;
  background: var(--color-grey);
  transition: var(--transition-fast);
}
.page-link.active, .page-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ==========================================================================
   Stories Page Sections
   ========================================================================== */
.story-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.story-card-minimal {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition-smooth);
}
.story-card-minimal:hover {
  transform: translateY(-8px);
}
.story-card-minimal img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.story-card-minimal .content {
  padding: 30px;
}
.story-card-minimal h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.story-card-minimal .country {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.story-card-minimal p {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--color-text);
}

.featured-story {
  background: var(--color-dark);
  color: var(--color-white);
}
.featured-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.featured-story-grid img {
  border-radius: var(--border-radius-card);
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.featured-story .tag {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}
.featured-story h2 {
  color: var(--color-white);
  font-size: 2.8rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   Contact Page Sections
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-info-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: 5px;
}
.contact-info-item h4 {
  margin-bottom: 5px;
  font-family: var(--font-body);
}
.map-placeholder {
  width: 100%;
  height: 250px;
  background: #E5E3DF;
  border-radius: var(--border-radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 600;
  margin-top: 40px;
}
.contact-form-container {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contact-form-container textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================================================
   Thank You Page Sections
   ========================================================================== */
.thankyou-container {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  background: var(--color-white);
  padding: 60px 40px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.success-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 30px;
}
.thankyou-container h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.thankyou-container > p {
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.next-steps {
  text-align: left;
  background: var(--color-grey);
  padding: 30px;
  border-radius: var(--border-radius-card);
  margin-bottom: 40px;
}
.next-steps h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-align: center;
}
.step-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}
.step-row:last-child {
  margin-bottom: 0;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.btn-facebook { background: #1877F2; color: white; border: none; }
.btn-twitter { background: #000000; color: white; border: none; }
.btn-whatsapp { background: #25D366; color: white; border: none; }
.btn-facebook:hover { background: #166FE5; }
.btn-twitter:hover { background: #333333; }
.btn-whatsapp:hover { background: #20BD5A; }

/* ==========================================================================
   Campaign & Blog Pages (Phase 3)
   ========================================================================== */

/* Sticky Donation Strip */
.sticky-donation-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 15px 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}
.sticky-donation-strip.visible {
  transform: translateY(0);
}
.sticky-donation-strip .strip-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-dark);
  margin: 0;
}
.strip-btns {
  display: flex;
  gap: 10px;
}
.btn-amount {
  background: var(--color-grey);
  color: var(--color-dark);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
}
.btn-amount:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Custom Workflow Timeline */
.custom-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.custom-timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 30px;
  width: 4px;
  height: 100%;
  background: var(--color-grey);
}
.timeline-item {
  display: flex;
  gap: 30px;
  position: relative;
  z-index: 2;
}
.timeline-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(30,101,215,0.3);
}
.timeline-content {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.timeline-content h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Blog Article Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  align-items: start;
}
.blog-content {
  background: var(--color-white);
  padding: 50px;
  border-radius: var(--border-radius-card);
  box-shadow: 0 5px 30px rgba(0,0,0,0.03);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}
.blog-content h2 {
  font-size: 2.2rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-dark);
}
.blog-content h3 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}
.blog-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}
.blog-content p {
  margin-bottom: 25px;
}
.blog-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-widget {
  background: var(--color-grey);
  padding: 30px;
  border-radius: var(--border-radius-card);
  margin-bottom: 30px;
}
.sidebar-widget h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-white);
}
.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-nav a {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  border-left: 3px solid transparent;
  padding-left: 10px;
  transition: var(--transition-fast);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* ==========================================================================
   Editorial Homepage (Phase 4 Redesign)
   ========================================================================== */

/* Editorial Typography Styles */
.editorial-text {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-dark);
}
.editorial-paragraph {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}
.drop-cap::first-letter {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  float: left;
  margin-right: 15px;
  margin-top: 5px;
  color: var(--color-primary);
}

/* Asymmetric Hero */
.editorial-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background-color: var(--color-light);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-image-pane {
  height: 100%;
  width: 100%;
  position: relative;
}
.hero-image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}
.hero-text-pane {
  padding: 60px 80px;
  background-color: var(--color-light);
  z-index: 2;
  position: relative;
}
.hero-text-pane h1 {
  font-size: 4.5rem;
  letter-spacing: -1px;
  margin-bottom: 30px;
  text-transform: none;
}
.hero-overlay-box {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 40px;
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 350px;
  font-size: 1.1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Overlapping Image Grid (Mashup 1) */
.editorial-overlapping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}
.overlap-image-group {
  position: relative;
  height: 600px;
}
.overlap-img-main {
  width: 80%;
  height: 80%;
  object-fit: cover;
  position: absolute;
  top: 0; right: 0;
  box-shadow: -15px 15px 0 var(--color-grey);
}
.overlap-img-secondary {
  width: 60%;
  height: 50%;
  object-fit: cover;
  position: absolute;
  bottom: 0; left: 0;
  border: 10px solid var(--color-white);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  z-index: 3;
}

/* Numbered Impact List */
.editorial-impact-list {
  list-style: none;
  padding: 0; margin: 0;
}
.editorial-impact-list li {
  position: relative;
  padding-left: 80px;
  margin-bottom: 40px;
}
.editorial-impact-list li::before {
  content: counter(impact-counter);
  counter-increment: impact-counter;
  position: absolute;
  left: 0; top: -10px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: rgba(30,101,215,0.15); /* Faded Primary Blue */
  font-weight: 900;
  line-height: 1;
}
.editorial-impact-list {
  counter-reset: impact-counter;
}

/* Organic Soft Block (Mashup 2 - Jouets) */
.organic-block {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 100px 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin-top: 50px;
  margin-bottom: 50px;
}
.organic-block h2 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 40px;
}
.organic-text {
  color: #ccc;
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Editorial Floating Donation Form */
.integrated-donate-panel {
  background: var(--color-white);
  border: 1px solid #eaeaea;
  padding: 50px;
  position: sticky;
  top: 100px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.06);
}
.integrated-donate-panel h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* 1024px */
@media (max-width: 1024px) {
  .mission-grid, .donation-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .mission-image-wrapper img {
    height: 400px;
  }
  .steps-container::before {
    display: none;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .main-nav, .header-donate {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .campaign-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stories-tabs {
    flex-wrap: wrap;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .form-row {
    flex-direction: column;
  }
}

/* 480px */
@media (max-width: 480px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .amount-btn {
    flex: 1 1 100%;
  }
  .hi-action-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 6: HI Action Grid & Newsletter Block
   ========================================================================== */

.hi-action-section {
  background-color: var(--color-white);
  padding: 60px 0;
  border-top: 1px solid #EAEAEA;
}

.hi-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .hi-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hi-action-card {
  position: relative;
  height: 250px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}

.hi-action-card:hover {
  transform: translateY(-5px);
}

.hi-action-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.hi-action-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
}

.hi-action-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.hi-action-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.hi-action-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

/* Newsletter Block */
.hi-newsletter-block {
  background-color: #EBF2FA; /* Light Blue tint */
  padding: 80px 20px;
  text-align: center;
}

.hi-newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.hi-newsletter-inner h2 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hi-newsletter-inner p {
  color: var(--color-dark);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hi-newsletter-form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.hi-newsletter-form input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #CCC;
  font-size: 1rem;
}

.hi-newsletter-form button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0 40px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}

.hi-newsletter-form button:hover {
  background-color: var(--color-primary-dark);
}

.hi-newsletter-legal {
  font-size: 0.75rem;
  color: #666;
  text-align: left;
  line-height: 1.4;
}

/* ==========================================================================
   Phase 7: HI Footer Architecture
   ========================================================================== */

.hi-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 60px 0 20px;
}

.hi-footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hi-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
}

.hi-footer-col h4 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 900;
}

.hi-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hi-footer-col ul li {
  margin-bottom: 10px;
}

.hi-footer-col a {
  color: #CCC;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.hi-footer-col a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.hi-footer-legal {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
}

.hi-footer-legal img {
  max-height: 40px;
  margin-right: 15px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .hi-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .hi-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Phase 7: Inner Campaign Pages (Victimes de Guerre structure)
   ========================================================================== */

/* Inner Hero */
.hi-inner-hero {
  background-color: var(--color-dark);
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.hi-inner-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 20px;
}
.hi-inner-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #CCC;
}
.hi-inner-donate-btn {
  background-color: #D35400;
  color: white;
  font-weight: 900;
  padding: 15px 40px;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-block;
}
.hi-inner-donate-btn:hover {
  background-color: #E67E22;
}

/* Data Blocks */
.hi-content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}
.hi-content-section h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
  padding-bottom: 5px;
}
.hi-content-section h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Flat Story Tabs */
.hi-story-tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #CCC;
  padding-bottom: 10px;
}
.hi-story-tab-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  padding: 10px 20px;
  text-transform: uppercase;
}
.hi-story-tab-btn.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}
.hi-story-content {
  display: none;
}
.hi-story-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

/* Fast Donation Grid */
.hi-fast-donate {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hi-fast-donate-card {
  border: 2px solid var(--color-primary);
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  width: 250px;
  transition: transform 0.3s;
}
.hi-fast-donate-card:hover {
  transform: translateY(-5px);
  background-color: #F8F9FA;
}
.hi-fast-donate-card h3 {
  color: var(--color-primary);
  font-size: 2rem;
  margin: 0 0 10px;
}

/* GiveWP Sticky Bottom Bar */
.hi-sticky-campaign-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-dark);
  color: white;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
.hi-sticky-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hi-progress-wrapper {
  flex: 1;
  margin-right: 30px;
}
.hi-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: bold;
}
.hi-progress-track {
  height: 10px;
  background-color: rgba(255,255,255,0.2);
  border-radius: 5px;
  overflow: hidden;
}
.hi-progress-fill {
  height: 100%;
  background-color: var(--color-primary);
}
/* ==========================================================================
   Animations & Polish
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hi-action-card, .campaign-card {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  overflow: hidden;
}

.hi-action-card:hover, .campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.hi-action-card img, .campaign-card img {
  transition: transform 1s var(--transition-smooth);
}

.hi-action-card:hover img, .campaign-card:hover img {
  transform: scale(1.1);
}

.hi-sticky-campaign-bar {
  background: var(--color-glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.2);
  color: var(--color-dark);
}

.hi-sticky-campaign-bar .hi-progress-labels span {
  color: var(--color-dark);
}

.hi-sticky-campaign-bar .hi-inner-donate-btn {
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

/* ==========================================================================
   Utility bar language switcher (Polylang / WPML / fallback)
   ========================================================================== */

.utility-bar__lang {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.utility-bar__lang::before {
  content: "🌐";
  font-size: 0.95em;
}
.utility-bar__lang select,
.utility-bar__lang #lang_choice_1,
.utility-bar__lang .pll-switcher-select {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
}
.utility-bar__lang select option {
  color: #222;
  background: #fff;
}
.utility-bar__lang ul {
  display: inline-flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.utility-bar__lang li {
  display: inline-flex;
  align-items: center;
}
.utility-bar__lang .lang-item img,
.utility-bar__lang .pll-flag {
  height: 14px;
  width: auto;
  margin-right: 4px;
  vertical-align: middle;
}
.utility-bar__lang .current-lang a,
.utility-bar__lang .lang-item-current a {
  font-weight: 700;
  text-decoration: underline;
}
@media (max-width: 900px) {
  /* Utility bar is hidden on mobile, so the switcher moves to the mobile drawer instead.
     Drop in a [polylang] widget into the drawer via the Menus screen if you want that. */
  .utility-bar__lang { display: none; }
}

/* ==========================================================================
   Hero carousel arrows (prev/next)
   ========================================================================== */

.hi-hero-section {
  position: relative;
}
.hi-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-dark);
  border: 0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  padding: 0;
}
.hi-carousel-arrow:hover,
.hi-carousel-arrow:focus-visible {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 8px 22px rgba(0, 85, 255, 0.35);
}
.hi-carousel-arrow--prev { left: 24px; }
.hi-carousel-arrow--next { right: 24px; }
.hi-carousel-arrow[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.hi-carousel-arrow[disabled]:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-dark);
  transform: translateY(-50%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
/* Hide arrows on mobile (stacked layout handles nav via scroll + swipe) */
@media (max-width: 900px) {
  .hi-carousel-arrow {
    display: none;
  }
}

/* ==========================================================================
   Theme helper classes (extracted from inline styles for maintainability)
   ========================================================================== */

.adm-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.adm-content-wrap--narrow {
  max-width: 1000px;
}
.adm-content-wrap--tall {
  min-height: 50vh;
}

.adm-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 10px;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.adm-section-header h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
}
.adm-section-header .adm-section-link {
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.adm-entry {
  max-width: 800px;
  margin: 0 auto 40px;
}

.campaign-img-wrapper--sm { height: 180px; }
.campaign-img-wrapper--md { height: 200px; }
.campaign-img-wrapper--lg { height: 220px; }

.campaign-content--tight   { padding: 20px; }
.campaign-content--roomy   { padding: 25px; }
.campaign-card__title {
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--color-primary);
}
.campaign-card__title--lg {
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.campaign-card__excerpt {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0;
}
.campaign-card__excerpt--lg { font-size: 0.95rem; color: #555; }
.campaign-card__meta {
  color: #888;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}
.campaign-card__link {
  margin-top: 15px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-block;
}
.campaign-card__link--lg { margin-top: 20px; }

.adm-principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  text-align: center;
}
.adm-principle-card {
  padding: 30px;
  background: #F8F9FA;
  border-radius: 8px;
}
.adm-principle-card__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
}
.adm-principle-card h3 {
  color: var(--color-dark);
  margin-bottom: 10px;
}
.adm-principle-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.adm-report-cta {
  margin-top: 80px;
  text-align: center;
  background: var(--color-dark);
  color: #fff;
  padding: 60px 20px;
  border-radius: 8px;
}
.adm-report-cta h2 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  font-size: 2rem;
  color: #fff;
}
.adm-report-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  color: #CCC;
}
.adm-report-cta .btn-invert {
  position: relative;
  display: inline-block;
  background: #fff;
  color: var(--color-dark);
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 4px;
}

.adm-sticky-progress-wrap {
  margin-top: 15px;
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.adm-sticky-progress-fill {
  height: 100%;
  background: var(--color-primary);
}
.adm-sticky-progress-label {
  font-size: 0.8rem;
  display: block;
  margin-top: 5px;
}

.adm-about-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.adm-about-row > div {
  flex: 1;
  min-width: 280px;
}
.adm-about-row h2 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.adm-about-row p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}
.adm-about-logo {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.adm-rule {
  border: 0;
  border-top: 1px solid #EAEAEA;
  margin: 40px 0;
}

.adm-principles-block h2 {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.adm-campaign-cta-block {
  padding-top: 60px;
  text-align: center;
}

/* List + chiffres formatting used repeatedly on campaign pages */
.adm-stats-list {
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Pagination base */
.nav-links, .pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 60px;
}
.page-numbers {
  padding: 8px 14px;
  border: 1px solid #EAEAEA;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ==========================================================================
   Mobile Responsiveness Overrides
   Comprehensive mobile fixes appended to the base stylesheet.
   Breakpoints: 1024 / 900 / 768 / 600 / 480 / 380
   ========================================================================== */

/* Accessibility helper used by WP templates */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-dark);
  color: #fff;
  padding: 10px 15px;
  z-index: 100000;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* Prevent horizontal overflow site-wide */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* Hamburger: default hidden, show on mobile (keeps existing 900px rule working) */
.hamburger-hi {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--color-primary);
  padding: 8px 12px;
  line-height: 1;
}

/* ========== Mobile Nav Drawer ==========
   Hidden by default. Only appears at <=900px. Uses !important as a hard
   guarantee against aggressive plugin resets (Elementor, page builders,
   GoDaddy managed caches with stale CSS). */
.adm-mobile-drawer,
.adm-drawer-overlay {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -99999px;
  top: -99999px;
}
@media (max-width: 900px) {
  .adm-mobile-drawer {
    display: block !important;
    visibility: visible;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(320px, 85vw);
    max-width: 100vw;
    height: 100vh;
    background: var(--color-dark);
    color: #fff;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 70px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  .adm-mobile-drawer.is-open {
    transform: translateX(0) !important;
  }
  .adm-drawer-overlay {
    display: block !important;
    visibility: visible;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .adm-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}
.adm-mobile-drawer a {
  color: #fff;
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.05rem;
}
.adm-mobile-drawer a:hover,
.adm-mobile-drawer a:focus {
  color: var(--color-primary);
}
.adm-mobile-drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.adm-mobile-drawer .adm-drawer-donate {
  display: block;
  background: #D35400;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 24px;
  border: 0;
  text-decoration: none;
}
.adm-drawer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px 12px;
}
body.adm-no-scroll {
  overflow: hidden;
}

/* ========== Large Tablet: <=1024px ========== */
@media (max-width: 1024px) {
  :root {
    --spacing-section-y: 70px;
  }
  .hi-action-grid {
    padding: 0 15px;
  }
}

/* ========== Tablet & Mobile: <=900px ========== */
@media (max-width: 900px) {
  :root {
    --spacing-section-y: 60px;
    --spacing-container-x: 20px;
  }

  .main-header-row {
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: nowrap;
  }
  .main-header-row .logo {
    font-size: 1.25rem;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .main-header-row .logo img {
    height: 44px !important;
    margin-right: 8px !important;
  }
  .main-header-row .logo div {
    line-height: 1.1;
  }

  /* Override the giant absolute donate button for mobile */
  .header-donate-btn {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    box-shadow: none;
    line-height: 1.15;
    flex-shrink: 0;
  }
  .header-donate-btn br { display: none; }

  /* Carousel becomes full-width, single slide */
  .hi-hero-section {
    padding: 20px 0;
  }
  .hi-carousel-track {
    transform: none !important;
    flex-direction: column;
    gap: 15px;
  }
  .hi-slide {
    flex: 0 0 auto;
    width: calc(100% - 24px);
    margin: 0 12px;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    opacity: 1;
    transform: none;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
  }
  .hi-slide img {
    object-fit: cover;
  }
  .hi-slide-content {
    top: auto;
    bottom: 20px;
    left: 20px;
    transform: none;
    text-align: left;
    max-width: calc(100% - 40px);
  }
  .hi-slide-title {
    font-size: 1.4rem !important;
  }
  .hi-mobilized-btn {
    position: static !important;
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .hi-carousel-controls {
    margin-top: 10px;
  }

  /* Intro block padding */
  .hi-intro-block {
    padding: 40px 20px;
  }
  .hi-intro-block h2 {
    font-size: 1.5rem;
  }

  /* Newsletter on mobile */
  .hi-newsletter-block {
    padding: 40px 20px;
  }
  .hi-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .hi-newsletter-form input,
  .hi-newsletter-form button {
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
  }

  /* Inner hero */
  .hi-inner-hero {
    padding: 50px 20px;
  }
  .hi-inner-hero p {
    font-size: 1rem;
  }
  .hi-inner-donate-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* Inner content sections */
  .hi-content-section {
    padding: 40px 20px;
  }
  .hi-content-section h2 {
    font-size: 1.5rem;
  }

  /* Story tab buttons wrap to multiple rows instead of overflowing */
  .hi-story-tabs-nav {
    flex-wrap: wrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .hi-story-tab-btn {
    padding: 8px 14px;
    font-size: 0.95rem;
    flex: 0 0 auto;
  }

  /* Fast-donate cards full-width */
  .hi-fast-donate {
    gap: 12px;
  }
  .hi-fast-donate-card {
    width: 100%;
    max-width: 320px;
    padding: 18px;
  }
  .hi-fast-donate-card h3 {
    font-size: 1.6rem;
  }

  /* Sticky campaign bar stacks on mobile */
  .hi-sticky-campaign-bar {
    padding: 10px 0;
  }
  .hi-sticky-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 16px;
  }
  .hi-progress-wrapper {
    margin-right: 0;
    width: 100%;
  }
  .hi-progress-labels {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 4px;
  }
  .hi-sticky-campaign-bar .hi-inner-donate-btn {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    text-align: center;
  }
  /* Give the body more bottom padding when the stacked sticky bar is present */
  body.has-sticky-bar,
  .hi-sticky-campaign-bar ~ footer,
  .hi-footer {
    padding-bottom: 140px;
  }

  /* Action grid cards: leaner on mobile */
  .hi-action-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
    padding: 0 16px;
  }
  .hi-action-card {
    height: 220px !important;
  }
  .hi-action-title {
    font-size: 1.1rem !important;
  }

  /* Campaign / article grid */
  .campaign-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }

  /* Footer on mobile */
  .hi-footer {
    padding: 40px 0 20px;
  }
  .hi-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .hi-footer-col h4 {
    font-size: 0.95rem;
  }
  .hi-footer-col a {
    font-size: 0.9rem;
  }
  .hi-footer-legal {
    padding: 20px;
    font-size: 0.85rem;
  }

  /* Thank-you page */
  .thankyou-container {
    padding: 40px 20px !important;
    margin: 0 16px;
  }
  .thankyou-container h1 {
    font-size: 1.8rem !important;
  }
  .share-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .share-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .next-steps {
    padding: 20px !important;
  }
  .step-row {
    flex-direction: row;
    gap: 12px;
  }
  .step-num {
    flex-shrink: 0;
  }

  /* Container padding minimums */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-padding {
    padding: 50px 0;
  }

  /* About-page inline flex rows stack gracefully */
  .entry-content > div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Inline grid fallbacks (for grids built with inline styles in PHP templates) */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Ensure images in hero/card wrappers don't overflow */
  .campaign-img-wrapper img,
  .hi-slide img,
  .hi-action-card img {
    max-width: 100%;
    height: 100%;
  }

  /* WP nav menu items inside drawer */
  .adm-mobile-drawer .menu-item a {
    padding: 14px 4px;
    display: block;
  }
}

/* ========== Small Mobile: <=600px ========== */
@media (max-width: 600px) {
  :root {
    --spacing-section-y: 48px;
  }

  h1, .hi-inner-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.15rem;
  }

  .main-header-row .logo div > div {
    font-size: 0.95rem;
  }
  .main-header-row .logo img {
    height: 38px !important;
  }

  .header-donate-btn {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
  }

  .hi-slide {
    aspect-ratio: 4 / 3;
  }
  .hi-slide-title {
    font-size: 1.15rem !important;
  }

  /* Inner hero */
  .hi-inner-hero {
    padding: 40px 16px;
  }

  /* Footer columns collapse to one */
  .hi-footer-grid {
    grid-template-columns: 1fr;
  }

  /* Campaign cards inside donate/campaigns grids */
  .campaign-card .campaign-img-wrapper {
    height: 180px !important;
  }

  /* Donate tab nav wraps nicely */
  .donate-tabs-nav {
    gap: 6px !important;
  }
  .donate-tab-btn {
    flex: 1 1 calc(50% - 6px);
    padding: 10px 8px;
    font-size: 0.85rem;
    background: #fff;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
  }
  .donate-tab-btn.active {
    background: var(--color-primary);
    color: #fff;
  }

  /* Pagination */
  .nav-links,
  .page-numbers {
    flex-wrap: wrap;
    justify-content: center;
  }
  .page-numbers {
    padding: 6px 10px;
    margin: 2px;
    display: inline-block;
  }
}

/* Base styling for donate tabs (applies on all sizes; the panel hide/show pairs with main.js) */
.donate-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px auto;
  max-width: 900px;
  padding: 0 16px;
}
.donate-tab-btn {
  background: #fff;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 22px;
  font-size: 0.95rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.donate-tab-btn.active {
  background: var(--color-primary);
  color: #fff;
}
.donate-panel {
  display: none;
}
.donate-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

/* ========== Very Small: <=380px ========== */
@media (max-width: 380px) {
  .header-donate-btn {
    padding: 6px 8px !important;
    font-size: 0.7rem !important;
  }
  .main-header-row .logo div {
    display: none;
  }
  .hi-inner-hero h1 {
    font-size: 1.4rem !important;
  }
  .hi-slide-title {
    font-size: 1rem !important;
  }
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Touch device hint: remove hover-only transforms on touch */
@media (hover: none) {
  .hi-action-card:hover,
  .campaign-card:hover,
  .hi-fast-donate-card:hover {
    transform: none;
    box-shadow: none;
  }
  .hi-action-card:hover img,
  .campaign-card:hover img {
    transform: none;
  }
}
