:root {
  --red: #D7263D;
  --red-dark: #b01e31;
  --dark: #1B1B1F;
  --dark-red: #3a1218;
  --soft: #FFF5F5;
  --grey: #F7F7F8;
  --muted: #5A5A66;
  --border: #EAEAEF;
  --teal: #0F7B8A;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(27, 27, 31, .08);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

body.page-home {
  --red: #C8102E;
  --red-dark: #A50E26;
  --dark-red: #A50E26;
  --dark: #1F2937;
  --grey: #F8F9FA;
  --muted: #59636E;
  --border: #E5E7EB;
}

body.lang-bn {
  --font: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}

body.lang-bn {
  font-size: 17px;
  line-height: 1.8;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

.center {
  text-align: center;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 8px 14px;
  z-index: 99;
  border-radius: 8px;
}

/* ==========================================================================
   BUTTONS — THE WHF ARROW PILL SYSTEM (§4.2)
   ========================================================================== */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 6px 6px 6px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.pill:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 38, 61, .28);
}

.pill .pill-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
  transition: transform .2s ease;
}

.pill:hover .pill-arrow {
  transform: translateX(2px);
}

/* Outline variant */
.pill-outline {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border);
}

.pill-outline .pill-arrow {
  background: var(--red);
  color: #fff;
}

.pill-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.pill-outline:hover .pill-arrow {
  background: #fff;
  color: var(--dark);
}

.pill-sm {
  min-height: 40px;
  padding: 4px 4px 4px 18px;
  font-size: 13px;
}

.pill-sm .pill-arrow {
  width: 32px;
  height: 32px;
  font-size: 16px;
}

body.lang-bn .pill {
  text-transform: none;
  letter-spacing: normal;
}

/* Classic Button Fallbacks */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}

.btn-lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--dark); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-outline { background: #fff; border-color: var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.social-topbar {
  background: var(--dark-red);
  color: #fff;
}

.social-topbar-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 42px;
}

.topbar-message {
  margin: 0 auto 0 0;
  color: rgba(255, 255, 255, .94);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.25;
}

.topbar-contact {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.topbar-contact-label {
  color: rgba(255, 255, 255, .78);
  font-weight: 500;
}

.topbar-contact-number {
  font-weight: 800;
  letter-spacing: .025em;
}

.social-links {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: inherit;
  transition: background-color .2s ease, color .2s ease;
}

.social-icon-link:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.social-icon-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
}

.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

.brand-logo-wrap {
  box-sizing: border-box;
  justify-content: center;
  width: 140px;
  height: 70px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #fff;
}

