
/* Navbar style kategori berita */
.menu-news .nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  color: #222 !important;
  margin: 0 8px;
  padding: 10px 5px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.menu-news .nav-link:hover,
.menu-news .nav-link.active {
  color: #0066cc !important;
  border-bottom: 3px solid #0066cc;
}



/* Wrapper Artikel */
.w3l-homeblock3 {
  background: #f8f9fa; /* background section lebih soft */
}

/* Card artikel */
.top-pic1,
.top-pic2,
.top-pic3 {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  background: url("https://source.unsplash.com/600x400/?technology") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  aspect-ratio: 4 / 3; /* Biar proporsional, semua kotak sama */
}

.top-pic2 {
  background: url("https://source.unsplash.com/600x400/?business") center/cover no-repeat;
}
.top-pic3 {
  background: url("https://source.unsplash.com/600x400/?finance,investment") center/cover no-repeat;
}

/* Overlay agar teks terbaca */
.top-pic1::before,
.top-pic2::before,
.top-pic3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2));
}

/* Konten dalam card */
.blog-details {
  position: relative;
  color: #fff;
  padding: 20px;
  z-index: 2;
  width: 100%;
}

/* Meta kategori */
.blog-details .meta-value {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 12px;
  font-size: 0.85rem;
  border-radius: 20px;
  margin-bottom: 8px;
}

/* Judul Artikel */
.blog-details .blog-desc {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 6px 0 10px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.blog-details .blog-desc:hover {
  color: #ffc107;
}

/* Deskripsi */
.blog-details p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.55); /* overlay khusus di belakang teks */
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  transition: background 0.3s ease;
}
.blog-details:hover p {
  background: rgba(0, 0, 0, 0.75); /* lebih pekat saat hover */
}

/* Tombol */
.blog-details .btn {
  background: #ff5722;
  border: none;
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.blog-details .btn:hover {
  background: #e64a19;
}