/* ============================================================
   EZAAA BLOG — Neo-Tokyo Cyberpunk Design System
   Harmonized with ezaaa.id (Apple Craftsmanship meets Cyberpunk)
   ============================================================ */

:root {
  --bg: #05070a;
  --bg-2: #0a0e14;
  --bg-3: #101620;
  --panel: rgba(16, 22, 31, 0.72);
  --panel-card: rgba(12, 17, 24, 0.88);
  --panel-card-hover: rgba(18, 25, 36, 0.95);
  --line: rgba(105, 240, 174, 0.12);
  --line-strong: rgba(105, 240, 174, 0.38);
  --line-hover: rgba(105, 240, 174, 0.7);
  --txt: #e8f0f7;
  --txt-dim: #8b99a8;
  --txt-muted: #536273;
  --cyan: #69f0ae;
  --cyan-glow: rgba(105, 240, 174, 0.3);
  --amber: #ffa838;
  --amber-glow: rgba(255, 168, 56, 0.35);
  --violet: #8a9bff;
  --danger: #ff5252;
  --font-display: "Chakra Petch", -apple-system, sans-serif;
  --font-body: "Outfit", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(105, 240, 174, 0.2);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(105, 240, 174, 0.07), transparent 70%),
    radial-gradient(circle at 100% 40%, rgba(138, 155, 255, 0.04), transparent 40%),
    radial-gradient(circle at 0% 80%, rgba(255, 168, 56, 0.04), transparent 40%);
  color: var(--txt);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input {
  font: inherit;
}

/* Ambient Cyberpunk Scanlines (Subtle CRT feel) */
.bg-ambient-grid {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(105, 240, 174, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(105, 240, 174, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
   TOP NAVIGATION (Option C Hybrid)
   ============================================================ */
.blog-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--transition), border-color var(--transition);
}

.blog-nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.blog-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  user-select: none;
}

.brand-switch--blog,
.brand-switch--name {
  will-change: color, text-shadow;
}

.brand-switch--blog {
  animation: brandSwitchBlog 7s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.brand-switch--name {
  animation: brandSwitchName 7s infinite cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

@keyframes brandSwitchBlog {

  0%,
  28% {
    color: var(--cyan);
    text-shadow: 0 0 16px rgba(105, 240, 174, 0.45), 0 0 28px rgba(105, 240, 174, 0.2);
  }

  50%,
  78% {
    color: #ffffff;
    text-shadow: 0 0 0px rgba(105, 240, 174, 0), 0 0 0px rgba(105, 240, 174, 0);
  }

  100% {
    color: var(--cyan);
    text-shadow: 0 0 16px rgba(105, 240, 174, 0.45), 0 0 28px rgba(105, 240, 174, 0.2);
  }
}

@keyframes brandSwitchName {

  0%,
  28% {
    color: #ffffff;
    text-shadow: 0 0 0px rgba(105, 240, 174, 0), 0 0 0px rgba(105, 240, 174, 0);
  }

  50%,
  78% {
    color: var(--cyan);
    text-shadow: 0 0 16px rgba(105, 240, 174, 0.45), 0 0 28px rgba(105, 240, 174, 0.2);
  }

  100% {
    color: #ffffff;
    text-shadow: 0 0 0px rgba(105, 240, 174, 0), 0 0 0px rgba(105, 240, 174, 0);
  }
}

/* Category Chips in Navbar */
.blog-nav__chips {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.blog-nav__chips::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--txt-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition);
}

.chip-btn:hover {
  color: var(--txt);
  border-color: var(--line-strong);
  background: rgba(105, 240, 174, 0.06);
}

.chip-btn.active {
  background: rgba(105, 240, 174, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(105, 240, 174, 0.2);
}

/* Search Bar trigger in Navbar */
.blog-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 22, 31, 0.8);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  color: var(--txt-dim);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
}

.search-trigger:hover {
  border-color: var(--cyan);
  color: var(--txt);
  box-shadow: 0 0 16px rgba(105, 240, 174, 0.15);
}

.search-trigger__icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.search-trigger__kbd {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  padding: 0.15rem 0.35rem;
  color: var(--txt-dim);
}

.btn-portfolio {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--cyan);
  background: rgba(105, 240, 174, 0.04);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-portfolio:hover {
  background: rgba(105, 240, 174, 0.15);
  box-shadow: 0 0 20px rgba(105, 240, 174, 0.25);
  transform: translateY(-1px);
}