.brand-logo-wrap .brand-logo {
  width: 100%;
  max-height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.main-nav a:hover {
  color: var(--red);
  border-color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .btn {
  min-height: 44px;
  gap: 9px;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

.header-actions .btn:hover {
  transform: translateY(-2px);
}

.header-actions .btn:focus-visible {
  outline: 3px solid rgba(215, 38, 61, .3);
  outline-offset: 3px;
}

.header-actions .header-join {
  border-color: #dfe3e8;
  background: #fff;
  box-shadow: 0 3px 10px rgba(27, 27, 31, .04);
}

.header-actions .header-join:hover {
  border-color: rgba(15, 123, 138, .4);
  background: #f2fafb;
  color: var(--teal);
  box-shadow: 0 6px 16px rgba(15, 123, 138, .12);
}

.header-actions .header-donate {
  background: linear-gradient(135deg, #e33b50, var(--red) 65%, #c51f36);
  box-shadow: 0 5px 14px rgba(215, 38, 61, .2);
}

.header-actions .header-donate:hover {
  background: linear-gradient(135deg, #d32c43, var(--red-dark));
  box-shadow: 0 8px 20px rgba(215, 38, 61, .3);
}

.header-action-icon {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  background: rgba(15, 123, 138, .09);
  color: var(--teal);
  font-size: 17px;
  line-height: 1;
}

.header-donate .header-action-icon {
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 12px;
}

.lang-switch {
  font-size: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
}

.lang-switch a.active {
  color: var(--red);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .header-actions .btn {
    transition: none;
  }

  .header-actions .btn:hover {
    transform: none;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 20px;
  padding: 6px 12px;
  cursor: pointer;
}

/* ==========================================================================
   HERO (§3.1)
   ========================================================================== */
.hero-home {
  position: relative;
  isolation: isolate;
  background-color: #081322;
  background-image:
    linear-gradient(90deg, rgba(5, 15, 30, .95) 0%, rgba(5, 15, 30, .82) 35%, rgba(5, 15, 30, .42) 60%, rgba(5, 15, 30, .08) 100%),
    url("../../public/images/community-hero.png");
  background-position: center, right 44%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 100px 0 90px;
  min-height: 78vh;
  display: flex;
  align-items: center;
}

.hero-home .hero-inner {
  width: 100%;
  max-width: none;
  padding-left: clamp(24px, 5vw, 88px);
  padding-right: clamp(24px, 5vw, 88px);
}

.hero-home .hero-eyebrow {
  color: #F0445E;
  margin-bottom: 12px;
  display: inline-block;
  max-width: 700px;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 800;
  letter-spacing: .04em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
}

.hero-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  max-width: 700px;
}

body.lang-bn .hero-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.hero-sub {
  font-size: clamp(20px, 2.5vw, 25px);
  font-weight: 600;
  color: #fff;
  background: rgba(215, 38, 61, .22);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 12px 18px;
  margin: 0 0 32px;
  max-width: 660px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 700px;
}

/* ==========================================================================
   INTRODUCTION CARDS
   ========================================================================== */
.section-intro-cards {
  padding: 38px 0 40px;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.intro-card {
  min-height: clamp(340px, 36vw, 465px);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--red);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(27, 27, 31, .2);
}

.intro-card-featured {
  color: #fff;
  background: var(--red);
}

.intro-card-icon {
  width: 128px;
  height: 100px;
  margin-bottom: 32px;
  flex: 0 0 auto;
}

.intro-card h2 {
  margin: 0 0 14px;
  color: inherit;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -.02em;
}

.intro-card p {
  max-width: 330px;
  margin: 0;
  color: #171717;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.4;
}

.intro-card-featured p {
  color: #fff;
}

@media (max-width: 800px) {
  .intro-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 2vw, 16px);
  }

  .intro-card {
    min-width: 0;
    min-height: 0;
    padding: clamp(12px, 2.5vw, 20px) clamp(8px, 1.8vw, 14px);
  }

  .intro-card-icon {
    width: clamp(44px, 8vw, 72px);
    height: auto;
    margin-bottom: clamp(10px, 2vw, 16px);
  }

  .intro-card h2 {
    font-size: clamp(14px, 2.6vw, 20px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .intro-card p {
    font-size: clamp(12px, 1.9vw, 15px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .section-intro-cards {
    padding: 20px 0 24px;
  }

  .intro-card {
    padding: 12px 8px;
  }

  .intro-card-icon {
    width: 44px;
    margin-bottom: 10px;
  }

  .intro-card h2 {
    font-size: clamp(13px, 3.8vw, 16px);
    margin-bottom: 8px;
  }

  .intro-card p {
    font-size: clamp(11px, 3.1vw, 13px);
  }
}

/* ==========================================================================
   VISION 2030 BLOCK (§3.3)
   ========================================================================== */
.vision-block {
  background: linear-gradient(135deg, #18181c 0%, #2e090f 45%, #8c1525 100%);
  color: #fff;
  padding: 88px 0;
  position: relative;
}

.vision-inner {
  max-width: 980px;
}

.vision-eyebrow {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 10px;
}

.vision-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.vision-lead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  opacity: .95;
  margin-bottom: 14px;
  line-height: 1.45;
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 38px 0 32px;
  padding: 30px;
  background: rgba(0, 0, 0, .28);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
}

.vision-stat {
  text-align: left;
}

.v-stat-num {
  display: block;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.v-stat-label {
  display: block;
  font-size: 14px;
  opacity: .85;
  margin-top: 8px;
  line-height: 1.4;
}

.vision-actions {
  margin-top: 28px;
}

.vision-source {
  margin-top: 24px;
  opacity: .65;
  font-size: 13px;
}

/* ==========================================================================
   FEATURED CARDS (§3.4, §4.4)
   ========================================================================== */
.section-featured {
  padding: 60px 0;
  background: #fff;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.featured-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, .35);
  box-shadow: 0 12px 28px rgba(27, 27, 31, .14);
}

.featured-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.featured-card:hover img {
  transform: scale(1.04);
}

.featured-caption {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 12px 36px 12px 16px;
  color: var(--dark);
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 4px solid var(--red);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
}

.featured-caption::after {
  position: absolute;
  right: 12px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--red);
  content: "›";
  font-size: 19px;
  line-height: 1;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.featured-card:hover .featured-caption::after {
  transform: translateX(2px);
  background: var(--red);
  color: #fff;
}

body.lang-bn .featured-caption {
  text-transform: none;
  letter-spacing: normal;
  font-size: 16px;
}

/* ==========================================================================
   LATEST NEWS & SWIPE CAROUSEL (§3.5, §4.7)
   ========================================================================== */
.section-news {
  padding: 68px 0;
  background: linear-gradient(135deg, #18181c 0%, #2e090f 45%, #8c1525 100%);
  color: #fff;
}

.page-home .section-news .eyebrow,
.page-home .section-news .section-title,
.page-home .observatory-section .eyebrow,
.page-home .observatory-section .observatory-title {
  color: #fff;
}

.page-home .section-news .news-card-inner { color: var(--dark); }

.news-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-carousel-card {
  display: flex;
}

.news-card-inner {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  transition: transform .25s ease, border-color .25s ease;
}

.news-card-inner:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.news-thumb-wrap {
  aspect-ratio: 16 / 9;
  background: #eee;
  overflow: hidden;
}

.news-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-thumb-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 36px;
}

.news-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

body.lang-bn .news-meta {
  text-transform: none;
  letter-spacing: normal;
}

.news-dept {
  color: var(--red);
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots button {
  display: block;
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background .2s;
}

.carousel-dots button.active {
  background: var(--red);
  width: 24px;
  border-radius: 6px;
}

.carousel-dots button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* ==========================================================================
   LEADERSHIP QUOTE (§3.6)
   ========================================================================== */
.leader-quote-section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 50%, rgba(215, 38, 61, .08), transparent 28rem),
    #fff;
}

.leader-quote-block {
  display: grid;
  grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 56px);
  border: 1px solid rgba(234, 234, 239, .9);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(58, 18, 24, .10);
}

.leader-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 340px;
  border: 8px solid #fff;
  border-radius: 22px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 12px 34px rgba(27, 27, 31, .16);
}

.leader-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.leader-photo-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 11px;
  background: rgba(58, 18, 24, .84);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  backdrop-filter: blur(8px);
}

.leader-quote-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 0;
}

.leader-quote-content .eyebrow {
  margin-bottom: 10px;
}

.leader-quote-mark {
  height: 38px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
}

.leader-quote {
  margin: 8px 0 16px;
  padding: 0;
  border: none;
  color: var(--dark);
  font-size: clamp(21px, 2.35vw, 29px);
  font-weight: 600;
  line-height: 1.52;
  letter-spacing: -.025em;
}

.leader-quote [hidden],
[data-leadership-extra][hidden],
.leadership-toggle[hidden] {
  display: none !important;
}

.leadership-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.leadership-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 3px;
}

body.lang-bn .leader-quote {
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.8;
  letter-spacing: 0;
}

.leader-message-thanks {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.leader-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.leader-name {
  color: var(--dark);
  font-size: 19px;
  font-weight: 700;
}

.leader-role {
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
}

.leader-organization {
  color: var(--muted);
  font-size: 13px;
}

body.lang-bn .leader-photo-caption,
body.lang-bn .leader-message-thanks,
body.lang-bn .leader-name,
body.lang-bn .leader-role,
body.lang-bn .leader-organization {
  line-height: 1.8;
}

/* ==========================================================================
   UPCOMING EVENTS (§3.7, §4.5)
   ========================================================================== */
.section-events {
  padding: 68px 0;
  background: #fff;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.event-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.event-card-head {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 75% 25%, rgba(255,255,255,.22) 0 24%, transparent 24%),
              linear-gradient(135deg, var(--red), #8c1525);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.event-card-head .event-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-heart {
  color: rgba(255, 255, 255, .18);
  font-size: 90px;
  user-select: none;
}

.event-card-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: bold;
}

.event-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card-meta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.event-tag {
  color: var(--red);
}

.event-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.35;
}

.event-loc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  flex: 1;
}

.event-description {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.event-card-action {
  margin-top: auto;
}

/* ==========================================================================
   VIDEO BLOCK (§3.8)
   ========================================================================== */
.video-section {
  padding: 72px 0;
  background: var(--grey);
}

.video-heading {
  font-size: clamp(24px, 3.4vw, 36px);
  margin-top: 8px;
}

.video-container {
  max-width: 900px;
  margin: 36px auto 0;
}

.video-player-wrap {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 12px 36px rgba(0,0,0,.15);
  position: relative;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-poster {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1B1B1F 0%, #440D15 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.video-overlay {
  text-align: center;
  padding: 24px;
  color: #fff;
}

.video-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
  box-shadow: 0 8px 24px rgba(215, 38, 61, .45);
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: #fff;
  color: var(--red);
}

.play-icon {
  font-size: 24px;
  margin-left: 4px;
}

.video-caption {
  margin-top: 16px;
  font-size: 15px;
  opacity: .9;
  max-width: 500px;
}

/* ==========================================================================
   OBSERVATORY / KNOWLEDGE BASE (§3.9)
   ========================================================================== */
.observatory-section {
  padding: 64px 0;
  background: linear-gradient(135deg, #18181c 0%, #2e090f 45%, #8c1525 100%);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}

.observatory-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.observatory-content {
  max-width: 700px;
}

.observatory-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin: 8px 0 10px;
}

.observatory-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, .86);
  margin: 0;
}

/* ==========================================================================
   ALL TOPICS — IMAGE TILES (§3.10, §4.6)
   ========================================================================== */
.section-topics {
  padding: 72px 0;
  background: #fff;
}

.topics-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.topic-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}

