/*
Theme Name:   Endatoe Child
Theme URI:    https://endatoe.elkifah.com
Description:  Child theme GeneratePress — ENDATOE FOUNDATION (flat, editorial, premium, Apple-minimalism).
Author:       ELKIFAH Production
Template:     generatepress
Version:      2.0.0
Text Domain:  endatoe-child
*/

/* =========================================================
   1. DESIGN TOKENS — flat, editorial, premium
   ========================================================= */
:root {
  /* color */
  --end-surface:    #faf9f6;   /* warm off-white */
  --end-surface-2:  #f3f1ec;
  --end-ink:        #1c1c1e;   /* dark neutral text */
  --end-ink-soft:   #5b5f5d;   /* secondary text */
  --end-muted:      #8a8f8c;
  --end-brand:      #11998e;   /* hijau brand accent */
  --end-brand-dark: #0d7a72;
  --end-brand-soft: #e5f2ef;
  --end-line:       #e8e5de;   /* hairline border */
  --end-white:      #ffffff;

  /* type */
  --end-font: "Montserrat", "Segoe UI", -apple-system, Arial, sans-serif;

  /* spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 28px; --sp-7: 36px; --sp-8: 48px;
  --sp-9: 64px; --sp-10: 96px;

  /* radius — moderat & konsisten */
  --radius: 14px;
  --radius-sm: 10px;

  /* container */
  --container: 1200px;
  --gutter: 28px;
}

/* =========================================================
   2. BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--end-surface);
  color: var(--end-ink);
  font-family: var(--end-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--end-brand); text-decoration: none; }

/* Neutralize GeneratePress built-in header/nav background so our
   custom header controls the look. */
.site-header, .main-navigation { background: transparent !important; border: 0 !important; }

/* Hide GP default header entirely (we render our own in header.php) */
.site-header .inside-header,
.main-navigation,
#mobile-header { display: none !important; }

/* =========================================================
   3. NAVBAR — ringan, editorial, 72px
   ========================================================= */
.end-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, 0.86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--end-line);
}
.end-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.end-nav-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--end-ink);
  white-space: nowrap;
  margin-right: auto;
}
.end-nav-logo-accent { color: var(--end-brand); }
.end-nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.end-menu-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.end-menu-list > li { position: relative; }
.end-menu-list a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--end-ink-soft);
  padding: 8px 0;
  transition: color .18s;
}
.end-menu-list a:hover { color: var(--end-brand); }
/* dropdown */
.end-menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--end-white);
  border: 1px solid var(--end-line);
  border-radius: var(--radius-sm);
  padding: 8px;
  list-style: none;
  margin: 8px 0 0;
  box-shadow: 0 12px 32px rgba(28,28,30,.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 100;
}
.end-menu-list li:hover > .sub-menu,
.end-menu-list li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.end-menu-list .sub-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
}
.end-menu-list .sub-menu a:hover { background: var(--end-brand-soft); }

.end-nav-actions { display: flex; align-items: center; gap: var(--sp-4); }
.end-nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--end-brand);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.end-nav-cta:hover { background: var(--end-brand-dark); transform: translateY(-1px); }
.end-nav-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--end-ink-soft);
  transition: color .18s;
}
.end-nav-ghost:hover { color: var(--end-brand); }

.end-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.end-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--end-ink);
  border-radius: 2px;
}

/* =========================================================
   4. HERO — split editorial
   ========================================================= */
.end-hero {
  background: var(--end-surface);
}
.end-hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-9) var(--gutter) var(--sp-10);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}
.end-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--end-brand);
  margin: 0 0 var(--sp-4);
}
.end-hero-title {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--end-ink);
  margin: 0 0 var(--sp-5);
}
.end-hero-desc {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--end-ink-soft);
  max-width: 460px;
  margin: 0 0 var(--sp-7);
}
.end-hero-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.end-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background .2s, color .2s, transform .2s;
}
.end-btn-primary {
  background: var(--end-brand);
  color: #fff;
}
.end-btn-primary:hover { background: var(--end-brand-dark); transform: translateY(-1px); }
.end-btn-ghost {
  color: var(--end-ink);
  padding: 14px 12px;
}
.end-btn-ghost:hover { color: var(--end-brand); }

.end-hero-media {
  position: relative;
}
.end-hero-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

/* subtle reveal — progressive enhancement (default visible) */
.end-hero-copy, .end-hero-media {
  transition: opacity .7s ease, transform .7s ease;
}
.will-reveal {
  opacity: 0;
  transform: translateY(14px);
}
.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   5. SECTIONS & GRID
   ========================================================= */
.endatoe-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sp-10) 0; }
.sec-head { text-align: left; max-width: 720px; margin: 0 0 var(--sp-8); }
.sec-head .sec-sub { color: var(--end-ink-soft); font-size: 17px; margin: var(--sp-4) 0 0; }

/* flat section title (ganti gradient) */
.gtitle {
  font-family: var(--end-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--end-ink);
  margin: 0;
}
.gtitle-xl { font-size: clamp(40px, 5vw, 58px); }
.gtitle-lg { font-size: clamp(30px, 4vw, 44px); }
.gtitle-md { font-size: clamp(24px, 3vw, 34px); }

/* =========================================================
   6. DAMPAK - "Jumlah Penerima Manfaat" (glass cards, ref 05-09)
   ========================================================= */