/* ============================================================
   SPONSORED AD FRAMEWORK (IAB Standard Compliance)
   ============================================================ */
.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px dashed rgba(105, 240, 174, 0.22);
  background: rgba(10, 14, 20, 0.45);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
  contain: layout;
  box-sizing: border-box;
}

.ad-slot:hover {
  border-color: rgba(105, 240, 174, 0.45);
}

.ad-slot__badge {
  position: absolute;
  top: 4px;
  right: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--txt-muted);
  text-transform: uppercase;
  background: rgba(5, 7, 10, 0.85);
  padding: 1px 5px;
  border-radius: 2px;
  z-index: 2;
}

/* 1. Top Leaderboard (728x90 desktop / 320x100 mobile) */
.ad-leaderboard-wrap {
  max-width: 1200px;
  margin: 2.75rem auto 3.25rem;
  /* Jarak lega: 44px dari navbar, 52px ke konten artikel */
  padding: 0 1.5rem;
  contain: layout;
}

/* In-Feed Banner khusus di bawah Highlight Hero (Default Desktop: Tersembunyi) */
.ad-leaderboard-wrap--below-hero {
  display: none !important;
}

.ad-leaderboard {
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  margin: 0 auto;
}

.ad-placeholder-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(90deg, rgba(16, 22, 31, 0.8), rgba(22, 30, 44, 0.8));
  position: relative;
}

/* ============================================================
   NEON AD BLINK ANIMATION ("Nyala-Mati" Eye-Catching Effect)
   ============================================================ */
@keyframes neonAdBlink {

  0%,
  100% {
    color: #ffffff;
    text-shadow:
      0 0 6px var(--cyan),
      0 0 14px var(--cyan),
      0 0 24px rgba(105, 240, 174, 0.9),
      0 0 36px rgba(105, 240, 174, 0.6);
    opacity: 1;
    transform: translateY(0);
  }

  42% {
    color: #ffffff;
    text-shadow:
      0 0 6px var(--cyan),
      0 0 16px var(--cyan),
      0 0 28px rgba(105, 240, 174, 0.95);
    opacity: 1;
    transform: translateY(-1px);
  }

  48% {
    color: rgba(105, 240, 174, 0.25);
    text-shadow: none;
    opacity: 0.2;
    transform: translateY(0);
  }

  54% {
    color: #ffffff;
    text-shadow: 0 0 8px var(--cyan), 0 0 16px var(--cyan);
    opacity: 0.9;
  }

  58% {
    color: rgba(105, 240, 174, 0.2);
    text-shadow: none;
    opacity: 0.15;
  }

  64% {
    color: #ffffff;
    text-shadow:
      0 0 6px var(--cyan),
      0 0 14px var(--cyan),
      0 0 24px rgba(105, 240, 174, 0.9);
    opacity: 1;
  }
}

.ad-copy h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  display: inline-block;
  animation: neonAdBlink 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  will-change: text-shadow, opacity, color;
}

.ad-slot:hover .ad-copy h4,
.ad-box-banner:hover .ad-copy h4 {
  animation-duration: 1.1s;
  text-shadow: 0 0 10px #ffffff, 0 0 20px var(--cyan), 0 0 40px var(--cyan);
}

.ad-copy p {
  font-size: 0.75rem;
  color: var(--txt-dim);
}

.ad-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(105, 240, 174, 0.06);
  white-space: nowrap;
  text-decoration: none;
  transition: all var(--transition);
}

.ad-btn:hover {
  background: var(--cyan);
  color: #05070a;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(105, 240, 174, 0.4);
}

/* Sponsor Banner & AdSense Dynamic Injection Support */
.ad-sponsor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.ad-sponsor-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ad-sponsor-link:hover img {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.ad-adsense-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}


/* In-Article & End-of-Post Mobile/Desktop Ad Units (High RPM Monetization) */
.ad-in-article {
  margin: 3rem auto;
  max-width: 840px;
  width: 100%;
  min-height: 250px;
  contain: layout;
}

.ad-end-post {
  margin: 3rem auto 2.5rem;
  max-width: 840px;
  width: 100%;
  min-height: 90px;
  contain: layout;
}

.ad-box-banner,
.ad-in-article-slot {
  border: 1px dashed rgba(105, 240, 174, 0.28);
  background: rgba(12, 17, 24, 0.88);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition);
  min-height: 250px;
  contain: layout;
  box-sizing: border-box;
}

