/* ── ALFA COMP PREMIUM PORTAL BLOG & PORTAL EDUKASI DESIGN SYSTEM ── */
:root {
  --blog-red: var(--red, #d42132);
  --blog-red-hover: var(--red-d, #a8192a);
  --blog-red-light: var(--red-06, rgba(212, 33, 50, 0.06));
  --blog-red-glow: rgba(212, 33, 50, 0.12);
  --blog-ink: #111318;
  --blog-dark: #0c0d10;
  --blog-muted: #4b5563;
  --blog-hint: #6b7280;
  --blog-border: #e5e7eb;
  --blog-surface: #f9fafb;
  --blog-white: #fff;
  --blog-shadow-sm: 0 2px 10px rgba(0,0,0,0.03);
  --blog-shadow-md: 0 10px 30px rgba(0,0,0,0.06);
  --blog-shadow-hover: 0 20px 48px rgba(0,0,0,0.12);
  --blog-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --blog-ff: "Plus Jakarta Sans", system-ui, sans-serif;
  --blog-fd: "Outfit", sans-serif;
}

/* ── LAYOUT PORTAL BLOG ── */
.blog-hero-section {
  background: var(--blog-dark);
  color: var(--blog-white);
  padding: 140px 16px 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.blog-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(224, 28, 46, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.blog-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .blog-hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
  }
}

/* ── HERO BLOG CONTENT ── */
.blog-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.blog-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--blog-red);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.blog-hero-tag .dash {
  width: 16px;
  height: 2px;
  background: var(--blog-red);
  display: inline-block;
}
.blog-hero-title {
  font-family: var(--blog-fd);
  font-size: clamp(34px, 5.5vw, 52px);
  font-weight: 900;
  color: var(--blog-white);
  margin-top: 16px;
  line-height: 1.15;
  letter-spacing: -1.2px;
}
.blog-hero-title span {
  color: var(--blog-red);
}
.blog-hero-desc {
  font-size: 15px;
  color: var(--blog-hint);
  line-height: 1.6;
  max-width: 520px;
  margin: 16px 0 32px;
}

/* ── INTEGRATED HERO SEARCH BOX ── */
.blog-hero-search-box {
  display: flex;
  align-items: center;
  background: #16171d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px 4px 4px 16px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--blog-shadow-md);
  transition: var(--blog-transition);
}
.blog-hero-search-box:focus-within {
  border-color: var(--blog-red);
  box-shadow: 0 4px 24px var(--blog-red-glow);
}
.blog-hero-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--blog-white);
  font-family: var(--blog-ff);
  font-size: 13px;
  outline: none;
  padding: 10px 0;
}
.blog-hero-search-box input::placeholder {
  color: var(--blog-muted);
}
.blog-hero-search-btn {
  background: var(--blog-red);
  color: var(--blog-white);
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--blog-ff);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--blog-transition);
}
.blog-hero-search-btn:hover {
  background: var(--blog-red-hover);
}

/* ── STATISTIK BLOG CARD PREMIUM ── */
.blog-stats-card-premium {
  display: none; /* Hidden on mobile for extremely clean and focused UX */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) {
  .blog-stats-card-premium {
    display: block; /* Show only on desktop and large tablets */
  }
}
.blog-stats-card-title {
  font-family: var(--blog-fd);
  font-size: 10px;
  font-weight: 800;
  color: var(--blog-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.blog-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  transition: var(--blog-transition);
}
.blog-stats-row:hover {
  transform: translateX(4px);
}
.blog-stats-label {
  font-size: 13px;
  color: var(--blog-hint);
  font-weight: 500;
  transition: var(--blog-transition);
}
.blog-stats-row:hover .blog-stats-label {
  color: var(--blog-white);
}
.blog-stats-value {
  font-family: var(--blog-fd);
  font-size: 24px;
  font-weight: 800;
  color: var(--blog-white);
  display: inline-flex;
  align-items: center;
}
.blog-stats-value .plus {
  color: var(--blog-red);
  margin-left: 2px;
}
.blog-stats-row-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 12px 0;
}