.end-stats {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 540px at 8% -8%, rgba(190, 246, 227, .85), transparent 62%),
    radial-gradient(700px 430px at 102% 18%, rgba(213, 249, 238, .6), transparent 60%),
    #f8fbf9;
  padding: var(--sp-10) 0;
}
.end-stats .impact-head { text-align: center; max-width: 780px; margin: 0 auto var(--sp-8); }
.impact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 var(--sp-4);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 30px rgba(40, 50, 70, .06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #687383;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.impact-eyebrow .impact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--end-brand);
  box-shadow: 0 0 0 5px rgba(17, 153, 142, .13);
}
.end-stats .sec-sub { margin: var(--sp-4) auto 0; max-width: 640px; color: var(--end-ink-soft); font-size: 17px; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.impact-card {
  /* 2 warna utama: putih + hijau soft (--end-brand) */
  --accent: var(--end-brand);
  --icon-bg: rgba(210, 250, 236, .8);
  --wash: rgba(183, 245, 222, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  overflow: hidden;
  min-height: 248px;
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 55px rgba(34, 44, 62, .08), inset 0 1px 0 rgba(255, 255, 255, .95);
  transition:
    opacity .9s var(--ease) var(--rd, 0s),
    transform .9s var(--ease) var(--rd, 0s),
    translate .55s var(--ease),
    scale .55s var(--ease),
    box-shadow .55s var(--ease);
}
.impact-card::before {
  content: "";
  position: absolute;
  right: -66px;
  top: -74px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--wash);
  filter: blur(3px);
  z-index: 0;
  pointer-events: none;
}
.impact-card:hover { translate: 0 -7px; scale: 1.012; box-shadow: 0 28px 70px rgba(34, 44, 62, .14); }
.impact-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.impact-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--icon-bg);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.impact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.impact-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #657080;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(80, 90, 105, .08);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.impact-card:hover .impact-card-arrow { transform: translate(3px, -3px); background: rgba(255, 255, 255, .92); }
.impact-card-arrow svg { width: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.impact-num {
  position: relative;
  z-index: 1;
  margin: 22px 0 10px;
  font-size: clamp(44px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--end-ink);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.impact-card figcaption { position: relative; z-index: 1; }
.impact-card-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #59616c;
}
.impact-card-context {
  display: block;
  margin-top: 8px;
  min-height: 46px;
  max-width: 310px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #818894;
}
.impact-card-wave {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -64px;
  height: 118px;
  border-radius: 50% 50% 0 0;
  background: var(--wash);
  opacity: .8;
  transform: rotate(-3deg);
  pointer-events: none;
}
/* semua kartu: aksen tunggal hijau soft (putih + hijau) */
/* reveal on scroll - class ditambah main.js hanya saat JS aktif */
.impact-card.will-reveal { opacity: 0; transform: translateY(26px); }
.impact-card.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .impact-card, .impact-card-arrow { transition: none; }
  .impact-card.will-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   7. PROGRAM
   ========================================================= */
.end-program { background: var(--end-surface); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: stretch;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--end-white);
  border: 1px solid var(--end-line);
  border-radius: 18px;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  color: var(--end-ink);
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s, opacity .6s ease;
}
/* garis aksen atas — halus, penuh saat hover */
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--end-brand), #4ade80);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.program-card:hover::before { transform: scaleX(1); }
.program-card:hover {
  border-color: rgba(17, 153, 142, .5);
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(20, 40, 50, .1);
}
/* logo dalam tile lembut — tinggi konsisten */
.pc-logo {
  height: 68px;
  margin: 0 0 var(--sp-4);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4faf8, #edf5f2);
  border-radius: 14px;
}
.pc-logo img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
.pc-cat {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--end-brand-dark);
  background: rgba(17, 153, 142, .1);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
}
.pc-title { font-weight: 800; font-size: 18px; color: var(--end-ink); margin: 0 0 var(--sp-2); }
.pc-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--end-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.7em * 3);
}
.pc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--sp-4);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--end-brand);
  transition: color .2s;
}
.pc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(17, 153, 142, .12);
  font-size: 15px;
  transition: background .25s, transform .25s;
}
.program-card:hover .pc-arrow { background: var(--end-brand); color: #fff; transform: translateX(3px); }
.pc-link:hover { color: var(--end-brand-dark); }

/* reveal ringan saat scroll (JS aktif) */
.end-program .program-card.pg-wait {
  opacity: 0;
  transform: translateY(26px);
}
.end-program .program-card.pg-wait:hover { transform: translateY(26px); box-shadow: none; }

/* =========================================================
   8. KABAR & CERITA (editorial: 1 featured + 2 supporting)
   ========================================================= */
.end-news { background: var(--end-surface-2); }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
}
.sec-head-row .sec-head-text { max-width: 640px; }
.news-all-link {
  flex-shrink: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--end-ink);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--end-line);
  transition: color .25s, border-color .25s;
}
.news-all-link:hover,
.news-all-link:focus-visible { color: var(--end-brand); border-color: var(--end-brand); outline: none; }

.news-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: stretch;
}

/* — Featured (lead besar; judul di dalam foto + gradasi hitam halus) — */
.story-featured { display: flex; }
.story-featured-link {
  position: relative;
  display: block;
  flex: 1;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.story-featured-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease, ease);
}
.story-featured:hover .story-featured-photo { transform: scale(1.045); }
.story-featured-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 12, 16, .82) 0%, rgba(9, 12, 16, .38) 46%, rgba(9, 12, 16, 0) 74%);
}
.story-featured-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(22px, 3.2vw, 34px);
}
.story-featured-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 5px 13px;
  border-radius: 999px;
}
.story-featured-title {
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}

/* — Supporting: 2x2 — */
.story-supports {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: var(--sp-5);
}
.story-support-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.story-support-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.story-support-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.story-support-link:hover .story-support-thumb img { transform: scale(1.05); }
.story-support-title {
  margin-top: var(--sp-2);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: var(--end-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-support-link:hover .story-support-title { color: var(--end-brand); }
.story-support-more {
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 160px;
  padding: var(--sp-4);
  border: 1.5px dashed var(--end-line-2, rgba(20, 30, 40, .18));
  border-radius: var(--radius-sm);
  background: rgba(17, 153, 142, .05);
  color: var(--end-brand);
  text-align: center;
  transition: border-color .25s, background .25s, color .25s;
}
.story-support-more-label { font-size: 15px; font-weight: 700; }
.story-support-more-arrow { font-size: 24px; line-height: 1; }
.story-support-more:hover, .story-support-more:focus-visible {
  border-color: var(--end-brand);
  background: rgba(17, 153, 142, .09);
  color: var(--end-brand-dark);
}
/* tombol lebar "Lihat Semua Cerita" (dipakai saat jumlah support genap) */
.news-more-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--sp-6);
  width: 100%;
  padding: 18px 24px;
  border: 1.5px dashed rgba(17, 153, 142, .5);
  border-radius: var(--radius-sm);
  background: rgba(17, 153, 142, .05);
  color: var(--end-brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background .25s, border-color .25s, color .25s;
}
.news-more-row:hover, .news-more-row:focus-visible {
  background: var(--end-brand);
  border-color: var(--end-brand);
  color: #fff;
  outline: none;
}
.news-more-label { white-space: nowrap; }
.news-more-arrow { font-size: 20px; line-height: 1; }

/* =========================================================
   8b. PROGRAM PAGE (reusable ProgramPage embed)
   ========================================================= */
.endatoe-program-header { padding: var(--sp-8) 0 var(--sp-7); }
.endatoe-program-body .entry-content { max-width: 760px; }
.endatoe-program-body .entry-content p { line-height: 1.7; color: var(--end-ink-soft); font-size: 16.5px; }

/* Gallery foto masonry (CSS columns — rapi, tanpa JS) */
.endatoe-program-gallery { margin: var(--sp-10) 0 0; }
.prog-gallery-masonry {
  columns: 3 250px;
  column-gap: var(--sp-4);
}
.prog-gallery-masonry .pg-item {
  margin: 0 0 var(--sp-4);
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.prog-gallery-masonry .pg-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}
.prog-gallery-masonry .pg-item:hover img { transform: scale(1.03); }
/* 1 foto: tampil tunggal lebar, tidak mengecil jadi 1 kolom */
.prog-gallery-masonry.prog-count-1 { columns: 1; max-width: 760px; }
/* Lightbox galeri program — klik foto -> full size; tutup klik area mana pun / Esc */
.pg-item { cursor: zoom-in; }
.prog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(8, 11, 15, .93);
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .18s ease;
}
.prog-lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55);
}
.prog-lightbox.is-open { opacity: 1; }
/* sembunyikan tanggal & author pada meta GP (arsip kategori "Lihat Semua Cerita") */
.entry-meta .posted-on,
.entry-meta .byline { display: none !important; }