.ad-box-banner:hover,
.ad-in-article-slot:hover {
  border-color: var(--cyan);
}

.ad-box-banner .ad-copy h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.ad-box-banner .ad-copy p {
  font-size: 0.82rem;
  color: var(--txt-dim);
  line-height: 1.5;
}

/* ============================================================
   PAGE LAYOUT: 3-Column Architecture with Side Ads
   ============================================================ */
.blog-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* Memanjang penuh mengikuti seluruh tinggi artikel */
  max-width: 1740px;
  margin: 0 auto 3.5rem;
  /* Jarak proporsional presisi (56px) dari tombol pagination ke garis footer */
  padding: 0 clamp(1.5rem, 3vw, 3.5rem);
  gap: clamp(3.5rem, 5.5vw, 6.5rem);
  /* Jarak kiri-kanan ekstra lega (56px s.d. 104px) memisahkan ads & artikel */
  position: relative;
}

/* 2. Side Skyscraper Gutters (160x600 sticky) */
.ad-skyscraper-gutter {
  width: 160px;
  flex-shrink: 0;
  display: block;
  /* Visible by default on desktop */
  align-self: stretch;
  /* Memanjang penuh dari atas hingga bawah feed artikel */
  position: relative;
  padding-bottom: 4rem;
  /* Buffer aman 64px: iklan samping berhenti melayang jauh di atas garis footer */
}

.ad-skyscraper-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 6rem;
  /* Jarak lega 96px dari atas viewport (tepat & nyaman di bawah navbar) */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 50;
}

.ad-skyscraper {
  width: 160px;
  height: 600px;
  min-height: 600px;
}

.ad-skyscraper .ad-slot__badge,
.ad-slot__badge--center {
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 10px !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.ad-skyscraper .ad-placeholder-content {
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  padding: 2.75rem 1rem 1.5rem;
}

.ad-skyscraper .ad-copy h4 {
  font-size: 0.95rem;
  margin-top: 1rem;
}

.ad-skyscraper .ad-copy p {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Main Content Column */
.blog-main {
  flex: 1;
  max-width: 1120px;
  min-width: 0;
  /* Prevent flex overflow */
  padding-bottom: 0;
  /* Nol padding bawah agar jarak pagination ke footer diatur presisi oleh margin */
}

/* ============================================================
   FEATURED POST HERO & SLIDESHOW (Mixed: 2 Newest + 3 Trending)
   ============================================================ */
.featured-hero {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 3.5rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.featured-hero:hover {
  border-color: var(--line-hover);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active {
  display: block;
  opacity: 1;
}

/* Slideshow Controls Bar (Placed at Bottom in Footer Actions) */
.hero-slider-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--line-strong);
}

.slider-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  padding: 0 0.4rem;
  user-select: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--txt);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  transition: all var(--transition);
}

.slider-btn:hover {
  background: rgba(105, 240, 174, 0.2);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: scale(1.08);
}

/* Neon Progress Bar Timer (Bottom Edge) */
.slider-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 20;
  overflow: hidden;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.08s linear;
}

.featured-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}

.featured-hero__media {
  position: relative;
  overflow: hidden;
  background: #020406;
  min-height: 300px;
}

.featured-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-hero:hover .featured-hero__media img {
  transform: scale(1.03);
}

.featured-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(12, 17, 24, 0.95) 100%),
    linear-gradient(to top, rgba(12, 17, 24, 0.7) 0%, transparent 50%);
}

.featured-hero__content {
  padding: clamp(1.4rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-wrap: wrap;
}

.tag-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--amber);
  background: rgba(255, 168, 56, 0.12);
  border: 1px solid rgba(255, 168, 56, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-badge--cyan {
  color: var(--cyan);
  background: rgba(105, 240, 174, 0.12);
  border-color: rgba(105, 240, 174, 0.35);
}

.tag-badge--violet {
  color: var(--violet);
  background: rgba(138, 155, 255, 0.12);
  border-color: rgba(138, 155, 255, 0.35);
}

.meta-item {
  color: var(--txt-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.featured-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.85rem;
  transition: color var(--transition);
}

.featured-hero:hover .featured-hero__title {
  color: var(--cyan);
}

.featured-hero__excerpt {
  color: var(--txt-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  object-fit: cover;
}

.author-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--txt);
}

.btn-read {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #05070a;
  background: var(--cyan);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 15px rgba(105, 240, 174, 0.35);
  transition: all var(--transition);
}

.btn-read:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(105, 240, 174, 0.7);
}

