/* ================================================================
   BLOGS PAGE STYLES (Light, Airy, & Premium Vibe)
   ================================================================ */
.blogs-page { background: var(--paper); min-height: 100vh; padding-bottom: 0; }
.text-left { text-align: left; margin-left: 0; padding: 0; margin-bottom: 40px; }

/* --- 1. HERO SLIDESHOW (Lebih Lega) --- */
.blog-hero { position: relative; height: 75vh; min-height: 500px; width: 100%; background: var(--stage); overflow: hidden; }
.blog-hero__slider { position: absolute; inset: 0; }

.bh-slide { 
  position: absolute; inset: 0; opacity: 0; visibility: hidden; 
  transition: opacity 1.2s ease, visibility 1.2s ease; 
  display: flex; flex-direction: column; justify-content: center; 
  padding: 0 clamp(24px, 8vw, 120px); 
}
.bh-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.bh-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; 
  object-fit: cover; z-index: -2; 
  transform: scale(1.05); transition: transform 8s ease-out;
}
.bh-slide.is-active img { transform: scale(1); }

/* Gradasi diperhalus, tidak terlalu pekat menutupi gambar */
.bh-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to right, rgba(21, 19, 15, 0.95) 0%, rgba(21, 19, 15, 0.3) 60%, transparent 100%);
}

.bh-content { max-width: 680px; color: #FFF; z-index: 3; }
.bh-tag { display: inline-block; background: var(--orange); color: #FFF; font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 50px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1.5px; }
.bh-title { font-family: var(--f-display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-decoration: none; color: #FFF; display: block; transition: color 0.3s; }
.bh-title:hover { color: var(--orange); }
.bh-date { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; }

.blog-hero__controls { position: absolute; bottom: 40px; right: clamp(24px, 8vw, 120px); z-index: 10; display: flex; gap: 12px; }

/* --- 2. TOP HIGHLIGHTS (Kartu Lebih Proporsional) --- */
.blog-highlights { padding: 80px 0 40px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.hl-card {
  position: relative; 
  z-index: 1; /* KUNCI FIX: Memaksa gambar tetap berada di depan warna dasar kartu */
  height: 420px; 
  border-radius: 20px; 
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 40px 32px;
  text-decoration: none; color: #FFF; box-shadow: 0 15px 35px rgba(0,0,0,0.06);
  background: var(--stage-soft); 
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.hl-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,0.12); }
.hl-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s ease; }
.hl-card:hover img { transform: scale(1.08); }
.hl-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(21,19,15,0.95) 0%, rgba(21,19,15,0.2) 60%, transparent 100%); }

.hl-icon { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all 0.4s ease; }
.hl-card:hover .hl-icon { background: var(--orange); color: #FFF; transform: translate(4px, -4px); }

.hl-card h3 { font-family: var(--f-display); font-size: 22px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.hl-card p { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; }

/* --- 3. FEED LIST UTAMA (Lebih Renggang & Rapi) --- */
.blog-feed { padding: 40px 0 80px; }
/* Jarak vertikal diperlebar menjadi 64px agar tidak sumpek */
.feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 32px; }

.feed-card { display: flex; flex-direction: column; gap: 20px; text-decoration: none; }
.feed-card__img { width: 100%; aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.feed-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.feed-card:hover .feed-card__img img { transform: scale(1.05); }

.feed-meta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); display: flex; gap: 12px; }
.feed-meta span:first-child { color: var(--orange); }
.feed-card h3 { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--stage); line-height: 1.4; transition: color 0.3s; }
.feed-card:hover h3 { color: var(--orange); }

/* --- 4. END CTA (Diubah menjadi Putih Cerah agar tidak bertabrakan dengan Footer) --- */
.blog-cta { padding: 40px 0 80px; }
.cta-box { 
  background: #FFFFFF; 
  border-radius: 32px; 
  padding: 80px 40px; 
  text-align: center; 
  box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  border: 1px solid rgba(21, 19, 15, 0.05);
}
.cta-box__title { font-family: var(--f-display); font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; color: var(--stage); }
.cta-box__desc { font-size: 16px; color: var(--ink-soft); max-width: 600px; margin: 0 auto 48px; line-height: 1.6; }
.cta-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.cta-btn { 
  background: var(--paper); 
  border: 1px solid rgba(21, 19, 15, 0.1); 
  padding: 16px 32px; 
  border-radius: 50px; 
  font-weight: 600; 
  font-size: 14px; 
  text-decoration: none; 
  color: var(--stage); 
  display: flex; align-items: center; gap: 8px; 
  transition: all 0.3s ease; 
}
.cta-btn:hover { background: var(--orange); border-color: var(--orange); color: #FFF; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 77, 0, 0.15); }
.cta-btn span { font-size: 18px; transition: transform 0.3s; }
.cta-btn:hover span { transform: translate(3px, -3px); }

/* --- DESAIN BARU NAVIGASI HERO SLIDER --- */
.hero-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-nav-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.4s ease;
}

/* Efek saat kursor diarahkan (Hover) */
.hero-nav-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(255, 77, 0, 0.3);
}

/* Animasi panah bergeser halus saat hover */
#bhPrev:hover svg { transform: translateX(-3px); }
#bhNext:hover svg { transform: translateX(3px); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .highlight-grid, .feed-grid { grid-template-columns: 1fr; }
  .hl-card { height: 350px; }
  .blog-hero { height: 60vh; min-height: 400px; }
  .bh-slide { padding: 0 24px; }
  .blog-hero__controls { right: 24px; bottom: 24px; }
  .cta-box { padding: 56px 24px; }
}