/* ── LAYOUT ARCHIVE GRIDS ── */
.blog-archive-section {
  padding: 48px 16px 96px;
  background: var(--blog-white);
  min-height: 50vh;
}
.blog-archive-inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* ── TOOLBAR (SEARCH & FILTER) ── */
.blog-toolbar {
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--blog-shadow-sm);
}
@media (min-width: 768px) {
  .blog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.blog-tb-search {
  position: relative;
  flex: 1;
  max-width: 100%;
}
@media (min-width: 768px) {
  .blog-tb-search {
    max-width: 320px;
  }
}
.blog-tb-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blog-hint);
  font-size: 14px;
}
.blog-tb-search input {
  width: 100%;
  padding: 10px 16px 10px 38px;
  border: 1.5px solid var(--blog-border);
  border-radius: 10px;
  font-family: var(--blog-ff);
  font-size: 13px;
  font-weight: 500;
  color: var(--blog-ink);
  outline: none;
  background: #fff;
  transition: var(--blog-transition);
}
.blog-tb-search input:focus {
  border-color: var(--blog-red);
  box-shadow: 0 0 0 4px var(--blog-red-glow);
}

.blog-tb-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .blog-tb-filters {
    justify-content: center;
  }
}
.blog-tb-filters::-webkit-scrollbar {
  display: none;
}
.blog-filter-chip {
  padding: 8px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid var(--blog-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--blog-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--blog-transition);
}
.blog-filter-chip:hover {
  border-color: var(--blog-red);
  color: var(--blog-red);
  background: var(--blog-red-light);
}
.blog-filter-chip.active {
  background: var(--blog-red);
  border-color: var(--blog-red);
  color: #fff;
  box-shadow: 0 4px 12px var(--blog-red-glow);
}

