/*
 * Good Hope Society – public site.
 *
 * Two palettes, as on the original WordPress site: the BigHearts theme's
 * orange/gold for the header, slider, buttons and footer, and the blue/coral
 * of the custom home-page sections (their CSS is carried over below).
 */

:root {
  --orange: #f74f22;
  --gold: #ffac00;
  --blue: #2a5c8d;
  --blue-light: #3a7bc8;
  --coral: #ff6b4a;
  --coral-light: #ff8e6b;
  --accent: #ffc107;
  --heading: #232323;
  --text: #616161;
  --muted: #888;
  --soft-bg: #f9fbfe;
  --footer: #1f242c;
  --radius: 15px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --font-heading: 'Quicksand', 'Segoe UI', sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --font-script: 'Amatic SC', cursive;
  --header-height: 90px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1.1em; }
button, input, textarea, select { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-alt { background: var(--soft-bg); }
.text-center { text-align: center; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-header h2 { color: var(--blue); font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: #666; font-size: 1.1rem; margin: 0; }
.section-more { text-align: center; margin: 50px 0 0; }
.page-intro { max-width: 800px; margin: 0 auto 40px; font-size: 1.1rem; }
.page-intro.text-center { text-align: center; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--orange); color: #fff; padding: 10px 18px; border-radius: 6px;
}
.skip-link:focus { top: 16px; color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 30px;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}
.theme-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.theme-btn.is-outline { background: transparent; color: var(--orange); }
.theme-btn.is-outline:hover { background: var(--orange); color: #fff; }
.btn-row { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.read-more { font-family: var(--font-heading); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.read-more i { font-size: 12px; transition: transform 0.2s; }
.read-more:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo-name { font-family: var(--font-heading); font-weight: 700; font-size: 28px; color: var(--heading); letter-spacing: 1px; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a,
.submenu-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  color: var(--heading);
  background: none;
  border: 0;
  cursor: pointer;
}
.menu > li > a:hover,
.menu > li.current > a,
.submenu-toggle:hover,
.has-children.current > .submenu-toggle { color: var(--orange); }
.submenu-toggle i { font-size: 11px; transition: transform 0.2s; }
.has-children.is-open .submenu-toggle i { transform: rotate(180deg); }
.sub-menu {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.has-children:hover .sub-menu,
.has-children:focus-within .sub-menu,
.has-children.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 24px; font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: #313131; }
.sub-menu a:hover, .sub-menu a[aria-current] { color: var(--orange); }
.nav-toggle { display: none; }

@media (max-width: 991px) {
  :root { --header-height: 76px; }
  .logo img { height: 46px; }
  .logo-name { font-size: 24px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; background: var(--heading); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #2d2d2d;
    overflow-y: auto;
    padding: 16px 20px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s, visibility 0.3s;
  }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li > a, .submenu-toggle {
    color: #fff;
    width: 100%;
    justify-content: space-between;
    padding: 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 17px;
  }
  .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 8px 14px;
    min-width: 0;
  }
  .has-children.is-open .sub-menu { display: block; }
  .sub-menu a { color: #ddd; padding: 10px 6px; font-size: 16px; }
}

/* ---------- Home slideshow ---------- */
.hero-slider { position: relative; height: clamp(520px, 82vh, 805px); background: #222; overflow: hidden; }
.hero-slide { position: relative; height: 100%; display: flex; align-items: center; overflow: hidden; }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease;
}
.swiper-slide-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.12) 100%);
}
.hero-slide-content { position: relative; z-index: 2; width: 100%; color: #fff; }
.hero-slide-subtitle {
  font-family: var(--font-script);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero-slide-title {
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.12;
  color: #fff;
  max-width: 780px;
  margin-bottom: 34px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.swiper-slide-active .hero-slide-content > * { animation: fadeInUp 0.9s both; }
.swiper-slide-active .hero-slide-content > :nth-child(2) { animation-delay: 0.15s; }
.swiper-slide-active .hero-slide-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { background: var(--orange); }
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.hero-slider .swiper-pagination-bullet { background: #fff; opacity: 0.6; transition: width 0.3s; }
.hero-slider .swiper-pagination-bullet-active { background: var(--orange); opacity: 1; width: 26px; border-radius: 5px; }
@media (max-width: 767px) {
  .hero-slider .swiper-button-prev, .hero-slider .swiper-button-next { display: none; }
}

/* ---------- Inner page banner ---------- */
.page-header {
  position: relative;
  padding: 110px 0 100px;
  background: var(--blue) center / cover no-repeat;
  text-align: center;
  color: #fff;
}
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(20, 24, 32, 0.62); }
.page-header .container { position: relative; }
.page-header-title { color: #fff; font-size: clamp(32px, 5vw, 48px); line-height: 1.2; margin-bottom: 14px; }
.breadcrumbs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; }
.breadcrumbs a { color: #fff; opacity: 0.85; }
.breadcrumbs a:hover { color: var(--gold); opacity: 1; }
.breadcrumbs .divider { width: 18px; height: 2px; background: var(--orange); }
.breadcrumbs [aria-current] { color: var(--gold); }
@media (max-width: 768px) { .page-header { padding: 70px 0; } }

/* ---------- Home sections (carried over from the original page) ---------- */
.hero {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
  color: #fff;
  padding: 100px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.690,119.13-24.28s75.16-39,116.92-43.05c59.73-5.850,113.28,22.88,168.9,38.84,30.2,8.66,59,6.170,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23ffffff" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat;
  background-size: cover;
  transform: rotate(180deg);
  z-index: 1;
}
.hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 3.5rem; margin-bottom: 1.5rem; animation: fadeInDown 1s ease; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.hero p { font-size: 1.3rem; margin-bottom: 2.5rem; animation: fadeInUp 1s ease 0.3s both; opacity: 0.95; }
.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem !important;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 1.5rem !important;
}
.hero-page { padding-top: 90px; }
.hero-page .hero-content { max-width: 900px; }
.hero-page h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.hero-stats { display: flex; justify-content: center; gap: 30px; margin-top: 50px; flex-wrap: wrap; }
.stat-item {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 20px 30px;
  min-width: 180px;
  flex: 1 1 180px;
  max-width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  animation: fadeIn 1s ease 0.6s both;
}
.stat-item:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.25); }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; margin-bottom: 5px; color: var(--accent); line-height: 1.2; }
.stat-label { font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; line-height: 1.4; }

.about { background-color: #fff; position: relative; }
.about.section-alt { background: var(--soft-bg); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-content.is-single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.about-image:hover { transform: scale(1.02); }
.about-picture { max-height: 380px; width: auto; margin: 0 auto; }
.about-text h2 { color: var(--blue); font-size: 2.5rem; margin-bottom: 30px; position: relative; display: inline-block; }
.about-text h2::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 70px; height: 4px; background: var(--coral); border-radius: 2px; }
.about-text p { color: #555; }
.about-highlights { margin-top: 30px; }
.highlight-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.highlight-item h4 { margin-bottom: 4px; font-size: 1.1rem; }
.highlight-item p { margin: 0; }
.highlight-icon {
  background: var(--blue);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.founder-quote { margin: 0; padding: 0 0 0 30px; border-left: 4px solid var(--coral); }
.founder-quote h2 { color: var(--blue); font-size: 2rem; }
.founder-quote p { color: #555; font-size: 1.05rem; }
.founder-quote cite { display: block; font-family: var(--font-heading); font-weight: 700; font-style: normal; color: var(--orange); font-size: 1.1rem; }

.mission { background-color: var(--soft-bg); text-align: center; }
.mission h2 { color: var(--blue); font-size: 2.5rem; margin-bottom: 15px; }
.mission p.subtitle { color: #666; max-width: 700px; margin: 0 auto 50px; font-size: 1.1rem; }
.mission-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.mission-cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mission-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.mission-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--coral); transition: var(--transition); }
.mission-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.mission-card:hover::before { height: 10px; }
.mission-card i { font-size: 3rem; color: var(--blue); margin-bottom: 20px; display: block; }
.mission-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #212529; }
.mission-card p { margin: 0; }

.programs { background-color: #fff; }
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.program-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); position: relative; }
.program-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.program-image { width: 100%; height: 250px; object-fit: cover; transition: var(--transition); }
.program-card:hover .program-image { transform: scale(1.05); }
.program-content { padding: 25px; position: relative; background: #fff; }
.program-category {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--coral);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}
.program-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: #212529; }
.program-content p { color: #666; margin-bottom: 20px; }
.program-meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }

.impact { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../uploads/seed/women-empowerment.jpg') no-repeat center / cover;
  opacity: 0.1;
}
.impact .container { position: relative; z-index: 2; }
.impact .section-header h2, .impact .section-header p { color: #fff; }
.impact .section-header p { opacity: 0.9; }
.impact-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.story-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}
.story-card:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-5px); }
.story-quote { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; }
.story-author { display: flex; align-items: center; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px; border: 2px solid #fff; }
/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.team-card { text-align: center; background: #fff; border-radius: 15px; padding: 25px 20px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); transition: var(--transition); }
.team-card:hover { transform: translateY(-5px); }
.team-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--soft-bg); }
.team-card h3 { color: var(--blue); font-size: 1.25rem; margin-bottom: 4px; }
.team-role { color: var(--orange); font-weight: 600; margin: 0 0 10px; }
.team-bio { color: #666; font-size: 0.95rem; margin: 0; }
.author-info h4 { font-size: 1.1rem; margin-bottom: 2px; color: #fff; }
.author-info p { font-size: 0.9rem; opacity: 0.8; margin: 0; }

.cta { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%); color: #fff; text-align: center; padding: 100px 0; position: relative; }
.cta h2 { color: #fff; font-size: 2.5rem; margin-bottom: 20px; }
.cta p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 40px; opacity: 0.95; }
.btn-group { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--coral);
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  transition: var(--transition);
  border: 2px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn:hover { background: transparent; color: #fff; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.btn-outline { background: transparent; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--coral); }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.event-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.event-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.event-card-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.event-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.event-card:hover .event-card-image img { transform: scale(1.06); }
.event-date {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}
.event-date strong { display: block; font-size: 24px; }
.event-card-body { position: relative; padding: 28px 25px 25px; display: flex; flex-direction: column; flex: 1; }
.event-card-body h3 { font-size: 1.35rem; margin-bottom: 10px; }
.event-card-body h3 a { color: var(--heading); }
.event-card-body h3 a:hover { color: var(--orange); }
.event-card-body p { color: #666; }
.event-card-body .read-more { margin-top: auto; }
.event-meta { list-style: none; padding: 0; margin: 0 0 14px; color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.event-meta i { color: var(--orange); margin-right: 4px; }

.pill-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0 0 45px; }
.pill-tabs a {
  padding: 9px 22px;
  border-radius: 30px;
  background: #f1f3f6;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}
.pill-tabs a:hover { background: #ffe3da; color: var(--orange); }
.pill-tabs a.active { background: var(--orange); color: #fff; }

.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 50px; align-items: start; }
.event-cover { width: 100%; border-radius: var(--radius); margin-bottom: 35px; box-shadow: var(--shadow); }
.event-section-title { margin-top: 45px; color: var(--blue); }
.event-aside { position: sticky; top: calc(var(--header-height) + 20px); display: grid; gap: 25px; }
.event-facts, .event-cta { background: var(--soft-bg); border-radius: var(--radius); padding: 28px; }
.event-facts ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.event-facts li { display: flex; gap: 14px; }
.event-facts li i { color: var(--orange); font-size: 18px; margin-top: 4px; width: 20px; text-align: center; }
.event-facts strong { display: block; font-family: var(--font-heading); color: var(--heading); }
.event-cta { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%); color: #fff; }
.event-cta h3 { color: #fff; }
.event-cta .theme-btn { background: #fff; border-color: #fff; color: var(--orange); }
.event-cta .theme-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.status-badge { display: inline-block; padding: 4px 14px; border-radius: 20px; font-family: var(--font-heading); font-weight: 700; font-size: 13px; }
.status-badge.is-upcoming { background: #e4f6ea; color: #1e7b3c; }
.status-badge.is-completed { background: #e9eef5; color: var(--blue); }
.share { display: flex; align-items: center; gap: 10px; }
.share strong { font-family: var(--font-heading); color: var(--heading); margin-right: 6px; }
.share a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f3f6; color: var(--heading);
}
.share a:hover { background: var(--orange); color: #fff; }
.preview-banner { background: #fff4d6; color: #6b4e00; text-align: center; padding: 12px 20px; font-weight: 600; }
.preview-banner a { margin-left: 10px; text-decoration: underline; }

/* Text from the editor */
.rich-text > :last-child { margin-bottom: 0; }
.rich-text h2 { font-size: 1.8rem; margin-top: 1.4em; color: var(--blue); }
.rich-text h3 { font-size: 1.4rem; margin-top: 1.2em; }
.rich-text ul, .rich-text ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.rich-text li { margin-bottom: 0.4em; }
.rich-text blockquote { margin: 1.5em 0; padding: 10px 0 10px 24px; border-left: 4px solid var(--coral); font-style: italic; color: #555; }
.rich-text a { text-decoration: underline; }

/* ---------- Photos & videos ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-grid-large { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.photo-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eee; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.photo-tile:hover img { transform: scale(1.07); }
.photo-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-tile:hover .photo-caption, .photo-tile:focus .photo-caption { opacity: 1; }
@media (hover: none) { .photo-caption { opacity: 1; } }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.video-grid-2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.video-card { margin: 0; }
.video-embed, .video-iframe {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.video-embed img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.3s; }
.video-embed:hover img { opacity: 1; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 0 0 10px rgba(247, 79, 34, 0.25);
  transition: transform 0.3s;
}
.video-embed:hover .video-play { transform: scale(1.1); }
.video-card figcaption { margin-top: 12px; font-family: var(--font-heading); font-weight: 700; color: var(--heading); line-height: 1.4; }
.video-card figcaption a { display: block; font-size: 14px; font-weight: 500; margin-top: 4px; }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 12px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #f1f3f6;
  color: var(--heading);
  font-family: var(--font-heading);
  font-weight: 700;
}
.pagination a:hover { background: #ffe3da; color: var(--orange); }
.pagination .current { background: var(--orange); color: #fff; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state i { font-size: 48px; color: #d4d9e0; margin-bottom: 16px; }
.empty-state p { font-size: 1.1rem; }

/* ---------- Contacts ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info .page-intro { margin: 0 0 30px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list strong { display: block; font-family: var(--font-heading); color: var(--heading); }
.contact-list a, .contact-list span { color: var(--text); word-break: break-word; }
.contact-list a:hover { color: var(--orange); }
.contact-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #ffe9e2;
  color: var(--orange) !important;
  font-size: 20px;
}
.contact-form-card { background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); padding: 40px; }
.contact-form-card h2 { color: var(--blue); }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }

.site-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--heading); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dde2e8;
  border-radius: 10px;
  background: #fafbfc;
  color: var(--heading);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247, 79, 34, 0.15); background: #fff; }
.form-field.has-error input, .form-field.has-error textarea { border-color: #d63b2f; }
.field-error { color: #c0392b; font-size: 14px; margin: 6px 0 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; }
.notice-success { background: #e4f6ea; color: #1e6b36; }
.notice-error { background: #fdecea; color: #a93226; }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.donate-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 30px; border-top: 5px solid var(--orange); }
.donate-card h3 { color: var(--blue); }
.donate-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ffe9e2; color: var(--orange); font-size: 26px; margin-bottom: 20px; }
.donate-thanks { text-align: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--blue); margin: 50px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #b5b9bf; padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 22px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 20px; }
.footer-brand img { height: 60px; width: auto; }
.footer-brand:hover { color: #fff; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: #b5b9bf; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact i { color: var(--orange); margin-top: 6px; width: 16px; text-align: center; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; }
.socials a:hover { background: var(--orange); color: #fff; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 60px; padding: 24px 0 90px; text-align: center; color: #9f9f9f; font-size: 14px; }

/* ---------- Floating buttons ---------- */
.whatsapp-float, .scroll-up {
  position: fixed;
  right: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.whatsapp-float { bottom: 24px; width: 58px; height: 58px; background: #25d366; color: #fff; font-size: 30px; }
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }
.scroll-up {
  bottom: 96px;
  width: 46px;
  height: 46px;
  background: #fff;
  color: var(--orange);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.scroll-up.is-visible { opacity: 1; visibility: visible; }
.scroll-up:hover { background: var(--orange); color: #fff; }

/* ---------- Error page ---------- */
.error-code { font-family: var(--font-heading); font-weight: 700; font-size: clamp(80px, 14vw, 140px); line-height: 1; color: var(--orange); margin: 0 0 10px; }
.error-message { max-width: 560px; margin: 0 auto 35px; font-size: 1.1rem; }
.error-details { text-align: left; background: #1f242c; color: #e6e6e6; padding: 20px; border-radius: 10px; overflow: auto; font-size: 12px; margin-top: 40px; max-height: 420px; }

/* ---------- Animations ---------- */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 991px) {
  .section { padding: 70px 0; }
  .about-content, .contact-layout, .event-layout { grid-template-columns: 1fr; }
  .about-content .about-image { order: -1; height: 380px; }
  .about-content.is-reversed .about-image { order: -1; }
  .event-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1.1rem; }
  .stat-item { min-width: 140px; padding: 15px 20px; }
  .stat-number { font-size: 2rem; }
  .section-header h2, .mission h2, .about-text h2, .cta h2 { font-size: 2rem; }
  .site-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-card { padding: 28px 22px; }
  .program-grid, .event-grid, .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .section { padding: 55px 0; }
  .hero { padding: 70px 0 100px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 12px; }
  .stat-item { flex: 1 1 calc(50% - 12px); min-width: 0; max-width: none; padding: 14px 10px; }
  .stat-number { font-size: 1.7rem; }
  .stat-label { font-size: 0.75rem; letter-spacing: 0.5px; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-grid-large { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-content .about-image { height: 280px; }
}

/* ---------- Newsletter pop-up ---------- */
.newsletter-modal { position: fixed; inset: 0; z-index: 1000000; /* above the GTranslate switcher */ display: flex; align-items: center; justify-content: center; padding: 16px; }
.newsletter-modal[hidden] { display: none; }
.newsletter-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); animation: nl-fade 0.3s ease; }
.newsletter-dialog {
  position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); animation: nl-rise 0.35s ease;
}
.newsletter-close {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #fff; color: var(--heading); font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.newsletter-close:hover { background: var(--gold); color: #fff; }
.newsletter-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 20px 20px; background: var(--blue); text-align: center; }
.newsletter-logo { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; border-radius: 50%; background: var(--gold); }
.newsletter-logo img { width: 100px; height: 100px; object-fit: contain; }
.newsletter-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: #fff; letter-spacing: 0.5px; }
.newsletter-body { padding: 26px 28px 30px; }
.newsletter-body h2 { color: var(--gold); font-size: 1.75rem; margin-bottom: 20px; }
.newsletter-form .form-field { margin-bottom: 16px; }
.newsletter-consent { border: 0; padding: 0; margin: 24px 0 16px; }
.newsletter-consent legend { font-family: var(--font-heading); font-weight: 700; color: var(--heading); padding: 0; margin-bottom: 4px; }
.newsletter-consent p { margin: 0 0 8px; }
.newsletter-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.newsletter-check input { width: 18px; height: 18px; accent-color: var(--orange); }
.newsletter-note { font-size: 0.9rem; color: var(--muted); margin: 0 0 22px; }
.newsletter-submit {
  border: 0; border-radius: 4px; padding: 10px 22px; background: var(--orange); color: #fff;
  font-family: var(--font-heading); font-weight: 700; cursor: pointer; transition: background 0.2s;
}
.newsletter-submit:hover { background: var(--gold); }
.newsletter-submit[disabled] { opacity: 0.6; cursor: wait; }
.newsletter-done { margin: 0; }
body.newsletter-open { overflow: hidden; }
@keyframes nl-fade { from { opacity: 0; } }
@keyframes nl-rise { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .newsletter-backdrop, .newsletter-dialog { animation: none; } }
.unsubscribe-card { max-width: 560px; margin: 0 auto; text-align: center; }
