/* JHiDeX Blog Archive — Sama persis layout jhidex.net/blog
   1 Hero H1/subtitle → 1 Big Featured Card full width → 2 COL GRID posts.
   Lang: ID (Indonesia)
*/
.blog-hero { padding: 3rem 0 2rem; }
.blog-hero-card {
  position: relative; overflow: hidden; border-radius: 18px;
  background: linear-gradient(160deg, rgba(124,92,255,0.22), rgba(255,77,157,0.18) 60%, rgba(18,15,50,1));
  border: 1px solid rgba(124,92,255,0.25);
  padding: 3rem 2rem 2.5rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.blog-hero-card::before, .blog-hero-card::after {
  content:''; position:absolute; border-radius:50%; filter: blur(70px); opacity:0.75; pointer-events:none;
}
.blog-hero-card::before { width: 380px; height: 380px; background: #7c5cff; top: -180px; right: -80px; }
.blog-hero-card::after  { width: 300px; height: 300px; background: #ff4d9d; bottom: -150px; left: -60px; }
.blog-hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900;
  margin: 0 0 0.6rem; color: #fff; letter-spacing: -0.02em;
}
.blog-hero .subtitle {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem); color: #c5beea; line-height: 1.6;
}

/* Big Featured (1st post - full width, unique) */
.blog-featured {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem; margin: 1.75rem 0 2.5rem;
  background: rgba(24,20,60, 0.78);
  border: 1px solid rgba(124,92,255,0.22);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.blog-featured:hover {
  transform: translateY(-2px);
  border-color: rgba(255,77,157,0.45);
  box-shadow: 0 22px 55px rgba(124,92,255,0.2);
}
.blog-featured-img {
  position: relative; min-height: 360px; overflow: hidden;
  background: linear-gradient(135deg, #2a2066 0%, #1a1440 100%);
}
.blog-featured-img svg, .blog-featured-img img {
  width: 100%; height: 100%; object-fit: cover; display:block;
}
.blog-featured-body { padding: 2.2rem 2.2rem 2.2rem 0; display:flex; flex-direction: column; justify-content:center; }
.blog-chip-cat {
  display: inline-flex; align-items:center; gap: 0.3rem;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: rgba(255, 201, 77, 0.14); color: #ffc94d;
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.02em;
  border: 1px solid rgba(255, 201, 77, 0.28);
  width: fit-content; margin-bottom: 1rem;
}
.blog-featured-body h2 {
  margin: 0 0 0.9rem; font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900; line-height: 1.15; color: #fff;
  letter-spacing: -0.02em;
}
.blog-featured-body h2 a { color: inherit; text-decoration: none; transition: color .2s; }
.blog-featured-body h2 a:hover { color: #ff4d9d; }
.blog-featured-body .excerpt {
  color: #b8b1dd; line-height: 1.7; font-size: 0.99rem;
  margin: 0 0 1.4rem;
}
.blog-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem;
  color: #8d86b3; font-size: 0.84rem;
}
.blog-meta-row .avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: linear-gradient(135deg, #7c5cff, #ff4d9d);
  color: #fff; font-weight: 800; font-size: 0.78rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(124,92,255,0.2);
}
.blog-meta-row .author { color: #e7e2ff; font-weight: 600; display:inline-flex; align-items:center; gap:0.45rem; }
.blog-meta-row .divider { opacity:0.35; }
.blog-meta-row .chip {
  padding: 0.18rem 0.55rem; border-radius: 6px;
  background: rgba(124,92,255,0.15); color: #c3b8ff;
  font-weight: 600; font-size: 0.78rem;
}
.blog-readmore {
  margin-top: 1.5rem; color: #ff4d9d; font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
  text-decoration: none;
}
.blog-readmore:hover { gap: 0.6rem; }

/* GRID 2 COLUMNS (20 posts = 2 - 21) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0 0 4rem;
}
.blog-card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(24,20,60, 0.72);
  border: 1px solid rgba(124,92,255,0.18);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,92,255,0.4);
  box-shadow: 0 18px 42px rgba(124,92,255,0.15);
}
.blog-card-img {
  position: relative; width: 100%; aspect-ratio: 16/9; overflow:hidden;
  background: linear-gradient(135deg, #201a4e, #17123a);
  display: block;
}
.blog-card-img svg, .blog-card-img img { width:100%; height:100%; object-fit: cover; display:block; }
.blog-card-body { padding: 1.2rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex:1; gap:0.7rem; }
.blog-card-body h3 {
  margin: 0; font-size: 1.08rem; font-weight: 800; line-height: 1.32; color: #fff;
  letter-spacing: -0.01em;
}
.blog-card-body h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.blog-card-body h3 a:hover { color: #ff4d9d; }
.blog-card-excerpt {
  color: #a69fcd; line-height: 1.6; font-size: 0.88rem;
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-body .blog-meta-row { margin-top: auto; padding-top: 0.2rem; border-top: 1px dashed rgba(124,92,255,0.16); }
.blog-card .blog-chip-cat { margin: 0; font-size: 0.72rem; padding: 0.2rem 0.6rem; }

/* Responsive */
@media (max-width: 980px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 260px; }
  .blog-featured-body { padding: 1.5rem 1.5rem 1.75rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .blog-hero-card { padding: 2.2rem 1.25rem 2rem; }
}
@media (max-width: 640px) {
  .blog-hero { padding-top: 1.75rem; }
  .blog-featured-img { min-height: 220px; }
  .blog-featured { margin-bottom: 2rem; }
  .blog-card-body h3 { font-size: 1.02rem; }
}