/* ============================================================
   SECTION HEAD & FEED FILTER
   ============================================================ */
.section-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.section-no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 400;
}

.post-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--txt-muted);
}

/* ============================================================
   ARTICLE GRID (3-Column Layout)
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.post-card {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--transition),
    box-shadow var(--transition);
  position: relative;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-hover);
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(105, 240, 174, 0.12);
  background: var(--panel-card-hover);
}

.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #06090e;
  overflow: hidden;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05);
}

.post-card__body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.post-card:hover .post-card__title {
  color: var(--cyan);
}

.post-card__excerpt {
  color: var(--txt-dim);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--txt-dim);
}

/* Pagination */
.pagination-wrap {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pagination-btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(105, 240, 174, 0.05);
  transition: all var(--transition);
}

.pagination-btn:hover {
  background: rgba(105, 240, 174, 0.15);
  box-shadow: 0 0 15px rgba(105, 240, 174, 0.25);
}

/* ============================================================
   STRUCTURED FOOTER (Approved Concept: 4 Columns)
   Cleaned: NO Ghost Engine, NO Control Hub
   ============================================================ */
.blog-footer {
  background: #020406;
  border-top: 1px solid var(--cyan);
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 40px -10px rgba(105, 240, 174, 0.15);
}

.blog-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 15px var(--cyan);
}

.footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  /* Jarak proporsional 56px dari garis footer ke Topik & Riset */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--cyan);
}

.footer-bio {
  color: var(--txt-dim);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 1rem 0 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--txt-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

/* Newsletter Card (100% Free Subscribe) */
.newsletter-card {
  background: rgba(16, 22, 31, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.free-badge {
  display: block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(105, 240, 174, 0.15);
  border: 1px solid var(--cyan);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  letter-spacing: 0.08em;
}

.newsletter-card h4 {
  display: block !important;
  width: 100%;
  margin-bottom: 0.75rem;
}

.newsletter-card h4::after {
  display: none !important;
}

.newsletter-card p {
  font-size: 0.82rem;
  color: var(--txt-dim);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: rgba(5, 7, 10, 0.8);
  border: 1px solid var(--line);
  color: var(--txt);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(105, 240, 174, 0.2);
}

.newsletter-submit {
  background: var(--cyan);
  color: #05070a;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}

.newsletter-submit:hover {
  background: #fff;
  box-shadow: 0 0 15px rgba(105, 240, 174, 0.5);
}

.newsletter-note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-muted);
  margin-top: 0.65rem;
  display: block;
}

/* Footer Bottom Strip */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--txt-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  color: var(--txt-dim);
  font-size: 0.95rem;
  transition: color var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

.geo-tag {
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ============================================================
   ACCURATE SEARCH MODAL (Triggered by Ctrl+K)
   ============================================================ */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 10vh, 6rem) 1.5rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.search-dialog {
  width: 100%;
  max-width: 680px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(105, 240, 174, 0.2);
  overflow: hidden;
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal.active .search-dialog {
  transform: scale(1) translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  gap: 0.85rem;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  font-family: var(--font-body);
}

.search-input::placeholder {
  color: var(--txt-muted);
}

.search-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--txt-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
}

.search-results {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem;
}

.search-result-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: background var(--transition);
}

.search-result-item:hover,
.search-result-item.selected {
  background: rgba(105, 240, 174, 0.08);
}

.search-result-item h5 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #fff;
}

.search-result-item:hover h5 {
  color: var(--cyan);
}

.search-result-item p {
  font-size: 0.78rem;
  color: var(--txt-dim);
}

.search-result-item .search-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
}

