/* =========================================================
   HOME.CSS (MODERN NGO THEME, CLEAN & OPTIMIZED)
   - Layout: Rapi di web, dinamis di HP.
   - Presisi: Tinggi card seragam (Flex-grow).
   - Warna: Hijau gelap (NGO) elegan tanpa merusak elemen lain.
   - Peta: Center & Megah.
   - Publikasi: Fleksibel untuk 3 card sejajar atau 2x2 untuk 4 card.
   - Partner: Ukuran asli tanpa filter.
========================================================= */

/* Prevent horizontal scroll */
html, body { overflow-x: hidden; scroll-behavior: smooth; }

/* =======================================
   0) REVEAL ANIMATION + PERFORMANCE
======================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.active[data-stagger] > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.reveal.active[data-stagger] > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.reveal.active[data-stagger] > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.reveal.active[data-stagger] > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

.section, .impact-section-full {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > *, .hero-video, .hero-bg, .summary-card, .impact-card, .news-card, .home-pub-card {
    transition: none !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }
}

/* =======================================
   1) HERO SECTION
======================================= */
.hero {
  position: relative; z-index: 0; width: 100%; min-height: 85vh;
  overflow: hidden; display: flex; align-items: center; color: #fff;
  background-color: #032b1f;
}

.hero-bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center center; background-repeat: no-repeat;
  transform: scale(1.03); transition: background-image 0.6s ease-out, transform 0.6s ease-out; z-index: -1;
}

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0; transition: opacity 0.6s ease-out; pointer-events: none;
}
.hero-video-visible { opacity: 1; }
.hero-video-hidden { display: none; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(3, 43, 31, 0.85) 0%, rgba(3, 43, 31, 0.50) 40%, rgba(3, 43, 31, 0.2) 80%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2; max-width: 1000px;
  margin: 0 auto; padding: 120px 24px 96px; width: 100%;
}

.hero-headline {
  display: inline-flex; flex-direction: column; gap: 4px;
  font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 700; line-height: 1.1;
  max-width: 20ch; margin-bottom: 12px;
}