/* =========================================================
   DAFTAR KABAR (blog index / ?post_type=post) — 1 artikel/baris
   thumb kiri + judul + excerpt +/-200 char; tanpa tanggal & author
   ========================================================= */
.kabar-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: 880px;
  margin: 0 auto;
}
.kabar-row {
  display: flex;
  align-items: stretch;
  gap: var(--sp-5);
  background: var(--end-surface);
  border: 1px solid var(--end-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.kabar-row:hover {
  border-color: rgba(17, 153, 142, .45);
  box-shadow: 0 14px 40px rgba(20, 40, 50, .08);
  transform: translateY(-2px);
}
.kabar-thumb-link { display: block; flex: 0 0 260px; max-width: 260px; }
.kabar-thumb { display: block; height: 100%; min-height: 170px; overflow: hidden; }
.kabar-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.kabar-row:hover .kabar-thumb img { transform: scale(1.05); }
.kabar-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; }
.kabar-title { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.4; margin: 0; }
.kabar-title a { color: var(--end-ink); text-decoration: none; }
.kabar-title a:hover, .kabar-title a:focus-visible { color: var(--end-brand); outline: none; }
.kabar-excerpt {
  margin: var(--sp-2) 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--end-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kabar-more {
  margin-top: var(--sp-3);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--end-brand);
  text-decoration: none;
}
.kabar-more:hover, .kabar-more:focus-visible { color: var(--end-brand-dark); outline: none; }
.kabar-pagination { margin-top: var(--sp-8); text-align: center; }
.kabar-pagination .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.kabar-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--end-line);
  color: var(--end-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.kabar-pagination .page-numbers.current { background: var(--end-brand); border-color: var(--end-brand); color: #fff; }
.kabar-pagination .page-numbers:hover { border-color: var(--end-brand); color: var(--end-brand); }
.kabar-empty { text-align: center; color: var(--end-muted); padding: var(--sp-8) 0; }
@media (max-width: 640px) {
  .kabar-row { flex-direction: column; }
  .kabar-thumb-link { flex: none; max-width: none; }
  .kabar-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .kabar-body { padding: 0 var(--sp-4) var(--sp-4); }
}

/* Program CTA */
.endatoe-program-cta { margin: var(--sp-10) 0 var(--sp-8); }
.end-cta-actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); flex-wrap: wrap; }
.btn-primary, .btn-ghost { display: inline-block; padding: 13px 28px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: .25s; }
.btn-primary { background: var(--end-brand); color: #fff; }
.btn-primary:hover { background: var(--end-brand-dark); color: #fff; }
.btn-ghost { border: 1.5px solid var(--end-line); color: var(--end-ink); }
.btn-ghost:hover { border-color: var(--end-brand); color: var(--end-brand); }


/* Section kabar program — jarak antar-section lega */
.endatoe-program-news { margin: var(--sp-10) 0 0; }
.endatoe-program-news .sec-head { margin-bottom: var(--sp-6); }
.endatoe-program-gallery .sec-head { margin-bottom: var(--sp-6); }

/* — Widget Kabar Terkait di halaman Program (sebelum CTA donasi) — */
.end-related-news { margin: var(--sp-9) 0; }
.rn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.rn-card { display: flex; flex-direction: column; }
/* kartu ke-3 = tombol Lihat Semua Cerita */
.rn-allcard {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100%;
  padding: var(--sp-5);
  border: 1.5px dashed rgba(17, 153, 142, .5);
  border-radius: var(--radius-sm);
  background: rgba(17, 153, 142, .05);
  color: var(--end-brand);
  text-align: center;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.rn-allcard:hover, .rn-allcard:focus-visible {
  background: var(--end-brand);
  border-color: var(--end-brand);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}
.rn-all-label { font-size: 15px; font-weight: 700; white-space: nowrap; }
.rn-all-arrow { font-size: 20px; line-height: 1; }
/* hanya 1 artikel: tombol melebar mengisi 2 kolom sisa (susun vertikal + subtitle) */
.rn-grid-1 .rn-allcard { grid-column: 2 / 4; flex-direction: column; gap: 9px; }
.rn-all-sub { font-size: 13.5px; font-weight: 600; color: var(--end-muted); line-height: 1.5; }
.rn-allcard:hover .rn-all-sub { color: rgba(255, 255, 255, .92); }
.rn-card .story-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius-sm); }
.rn-card .story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.rn-card:hover .story-thumb img { transform: scale(1.04); }
.rn-title { font-size: 16.5px; line-height: 1.45; margin: var(--sp-2) 0 0; }
.rn-title a { color: var(--end-ink); text-decoration: none; }
.rn-title a:hover, .rn-title a:focus-visible { color: var(--end-brand); outline: none; }
@media (max-width: 900px) { .rn-grid { grid-template-columns: 1fr; } }

/* =========================================================
   9. MITRA & KOLABORATOR (logo wall editorial — tanpa filter, tanpa kartu)
   ========================================================= */
.end-mitra { background: var(--end-surface); }
.sec-eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--end-brand);
  margin: 0 0 var(--sp-3);
}
.mitra-tier-label {
  margin: 0 0 var(--sp-4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--end-muted);
}
.mitra-tier-label::first-line { color: var(--end-brand); }
.mitra-block { margin-top: var(--sp-3); }
.mitra-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}
.mitra-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--end-line);
  border-radius: 16px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.mitra-logo img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .3s ease;
}
.mitra-logo:hover, .mitra-logo:focus-within {
  border-color: rgba(17, 153, 142, .45);
  box-shadow: 0 12px 30px rgba(20, 40, 50, .1);
  transform: translateY(-2px);
}
.mitra-logo:hover img, .mitra-logo:focus-within img {
  transform: scale(1.04);
}