.search-footer {
  padding: 0.65rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 7, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-muted);
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
/* Mobile & Portrait Tablets: Auto-hide Side Skyscraper Ads & Adapt Ads for Mobile Revenue */
@media (max-width: 1024px) {
  .ad-skyscraper-gutter,
  .ad-skyscraper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }

  /* Di Mobile: Iklan atas TETAP TAMPIL responsif agar tidak kehilangan pendapatan sponsor/AdSense */
  .ad-leaderboard-wrap--top {
    display: block !important;
    margin: 1.25rem auto 2rem;
    padding: 0 1rem;
    width: 100%;
    min-height: 100px;
  }

  .ad-leaderboard {
    max-width: 100%;
    min-height: 100px;
  }

  /* In-Article & End-Post mobile responsive adjustments */
  .ad-in-article {
    margin: 2rem auto;
    padding: 0 1rem;
    min-height: 250px;
  }

  .ad-box-banner,
  .ad-in-article-slot {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    min-height: 250px;
  }

  .ad-end-post {
    margin: 2.5rem auto 2rem;
    padding: 0 1rem;
    min-height: 120px;
  }

  .ad-end-post .ad-leaderboard {
    min-height: 120px;
  }

  /* Di Mobile: Tampilkan iklan tepat di bawah Highlight Hero */
  .ad-leaderboard-wrap--below-hero {
    display: block !important;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
    width: 100%;
    min-height: 100px;
  }

  .featured-hero {
    margin-bottom: 2rem;
  }
}

/* Laptops & Compact Desktops (1025px to 1360px): Balanced gutters with generous breathing room */
@media (min-width: 1025px) and (max-width: 1360px) {

  .ad-skyscraper-gutter,
  .ad-skyscraper {
    width: 140px;
  }

  .blog-layout {
    gap: 3rem;
    /* Jarak ekstra lega 48px antara ads dan artikel di layar laptop */
    padding: 0 1.25rem;
    margin-bottom: 3.5rem;
    /* Jarak proporsional 56px ke garis footer di laptop */
  }

  .ad-skyscraper-gutter {
    padding-bottom: 4rem;
    /* Buffer aman 64px di bawah agar tidak menempel garis footer */
  }
}

@media (max-width: 1100px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-hero__grid {
    grid-template-columns: 1fr;
  }

  .featured-hero__media {
    aspect-ratio: 16 / 9;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile viewports */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .blog-nav {
    padding: 0.65rem 1rem;
    gap: 0.75rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .blog-nav__chips {
    display: none;
    /* Can be opened via mobile menu or category drawer */
  }

  .search-trigger__kbd {
    display: none !important;
  }

  .btn-portfolio {
    display: none !important;
  }

  .search-trigger {
    padding: 0.38rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }

  .blog-layout {
    padding: 0 1rem;
    gap: 0;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 2.25rem 1rem 2rem;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }

  .footer-bio {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .newsletter-card {
    padding: 1.25rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.6rem;
  }

  .newsletter-submit {
    width: 100%;
    padding: 0.65rem 1rem;
  }

  .kg-width-wide,
  .kg-width-full {
    width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ad-leaderboard-wrap {
    margin: 1.25rem auto 1.75rem;
    padding: 0 1rem;
  }

  .ad-leaderboard {
    height: auto;
    min-height: 90px;
  }

  .ad-placeholder-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }

  .ad-box-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
    gap: 1rem;
  }

  .ad-box-banner .ad-btn,
  .ad-btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem 1rem;
    min-height: 44px;
    /* Touch-friendly tap target for smartphones */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .featured-hero__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .featured-hero__actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* Keyframes */
@keyframes cyberPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px var(--cyan);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.85);
    box-shadow: 0 0 4px var(--cyan);
  }
}

/* ============================================================
   SINGLE ARTICLE / POST READING PAGE (Concept 04: Zen Dark-Tech)
   ============================================================ */
.post-single {
  max-width: 840px;
  margin: 1.5rem auto 4rem;
  width: 100%;
}

.post-breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  display: inline-block;
  opacity: 0.9;
}

.post-breadcrumbs a {
  color: var(--txt-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.post-breadcrumbs a:hover {
  color: var(--cyan);
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}

.post-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--txt-dim);
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.post-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--txt-dim);
  margin-bottom: 2.5rem;
}

.post-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.post-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cyan);
  color: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid var(--cyan);
}

.post-share-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.post-share-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--txt);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  text-decoration: none;
}