.topic-tile:hover {
  transform: translateY(-5px);
}

.topic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.topic-tile:hover img {
  transform: scale(1.05);
}

.topic-tile-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark), var(--red));
  display: grid;
  place-items: center;
  font-size: 48px;
}

.topic-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
  z-index: 2;
}

.topic-tile-title {
  color: #fff;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.25;
}

body.lang-bn .topic-tile-title {
  text-transform: none;
  letter-spacing: normal;
}

.topic-tile-arrow {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  opacity: .85;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.publication-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(27, 27, 31, .09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.publication-card-image {
  display: grid;
  height: 190px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fff4f5, #f3f7f8);
}
.publication-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ছবি আর কাটা পড়বে না */
  transition: transform .35s ease;
}
.publication-card-image:hover img { transform: scale(1.04); }
.publication-card-placeholder { color: var(--red); font-size: 54px; }
.publication-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 18px; }
.publication-card-content h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.35; }
.publication-card-content h3 a { color: var(--dark); }
.publication-card-content h3 a:hover { color: var(--red); }
.publication-card-subtitle { margin: 0 0 8px; color: var(--red-dark); font-weight: 600; line-height: 1.45; }
.publication-card-summary { margin: 0; color: #55545b; font-size: 14px; line-height: 1.55; }
.publication-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.publication-card-actions .btn { min-height: 40px; padding: 8px 12px; font-size: 13px; white-space: normal; text-align: center; }
.publication-detail-image { 
  width: min(100%, 560px); 
  max-height: 420px; 
  margin: 0 auto 28px; 
  border-radius: var(--radius); 
  object-fit: contain; /* এখানেও contain করে দিন */
}
.publication-detail-subtitle { margin: -10px 0 18px; color: var(--red-dark); font-size: 20px; font-weight: 600; }
.publication-detail-actions { margin-top: 28px; }
@media (max-width: 900px) {
  .publication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .publication-card-image { height: 160px; }
}
@media (max-width: 520px) {
  .publication-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .publication-card-image { height: 120px; }
  .publication-card-content { padding: 12px; }
  .publication-card-content h3 { font-size: 16px; }
  .publication-card-subtitle, .publication-card-summary { font-size: 13px; }
  .publication-card-actions { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 12px; }
  .publication-card-actions .btn { width: 100%; padding: 7px 8px; font-size: 12px; }
}

/* ==========================================================================
   DONATE CTA BAND & NEWSLETTER (§3.11, §3.12)
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #1B1B1F 0%, #300C12 45%, var(--red) 110%);
  color: #fff;
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text {
  max-width: 600px;
}

.cta-text h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 18px;
  opacity: .9;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section-newsletter {
  padding: 64px 0;
  background: var(--grey);
}

.screening-app-cta {
  padding: 20px 0 56px;
  background: var(--grey);
}

.screening-app-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 27, 31, .06);
}

.screening-app-eyebrow {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.screening-app-cta h2 {
  margin: 4px 0 6px;
  color: var(--dark);
  font-size: clamp(22px, 3vw, 30px);
}

.screening-app-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.screening-app-cta .pill {
  flex: 0 0 auto;
}

.newsletter {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.newsletter-form input {
  min-height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  min-width: 280px;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--red);
}

/* ==========================================================================
   COMMON SECTIONS & UTILITIES
   ========================================================================== */
.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--grey);
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 6px;
}

body.lang-bn .eyebrow {
  text-transform: none;
  letter-spacing: normal;
  font-size: 13px;
}

.link-more {
  color: var(--red);
  font-weight: 700;
  font-size: 15px;
}

.page-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.mission-page {
  overflow: hidden;
  padding: 48px 0 88px;
  background:
    radial-gradient(ellipse at 95% 3%, rgba(215, 38, 61, .07), transparent 27rem),
    #fff;
}

.mission-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: 28px 0 76px;
}

.mission-copy {
  max-width: 490px;
}

.mission-copy h1 {
  margin: 8px 0 20px;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.06;
  letter-spacing: -.055em;
}

.mission-copy h1 span {
  color: var(--red);
}

.mission-lead {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.7;
}

.mission-visual {
  position: relative;
  margin: 0;
  padding: 0 0 24px 24px;
}

.mission-visual::before {
  position: absolute;
  z-index: 0;
  inset: 24px 0 0 0;
  border-radius: 28px;
  background: var(--soft);
  content: "";
}

.mission-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 22px 55px rgba(27, 27, 31, .16);
}

.mission-image-caption {
  position: absolute;
  z-index: 2;
  right: -12px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(340px, 85%);
  padding: 14px 20px;
  border: 1px solid rgba(234, 234, 239, .8);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.mission-caption-mark {
  color: var(--red);
  font-size: 23px;
}

.mission-purpose {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 92px);
  padding: 52px 0 72px;
  border-top: 1px solid var(--border);
}

.mission-purpose h2,
.mission-section-heading h2 {
  max-width: 500px;
  margin: 6px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.035em;
}

.mission-purpose-copy {
  color: var(--muted);
  font-size: 16px;
}