/* Carousel strip mitra jaringan (geser halus + panah + dot + swipe) */
.mitra-carousel { margin: var(--sp-8) auto 0; width: min(100%, 820px); }
.mitra-car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); }
.mitra-car-head .mitra-tier-label { margin-bottom: var(--sp-4); }
.mitra-car-nav { display: flex; gap: 8px; margin-bottom: var(--sp-4); }
.mitra-car-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--end-line);
  background: #fff;
  color: var(--end-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
  transition: border-color .25s, color .25s, background .25s;
}
.mitra-car-btn:hover, .mitra-car-btn:focus-visible {
  border-color: var(--end-brand);
  color: var(--end-brand);
  outline: none;
}
.mitra-car-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  border-radius: 16px;
}
.mitra-car-viewport::-webkit-scrollbar { display: none; }
.mitra-car-viewport:active { cursor: grabbing; }
.mitra-car-track { display: flex; gap: var(--sp-4); width: max-content; padding-bottom: 2px; }
.mitra-car-item { flex: 0 0 252px; scroll-snap-align: start; }
.mitra-car-item .mitra-logo { min-height: 88px; height: 100%; }
.mitra-car-dots { display: flex; justify-content: center; gap: 7px; margin-top: var(--sp-4); min-height: 8px; }
.mitra-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--end-line);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .25s, width .25s;
}
.mitra-dot.is-active { background: var(--end-brand); width: 24px; }

@media (max-width: 900px) {
  .mitra-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .mitra-car-item { flex-basis: 210px; }
}
@media (max-width: 640px) {
  .mitra-car-item { flex: 0 0 48vw; }
  .mitra-logo { min-height: 76px; padding: 12px 14px; }
  .mitra-logo img { max-height: 44px; }
}

/* =========================================================
   10. CTA
   ========================================================= */
.end-cta {
  background: var(--end-ink);
  padding: var(--sp-10) 0;
  text-align: left;
}
.end-cta .sec-head h2 { color: #fff; }
.end-cta .sec-head .sec-sub { color: #b9bec0; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.elkifahcharity-cta-card {
  position: relative;
  border-radius: var(--radius);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-6);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.elkifahcharity-cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,30,0) 30%, rgba(28,28,30,.72) 100%);
}
.ecta-inner { position: relative; z-index: 2; }
.elkifahcharity-cta-card h3 { color: #fff; font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.elkifahcharity-cta-card p { color: #e3e6e4; font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.elkifahcharity-cta-card .btn { padding: 11px 24px; font-size: 13px; background: #fff; color: var(--end-ink) !important; border-radius: 999px; }

/* =========================================================
   11. HALAMAN DALAM
   ========================================================= */
.endatoe-page-hero {
  background: var(--end-surface-2);
  padding: var(--sp-9) var(--gutter) var(--sp-8);
  border-bottom: 1px solid var(--end-line);
}
.endatoe-page-hero h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--end-ink);
  font-size: clamp(30px, 4.2vw, 48px);
  margin: 0;
}
.endatoe-page-body { padding: var(--sp-8) 0 var(--sp-10); background: var(--end-surface); }
.endatoe-page-body .entry-content { max-width: 820px; margin: 0 auto; color: var(--end-ink-soft); }
.entry-content h2, .entry-content h3 { color: var(--end-ink); font-weight: 800; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h2.gtitle { margin-top: 0; }

.endatoe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
}
.endatoe-gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }
.endatoe-gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform .4s; }
.endatoe-gallery figure:hover img { transform: scale(1.04); }

/* kotak donasi — flat */
.endatoe-donate, .end-donation-card {
  background: var(--end-brand-soft);
  border: 1px solid var(--end-line);
  border-radius: var(--radius);
  padding: var(--sp-7) var(--sp-6);
  margin-top: var(--sp-8);
}
.endatoe-donate h2, .end-donation-card h2 { color: var(--end-ink); margin: 0 0 var(--sp-3); font-size: 26px; font-weight: 800; }
.endatoe-donate p, .end-donation-card p { color: var(--end-ink-soft); margin: 6px 0; }