/* ── ARTICLES GRID ── */
.blog-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .blog-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── PREMIUM BLOG CARD ── */
.blog-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--blog-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--blog-transition);
}
.blog-card-link:hover .blog-card {
  transform: translateY(-6px);
  box-shadow: var(--blog-shadow-hover);
  border-color: rgba(224,28,46,0.3);
}
.blog-card-media {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card-link:hover .blog-card-media img {
  transform: scale(1.05);
}
.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff; /* SOLID WHITE FOR HIGHEST READABILITY */
  border: 1.5px solid var(--blog-border);
  color: var(--blog-red);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Lift it off from photo backgrounds */
  transition: var(--blog-transition);
}
/* Dynamic Kategori Card Badge Colors */
.blog-card-badge.badge-red, .badge-hardware { color: #e11d48 !important; border-color: #e11d48 !important; }
.blog-card-badge.badge-blue, .badge-software { color: #0284c7 !important; border-color: #0284c7 !important; }
.blog-card-badge.badge-amber, .badge-tips { color: #d97706 !important; border-color: #d97706 !important; }
.blog-card-badge.badge-teal, .badge-tren { color: #0d9488 !important; border-color: #0d9488 !important; }
.blog-card-badge.badge-purple, .badge-news { color: #7c3aed !important; border-color: #7c3aed !important; }
.blog-card-badge.badge-slate { color: #64748b !important; border-color: #64748b !important; }
.blog-card-badge.badge-green { color: #16a34a !important; border-color: #16a34a !important; }
.blog-card-badge.badge-orange { color: #ea580c !important; border-color: #ea580c !important; }

/* Dynamic Featured Category Colors */
.blog-feat-cat.color-red { color: #e11d48 !important; }
.blog-feat-cat.color-blue { color: #0284c7 !important; }
.blog-feat-cat.color-amber { color: #d97706 !important; }
.blog-feat-cat.color-teal { color: #0d9488 !important; }
.blog-feat-cat.color-purple { color: #7c3aed !important; }
.blog-feat-cat.color-slate { color: #64748b !important; }
.blog-feat-cat.color-green { color: #16a34a !important; }
.blog-feat-cat.color-orange { color: #ea580c !important; }

.blog-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-title {
  font-family: var(--blog-ff);
  font-size: 17px;
  font-weight: 800;
  color: var(--blog-ink);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.blog-card-link:hover .blog-card-title {
  color: var(--blog-red);
}

.blog-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--blog-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.blog-date {
  font-size: 11px;
  color: var(--blog-hint);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-date i {
  font-size: 11px;
  color: var(--blog-hint);
  opacity: 0.8;
}
.blog-read {
  font-size: 11px;
  color: var(--blog-red);
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-read svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}
.blog-card-link:hover .blog-read svg {
  transform: translateX(4px);
}

/* ── PAGINATION CONTROLS ── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}
.blog-pgbtn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--blog-border);
  background: #fff;
  color: var(--blog-muted);
  font-family: var(--blog-ff);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--blog-transition);
}
.blog-pgbtn:hover:not([disabled]) {
  border-color: var(--blog-red);
  color: var(--blog-red);
  background: var(--blog-red-light);
}
.blog-pgbtn.active {
  background: var(--blog-red);
  border-color: var(--blog-red);
  color: #fff;
  box-shadow: 0 4px 10px var(--blog-red-glow);
}
.blog-pgbtn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--blog-surface);
}

/* ── EMPTY STATE ── */
.blog-empty-card {
  text-align: center;
  padding: 64px 16px;
  grid-column: 1 / -1;
  color: var(--blog-hint);
  border: 1.5px dashed var(--blog-border);
  border-radius: 16px;
  background: var(--blog-surface);
}
.blog-empty-card i {
  font-size: 36px;
  color: var(--blog-subtle);
  margin-bottom: 12px;
}
.blog-empty-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--blog-ink);
  margin-bottom: 6px;
}
.blog-empty-card p {
  font-size: 13px;
}

/* ==========================================================================
   DETAIL ARTIKEL PORTAL BLOG (`show.blade.php`) STYLE SHEETS
   ========================================================================== */

/* ── PROGRESS BAR MEMBACA (FLOATING TOP) ── */
.blog-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
}
.blog-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blog-red), var(--blog-red-hover));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 1px 6px var(--blog-red-glow);
  transition: width 0.05s linear;
}

.blog-detail-section {
  padding: 110px 16px 96px;
  background: var(--blog-white);
}
.blog-detail-inner {
  max-width: 820px; /* Slim reading layout optimized for legibility */
  margin: 0 auto;
}

/* ── BREADCRUMBS ── */
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blog-hint);
  margin-bottom: 24px;
}
.blog-breadcrumbs a {
  text-decoration: none;
  color: var(--blog-hint);
  transition: color 0.2s;
}
.blog-breadcrumbs a:hover {
  color: var(--blog-red);
}
.blog-breadcrumbs span.sep {
  opacity: 0.6;
}
.blog-breadcrumbs span.current {
  color: var(--blog-ink);
  font-weight: 700;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 480px) {
  .blog-breadcrumbs span.current {
    max-width: 320px;
  }
}

/* ── HEADER ARTIKEL ── */
.blog-art-header {
  margin-bottom: 32px;
}
.blog-art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-art-badge {
  background: #ffffff;
  border: 1.5px solid rgba(224, 28, 46, 0.25);
  color: var(--blog-red);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--blog-shadow-sm);
  transition: var(--blog-transition);
}
/* Dynamic Kategori Article Detail Badge Colors */
.blog-art-badge.badge-red { color: #e11d48 !important; border-color: #e11d48 !important; }
.blog-art-badge.badge-blue { color: #0284c7 !important; border-color: #0284c7 !important; }
.blog-art-badge.badge-amber { color: #d97706 !important; border-color: #d97706 !important; }
.blog-art-badge.badge-teal { color: #0d9488 !important; border-color: #0d9488 !important; }
.blog-art-badge.badge-purple { color: #7c3aed !important; border-color: #7c3aed !important; }
.blog-art-badge.badge-slate { color: #64748b !important; border-color: #64748b !important; }
.blog-art-badge.badge-green { color: #16a34a !important; border-color: #16a34a !important; }
.blog-art-badge.badge-orange { color: #ea580c !important; border-color: #ea580c !important; }
.blog-art-date-row {
  font-size: 12px;
  color: var(--blog-hint);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.blog-meta-item i {
  color: var(--blog-hint);
  opacity: 0.8;
}
.blog-meta-sep {
  color: var(--blog-border);
  margin: 0 2px;
}
@media (max-width: 576px) {
  .blog-art-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .blog-art-date-row {
    gap: 6px 12px;
  }
  .blog-meta-sep {
    display: none;
  }
}
.blog-art-title {
  font-family: var(--blog-fd);
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 900;
  color: var(--blog-ink);
  line-height: 1.2;
  letter-spacing: -0.6px;
}

/* ── BANNER UTAMA GAMBAR ── */
.blog-art-banner {
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--blog-border);
  box-shadow: var(--blog-shadow-md);
  margin-bottom: 40px;
  background: #f1f5f9;
}
.blog-art-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── TULISAN ARTIKEL (PROSE TYPOGRAPHY) ── */
.blog-art-body {
  font-family: var(--blog-ff);
  font-size: 16px;
  color: var(--blog-muted);
  line-height: 1.8; /* Perfect comfortable reading line-height */
  letter-spacing: -0.1px;
}
.blog-art-body p {
  margin-bottom: 24px;
  color: #374151; /* Dark gray for pleasant reading contrast */
}
.blog-art-body h3 {
  font-family: var(--blog-fd);
  font-size: clamp(20px, 3.5vw, 24px);
  font-weight: 800;
  color: var(--blog-ink);
  margin: 40px 0 16px;
  line-height: 1.3;
}
.blog-art-body h4 {
  font-family: var(--blog-fd);
  font-size: 18px;
  font-weight: 800;
  color: var(--blog-ink);
  margin: 32px 0 12px;
}
.blog-art-body ul, .blog-art-body ol {
  margin-bottom: 28px;
  padding-left: 24px;
}
.blog-art-body ol {
  list-style-type: decimal;
}
.blog-art-body ol ol {
  list-style-type: lower-alpha;
}
.blog-art-body ol ol ol {
  list-style-type: lower-roman;
}
.blog-art-body ul {
  list-style-type: disc;
}
.blog-art-body ul ul {
  list-style-type: circle;
}
.blog-art-body ul ul ul {
  list-style-type: square;
}
.blog-art-body li {
  margin-bottom: 10px;
  color: #374151;
}
.blog-art-body li strong {
  color: var(--blog-ink);
}

/* Blockquote / Kutipan */
.blog-art-body blockquote,
.blog-art-body .blog-quote {
  border-left: 4px solid var(--blog-red) !important;
  background: var(--blog-surface) !important;
  padding: 16px 20px !important;
  border-radius: 0 12px 12px 0 !important;
  margin: 32px 0 !important;
  font-style: italic !important;
  color: var(--blog-ink) !important;
  font-weight: 600 !important;
}
.blog-art-body blockquote p,
.blog-art-body .blog-quote p {
  margin-bottom: 0 !important;
}

/* Code / Kode */
.blog-art-body pre {
  background: var(--blog-surface) !important;
  border: 1px solid var(--blog-border) !important;
  padding: 12px 16px !important;
  border-radius: 8px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  color: var(--blog-ink) !important;
  margin: 20px 0 !important;
  display: block !important;
  overflow-x: auto !important;
  line-height: 1.5 !important;
}
.blog-art-body code {
  font-family: 'JetBrains Mono', monospace !important;
  background: var(--blog-surface) !important;
  border: 1px solid var(--blog-border) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 12.5px !important;
  color: var(--blog-red) !important;
}
.blog-art-body pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-size: inherit !important;
  color: inherit !important;
}

/* Inline Highlights & Tags (Tips Proteksi) */
.blog-art-body strong {
  color: var(--blog-ink);
  font-weight: 700;
}
.blog-art-body .warranty-tag {
  display: block;
  background: var(--blog-red-light);
  border: 1px solid rgba(212, 33, 50, 0.15);
  color: var(--blog-red);
  font-weight: 800;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: left;
}

/* ── AUTO GENERATED TABLE OF CONTENTS (TOC) ── */
.blog-toc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 32px 0;
}
.blog-toc-title {
  font-family: var(--blog-fd);
  font-size: 15px;
  font-weight: 800;
  color: var(--blog-ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-toc-title::before {
  content: "\f0ca"; /* FontAwesome list icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--blog-red);
  font-size: 14px;
}
.blog-toc-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-toc-item {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.blog-toc-item a {
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
  display: inline-flex;
  align-items: flex-start;
  padding: 4px 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.blog-toc-item a .toc-number {
  flex-shrink: 0;
  color: var(--blog-red) !important;
}
.blog-toc-item.toc-h3 a {
  padding-left: 16px;
  font-weight: 500;
  font-size: 13.5px;
}
.blog-toc-item a:hover {
  color: var(--blog-red);
  transform: translateX(4px);
}

/* ── DYNAMIC CALLOUT BOXES ── */
.blog-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 8px;
  margin: 28px 0;
  border: 1px solid transparent;
}
.blog-callout-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.blog-callout-content {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}
.blog-callout-content p {
  margin: 0 !important;
}
.blog-callout-content p + p {
  margin-top: 8px !important;
}

/* Callout Info (Biru) */
.blog-callout.callout-info {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  border-color: #e0f2fe #e0f2fe #e0f2fe #0284c7;
  color: #0369a1;
}
.blog-callout.callout-info .blog-callout-icon {
  color: #0284c7;
}

/* Callout Success / Tips (Hijau) */
.blog-callout.callout-success {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-color: #dcfce7 #dcfce7 #dcfce7 #22c55e;
  color: #15803d;
}
.blog-callout.callout-success .blog-callout-icon {
  color: #22c55e;
}

/* Callout Warning (Kuning) */
.blog-callout.callout-warning {
  background: #fefce8;
  border-left: 4px solid #eab308;
  border-color: #fef3c7 #fef3c7 #fef3c7 #eab308;
  color: #a16207;
}
.blog-callout.callout-warning .blog-callout-icon {
  color: #eab308;
}

/* Callout Danger (Merah) */
.blog-callout.callout-danger {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  border-color: #fee2e2 #fee2e2 #fee2e2 #ef4444;
  color: #b91c1c;
}
.blog-callout.callout-danger .blog-callout-icon {
  color: #ef4444;
}


/* ── KOTAK AKSI (SHARE & BACK) ── */
.blog-art-action-bar {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--blog-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 480px) {
  .blog-art-action-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.blog-art-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--blog-muted);
  transition: color 0.2s;
}
.blog-art-back-btn:hover {
  color: var(--blog-red);
}
.blog-art-back-btn i {
  transition: transform 0.2s ease;
}
.blog-art-back-btn:hover i {
  transform: translateX(-4px);
}

.blog-art-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-art-share span {
  font-size: 12px;
  font-weight: 700;
  color: var(--blog-hint);
}
.blog-share-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
  color: var(--blog-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: var(--blog-transition);
}
.blog-share-icon:hover {
  background: var(--blog-red);
  border-color: var(--blog-red);
  color: #fff;
  transform: translateY(-2px);
}

/* ── REKOMENDASI POS TERKAIT (RELATED POSTS) ── */
.blog-related-section {
  background: var(--blog-surface);
  border-top: 1px solid var(--blog-border);
  padding: 64px 16px;
}
.blog-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.blog-related-head {
  text-align: center;
  margin-bottom: 40px;
}
.blog-related-head h2 {
  font-family: var(--blog-fd);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--blog-ink);
  letter-spacing: -0.5px;
}
.blog-related-head p {
  font-size: 14px;
  color: var(--blog-hint);
  margin-top: 6px;
}

/* ── FEATURED POST LANDSCAPE CARD ── */
.blog-feat-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--blog-white);
  border: 1px solid var(--blog-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--blog-shadow-md);
  margin-bottom: 40px;
  transition: var(--blog-transition);
}
.blog-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--blog-shadow-hover);
  border-color: rgba(224, 28, 46, 0.25);
}
@media (min-width: 768px) {
  .blog-feat-card {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.blog-feat-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--blog-surface);
  height: 100%;
  min-height: 260px;
}
.blog-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-feat-card:hover .blog-feat-media img {
  transform: scale(1.04);
}
.blog-feat-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--blog-red);
  color: var(--blog-white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 12px var(--blog-red-glow);
  z-index: 2;
}
.blog-feat-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .blog-feat-body {
    padding: 40px;
  }
}
.blog-feat-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 11px;
  color: var(--blog-hint);
  font-weight: 700;
}
.blog-feat-cat {
  color: var(--blog-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-feat-title {
  font-family: var(--blog-fd);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
  color: var(--blog-ink);
  line-height: 1.25;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.blog-feat-card:hover .blog-feat-title {
  color: var(--blog-red);
}
.blog-feat-desc {
  font-size: 14px;
  color: var(--blog-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-feat-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blog-ink);
  color: var(--blog-white);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--blog-ff);
  font-size: 14px;
  font-weight: 600;
  transition: var(--blog-transition);
  text-decoration: none;
}
.blog-feat-btn span {
  transition: transform 0.25s ease;
  display: inline-block;
}
.blog-feat-card:hover .blog-feat-btn {
  background: var(--blog-red);
  box-shadow: 0 6px 20px var(--blog-red-glow);
}
.blog-feat-card:hover .blog-feat-btn span {
  transform: translateX(4px);
}

/* ── SECTION TITLE WITH VERTICAL LINE ── */
.blog-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  margin-top: 24px;
}
.blog-vertical-line {
  width: 4px;
  height: 24px;
  background: var(--blog-red);
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.blog-section-title {
  font-family: var(--blog-fd);
  font-size: 22px;
  font-weight: 800;
  color: var(--blog-ink);
  line-height: 1;
  margin: 0;
}

/* ── BOTTOM CTA BANNER ── */
.blog-cta-banner {
  background: var(--blog-ink);
  color: var(--blog-white);
  border-radius: 24px;
  padding: 40px 24px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--blog-shadow-md), 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}
@media (min-width: 768px) {
  .blog-cta-banner {
    padding: 56px 48px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}
.blog-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(224, 28, 46, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.blog-cta-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.blog-cta-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--blog-ff);
  font-size: 10px;
  font-weight: 800;
  color: var(--blog-red);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.blog-cta-title {
  font-family: var(--blog-fd);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.blog-cta-desc {
  font-size: 14px;
  color: var(--blog-hint);
  line-height: 1.6;
}
.blog-cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  width: 100%;
}
@media (min-width: 480px) {
  .blog-cta-actions {
    flex-direction: row;
    justify-content: center;
  }
}
@media (min-width: 768px) {
  .blog-cta-actions {
    margin-top: 0;
    width: auto;
    flex-shrink: 0;
  }
}
.blog-cta-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blog-red); /* BRAND RED BACKGROUND */
  color: var(--blog-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--blog-ff);
  font-size: 14px;
  font-weight: 600;
  transition: var(--blog-transition);
  text-decoration: none;
  box-shadow: 0 4px 14px var(--blog-red-glow);
}
.blog-cta-btn-wa:hover {
  background: var(--blog-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 28, 46, 0.3);
}
.blog-cta-btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--blog-white);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--blog-ff);
  font-size: 14px;
  font-weight: 600;
  transition: var(--blog-transition);
  text-decoration: none;
}
.blog-cta-btn-map:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ── AUTHOR BIO CARD ── */
.blog-author-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 40px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .blog-author-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 28px;
    gap: 24px;
  }
}
.blog-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--blog-red);
  flex-shrink: 0;
  box-shadow: var(--blog-shadow-sm);
}
.blog-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-author-info {
  flex: 1;
}
.blog-author-role {
  font-family: var(--blog-ff);
  font-size: 10px;
  font-weight: 800;
  color: var(--blog-red);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.blog-author-name {
  font-family: var(--blog-fd);
  font-size: 18px;
  font-weight: 800;
  color: var(--blog-ink);
  margin: 0 0 8px;
}
.blog-author-bio {
  font-size: 13px;
  color: var(--blog-muted);
  line-height: 1.6;
  margin: 0;
}
.blog-meta-author {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.blog-meta-author strong {
  color: var(--blog-ink);
}

/* ── INTERACTIVE RATING WIDGET ── */
.blog-rating-widget {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1.5px dashed var(--blog-border);
  border-radius: 16px;
  margin-top: 48px;
}
.blog-rating-title {
  font-family: var(--blog-fd);
  font-size: 22px;
  font-weight: 800;
  color: var(--blog-ink);
  margin: 0 0 6px 0;
}
.blog-rating-subtitle {
  font-size: 13px;
  color: var(--blog-hint);
  margin: 0 0 16px 0;
}
.blog-rating-stars {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
}
.blog-rating-stars .star {
  font-size: 28px;
  color: #e5e7eb; /* Soft gray for outline stars */
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.blog-rating-stars .star:hover {
  transform: scale(1.15);
}
.blog-rating-stars .star.selected {
  color: #fbbf24; /* Gorgeous gold yellow stars */
}
.blog-rating-stars .star.active {
  color: #fbbf24;
}
.blog-rating-stars .star.has-voted {
  cursor: default;
}
.blog-rating-stars .star.has-voted:hover {
  transform: none;
}
.blog-rating-status {
  font-size: 13px;
  color: var(--blog-muted);
  font-weight: 600;
  margin: 0 0 24px 0;
}
.blog-art-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.blog-art-tag-pill {
  background: var(--blog-surface);
  color: var(--blog-muted);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--blog-border);
  transition: var(--blog-transition);
  text-decoration: none;
}
.blog-art-tag-pill:hover {
  border-color: var(--blog-red);
  color: var(--blog-red);
  background: var(--blog-red-light);
}
.blog-rating-user-status {
  margin-top: 6px;
  font-size: 13px;
  color: var(--blog-red);
  font-weight: 700;
  min-height: 20px;
}

/* ── PREMIUM WHITE TOAST OVERRIDES FOR BLOG PAGE ── */
.toast-container {
  position: fixed !important;
  top: 30px !important;
  right: 30px !important;
  z-index: 10000 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
  pointer-events: none !important;
}
.toast {
  pointer-events: auto !important;
  min-width: 320px !important;
  max-width: 420px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 16px 20px !important;
  border-radius: 16px !important;
  color: #111318 !important;
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  transform: translateX(120%) !important;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.toast.show {
  transform: translateX(0) !important;
}
.toast-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.1) !important;
  color: #10b981 !important;
}
.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
}
.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #3b82f6 !important;
}
.toast-msg {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  line-height: 1.4 !important;
}
@media (max-width: 768px) {
  .toast-container {
    top: 20px !important;
    right: 20px !important;
    left: 20px !important;
  }
  .toast {
    min-width: 0 !important;
    width: 100% !important;
  }
}