.mission-purpose-copy p {
  margin: 0 0 16px;
}

.mission-purpose-copy p:last-child {
  margin-bottom: 0;
}

.mission-objectives {
  padding: 60px clamp(22px, 5vw, 64px) 64px;
  border-radius: 24px;
  background: var(--grey);
}

.mission-section-heading {
  margin-bottom: 30px;
}

.mission-section-heading h2 {
  max-width: none;
  margin-bottom: 8px;
}

.mission-section-heading > p {
  margin: 0;
  color: var(--muted);
}

.mission-objective-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mission-objective-card {
  min-height: 250px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.mission-objective-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.mission-objective-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.mission-objective-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mission-principle {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 28px clamp(22px, 5vw, 52px);
  border-radius: 18px;
  background: #3a1218;
  color: #fff;
}

.mission-principle-icon {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #ff8795;
  font-size: 25px;
}

.mission-principle .eyebrow {
  margin-bottom: 4px;
  color: #ff9aa5;
}

.mission-principle p {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
}

body.lang-bn .mission-copy h1 {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .mission-hero {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .mission-objective-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mission-page {
    padding: 24px 0 56px;
  }
  .mission-hero,
  .mission-purpose {
    grid-template-columns: 1fr;
  }
  .mission-hero {
    gap: 36px;
    padding: 18px 0 52px;
  }
  .mission-copy h1 {
    font-size: clamp(40px, 12vw, 58px);
  }
  .mission-visual {
    margin-right: 10px;
  }
  .mission-image-caption {
    right: -10px;
  }
  .mission-purpose {
    gap: 20px;
    padding: 40px 0 48px;
  }
  .mission-objectives {
    padding: 38px 20px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .mission-objective-grid {
    grid-template-columns: 1fr;
  }
  .mission-objective-card {
    min-height: auto;
  }
  .mission-principle {
    align-items: flex-start;
    gap: 14px;
    padding: 22px 18px;
  }
  .mission-principle-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

.community-page,
.leadership-page {
  padding: 56px 0 88px;
}

.community-hero {
  max-width: 850px;
  margin: 0 auto 68px;
  text-align: center;
}

.community-hero h1,
.leadership-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(40px, 5vw, 58px);
  letter-spacing: -.045em;
}

.community-hero-title {
  margin: 0 0 22px;
  color: var(--red);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.community-intro,
.leadership-hero > p {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: 17px;
}

.community-access {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 76px);
  padding: 52px 0 64px;
  border-top: 1px solid var(--border);
}

.community-section-heading h2,
.community-partnerships h2,
.community-join h2,
.leadership-group-heading h2 {
  margin: 6px 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.035em;
}

.community-section-heading > p,
.community-partnerships > div > p {
  color: var(--muted);
}

.community-activities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
}

.community-activity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.community-activity-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--soft);
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
}

.community-activity h3 {
  margin: 1px 0 6px;
  font-size: 16px;
}

.community-activity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.community-world-heart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  margin: 0 0 64px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 22px;
  background: #3a1218;
  color: #fff;
}

.community-world-heart-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #ff9aa5;
  font-size: 32px;
}

.community-world-heart .eyebrow {
  color: #ff9aa5;
}

.community-world-heart h2 {
  margin: 6px 0 16px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.035em;
}

.community-world-heart p {
  color: rgba(255, 255, 255, .8);
}

.community-world-heart .community-world-heart-highlight {
  margin: 22px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.community-partnerships {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 76px);
  margin-bottom: 64px;
}

.community-join {
  padding: clamp(30px, 5vw, 56px);
  border-radius: 22px;
  background: var(--grey);
  text-align: center;
}

.community-join > p {
  max-width: 760px;
  margin: 0 auto 14px;
  color: var(--muted);
}

.community-join .community-join-together {
  margin-bottom: 24px;
}

.community-principle {
  margin: 28px 0 0;
  color: var(--dark);
  font-size: 14px;
  line-height: 1.8;
}

.community-principle strong {
  color: var(--red);
  font-size: 17px;
}

.community-principle span {
  color: var(--muted);
}

.leadership-hero {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.leadership-group {
  margin-bottom: 56px;
}

.leadership-group-heading {
  margin-bottom: 24px;
}

.leadership-group-heading h2 {
  margin-bottom: 0;
}

.leadership-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.leadership-committee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 590px;
}

.leadership-card {
  position: relative;
  min-height: 190px;
  padding: 25px 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff 55%, var(--soft));
  box-shadow: 0 6px 24px rgba(27, 27, 31, .045);
}

.leadership-number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.leadership-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.leadership-card p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .community-access,
  .community-partnerships {
    grid-template-columns: 1fr;
  }
  .leadership-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .community-page,
  .leadership-page {
    padding: 36px 0 56px;
  }
  .community-hero {
    margin-bottom: 44px;
  }
  .community-access {
    gap: 22px;
    padding: 38px 0 48px;
  }
  .community-activities {
    grid-template-columns: 1fr;
  }
  .community-world-heart {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 48px;
  }
  .community-partnerships {
    gap: 8px;
    margin-bottom: 48px;
  }
  .leadership-hero {
    margin-bottom: 44px;
  }
}

@media (max-width: 420px) {
  .leadership-card-grid,
  .leadership-committee-grid {
    grid-template-columns: 1fr;
  }
  .leadership-card {
    min-height: 0;
  }
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.meta-sep {
  opacity: .5;
}

.chip {
  display: inline-block;
  background: var(--soft);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
}

.form input, .form select, .form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  width: 100%;
}

.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}

.notice {
  background: var(--soft);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 18px 0;
  font-size: 15px;
}

.notice-success {
  background: #EDF9F1;
  border-color: #2E9E5B;
  color: #1a6b3c;
}

.disclaimer {
  margin-top: 32px;
  padding: 16px;
  background: var(--grey);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
}

.prose {
  font-size: 16.5px;
  line-height: 1.7;
}

body.lang-bn .prose {
  font-size: 17.5px;
  line-height: 1.9;
}

.prose p {
  margin: 0 0 1em;
}

.prose a {
  color: var(--red);
  text-decoration: underline;
}

.map {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Person cards in Team */
.person-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.person-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--red);
  font-size: 28px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.person-card .role {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 12px;
}

/* Event row list */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.event-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  background: var(--soft);
  color: var(--red);
  border-radius: 10px;
  padding: 8px;
}