.post-share-btn:hover {
  background: rgba(105, 240, 174, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

.post-cover-media {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.post-cover-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-cover-caption {
  background: #080c12;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--txt-muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

/* Core Reading Content Typography */
.post-content {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #dfe7ef;
  margin-bottom: 4rem;
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 3.25rem 0 1.25rem;
  scroll-margin-top: 100px;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.post-content h2::before {
  content: "//";
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 1.2rem;
}

.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cyan);
  margin: 2.25rem 0 1rem;
  scroll-margin-top: 100px;
}

.post-content p {
  margin-bottom: 1.75rem;
}

/* Teks artikel rata kanan-kiri (justified) di semua ukuran layar (desktop & mobile). */
.post-content p,
.post-content li {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0 2rem;
  padding-left: 1.75rem;
  color: var(--txt-dim);
}

.post-content li {
  margin-bottom: 0.65rem;
}

.post-content a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.post-content a:hover {
  color: #fff;
}

/* Terminal Code Block */
.terminal-code {
  background: #06090e;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2.25rem 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.terminal-bar {
  background: rgba(16, 22, 31, 0.9);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--txt-dim);
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red {
  background: #ff5f56;
}

.dot-yellow {
  background: #ffbd2e;
}

.dot-green {
  background: var(--cyan);
}

.copy-btn {
  background: rgba(105, 240, 174, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--cyan);
  color: #05070a;
  font-weight: 600;
}

.terminal-code pre {
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.75;
  color: #e8f0f7;
}

.tok-kw {
  color: #ff7b72;
  font-weight: 600;
}

.tok-type {
  color: #79c0ff;
}

.tok-func {
  color: #d2a8ff;
}

.tok-num {
  color: var(--cyan);
}

.tok-com {
  color: #6e7681;
  font-style: italic;
}

/* Callout Alerts */
.callout-box {
  background: rgba(16, 22, 31, 0.7);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2.25rem 0;
  position: relative;
}

.callout-box.warning {
  border-left-color: var(--amber);
  background: rgba(30, 22, 14, 0.65);
}

.callout-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-box.warning .callout-title {
  color: var(--amber);
}

/* Blockquote */
.article-quote {
  border-left: 2px solid var(--violet);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: rgba(138, 155, 255, 0.04);
  font-style: italic;
  color: #d1d8e0;
  font-size: 1.18rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Author Bio Card */
.author-card {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 4rem 0 2.5rem;
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.author-card-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--cyan);
  color: #05070a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(105, 240, 174, 0.3);
}

.author-card-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.author-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.25rem;
  text-align: left;
}

.author-card-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  margin-bottom: 0.6rem;
  text-align: left;
}

.author-card-bio {
  font-size: 0.9rem;
  color: var(--txt-dim);
  line-height: 1.65;
  text-align: justify;
}

.author-card-links {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.author-card-link {
  text-decoration: none;
  transition: color var(--speed-fast);
}

.author-card-link--portfolio {
  color: var(--cyan);
}
.author-card-link--portfolio:hover {
  color: #fff;
}

.author-card-link--linkhub {
  color: var(--mint);
}
.author-card-link--linkhub:hover {
  color: #fff;
}

/* Post Navigation (Next/Prev) */
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0 4rem;
}

.post-nav-card {
  background: var(--panel-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-nav-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.post-nav-direction {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.post-nav-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* Floating Action HUD */
.floating-action-hud {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 14, 20, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  z-index: 500;
}

.floating-action-hud button {
  background: transparent;
  border: none;
  color: var(--txt-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.floating-action-hud button:hover {
  color: var(--cyan);
}

@media (max-width: 768px) {
  .author-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1.1rem;
    row-gap: 0.2rem;
    align-items: center;
    padding: 1.5rem 1.25rem;
    margin: 2.75rem 0 2rem;
    text-align: left;
  }

  .author-card-avatar {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
    font-size: 1.25rem;
  }

  .author-card-info {
    display: contents;
  }

  .author-card-info h4 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.25;
    text-align: left;
  }

  .author-card-role {
    grid-column: 2;
    grid-row: 2;
    margin: 0.15rem 0 0;
    font-size: 0.72rem;
    text-align: left;
  }

  .author-card-bio {
    grid-column: 1 / span 2;
    margin: 0.9rem 0 0.5rem;
    font-size: 0.88rem;
    line-height: 1.65;
    text-align: justify;
    color: var(--txt-dim);
  }

  .author-card-links {
    grid-column: 1 / span 2;
    margin-top: 0.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: left;
  }

  .post-nav-grid {
    grid-template-columns: 1fr;
  }

  .post-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-action-hud {
    width: 90%;
    justify-content: space-around;
  }
}

/* ============================================================
   GHOST KOENIG EDITOR SYSTEM CLASSES (Required by Ghost GScan)
   ============================================================ */
.kg-width-wide {
  position: relative;
  width: 85vw;
  min-width: 100%;
  margin-left: calc(50% - 42.5vw);
  margin-right: calc(50% - 42.5vw);
  transform: translateX(0);
}

.kg-width-full {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.kg-width-full img,
.kg-width-wide img {
  max-width: 100%;
  height: auto;
}

/* ============================================================
   DYNAMIC SUB-TOPICS RAIL (Navbar Expansion)
   ============================================================ */
.blog-subnav-wrap {
  width: 100%;
  background: rgba(8, 12, 18, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: slideDownSubnav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownSubnav {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-subnav-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.blog-subnav-inner::-webkit-scrollbar {
  display: none;
}

.blog-subnav-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-subnav-chips {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.sub-chip-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--txt-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition);
}

.sub-chip-btn:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.sub-chip-btn.active {
  background: rgba(105, 240, 174, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 10px rgba(105, 240, 174, 0.25);
}

/* ============================================================
   CYBERPUNK TAG HUB & SEMANTIC BREADCRUMBS
   ============================================================ */
.tag-hub-wrapper {
  max-width: 1200px;
  margin: 1.5rem auto 2.5rem;
  width: 100%;
}

.tag-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--txt-muted);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.crumb-link {
  color: var(--txt-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.crumb-link:hover {
  color: var(--cyan);
}

.crumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.crumb-current {
  color: var(--cyan);
  font-weight: 600;
}

.tag-hub-header {
  background: linear-gradient(135deg, rgba(16, 22, 31, 0.85) 0%, rgba(10, 14, 20, 0.92) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.tag-hub-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent 60%);
}

.tag-hub-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tag-hub-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.tag-hub-slug {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tag-hub-visual-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.tag-hub-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tag-hub-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0;
}

.tag-hash {
  color: var(--cyan);
  margin-right: 2px;
}

.tag-hub-count-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--txt);
  background: rgba(105, 240, 174, 0.08);
  border: 1px solid rgba(105, 240, 174, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tag-hub-desc {
  color: var(--txt-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 1.25rem;
}

.tag-hub-subtopics {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.tag-hub-subtopics-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--txt-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.tag-hub-subtopics-list {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag-hub-actions {
  margin-top: 1.25rem;
}

.tag-hub-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--txt-dim);
  text-decoration: none;
  transition: color var(--transition);
}

.tag-hub-back-btn:hover {
  color: var(--cyan);
}

.tag-hub-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1.5rem;
  background: rgba(16, 22, 31, 0.4);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.tag-hub-empty__code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.tag-hub-empty__msg {
  color: var(--txt-dim);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Kotak buatan redaksi otomatis (hub): Kesimpulan (bawah) & Sumber — 2026-10-27 */
.post-content .ez-kesimpulan {
  margin: 3.5rem 0 2rem;
  padding: 1.3rem 1.6rem 1.25rem;
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.045);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.post-content .ez-kesimpulan__label,
.post-content .ez-poin__label,
.post-content .ez-sumber__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
  font-weight: 600;
}
.post-content .ez-kesimpulan p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #dfe7ef;
  text-align: justify;
}
.post-content .ez-kesimpulan ul { margin: 0; padding-left: 1.15rem; }
.post-content .ez-kesimpulan li { margin: 0.4rem 0; font-size: 1rem; line-height: 1.6; text-align: justify; }

/* Kotak Poin Kunci lama disembunyikan total di semua artikel (lama & baru) */
.post-content .ez-poin {
  display: none !important;
}
.post-content .ez-sumber {
  margin-top: 3rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.post-content .ez-sumber ol { margin: 0; padding-left: 1.25rem; font-size: 0.95rem; }
.post-content .ez-sumber li { margin: 0.3rem 0; text-align: left; }
.post-content .ez-review-note ul { margin: 0.6rem 0 0; }

/* Tabel di artikel (dibuat Producer): bergaris, lega, dan responsif */
.post-content .ez-table-wrap {
  margin: 3.25rem 0 2.75rem;
  width: 100%;
}
.post-content .ez-table-wrap__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.02em;
}
.post-content .ez-table-wrap__title span.ez-table-tag {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.65;
  border-radius: 8px;
}
.post-content .ez-table-wrap table {
  margin-top: 0;
}
.post-content h3 + table {
  margin-top: 1.5rem;
}
.post-content th,
.post-content td {
  padding: 0.95rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}
.post-content thead th {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid rgba(0, 229, 255, 0.3);
}
.post-content tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
.post-content tbody tr:hover td { background: rgba(0, 229, 255, 0.025); }
.post-content tbody td:first-child { color: #fff; font-weight: 500; white-space: nowrap; }