.hero-headline-main {
  font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle { margin-top: 8px; font-size: 1.15rem; max-width: 40ch; line-height: 1.6; opacity: 0.9; }

.hero-toggle { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.hero-toggle-link-main {
  padding: 12px 28px; border-radius: 999px; border: 2px solid #fff;
  background: transparent; color: #fff; font-weight: 700; text-decoration: none;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-toggle-link-main:hover { 
  background: #fff; 
  color: #032b1f; 
  transform: translateY(-2px);
}

/* =======================================
   2) TYPOGRAPHY
======================================= */
.section h2, .summary-left h2, .summary-right-title, .impact-left h2, .impact-right h2,
.section-heading-link, .where-we-work h2, .partners-title {
  font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.25; color: #032b1f;
}
.section-heading-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.section-heading-link .arrow-link { font-weight: 800; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease; }
.section-heading-link:hover .arrow-link { transform: translateX(8px); color: #1c7a4d; }

/* =======================================
   3) SUMMARY CARDS (PRESISI)
======================================= */
.summary-wrapper { max-width: 1200px; margin: 0 auto; }
.summary-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: flex-start; } 
.summary-left { width: 100%; }

.summary-intro { margin-bottom: 28px; font-size: 15px; opacity: 0.8; line-height: 1.6; }
.summary-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.summary-card {
  background: #ffffff; 
  border-radius: 20px; 
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02); 
  display: flex; flex-direction: column; gap: 14px;
  text-decoration: none; color: inherit; 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
  height: 100%; /* Memaksa tinggi seragam */
}
.summary-card:hover { 
  background: #1c7a4d; 
  transform: translateY(-6px); 
  box-shadow: 0 12px 30px rgba(28, 122, 77, 0.2); 
  border-color: transparent;
}
.summary-card:hover .summary-label, .summary-card:hover .summary-number, .summary-card:hover .summary-unit { color: #fff; }

.summary-label { font-size: 13px; color: #6b7b6c; margin-bottom: 4px; font-weight: 600; line-height: 1.4; transition: color 0.4s ease; }
.summary-metric { display: flex; align-items: baseline; gap: 4px; }
.summary-number { font-size: 28px; font-weight: 800; color: #032b1f; transition: color 0.4s ease; letter-spacing: -0.5px;}
.summary-unit { font-size: 14px; color: #555; transition: color 0.4s ease; font-weight: 600;}

/* Project Stats */
.summary-project {
  margin-top: 32px; background: #fff; border-radius: 20px;
  padding: 28px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.03);
}
.project-stats h3 { margin-bottom: 8px; font-size: 18px; color: #032b1f; font-weight: 700;}
.project-note { font-size: 13px; opacity: 0.7; margin-bottom: 20px; }
.project-chart { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.project-row-link { display: block; text-decoration: none; color: inherit; }
.project-row { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 13px; transition: transform 0.3s ease; }
.project-row-link:hover .project-row { transform: translateX(6px); } 
.project-label { text-align: left; font-weight: 700; color: #032b1f;}
.project-bar { position: relative; background: rgba(0,0,0,0.04); border-radius: 999px; height: 30px; overflow: hidden; display: flex; align-items: center; box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);}
.project-bar-fill { height: 100%; border-radius: 999px; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }

.project-bar-fill.prog-green { background: linear-gradient(90deg, #1c7a4d, #259c63); }
.project-bar-fill.prog-yellow-green { background: linear-gradient(90deg, #f6aa1c, #259c63); }
.project-bar-fill.prog-red-yellow { background: linear-gradient(90deg, #d90429, #f6aa1c); }

.project-value { position: absolute; right: 12px; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0px 1px 3px rgba(0,0,0,0.3); }

/* =======================================
   4) LATEST NEWS (PRESISI)
======================================= */
.summary-right .summary-right-title { color: #032b1f !important; }
.summary-right .summary-right-title .arrow-link { color: #032b1f !important; }

.summary-right .news-grid { 
  display: flex; flex-direction: column; gap: 20px; 
}
.summary-right .news-card { 
  display: flex; flex-direction: row; align-items: center; gap: 18px; 
  text-align: left; padding: 16px; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04);
  text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.summary-right .news-card:hover {
  transform: translateX(6px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: rgba(28, 122, 77, 0.1);
}
.summary-right .news-image { 
  width: 120px; height: 90px; flex-shrink: 0; background: #dfe9df;
  border-radius: 12px; overflow: hidden; margin-bottom: 0;
}
.summary-right .news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.summary-right .news-card:hover .news-image img { transform: scale(1.08); }

.summary-right .news-content { display: flex; flex-direction: column; justify-content: center; flex: 1; height: 100%; }
.summary-right .news-card h3 { 
  color: #032b1f !important; font-size: 15px; font-weight: 800; margin: 0 0 6px 0; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.3s ease;
}
.summary-right .news-card:hover h3 { color: #1c7a4d !important; }
.summary-right .news-excerpt {
  font-size: 13px; color: #666 !important; margin: 0 0 8px 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.summary-right .news-link { 
  color: #1c7a4d !important; font-weight: 700; font-size: 12px;
  display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s;
  margin-top: auto; /* Memastikan read more selalu rata bawah */
}
.summary-right .news-link::after { content: "→"; transition: transform 0.3s ease; }
.summary-right .news-card:hover .news-link::after { transform: translateX(4px); }

/* =======================================
   5) IMPACT SECTION (DARK NGO THEME)
======================================= */
.impact-section-full { width: 100%; background: #032b1f; padding: 100px 0; color: #fff; } 
.impact-wrapper { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }

.impact-right { position: relative; }
.impact-right::before { content: ""; position: absolute; top: 0; bottom: 0; left: -30px; width: 1px; background: rgba(255,255,255,0.1); } 

.impact-left h2 { margin-bottom: 28px; color: #fff; }
.impact-card { background: transparent; display: block; text-decoration: none; transition: transform 0.4s ease; }
.impact-card:hover { transform: translateY(-6px); }

.impact-image { margin-bottom: 24px; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: #011b13; box-shadow: 0 10px 30px rgba(0,0,0,0.3);} 
.impact-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.impact-card:hover .impact-image img { transform: scale(1.05); }

.impact-title { font-size: 24px; font-weight: 800; margin: 0 0 12px; color: #fff; line-height: 1.3;}
.impact-story { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.85); margin-bottom: 16px;}
.impact-readmore { background: none; border: none; color: #a8ff9d; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.3s ease;}
.impact-readmore::after { content: "→"; transition: transform 0.3s ease; }
.impact-card:hover .impact-readmore { color: #fff; }
.impact-card:hover .impact-readmore::after { transform: translateX(6px); }

.testimonial { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); position: relative;}
.testimonial::before { content: "“"; position: absolute; left: -10px; top: 10px; font-size: 60px; color: rgba(255,255,255,0.05); line-height: 1; font-family: serif; }
.testimonial h3 { margin-bottom: 6px; font-size: 14px; font-weight: 700; color: #a8ff9d; text-transform: uppercase; letter-spacing: 0.5px;}
.testimonial p { font-style: italic; line-height: 1.7; color: rgba(255,255,255,0.9); font-size: 14px; }

/* =======================================
   6) NTFP STORIES
======================================= */
.impact-right .section-heading-link { color: #ffffff !important; font-size: 28px;}
.impact-right .impact-subheading { color: rgba(255,255,255,0.7) !important; margin-bottom: 24px;}

.ntfp-slider { position: relative; width: 100%; }
.ntfp-slide { display: none; }
.ntfp-slide-active { display: block; animation: heroFadeIn 0.6s ease; }
.ntfp-card { background: transparent; transition: transform 0.4s ease; display: flex; flex-direction: column; gap: 16px; }
.ntfp-card:hover { transform: translateY(-4px); }

.impact-right .ntfp-label { color: #a8ff9d !important; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.impact-right .ntfp-text { color: rgba(255,255,255,0.9) !important; font-size: 15px; line-height: 1.6; }
.impact-right .ntfp-link { color: #fff !important; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s ease;}
.impact-right .ntfp-link::after { content: "→"; transition: transform 0.3s ease; }
.ntfp-card:hover .ntfp-link { color: #a8ff9d !important; }
.ntfp-card:hover .ntfp-link::after { transform: translateX(6px); }

.impact-right .ntfp-image { 
  background: #011b13; box-shadow: 0 10px 30px rgba(0,0,0,0.4); 
  aspect-ratio: 21/9; max-height: 250px; border-radius: 16px; overflow: hidden; margin-bottom: 8px;
}
.impact-right .ntfp-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.ntfp-card:hover .ntfp-image img { transform: scale(1.05); }

.ntfp-arrow { position: absolute; top: 35%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; color: #fff; background: rgba(3, 43, 31, 0.6); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; }
.ntfp-arrow-left { left: -22px; }
.ntfp-arrow-right { right: -22px; }
.ntfp-arrow:hover { background: #fff; color: #032b1f; transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 15px rgba(0,0,0,0.3);}
.ntfp-dots { display: flex; gap: 8px; margin-top: 20px; }
.impact-right .ntfp-dot { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,0.2); cursor: pointer; transition: all 0.3s ease; }
.impact-right .ntfp-dot:hover { background: rgba(255,255,255,0.5); }
.impact-right .ntfp-dot-active { background: #a8ff9d; width: 24px; } 

/* =======================================
   7) PUBLICATIONS (PRESISI & FLEKSIBEL)
======================================= */
.home-pub-grid { 
  display: grid; 
  /* Mengubah ke 160px agar 3 card bisa sejajar sempurna di kontainer kanan.
     Jika ada 4 card, otomatis menjadi rapi 2x2. */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
  gap: 16px; 
  margin-top: 20px; 
}

.home-pub-card {
  background: rgba(255,255,255,0.04); 
  border: 1px solid rgba(255,255,255,0.08); 
  border-radius: 16px;
  padding: 14px; 
  backdrop-filter: blur(12px); 
  display: flex; flex-direction: column; 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #fff; text-decoration: none; position: relative; overflow: hidden;
  height: 100%; /* Selalu seragam tingginya dalam 1 row */
}
.home-pub-card:hover { 
  transform: translateY(-6px); 
  background: rgba(255,255,255,0.08);
  border-color: rgba(168, 255, 157, 0.4); 
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.home-pub-image { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 12px; background: #011b13; }
.home-pub-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.home-pub-card:hover .home-pub-image img { transform: scale(1.08); }

.home-pub-badge { display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(168, 255, 157, 0.15); color: #a8ff9d; margin-bottom: 8px; width: fit-content; border: 1px solid rgba(168, 255, 157, 0.2);}

.home-pub-title { 
  font-weight: 700; font-size: 13px; color: #fff; line-height: 1.4; margin-bottom: 16px; 
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
  flex-grow: 1; /* Mendorong tombol selalu rata ke bawah */
}

.home-pub-actions { 
  display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 12px; 
  margin-top: auto; /* Penyelaras rata bawah presisi */
}

.home-btn-preview, .home-btn-download { display: inline-flex; justify-content: center; align-items: center; padding: 8px; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; text-align: center;}
.home-btn-preview { background: rgba(255,255,255,0.1); color: #fff; }
.home-btn-preview:hover { background: rgba(255,255,255,0.2); }
.home-btn-download { background: #1c7a4d; color: #fff; border: none; }
.home-btn-download:hover { background: #155c39; box-shadow: 0 4px 12px rgba(28, 122, 77, 0.4);}

.home-pub-info { font-size: 11px; color: rgba(255,255,255,0.6); text-align: center; margin-top: 4px; }

/* =======================================
   8) WHERE WE WORK (MEGAH & CENTER)
======================================= */
.where-we-work { 
  display: flex; flex-direction: column; align-items: center; text-align: center; position: relative;
}
.where-we-work h2 {
  margin-bottom: 16px;
}
.where-we-work p {
  max-width: 700px; /* Batas teks agar tidak terlalu panjang */
  margin: 0 auto 40px auto; 
  font-size: 16px;
  line-height: 1.6;
}

.map-placeholder { 
  width: 100%; 
  height: clamp(450px, 60vh, 700px); /* Ditinggikan agar lebih megah */
  background: #fdfdfd; 
  border-radius: 24px; 
  overflow: hidden; 
  position: relative; 
  border: 1px solid rgba(0,0,0,0.05); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.12); /* Shadow lebih menyebar */
  z-index: 1;
}
#where-map { width: 100%; height: 100%; display: block; background: #e9e9e9; }

.where-info-panel { 
  margin-top: 12px; background: #fff; border-radius: 16px; padding: 16px; 
  box-shadow: 0 8px 18px rgba(0,0,0,0.06); font-size: 13px; color: #032b1f; text-align: left; /* Teks dalam box tetap rata kiri */
}
.where-we-work .where-info-panel { 
  position: absolute; left: 30px; bottom: 30px; width: 360px; max-width: calc(100% - 60px); 
  margin-top: 0; z-index: 900; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); 
  border: 1px solid rgba(0,0,0,0.08); border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); 
}
.where-we-work .where-info-panel h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }

/* =======================================
   9) PARTNERS STRIP (ORIGINAL SIZE)
======================================= */
.section.partners-bottom { background: #fff; padding: 100px 0; border-top: 1px solid rgba(0,0,0,0.03); }
.partners-title { text-align: center; margin-bottom: 50px; }
.partners-strip { 
  width: 100%; overflow: hidden; padding: 16px 0; position: relative; 
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
} 
.partners-track { 
  display: inline-flex; align-items: center; gap: 120px; 
  animation: partnersMarquee 40s linear infinite; 
}
.partners-strip:hover .partners-track { animation-play-state: paused; }

.partner-item {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 250px; /* ORIGINAL SIZE */
  height: 150px; 
}

/* TIDAK ADA FILTER GRAYSCALE, WARNA ASLI! */
.partner-item img { 
  max-width: 100%; max-height: 100%; display: block; object-fit: contain; 
  transition: transform 0.4s ease; 
} 
.partner-item img:hover { transform: scale(1.1); } 

@keyframes partnersMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =======================================
   10) RESPONSIVE DESIGN
======================================= */
@media (max-width: 1024px) {
  .impact-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .impact-right::before { display: none; }
  .summary-layout { grid-template-columns: 1fr; }
  .summary-right .news-grid { flex-direction: row; flex-wrap: wrap; } 
  .summary-right .news-card { width: calc(50% - 10px); flex-direction: column; align-items: stretch; padding: 20px;} 
  .summary-right .news-image { width: 100%; height: 180px; margin-bottom: 12px;}
  .summary-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .hero { min-height: 60vh; }
  .hero-content { padding: 100px 20px 60px; }
  .partners-track { gap: 80px; } 
  .partner-item { width: 200px; height: 120px; } 
}

/* MOBILE FIX */
@media (max-width: 600px) {
  #hero-section { min-height: unset; height: clamp(300px, 70vw, 400px); }
  #hero-section .hero-headline-main { font-size: clamp(2.2rem, 8vw, 2.8rem); }
  #hero-section .hero-content { padding: 80px 20px 30px; }

  /* Summary Card HP */
  .summary-cards { grid-template-columns: 1fr; gap: 12px; }
  .summary-card { padding: 16px; flex-direction: row; align-items: center; }
  
  /* News di HP - Grid 2x2 Rapi */
  .summary-right .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } 
  .summary-right .news-card { flex-direction: column; align-items: stretch; padding: 12px; gap: 8px; width: 100%; } 
  .summary-right .news-image { width: 100%; height: 110px; border-radius: 8px; } 
  .summary-right .news-card h3 { font-size: 13px; line-height: 1.3; }
  .summary-right .news-excerpt { display: none; }
  .summary-right .news-link { font-size: 11px; }

  .impact-section-full { padding: 60px 0; }
  .ntfp-arrow { width: 40px; height: 40px; font-size: 20px;}

  /* Publikasi di HP - Dijamin Tampil Menggunakan CSS Grid yang Aman */
  .home-pub-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } 
  .home-pub-card { padding: 10px; border-radius: 12px; }
  .home-pub-badge { font-size: 9px; padding: 3px 6px; margin-bottom: 6px;}
  .home-pub-title { font-size: 11px; line-height: 1.3; margin-bottom: 10px; -webkit-line-clamp: 3; }
  
  /* Layout tombol yang lebih pas di HP */
  .home-pub-actions { gap: 6px; padding-top: 10px; }
  .home-btn-preview, .home-btn-download { padding: 6px; font-size: 11px; }
  .home-pub-info { font-size: 9px; }

  /* Map and Info Panel Mobile Fix */
  .where-we-work p { margin-bottom: 24px; font-size: 14px; }
  .map-placeholder { height: 400px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
  .where-we-work .where-info-panel { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; padding: 16px;}
  
  /* Logo Partners tetap besar */
  .partners-track { gap: 60px; }
  .partner-item { width: 160px; height: 100px; }
}

@media (max-width:380px) {
  /* Kalau HP sangat kecil, baru berbaris 1 kolom ke bawah supaya tidak sesak */
  .home-pub-grid { grid-template-columns: 1fr; } 
  .summary-right .news-grid { grid-template-columns: 1fr; } 
  .summary-right .news-image { height: 160px; }
}