.event-badge span {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.event-badge small {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

.event-body {
  flex: 1;
}

.event-body h3 {
  font-size: 18px;
  margin: 0 0 4px;
}

.event-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Topic Card (in health list) */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.topic-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: .2s;
}

.topic-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.topic-icon {
  font-size: 24px;
  color: var(--red);
}

.topic-card h3 {
  font-size: 18px;
  margin: 10px 0 6px;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #cfcfd6;
  padding: 0 0 28px;
  margin-top: 0;
}

.footer-partners {
  padding: 24px 0 30px;
  margin: 0 0 38px;
  background: var(--dark-red);
  overflow: hidden;
}

.footer-partners-heading {
  margin-bottom: 16px;
  text-align: center;
}

.footer-partners-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.partner-carousel {
  overflow: hidden;
}

.partner-track,
.partner-group {
  display: flex;
  align-items: center;
}

.partner-track {
  width: max-content;
  animation: partner-logo-scroll 38s linear infinite;
}

.partner-group {
  flex: 0 0 auto;
  gap: 20px;
  padding: 0 10px;
}

.partner-logo-card {
  display: flex;
  flex: 0 0 180px;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 76px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .78;
  transition: filter .2s ease, opacity .2s ease;
}

.partner-logo-card:hover img,
.partner-logo-card:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo-card.partner-logo-rotary img {
  filter: brightness(0) opacity(.68);
}

.partner-logo-card.partner-logo-rotary:hover img,
.partner-logo-card.partner-logo-rotary:focus-visible img {
  filter: brightness(0) opacity(.9);
}

.partner-logo-card.partner-logo-square img {
  max-width: 54px;
  max-height: 54px;
}

@keyframes partner-logo-scroll {
  to { transform: translateX(-50%); }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer-brand a {
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.footer-accordion > summary {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  list-style: none;
}

.footer-accordion > summary::-webkit-details-marker {
  display: none;
}

.footer-accordion > summary::after {
  content: "+";
  display: none;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 14px;
}

.socials .social-icon-link {
  width: auto;
  height: auto;
  min-height: 32px;
  border-radius: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.socials .social-icon-link:hover {
  background: transparent;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
}

.footer-bottom > p {
  margin: 0;
}

.developer-credit {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
}

.developer-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
}

.developer-logo img {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  object-fit: cover;
}

.developer-logo-name {
  font-size: 12px;
  font-weight: 700;
}

.developer-logo:hover img,
.developer-logo:focus-visible img {
  transform: translateY(-1px);
}

.whf-membership {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
}

.whf-membership p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.whf-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 206px;
  min-height: 76px;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
}

.whf-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) {
  .partner-carousel:hover .partner-track,
  .partner-carousel:focus-within .partner-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-carousel {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
  .partner-track {
    animation: none;
  }
  .partner-group-clone {
    display: none;
  }
  .news-carousel-track,
  .page-home .event-grid {
    scroll-behavior: auto;
  }
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 60;
  transition: transform .2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
  .screening-app-cta-inner {
    padding: 24px;
  }
  .topics-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .leader-quote-block {
    grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-carousel-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    column-gap: 12px;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    margin: 0;
    padding: 8px 0 18px;
    border-top: 1px solid var(--border);
  }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    border-bottom: 1px solid var(--border);
  }
  .main-nav a {
    display: block;
    padding: 12px 4px;
  }
  .header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 0;
    border-top: 1px solid var(--border);
  }
  .header-actions .btn-ghost {
    display: inline-flex;
  }
  .hero-home {
    padding: 64px 0;
    min-height: 60vh;
  }
  .leader-quote-block {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 640px;
    padding: 24px;
  }
  .leader-photo-wrap {
    max-width: 280px;
    width: 100%;
    min-height: 0;
    margin: 0 auto;
  }
  .leader-quote-content {
    padding: 0 4px 4px;
  }
  
  /* Mobile Swipe Carousel for News */
  .news-carousel-container {
    overflow: hidden;
  }
  .news-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 16px;
    padding-bottom: 12px;
  }
  .news-carousel-track::-webkit-scrollbar,
  .event-grid::-webkit-scrollbar {
    display: none;
  }
  .news-carousel-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  .carousel-dots {
    display: flex;
  }
}