/* CTA program — split: copy kiri + kartu rekening kanan */
.prog-cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: var(--sp-7);
  align-items: center;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: 22px;
  background:
    radial-gradient(520px 300px at 96% -10%, rgba(255, 255, 255, .5), transparent 60%),
    var(--end-brand-soft);
}
.prog-cta-split h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 var(--sp-3); }
.prog-cta-split p { max-width: 620px; }
.prog-cta-right {
  background: #fff;
  border: 1px solid var(--end-line);
  border-radius: 18px;
  padding: var(--sp-6);
  text-align: center;
  box-shadow: 0 14px 38px rgba(20, 40, 50, .07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.prog-cta-right .bank-mini-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--end-muted);
  margin: 0 0 8px;
}
.bank-mini-bank {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #146eb4;
  margin: 0;
}
.bank-mini-num {
  font-size: clamp(20px, 2vw, 26px) !important;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--end-ink) !important;
  margin: 2px 0 4px !important;
}
.bank-mini-name { font-size: 13.5px; color: var(--end-ink-soft); margin: 0 0 14px !important; }
.bank-mini-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #128c4b;
  text-decoration: none;
  border: 1.5px solid rgba(37, 211, 102, .55);
  border-radius: 999px;
  padding: 9px 18px;
  background: #fff;
  transition: background .2s, border-color .2s;
}
.bank-mini-wa i { color: #25d366; font-size: 16px; }
.bank-mini-wa:hover { background: #eafaf0; border-color: #25d366; }
@media (max-width: 900px) {
  .prog-cta-split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .prog-cta-right { max-width: 420px; }
}
.end-donation-card .end-bank {
  background: var(--end-white);
  border: 1px solid var(--end-line);
  border-radius: var(--radius-sm);
  padding: var(--sp-5);
  margin-top: var(--sp-4);
  text-align: center;
}
.end-donation-card .end-bank-label { font-size: 13px; color: var(--end-muted); margin: 0; }
.end-donation-card .end-bank-num { font-size: 22px; font-weight: 800; color: var(--end-brand); margin: 4px 0; }
.end-donation-card .end-bank-name { font-size: 14px; color: var(--end-ink-soft); margin: 0; }
.end-donation-note { font-size: 13.5px; color: var(--end-muted); margin-top: var(--sp-4) !important; }

.prog-about { max-width: 820px; margin: 0 auto var(--sp-5); }
.prog-about img { max-height: 90px; margin: 0 auto var(--sp-4); }

/* single post meta */
.single-meta {
  font-size: 13px;
  color: var(--end-muted);
  margin-bottom: var(--sp-5);
}
.single-meta a { color: var(--end-brand); }
.single-featured { border-radius: var(--radius); overflow: hidden; margin-bottom: var(--sp-6); }

/* =========================================================
   12. FOOTER
   ========================================================= */
.site-footer {
  background: #0b1014;
  color: #c9cfcd;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.site-footer .site-info { padding: 0; }
/* garis aksen atas — tipis, gradasi brand */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #11998e 0%, #4ade80 50%, #11998e 100%);
  opacity: .85;
}
.endatoe-footer { padding-top: var(--sp-7); }

/* Banner donasi */
.f-donasi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-8);
  background: linear-gradient(90deg, rgba(17, 153, 142, .16), rgba(74, 222, 128, .07));
  border: 1px solid rgba(74, 222, 128, .18);
  border-radius: 16px;
}
.f-donasi-text { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.f-donasi-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #5eead4;
}
.f-donasi-rek { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.f-donasi-an { font-size: 13.5px; color: #9fb3ad; }
.f-donasi-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--end-brand); color: #fff;
  font-size: 13.5px; font-weight: 700;
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none;
  transition: background .25s, transform .25s;
}
.f-donasi-btn:hover { background: #0d7a72; color: #fff; transform: translateY(-2px); }

.endatoe-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .9fr 1.05fr 1.1fr;
  gap: var(--sp-8) var(--sp-6);
  padding-bottom: var(--sp-7);
}
.endatoe-footer-grid h4 { margin: 0 0 var(--sp-4); }
.f-title {
  font-size: 12.5px; font-weight: 800; color: #fff;
  letter-spacing: 2.4px; text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}
