/* Custom styling & Nature/Earth accents for WALHI Jambi */
/* Font dipanggil secara paralel di HTML head untuk optimasi kecepatan */

:root {
  --primary-forest: #164e3f;
  --primary-emerald: #10b981;
  --earth-warm: #855936;
  --earth-light: #f4efe6;
  --dark-slate: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1f2937;
  background-color: #faf9f6;
  scroll-behavior: smooth;
}

h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', serif;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Floating WhatsApp Pulse Effect */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4), 0 8px 10px -6px rgba(16, 185, 129, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  background-color: #22c55e;
  opacity: 0.75;
  animation: ping-custom 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}

@keyframes ping-custom {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Earth gradient banner */
.bg-earth-pattern {
  background-color: #143d30;
  background-image: radial-gradient(#10b981 0.75px, transparent 0.75px), radial-gradient(#065f46 0.75px, #143d30 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* Submenu Dropdown Solid Background */
#menu-dropdown-tentang > div {
  background-color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08) !important;
}

/* Editorial News & Article Typography */
.article-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #334155;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.article-body p {
  margin-bottom: 1.35rem;
  line-height: 1.85;
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.625rem;
  font-weight: 800;
  color: #0b381d;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  line-height: 1.35;
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #14532d;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-body ul {
  list-style-type: disc;
  padding-left: 1.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.35rem;
}

.article-body ol {
  list-style-type: decimal;
  padding-left: 1.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1.35rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.article-body blockquote {
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem;
  background-color: #f0fdf4;
  border-left: 4px solid #059669;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #064e3b;
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-body strong, .article-body b {
  font-weight: 700;
  color: #0f172a;
}

.article-body a {
  color: #059669;
  text-decoration: underline;
  font-weight: 600;
}
.article-body a:hover {
  color: #047857;
}