@media (max-width: 580px) {
  .footer-partners {
    padding: 20px 0 24px;
    margin-bottom: 28px;
  }
  .partner-track {
    animation-duration: 30s;
  }
  .partner-group {
    gap: 12px;
  }
  .partner-logo-card {
    flex-basis: 152px;
    width: 152px;
    height: 68px;
    padding: 8px 12px;
  }
  .partner-logo-card.partner-logo-square img {
    max-width: 48px;
    max-height: 48px;
  }
  .topics-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .topic-tile {
    aspect-ratio: 1 / 1.12;
    border-radius: 10px;
  }
  .topic-tile-overlay {
    padding: 9px;
  }
  .topic-tile-title {
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.2;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  .topic-tile-arrow {
    flex: 0 0 auto;
    font-size: 18px;
    margin-left: 3px;
  }
  .topic-tile-fallback {
    font-size: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-brand {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .brand-logo-wrap {
    width: 120px;
    height: 60px;
  }
  .footer-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding-bottom: 12px;
  }
  .footer-accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    margin: 0;
    cursor: pointer;
  }
  .footer-accordion > summary::after {
    display: inline-block;
    color: #cfcfd6;
    font-size: 20px;
    font-weight: 400;
  }
  .footer-accordion[open] > summary::after {
    content: "−";
  }
  .footer-accordion:not([open]) > summary::after {
    content: "+";
  }
  .footer-accordion ul {
    padding: 4px 0 2px;
  }
}

@media (max-width: 359px) {
  .topics-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .page-home .hero-home {
    min-height: 0;
    padding: 44px 0;
  }
  .page-home .hero-title {
    margin-bottom: 12px;
    font-size: clamp(28px, 7vw, 38px);
  }
  .page-home .hero-sub {
    margin-bottom: 20px;
    padding: 10px 14px;
    font-size: clamp(16px, 4vw, 19px);
    line-height: 1.4;
  }
  .page-home .section {
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .page-home .section-intro-cards {
    padding-top: 20px;
    padding-bottom: 24px;
  }
  .page-home .intro-cards {
    gap: 10px;
  }
  .page-home .intro-card {
    padding: 14px 9px;
  }
  .page-home .intro-card-icon {
    width: clamp(40px, 8vw, 58px);
    margin-bottom: 8px;
  }
  .page-home .intro-card h2 {
    margin-bottom: 6px;
    font-size: clamp(13px, 3.3vw, 17px);
  }
  .page-home .intro-card p {
    font-size: clamp(11px, 2.8vw, 14px);
    line-height: 1.35;
  }
  .page-home .vision-block {
    padding-top: 42px;
    padding-bottom: 42px;
  }
  .page-home .vision-title {
    margin-bottom: 12px;
    font-size: clamp(26px, 6vw, 34px);
  }
  .page-home .vision-lead {
    font-size: 17px;
  }
  .page-home .vision-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0;
    padding: 14px 10px;
  }
  .page-home .vision-stat {
    min-width: 0;
  }
  .page-home .v-stat-num {
    font-size: clamp(22px, 6vw, 34px);
  }
  .page-home .v-stat-label {
    font-size: 11px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .page-home .section-featured,
  .page-home .section-news,
  .page-home .section-topics,
  .page-home .video-section,
  .page-home .observatory-section,
  .page-home .section-newsletter {
    padding-top: 38px;
    padding-bottom: 38px;
  }
  .page-home .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .page-home .event-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .page-home .event-card {
    flex: 0 0 min(86%, 360px);
    scroll-snap-align: center;
  }
  .page-home .event-carousel .carousel-dots {
    display: flex;
    margin-top: 6px;
  }
  .page-home .section-news .section-cta {
    margin-top: 20px !important;
  }
  .page-home .leader-quote-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .page-home .leader-quote-block {
    grid-template-columns: minmax(90px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
  }
  .page-home .leader-photo-wrap {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    aspect-ratio: 3 / 4;
    border-width: 4px;
    border-radius: 14px;
  }
  .page-home .leader-photo-caption {
    right: 4px;
    bottom: 4px;
    left: 4px;
    padding: 5px 3px;
    border-radius: 7px;
    font-size: 10px;
  }
  .page-home .leader-quote-content {
    min-width: 0;
    padding: 2px 0;
  }
  .page-home .leader-quote-content .eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
  }
  .page-home .leader-quote-mark {
    height: 22px;
    font-size: 44px;
  }
  .page-home .leader-quote {
    margin: 4px 0 9px;
    font-size: clamp(15px, 3.8vw, 20px);
    line-height: 1.45;
    letter-spacing: 0;
  }
  body.lang-bn.page-home .leader-quote {
    font-size: clamp(14px, 3.5vw, 18px);
    line-height: 1.55;
  }
  .page-home .leader-message-thanks {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.4;
  }
  .page-home .leader-meta {
    gap: 2px;
    padding-top: 8px;
  }
  .page-home .leader-name {
    font-size: 15px;
  }
  .page-home .leader-role {
    font-size: 12px;
  }
  .page-home .leader-organization {
    font-size: 11px;
  }
  .page-home .section-head {
    gap: 8px;
    margin-bottom: 18px;
  }
  .page-home .cta-band {
    padding: 38px 0;
  }
  .page-home .cta-inner {
    gap: 18px;
  }
  .page-home .cta-text h2 {
    font-size: clamp(23px, 6vw, 32px);
  }
  .page-home .cta-text p {
    font-size: 16px;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .page-home .intro-cards {
    gap: 7px;
  }
  .page-home .intro-card {
    padding: 12px 6px;
  }
  .page-home .intro-card h2 {
    font-size: 12px;
  }
  .page-home .intro-card p {
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .page-home .vision-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .page-home .vision-stat {
    text-align: center;
  }
  .page-home .v-stat-num {
    font-size: 30px;
  }
  .page-home .v-stat-label {
    font-size: 12px;
  }
  .event-row {
    flex-wrap: wrap;
  }
  .vision-stats {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* -------------------------------------------------- */
/* Mission page custom styling */
.mission-page {
  background: var(--soft);
  padding: 40px 0;
}

.mission-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.mission-hero .mission-copy {
  flex: 1 1 300px;
}

.mission-hero .mission-visual {
  flex: 1 1 300px;
  max-width: 600px;
}

.mission-hero .mission-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.mission-purpose,
.mission-objectives {
  margin-top: 3rem;
  padding: 0 1rem;
}

.mission-purpose-copy p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.mission-objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.mission-objective-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}

.mission-objective-card:hover {
  transform: translateY(-4px);
}

.mission-objective-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
}

.mission-principle {
  margin-top: 3rem;
  text-align: center;
  font-style: italic;
  color: var(--dark);
}

@media (max-width: 768px) {
  .mission-hero {
    flex-direction: column;
  }
}

/* Preserved, localized homepage introduction */
.section-home-intro { padding: 34px 0 20px; }
.home-intro-title { margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); }
.home-intro-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-intro-card {
  min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: 18px;
  background: #fff; box-shadow: 0 8px 24px rgba(31,41,55,.06);
}
.home-intro-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px;
  border-radius: 14px; color: var(--red); background: rgba(200,16,46,.07);
}
.home-intro-icon .home-card-icon { width: 24px; height: 24px; }
.home-intro-card h3 { margin: 0 0 7px; color: var(--dark); font-size: 19px; line-height: 1.3; }
.home-intro-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Admin-managed homepage smart cards */
.home-cards-heading { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.home-cards-heading .eyebrow { color: var(--red); }
.home-cards-heading .section-title { margin: 6px 0 0; font-size: clamp(26px, 3.2vw, 38px); }
.home-card-grid { display: block; }
.home-card-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-card {
  position: relative; min-width: 0; min-height: 100%; padding: 0; overflow: hidden;
  align-items: stretch; justify-content: flex-start; text-align: left;
  color: var(--dark); background: var(--home-card-color, #fff); border: 1px solid rgba(27,27,31,.08);
  border-radius: 22px; box-shadow: 0 14px 36px rgba(27,27,31,.09);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.home-card.radius-small { border-radius: 10px; }
.home-card.radius-medium { border-radius: 16px; }
.home-card.radius-large { border-radius: 22px; }
.home-card.shadow-none { box-shadow: none; }
.home-card.shadow-soft { box-shadow: 0 14px 36px rgba(27,27,31,.09); }
.home-card.shadow-strong { box-shadow: 0 18px 46px rgba(27,27,31,.18); }
.home-card.background-gradient { background: linear-gradient(140deg, var(--home-card-gradient-start), var(--home-card-gradient-end)); }
.home-card.background-pattern, .home-card.pattern-dots {
  background-image: radial-gradient(rgba(200,16,46,.12) 1px, transparent 1px);
  background-size: 18px 18px;
}
.home-card.background-animated {
  background: linear-gradient(135deg, var(--home-card-gradient-start), var(--home-card-gradient-end), var(--home-card-gradient-start));
  background-size: 220% 220%;
  animation: home-card-gradient 14s ease infinite;
}
.home-card.theme-dark { color: #fff; background-color: #1B1B1F; }
.home-card.theme-brand { color: #fff; background-color: var(--red); }
.home-card.theme-dark.background-gradient,
.home-card.theme-brand.background-gradient { background-image: linear-gradient(140deg, var(--home-card-gradient-start), var(--home-card-gradient-end)); }
.home-card.theme-dark .home-card-description,
.home-card.theme-brand .home-card-description,
.home-card.theme-dark .home-card-stat-label,
.home-card.theme-brand .home-card-stat-label { color: rgba(255,255,255,.82); }
.home-card-featured {
  position: absolute; z-index: 3; top: 14px; right: 14px; padding: 5px 11px;
  border-radius: 999px; background: rgba(255,255,255,.94); color: var(--red-dark);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.home-card-visual { position: relative; height: 156px; overflow: hidden; background: linear-gradient(135deg, #fff5f5, #f3f7f8); }
.home-card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.home-card-video { position: relative; }
.home-card-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-card-icon-wrap {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 26px 26px 0;
  border-radius: 22px; color: var(--red); background: #fff0f2;
}
.theme-dark .home-card-icon-wrap, .theme-brand .home-card-icon-wrap { color: #fff; background: rgba(255,255,255,.15); }
.home-card-icon { width: 42px; height: 42px; }
.home-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; min-height: 230px; }
.home-card.background-image .home-card-visual,
.home-card.background-video .home-card-visual { position: absolute; inset: 0; z-index: 0; height: auto; }
.home-card.background-image .home-card-visual img { position: absolute; inset: 0; }
.home-card.background-video .home-card-visual { opacity: .32; }
.home-card.background-video .home-card-video video { position: absolute; inset: 0; }
.home-card.background-video::after,
.home-card.background-image::after {
  position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none;
  background: var(--home-card-overlay, #1B1B1F); opacity: var(--home-card-overlay-opacity, 30%);
}
.home-card-eyebrow { margin-bottom: 8px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.theme-dark .home-card-eyebrow, .theme-brand .home-card-eyebrow { color: #fff; opacity: .84; }
.home-card h3 { margin: 0 0 8px; color: inherit; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.home-card-subtitle { margin: 0 0 8px; color: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; }
.home-card-description { margin: 0; color: #51515b; font-size: 15px; line-height: 1.6; }
.home-card-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 12px; width: 100%; margin: 18px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid rgba(90,90,102,.16); }
.home-card-stat { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.home-card-stat-icon { display: inline-flex; align-items: center; color: var(--red); }
.home-card-stat-icon .home-card-icon { width: 16px; height: 16px; }
.home-card-stat-icon.color-teal { color: var(--teal); }
.home-card-stat-icon.color-dark { color: var(--dark); }
.home-card-stat-value { color: var(--red); font-size: clamp(19px, 2.2vw, 25px); font-weight: 800; line-height: 1.1; }
.theme-dark .home-card-stat-value, .theme-brand .home-card-stat-value { color: #fff; }
.home-card-stat-label { color: #5a5a66; font-size: 12px; line-height: 1.35; }
.home-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.home-card-tags li { padding: 4px 9px; border-radius: 999px; color: var(--muted); background: rgba(90,90,102,.08); font-size: 11px; }
.home-card-actions { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: auto; padding-top: 20px; }
.home-card-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--red); border-radius: 999px; color: #fff; background: var(--red); font-size: 14px; font-weight: 700; transition: background .2s ease, color .2s ease, transform .2s ease; }
.home-card-button:hover { color: #fff; background: var(--red-dark); transform: translateY(-1px); }
.home-card-button.button-secondary { color: var(--red-dark); background: transparent; }
.home-card-button.button-secondary:hover { color: #fff; background: var(--red); }
.home-card-button.button-donation { background: #0F7B8A; border-color: #0F7B8A; }
.home-card-button.button-volunteer { color: var(--red-dark); background: #fff; }
.theme-dark .home-card-button.button-secondary,
.theme-brand .home-card-button.button-secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.hover-elevation:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(27,27,31,.16); }
.hover-glow:hover { box-shadow: 0 0 0 2px rgba(200,16,46,.26), 0 18px 42px rgba(200,16,46,.18); }
.hover-scale:hover { transform: scale(1.025); }
.hover-border:hover { border-color: var(--red); }
.hover-none:hover { transform: none; }
.hover-elevation:hover .home-card-visual img,
.hover-scale:hover .home-card-visual img { transform: scale(1.04); }
.motion-float .home-card-icon-wrap { animation: home-card-float 4s ease-in-out infinite; }
.motion-heartbeat .home-card-icon-wrap,
.has-heartbeat .home-card-icon-wrap { animation: home-card-heartbeat 1.8s ease-in-out infinite; }
.motion-fade-up[data-animation-trigger="scroll"],
.motion-reveal[data-animation-trigger="scroll"] { transition: opacity var(--home-card-duration,500ms) ease, transform var(--home-card-duration,500ms) ease; }
.motion-fade-up[data-animation-trigger="scroll"]:not(.is-visible),
.motion-reveal[data-animation-trigger="scroll"]:not(.is-visible) { opacity: .82; transform: translateY(10px); }
.home-card-dots { display: none; }
@keyframes home-card-gradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes home-card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes home-card-heartbeat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.07); } 24% { transform: scale(1); } 36% { transform: scale(1.04); } }

/* Our Impact */
.impact-page {
  --impact-green: #25834b;
  overflow: hidden;
}

.impact-page .section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.impact-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 54vw, 640px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #15241d;
}

.impact-hero-image,
.impact-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.impact-hero-image {
  object-fit: cover;
  object-position: center 43%;
}

.impact-hero-shade {
  background: linear-gradient(90deg, rgba(7, 18, 18, .94) 0%, rgba(7, 18, 18, .78) 44%, rgba(7, 18, 18, .36) 76%, rgba(7, 18, 18, .13) 100%);
}

.impact-hero-content {
  padding-top: 82px;
  padding-bottom: 82px;
}

.impact-hero-content > * {
  max-width: 700px;
}

.impact-eyebrow,
.impact-kicker {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.impact-eyebrow {
  color: #ffb6bf;
}

.impact-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(42px, 6vw, 74px);
  letter-spacing: -.045em;
  line-height: 1.04;
}

.impact-hero-subtitle {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(21px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

.impact-hero-copy {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.75;
}

.impact-intro {
  background: #fff;
}

.impact-intro h2,
.impact-section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -.035em;
}

.impact-intro p,
.impact-section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.impact-section-heading {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.impact-section-heading .impact-kicker,
.impact-intro .impact-kicker {
  margin-bottom: 8px;
}

.impact-stats {
  background: #f7f8f8;
}

.impact-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.impact-stat-card {
  min-width: 0;
  padding: 28px 20px;
  border: 1px solid #e8ece9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(27, 45, 35, .05);
  text-align: center;
}

.impact-stat-number {
  margin: 0 0 8px;
  color: var(--red);
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.impact-stat-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.impact-stat-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.impact-timeline-section {
  background: #fff;
}

.impact-timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.impact-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(var(--red), #d9e8dd 85%);
  content: "";
  transform: translateX(-1px);
}

.impact-timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
}

.impact-timeline-year {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  padding: 7px 4px;
  border: 1px solid #f1c7cd;
  border-radius: 999px;
  color: var(--red-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.impact-timeline-card {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(27, 27, 31, .055);
}

.impact-timeline-item:nth-child(even) .impact-timeline-card {
  grid-column: 3;
}

.impact-timeline-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.impact-theme-list {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  color: var(--impact-green);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.impact-timeline-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.impact-timeline-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.impact-timeline-images figure {
  display: grid;
  min-width: 0;
  min-height: 160px;
  margin: 0;
  padding: 8px;
  place-items: center;
  border-radius: 10px;
  background: #f7f8f8;
}

.impact-timeline-images img {
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.impact-recognition {
  color: #fff;
  background: #19251f;
}

.impact-recognition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.impact-recognition .impact-kicker {
  color: #ffb6bf;
}

.impact-recognition-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.035em;
}

.impact-recognition-copy p {
  color: rgba(255,255,255,.8);
}

.impact-bengali-mark {
  width: min(100%, 300px);
  margin-top: 24px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
}

.impact-bengali-mark img {
  width: 100%;
  height: auto;
}

.impact-award-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
}

.impact-award-photo img {
  width: 100%;
  height: auto;
}

.impact-award-photo figcaption {
  padding: 13px 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.impact-community {
  background: #f7f8f8;
}

.impact-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.impact-activity-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e8ece9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(27, 45, 35, .05);
}

.impact-activity-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fff;
}

.impact-activity-card figcaption {
  padding: 14px 16px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
}

.impact-activity-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.impact-activity-list li {
  padding: 8px 13px;
  border: 1px solid #dfe9e2;
  border-radius: 999px;
  color: #245c39;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.impact-pillars {
  background: #fff;
}

.impact-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.impact-pillar-card {
  min-width: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.impact-pillar-card-accent {
  background: linear-gradient(145deg, #f1f8f3, #fff 76%);
}

.impact-pillar-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: var(--red);
  background: var(--soft);
  font-size: 24px;
  font-weight: 700;
}

.impact-pillar-card-accent .impact-pillar-icon {
  color: var(--impact-green);
  background: #e4f2e8;
}

.impact-pillar-card h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
}

.impact-pillar-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.impact-pillar-card strong {
  color: var(--impact-green);
  font-size: 14px;
}

.impact-commitment {
  color: #fff;
  background: linear-gradient(135deg, #251316, #101b17 70%, #1d3828);
  text-align: center;
}

.impact-commitment-inner {
  max-width: 880px;
}

.impact-commitment .impact-kicker {
  color: #ffb6bf;
}

.impact-commitment h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -.035em;
}

.impact-commitment p {
  color: rgba(255,255,255,.82);
}

.impact-commitment .impact-tagline {
  margin: 22px 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.impact-donate-link {
  margin-top: 8px;
}

.impact-page a:focus-visible {
  outline: 3px solid #f4a8b1;
  outline-offset: 3px;
}


/* =========================================================
   FINAL FIX: Publications Images (Home + List + Cards)
   ========================================================= */

/* ১. ইমেজ কন্টেইনারের উচ্চতা ঠিক করা */
.publication-card-image {
    height: 240px !important; /* ছবির জন্য একটু বেশি জায়গা দিলাম */
    background-color: #f8f9fa !important; /* ফাঁকা জায়গায় হালকা ব্যাকগ্রাউন্ড */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important; /* ছবির চারপাশে একটু গ্যাপ */
}

/* ২. ইমেজকে কাটা থেকে বাঁচানো (Cover থেকে Contain) */
.publication-card-image img,
.publication-grid img,
.featured-publication-card img,
.home-publication-card img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}


/* ========================================== */
/* Newspaper Clippings Slider                 */
/* ========================================== */
.clippings-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  padding-top: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

/* স্ক্রলবার সুন্দর করার জন্য */
.clippings-slider::-webkit-scrollbar {
  height: 6px;
}
.clippings-slider::-webkit-scrollbar-track {
  background: #eaeaea;
  border-radius: 10px;
}
.clippings-slider::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 10px;
}

/* কাগজের কাটিং ডিজাইন */
.clipping-card {
  flex: 0 0 320px; /* ডেস্কটপে ৩২০ পিক্সেল চওড়া */
  scroll-snap-align: start;
  background: #fff;
  padding: 12px; /* সাদা বর্ডার তৈরি করার জন্য */
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

/* হোভার করলে হালকা ভেসে উঠবে */
.clipping-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ছবিকে খবরের কাগজের কাটিংয়ের মতো দেখানোর জন্য */
.clipping-card img {
  width: 100%;
  height: 220px; /* সব ছবি একই সাইজের হবে */
  object-fit: cover; /* ছবি কেটে ফাঁকা জায়গা পূর্ণ করবে */
  border-radius: 2px;
  filter: grayscale(10%) contrast(105%); /* হালকা নিউজপ্রিন্ট ইফেক্ট */
  transition: filter 0.3s ease;
}

.clipping-card:hover img {
  filter: grayscale(0%) contrast(100%); /* হোভার করলে আসল রঙ ফিরে আসবে */
}

/* মোবাইল ভিউ এর জন্য */
@media (max-width: 768px) {
  .clipping-card {
    flex: 0 0 85vw; /* মোবাইলে স্ক্রিনের ৮৫% জুড়ে থাকবে */
  }
  .clipping-card img {
    height: 180px;
  }
}