.f-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--end-brand);
}
.endatoe-footer-grid .f-brand img { max-height: 46px; margin-bottom: var(--sp-4); }
.f-brand-desc { max-width: 300px; }
.endatoe-footer-grid p { font-size: 14.5px; line-height: 1.85; color: #b9c0bd; margin: 0 0 10px; }
.endatoe-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.endatoe-footer-grid ul li { margin-bottom: 11px; }
.endatoe-footer-grid ul a {
  color: #b9c0bd; font-size: 14.5px; text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.endatoe-footer-grid ul a:hover { color: #5eead4; padding-left: 5px; }
.f-wa a, .f-email a, .f-note { text-decoration: none; }
.f-wa a, .f-email a { color: #b9c0bd; transition: color .2s; }
.f-wa a:hover, .f-email a:hover { color: #5eead4; }
.f-note { font-size: 13px; color: #7d8b86; font-style: italic; }
.endatoe-footer-grid .f-socmed { display: flex; gap: 10px; margin-top: var(--sp-4); }
.endatoe-footer-grid .f-socmed a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #b9c0bd; font-size: 16px;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.endatoe-footer-grid .f-socmed a:hover {
  background: var(--end-brand); border-color: var(--end-brand);
  color: #fff; transform: translateY(-3px);
}

/* Bottom bar */
.endatoe-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: var(--sp-4) 0 var(--sp-5);
  font-size: 13px;
  color: #8f9794;
}
.endatoe-footer-bottom p { margin: 0; }
.f-copy a, .f-credit a { color: #8f9794; text-decoration: none; transition: color .2s; }
.f-copy a:hover, .f-credit a:hover { color: #5eead4; }
.f-credit a { color: #b9c0bd; font-weight: 700; }
.f-totop {
  appearance: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #b9c0bd;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.f-totop:hover {
  background: var(--end-brand); border-color: var(--end-brand);
  color: #fff; transform: translateY(-3px);
}
@media (max-width: 640px) {
  .f-donasi { flex-direction: column; align-items: flex-start; }
  .f-donasi-btn { width: 100%; justify-content: center; }
  .endatoe-footer-bottom { justify-content: center; text-align: center; }
}

/* =========================================================
   13. GTranslate — flat di navbar, icon flag
   ========================================================= */
.header-lang.gtranslate_wrapper { position: relative; display: inline-flex; align-items: center; }

/* trigger = tombol bendera (sembunyikan teks panjang, tampil flag via option) */
.header-lang select.gt_selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--end-line);
  border-radius: 999px;
  background: var(--end-white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6"><path fill="%231c1c1e" d="M1 1l4 4 4-4"/></svg>') no-repeat right 10px center;
  color: var(--end-ink);
  font-family: var(--end-font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 26px 8px 14px;
  cursor: pointer;
  width: 64px;
  min-width: 64px;
  transition: border-color .2s;
}
.header-lang select.gt_selector:hover { border-color: var(--end-brand); }
.header-lang select.gt_selector:focus { outline: none; border-color: var(--end-brand); }

/* opsi dropdown: flag + nama */
.header-lang select.gt_selector option {
  font-family: var(--end-font);
  font-size: 14px;
  padding: 8px;
  background: var(--end-white);
  color: var(--end-ink);
}
.header-lang select.gt_selector img.emoji {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -2px;
  display: inline-block;
}
/* buang opsi placeholder "Select Language" */
.header-lang select.gt_selector option[value=""] { display: none; }

.gtranslate_wrapper { position: relative !important; top: auto !important; right: auto !important; }

/* =========================================================
   14. RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .news-editorial { grid-template-columns: 1fr; }
  .story-featured-link { min-height: 400px; }
  .story-supports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prog-gallery-masonry { columns: 2 170px; }
  .end-hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .end-hero-photo { height: 380px; }
  .program-grid, .cta-grid { grid-template-columns: repeat(2, 1fr); }
  .news-editorial { grid-template-columns: 1fr; gap: var(--sp-6); }
  .sec-head-row { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .endatoe-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-7); }
  .end-nav-right { display: none; }
  .end-nav-toggle { display: flex; }
  .end-nav-right.is-open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--end-surface);
    border-bottom: 1px solid var(--end-line);
    padding: var(--sp-5) var(--gutter) var(--sp-6);
  }
  .end-nav-right.is-open .end-menu-list {
    flex-direction: column; align-items: stretch; gap: 0;
  }
  .end-nav-right.is-open .end-menu-list a { display: block; padding: 12px 0; font-size: 16px; }
  .end-nav-right.is-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding-left: 16px; }
  .end-nav-right.is-open .end-nav-actions { flex-direction: column; align-items: stretch; margin-top: var(--sp-4); }
}
@media (max-width: 640px) {
  .endatoe-program-gallery, .endatoe-program-news, .endatoe-program-cta { margin-top: var(--sp-8); }
  .rn-grid-1 .rn-allcard { grid-column: auto; }
  .story-featured-link { min-height: 300px; }
  .story-supports { grid-template-columns: 1fr; }
  .story-featured-cap { padding: 20px 18px; }
  .prog-gallery-masonry { columns: 1; }
  .end-hero-grid { padding: var(--sp-7) var(--gutter) var(--sp-8); }
  .end-hero-title { font-size: clamp(30px, 9vw, 40px); }
  .end-hero-photo { height: 300px; }
  .sec { padding: var(--sp-8) 0; }
  .end-stats { padding: var(--sp-8) 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 14px; }
  .impact-card { min-height: 0; padding: 24px 22px; }
  .impact-card .impact-num { font-size: clamp(44px, 12vw, 54px); }
  .end-stats .impact-head { margin-bottom: var(--sp-6); }
  .program-grid, .cta-grid { grid-template-columns: 1fr; }
  .endatoe-footer-grid { grid-template-columns: 1fr; }
  .endatoe-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   FORM GABUNG MITRA (halaman gabung-mitra)
   ========================================================= */
.mitra-form-wrap { max-width: 860px; margin: var(--sp-8) auto 0; }
.mitra-form-card {
  background: #fff;
  border: 1px solid var(--end-line);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(20, 40, 50, .08);
}
.mitra-form-sub { color: var(--end-ink-soft); margin: var(--sp-2) 0 var(--sp-6); font-size: 15.5px; }
.endatoe-form .ef-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.ef-notice { border-radius: 14px; padding: 14px 18px; margin-bottom: var(--sp-5); font-size: 14.5px; line-height: 1.6; }
.ef-notice ul { margin: 6px 0 0 18px; padding: 0; }
.ef-ok { background: #e6f7ef; border: 1px solid #bfe9d6; color: #0c6a43; }

/* =========================================================
   FLOATING ACTION BAR (Donasi / Chat WA / Jadi Relawan)
   ========================================================= */
.fb-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 30, 40, .08);
  border-radius: 999px;
  box-shadow: 0 14px 44px rgba(8, 20, 25, .22);
  transition: transform .35s ease, opacity .35s ease;
}
.fb-bar.fb-hidden {
  transform: translateX(-50%) translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.fb-btn:hover { transform: translateY(-2px); }
.fb-donasi { background: var(--end-brand); color: #fff; }
.fb-donasi:hover { background: var(--end-brand-dark); color: #fff; }
.fb-wa { background: #fff; border-color: rgba(37, 211, 102, .6); color: #128c4b; }
.fb-wa i { color: #25d366; font-size: 17px; }
.fb-wa:hover { background: #eafaf0; border-color: #25d366; color: #0f7a40; }
.fb-relawan { background: #eef1f3; color: var(--end-ink); }
.fb-relawan:hover { background: #e0e6e9; color: var(--end-ink); }
@media (max-width: 640px) {
  .fb-bar { bottom: 12px; padding: 6px; gap: 6px; }
  .fb-btn { font-size: 12.5px; padding: 10px 14px; }
  .fb-btn i { display: none; }
}
.ef-wa-box {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin: 0 0 var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: #f0fbf6;
  border: 1px solid #bfe9d6;
  border-left: 4px solid #25d366;
  border-radius: 14px;
}
.ef-wa-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 24px;
}
.ef-wa-txt { flex: 1 1 260px; }
.ef-wa-txt strong { font-size: 15px; color: var(--end-ink); }
.ef-wa-txt p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--end-ink-soft); }
.ef-wa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 12px 22px; border-radius: 999px;
  text-decoration: none;
  transition: background .25s, transform .25s;
}
.ef-wa-btn:hover { background: #1eb858; color: #fff; transform: translateY(-2px); }
@media (max-width: 640px) { .ef-wa-btn { width: 100%; justify-content: center; } }
.ef-err { background: #fdeeee; border: 1px solid #f5c6c6; color: #a11d2d; }
.ef-sec-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--end-brand);
  margin: var(--sp-5) 0 var(--sp-3);
}
.ef-sec-label:first-of-type { margin-top: 0; }
.ef-opt { color: var(--end-muted); font-weight: 600; letter-spacing: 0; text-transform: none; }
.ef-grid { display: grid; gap: var(--sp-3) var(--sp-4); }
.ef-grid.ef-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ef-wide { grid-column: 1 / -1; }
.ef-field { display: flex; flex-direction: column; gap: 6px; }
.ef-field label { font-size: 13.5px; font-weight: 700; color: var(--end-ink); }
.ef-req { color: #d6455d; }
.ef-field input,
.ef-field textarea {
  border: 1.5px solid var(--end-line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--end-ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
}
.ef-field input:focus,
.ef-field textarea:focus {
  outline: none;
  border-color: var(--end-brand);
  box-shadow: 0 0 0 4px rgba(17, 153, 142, .12);
}
.ef-field textarea { resize: vertical; min-height: 140px; }
.ef-field.ef-invalid input,
.ef-field.ef-invalid textarea { border-color: #d6455d; }
.ef-msg { color: #d6455d; font-size: 12.5px; }
.ef-actions { margin-top: var(--sp-6); display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.ef-submit { border: 0; cursor: pointer; font-size: 15px; }
.ef-submit:hover { background: var(--end-brand-dark); }
.ef-note { color: var(--end-muted); font-size: 12.5px; margin: 0; }
@media (max-width: 640px) {
  .ef-grid.ef-2 { grid-template-columns: 1fr; }
  .ef-wide { grid-column: auto; }
}

.ef-field select {
  border: 1.5px solid var(--end-line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--end-ink);
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  appearance: auto;
}
.ef-field select:focus { outline: none; border-color: var(--end-brand); box-shadow: 0 0 0 4px rgba(17,153,142,.12); }
.ef-field.ef-invalid select { border-color: #d6455d; }
.ef-label-inline { font-size: 13.5px; font-weight: 700; color: var(--end-ink); margin-bottom: 2px; }
.ef-radio-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.ef-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--end-line);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--end-ink-soft);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  background: #fff;
}
.ef-radio input { accent-color: var(--end-brand); width: 16px; height: 16px; margin: 0; }
.ef-radio:has(input:checked) { border-color: var(--end-brand); background: rgba(17,153,142,.06); color: var(--end-brand-dark); }
input[type="date"] { min-height: 46px; }


/* ===== Arsip kategori program (category.php) ===== */
.end-cat-hero .end-cat-meta { margin-top: var(--sp-3); max-width: 720px; }
.end-cat-count {
  display: inline-block; margin-left: 10px; padding: 3px 12px;
  background: var(--end-brand-soft); color: var(--end-brand-dark);
  border-radius: 999px; font-size: 12.5px; font-weight: 700; vertical-align: 2px;
}
.end-cat-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: var(--sp-5) 0 var(--sp-7);
}
.end-cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--end-line); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; font-weight: 600;
  color: var(--end-ink-soft); background: #fff;
  transition: border-color .2s, background .2s, color .2s;
}
.end-cat-pill:hover, .end-cat-pill:focus-visible {
  border-color: var(--end-brand); color: var(--end-brand-dark); outline: none;
}
.end-cat-pill.is-active {
  background: var(--end-brand); border-color: var(--end-brand); color: #fff;
}
.end-cat-pill-n {
  font-size: 11px; font-weight: 800;
  background: rgba(0,0,0,.06); border-radius: 999px; padding: 1px 7px;
}
.end-cat-pill.is-active .end-cat-pill-n { background: rgba(255,255,255,.22); }
.end-cat-list { margin-top: 0; }
.kabar-empty { padding: var(--sp-10) 0; }
.end-cat-cta { display: inline-block; margin-top: var(--sp-4); }

/* ===== Halaman Semua Kabar & Cerita (index) ===== */
.endidx-hero { margin-top: var(--sp-6); }

.endidx-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 320px;
  gap: var(--sp-8); align-items: start; margin-top: var(--sp-9);
}
.endidx-main { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-9); }
.endidx-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: var(--sp-5); }

/* header blok ala kotak warna referensi */
.endidx-box {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--end-brand); color: #fff;
  border-radius: 14px; padding: 13px 20px; margin-bottom: var(--sp-5);
}
.endidx-box-t {
  margin: 0; font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.endidx-box-all {
  color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
  white-space: nowrap; opacity: .92; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px;
  transition: background .2s, opacity .2s;
}
.endidx-box-all:hover { background: rgba(255,255,255,.28); color: #fff; opacity: 1; }

/* kartu besar per blok */
.eib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
.eib-card {
  background: #fff; border: 1px solid var(--end-line); border-radius: 16px;
  overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.eib-card:hover { box-shadow: 0 14px 34px rgba(17,153,142,.14); transform: translateY(-3px); border-color: transparent; }
.eib-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.eib-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--end-brand-soft); }
.eib-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.eib-card:hover .eib-img img { transform: scale(1.05); }
.eib-body { display: flex; flex-direction: column; padding: var(--sp-4) var(--sp-4) var(--sp-5); gap: 8px; align-items: flex-start; flex: 1; }
.eib-chip {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--end-brand-dark); background: var(--end-brand-soft);
  border-radius: 999px; padding: 4px 11px;
}
.eib-title { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.35; font-weight: 700; color: var(--end-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eib-ex { font-size: 13.5px; line-height: 1.55; color: var(--end-ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eib-more { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--end-brand); }

/* baris mini (thumb kiri) */
.eim-list { display: flex; flex-direction: column; }
.eim-row {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 12px 0; border-top: 1px solid var(--end-line);
  text-decoration: none; color: inherit;
}
.eim-row:first-child { border-top: 0; }
.eim-row:hover .eim-title { color: var(--end-brand-dark); }
.eim-thumb { flex: 0 0 132px; width: 132px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--end-brand-soft); }
.eim-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.eim-row:hover .eim-thumb img { transform: scale(1.06); }
.eim-body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.eim-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--end-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eim-ex { font-size: 13px; color: var(--end-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.eim-chip { font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--end-brand-dark); }
.eim-arrow { color: var(--end-brand); font-size: 18px; flex: none; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.eim-row:hover .eim-arrow { opacity: 1; transform: translateX(0); }
.eim-thumb-s { flex-basis: 84px; width: 84px; aspect-ratio: 1 / 1; }

/* artikel refleksi (tanpa thumbnail) */
.eir-list { display: flex; flex-direction: column; }
.eir-row {
  display: grid; grid-template-columns: 1fr auto; column-gap: var(--sp-4); align-items: center;
  padding: 16px 4px; border-top: 1px solid var(--end-line); text-decoration: none;
}
.eir-row:first-child { border-top: 0; }
.eir-row:hover .eir-title { color: var(--end-brand-dark); }
.eir-title { grid-column: 1; font-size: 16px; font-weight: 700; color: var(--end-ink); line-height: 1.4; }
.eir-ex { grid-column: 1; font-size: 13.5px; color: var(--end-muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eir-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--end-brand); font-size: 20px; }

/* kartu sidebar */
.endidx-card {
  background: #fff; border: 1px solid var(--end-line); border-radius: 16px;
  padding: var(--sp-5); box-shadow: 0 6px 18px rgba(9,12,16,.04);
}
.endidx-card-t {
  margin: 0 0 var(--sp-4); font-size: 13px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--end-brand);
  border-bottom: 2px solid var(--end-brand-soft); padding-bottom: 10px;
}
.eis-list { display: flex; flex-direction: column; gap: 8px; }
.eis-row {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--end-line); border-radius: 12px; padding: 10px 14px;
  color: var(--end-ink); text-decoration: none; font-weight: 700; font-size: 14.5px;
  transition: border-color .2s, background .2s, color .2s;
}
.eis-row:hover { border-color: var(--end-brand); background: rgba(17,153,142,.05); color: var(--end-brand-dark); }
.eis-ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--end-brand-soft);
  color: var(--end-brand-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 17px;
}
.eis-name { flex: 1; }
.eis-arrow { color: var(--end-muted); font-size: 14px; }
.eis-row:hover .eis-arrow { color: var(--end-brand); }
.eim-thumb-ph { background: linear-gradient(135deg, var(--end-brand-soft), rgba(17,153,142,.25)); }
.eim-list-side .eim-row { padding: 11px 0; }

/* mitra strip pada halaman index */
.endidx-mitra { margin-top: var(--sp-10); padding-top: var(--sp-8); border-top: 1px solid var(--end-line); }
.endidx-mitra .sec-head { text-align: center; }

@media (max-width: 1024px) {
  .endidx-layout { grid-template-columns: 1fr; }
  .endidx-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .endidx-aside { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .eib-grid { grid-template-columns: 1fr; }
  .endidx-box { flex-direction: column; align-items: flex-start; gap: 8px; }
  .eim-thumb { flex-basis: 104px; width: 104px; }
  .endidx-layout { margin-top: var(--sp-6); }
}

/* jaringan mitra statis (halaman index — tanpa JS carousel) */

@media (max-width: 720px) {
  .endidx-mitra .mitra-jaringan { grid-template-columns: repeat(2, 1fr); }
}

/* halaman index rubrik + arsip rubrik */
.endidx-hero-title .endatoe-container { padding-top: var(--sp-3); padding-bottom: var(--sp-2); }
.endidx-box-l { display: flex; flex-direction: column; gap: 3px; }
.endidx-box-sub { margin: 0; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); letter-spacing: normal; text-transform: none; }
.endidx-box { align-items: center; }
.eim-row.no-thumb .eim-body { padding-left: 2px; }
@media (max-width: 720px) {
  .endidx-box { align-items: flex-start; }
}

/* ===== Mitra & Kolaborator — simetris, center, marquee ===== */
.mitra-tier-label { text-align: center; }
.mitra-main {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center; gap: var(--sp-6);
}
.mitra-marquee {
  margin-top: var(--sp-5); overflow: hidden; border-radius: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mitra-marquee-track { display: flex; width: max-content; animation: endatoe_marquee 55s linear infinite; }
.mitra-marquee:hover .mitra-marquee-track,
.mitra-marquee:focus-within .mitra-marquee-track { animation-play-state: paused; }
.mitra-marquee-group { display: flex; align-items: center; gap: var(--sp-4); padding-right: var(--sp-4); }
.mitra-marquee-item { flex: 0 0 248px; }
.mitra-marquee-item .mitra-logo { min-height: 84px; height: 100%; }
@keyframes endatoe_marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .mitra-marquee-item { flex-basis: 46vw; }
  .mitra-main { gap: var(--sp-3); }
}
@media (prefers-reduced-motion: reduce) {
  .mitra-marquee-track { animation: none; width: 100%; flex-wrap: wrap; }
  .mitra-marquee-group { width: 100%; flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .mitra-marquee-item { flex: 0 0 calc(33.33% - 12px); min-width: 150px; }
}

/* ===== Mitra — komposisi center & ritme vertikal seimbang ===== */
.end-mitra .sec-head { text-align: center; }
.end-mitra .sec-head .sec-sub { max-width: 720px; margin-left: auto; margin-right: auto; }
.end-mitra .mitra-block { margin-top: var(--sp-7); }
.end-mitra .mitra-tier-label { margin: 0 0 var(--sp-4); }
.end-mitra .mitra-tier-label:nth-of-type(2) { margin-top: var(--sp-10); }
.end-mitra .mitra-marquee { margin-top: var(--sp-1); }

.end-mitra .sec-head { max-width: none; width: 100%; }
.end-mitra .sec-head .gtitle { margin-left: auto; margin-right: auto; }

/* ===== Paket A: logo bar profesional (tanpa kartu, grayscale, tinggi seragam) ===== */
/* jaringan & kolaborator: tanpa kartu, logo langsung di permukaan */
.mitra-marquee { margin-top: var(--sp-4); }
.mitra-marquee-group { gap: 0; padding-right: 0; }
.mitra-marquee-item { flex: 0 0 auto; }
.mitra-marquee-item .mitra-logo {
  background: transparent; border: 0; box-shadow: none;
  min-height: 0; height: 64px; padding: 0 24px;
}
.mitra-marquee-item .mitra-logo img {
  max-height: 38px; max-width: 220px; width: auto; height: auto;
  filter: grayscale(1) opacity(.72);
  transition: filter .3s ease, transform .3s ease;
}
.mitra-marquee:hover .mitra-logo img { filter: grayscale(0) opacity(1); }
/* mitra utama: tetap kartu, logo warna penuh, tinggi seragam */
.mitra-main .mitra-logo { min-height: 108px; }
.mitra-main .mitra-logo img { max-height: 56px; }
@media (max-width: 640px) {
  .mitra-marquee-item .mitra-logo { height: 56px; padding: 0 16px; }
  .mitra-marquee-item .mitra-logo img { max-height: 32px; }
  .mitra-main .mitra-logo img { max-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .mitra-marquee-item .mitra-logo { padding: 8px 18px; height: auto; }
  .mitra-marquee-item .mitra-logo img { filter: grayscale(0); }
}

/* ===== Navbar font ramping (Barlow) ===== */
.end-nav { font-family: 'Barlow', 'Montserrat', -apple-system, sans-serif; }
.end-menu-list { gap: var(--sp-5); }
.end-menu-list a { font-size: 15px; font-weight: 500; letter-spacing: .005em; }
.end-menu-list .sub-menu a { font-weight: 500; }
.end-nav-cta { font-weight: 600; letter-spacing: .01em; }
.end-nav-ghost { font-weight: 500; }

/* mitra utama sebagai link */
.mitra-logo-link { text-decoration: none; }
.mitra-logo-link:hover img { transform: scale(1.05); }
