/* ==========================================================================
   BLOG.CSS — MBGPLG.COM Public Blog & Nutrition Education Center
   Modern Typography: Plus Jakarta Sans & Inter
   Responsive, Proportional, Justified Text & Mobile-Optimized Layout
   ========================================================================== */

:root {
  --blog-navy: #0f172a;
  --blog-navy-light: #1e293b;
  --blog-green: #059669;
  --blog-green-hover: #047857;
  --blog-green-light: #d1fae5;
  --blog-blue: #0284c7;
  --blog-blue-light: #e0f2fe;
  --blog-purple: #9333ea;
  --blog-purple-light: #f3e8ff;
  --blog-amber: #d97706;
  --blog-amber-light: #fef3c7;
  --blog-border: #e2e8f0;
  --blog-bg-light: #f8fafc;
  --blog-card-bg: #ffffff;

  --font-blog-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-blog-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 35px rgba(15, 23, 42, 0.12);
}

/* ─── BASE STYLING ─── */
.blog-page-body {
  font-family: var(--font-blog-body);
  background: var(--blog-bg-light);
  color: #334155;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-h, 72px) + 2rem) 1.25rem 3.5rem;
  box-sizing: border-box;
}

/* ══════════════════════════════════════════════════════════════════════════
   1. HERO FEATURED ARTICLE BANNER
   ══════════════════════════════════════════════════════════════════════════ */
.blog-hero-section {
  padding: 0 0 1.5rem;
}

.featured-article-card {
  background: #ffffff;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.featured-article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.featured-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: #0f172a;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.featured-article-card:hover .featured-img-wrap img {
  transform: scale(1.04);
}
.featured-badge-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: #059669;
  color: #ffffff;
  font-family: var(--font-blog-head);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  letter-spacing: 0.3px;
  z-index: 2;
}

.featured-content-wrap {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.article-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.featured-meta-cat {
  background: var(--blog-blue-light);
  color: var(--blog-blue);
  font-family: var(--font-blog-head);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
  display: inline-block;
}

.featured-title {
  font-family: var(--font-blog-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blog-navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}
.featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.featured-title a:hover {
  color: var(--blog-green);
}

.featured-excerpt {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.35rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.featured-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 150, 105, 0.2);
  flex-shrink: 0;
}
.author-info h5 {
  font-family: var(--font-blog-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blog-navy);
  margin: 0;
  line-height: 1.25;
}
.author-info span {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.2;
}

.featured-btn-read {
  background: #059669;
  border: 1px solid #059669;
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}
.featured-btn-read:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* ══════════════════════════════════════════════════════════════════════════
   2. CATEGORY PILLS & SEARCH TOOLBAR
   ══════════════════════════════════════════════════════════════════════════ */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0 1.75rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-category-pills {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.blog-category-pills::-webkit-scrollbar { display: none; }

.blog-pill-btn {
  background: #ffffff;
  border: 1px solid var(--blog-border);
  font-family: var(--font-blog-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.blog-pill-btn:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}
.blog-pill-btn.active {
  background: var(--blog-navy);
  color: #ffffff;
  border-color: var(--blog-navy);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.blog-search-box {
  position: relative;
  min-width: 260px;
}
.blog-search-input {
  width: 100%;
  font-family: var(--font-blog-body);
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem 0.6rem 2.3rem;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-full);
  background: #ffffff;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}
.blog-search-input:focus {
  border-color: var(--blog-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}
.blog-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   3. ARTICLE GRID
   ══════════════════════════════════════════════════════════════════════════ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.article-card-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #1e293b;
}
.article-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.article-card:hover .article-card-thumb img {
  transform: scale(1.05);
}

.article-category-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-blog-head);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.article-card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.article-card-meta {
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.article-card-title {
  font-family: var(--font-blog-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--blog-navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}
.article-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.article-card-title a:hover {
  color: var(--blog-green);
}

.article-card-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
}

.read-more-link {
  font-family: var(--font-blog-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--blog-green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s ease;
}
.read-more-link:hover {
  gap: 0.5rem;
  color: var(--blog-green-hover);
}

/* ══════════════════════════════════════════════════════════════════════════
   4. ARTICLE DETAIL PAGE STYLING
   ══════════════════════════════════════════════════════════════════════════ */
.article-detail-wrap {
  max-width: 840px;
  margin: 1.5rem auto 3.5rem;
  background: #ffffff;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

/* Breadcrumb */
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.blog-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}
.blog-breadcrumbs a:hover { color: var(--blog-green); }

.detail-header-badge {
  display: inline-block;
  background: #d1fae5;
  color: #059669;
  font-family: var(--font-blog-head);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.detail-article-title {
  font-family: var(--font-blog-head);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--blog-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.detail-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--blog-border);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.detail-hero-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--blog-border);
}
.detail-hero-img-box img {
  width: 100%;
  height: auto;
  display: block;
}
.img-caption {
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

/* Key Takeaways Box */
.takeaways-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #059669;
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}
.takeaways-box h4 {
  font-family: var(--font-blog-head);
  font-size: 0.98rem;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.takeaways-box ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: #166534;
}
.takeaways-box li {
  margin-bottom: 0.35rem;
  text-align: justify;
  text-justify: inter-word;
}

/* Article Body Typography — Rata Kiri Kanan */
.article-rich-content {
  font-size: 1.02rem;
  line-height: 1.82;
  color: #334155;
}
.article-rich-content h2 {
  font-family: var(--font-blog-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blog-navy);
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.article-rich-content h3 {
  font-family: var(--font-blog-head);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--blog-navy);
  margin: 1.6rem 0 0.65rem;
  line-height: 1.4;
}
.article-rich-content p {
  margin-bottom: 1.35rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.article-rich-content ul,
.article-rich-content ol {
  margin-bottom: 1.35rem;
  padding-left: 1.35rem;
}
.article-rich-content li {
  margin-bottom: 0.4rem;
  text-align: justify;
  text-justify: inter-word;
}

/* Nutrition Matrix Table */
.nutrition-table-box {
  margin: 2rem 0;
  overflow-x: auto;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.nutrition-table th {
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-family: var(--font-blog-head);
  color: var(--blog-navy);
  border-bottom: 1px solid var(--blog-border);
  text-align: left;
}
.nutrition-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}

/* Quote Callout */
.quote-callout {
  border-left: 4px solid var(--blog-blue);
  background: #f0f9ff;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #0369a1;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
}

/* Author Profile Card */
.author-profile-card {
  background: #f8fafc;
  border: 1px solid var(--blog-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.75rem 0 1.75rem;
}
.author-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  font-weight: 900;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-sm);
}
.author-bio-info h4 {
  font-family: var(--font-blog-head);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--blog-navy);
  margin-bottom: 0.25rem;
}
.author-bio-info p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}

/* Social Share Bar */
.social-share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  border-top: 1px solid var(--blog-border);
  border-bottom: 1px solid var(--blog-border);
  margin-top: 1.75rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.social-share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-blog-head);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-share-wa { background: #25d366; color: #ffffff; }
.btn-share-wa:hover { background: #1ebc59; }
.btn-share-fb { background: #1877f2; color: #ffffff; }
.btn-share-fb:hover { background: #1464cc; }
.btn-share-x  { background: #0f172a; color: #ffffff; }
.btn-share-x:hover  { background: #1e293b; }
.btn-share-copy { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.btn-share-copy:hover { background: #e2e8f0; }

/* ══════════════════════════════════════════════════════════════════════════
   4.5. BLOG PAGINATION
   ══════════════════════════════════════════════════════════════════════════ */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.5rem 0 3.75rem; /* Generous breathing room before newsletter */
  padding: 0.5rem 0;
}
.blog-pagination .page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-family: var(--font-blog-head);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.blog-pagination .page-btn:hover {
  border-color: #059669;
  color: #059669;
  background: #f0fdf4;
  transform: translateY(-1px);
}
.blog-pagination .page-btn.active {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(5, 150, 105, 0.3);
}

/* ══════════════════════════════════════════════════════════════════════════
   5. NEWSLETTER CARD
   ══════════════════════════════════════════════════════════════════════════ */
.newsletter-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 3.25rem 2.5rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.newsletter-card h3,
.newsletter-card .newsletter-title {
  font-family: var(--font-blog-head) !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #ffffff !important; /* Pure high-contrast white text */
  margin-bottom: 0.65rem !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}
.newsletter-card p,
.newsletter-card .newsletter-desc {
  font-size: 0.92rem !important;
  color: #cbd5e1 !important; /* Crisp readable light slate */
  max-width: 520px !important;
  margin: 0 auto 1.5rem !important;
  line-height: 1.65 !important;
  text-align: center !important;
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0.5rem;
}
.newsletter-input {
  flex: 1;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-family: var(--font-blog-body);
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
}
.newsletter-input:focus {
  border-color: #10b981;
}
.btn-newsletter {
  background: #059669;
  color: #ffffff;
  font-family: var(--font-blog-head);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.btn-newsletter:hover {
  background: #047857;
}

/* ══════════════════════════════════════════════════════════════════════════
   6. BACK CTA BUTTONS (TOP & BOTTOM)
   ══════════════════════════════════════════════════════════════════════════ */
.article-top-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-blog-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  color: #0A2540;
  font-family: var(--font-blog-head);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.btn-blog-back-pill:hover {
  background: #0A2540;
  color: #FFFFFF;
  border-color: #0A2540;
  transform: translateX(-3px);
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.15);
}

.article-bottom-cta-box {
  margin: 2.75rem 0 1.75rem;
  padding: 1.5rem 1.75rem;
  background: #F8FAFC;
  border-radius: var(--radius-lg);
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-blog-back-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  background: #0A2540;
  color: #FFFFFF;
  font-family: var(--font-blog-head);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.12);
}
.btn-blog-back-cta:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.25);
}

.btn-blog-all-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 1.35rem;
  border-radius: 10px;
  background: #FFFFFF;
  color: #059669;
  border: 1.5px solid #059669;
  font-family: var(--font-blog-head);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-blog-all-cta:hover {
  background: #ECFDF5;
  transform: translateY(-2px);
}

.cta-note {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   7. RELATED ARTICLES (ARTIKEL LAINNYA)
   ══════════════════════════════════════════════════════════════════════════ */
.related-articles-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--blog-border);
}
.related-articles-section h3 {
  font-family: var(--font-blog-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blog-navy);
  margin-bottom: 1.5rem;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   8. COMPREHENSIVE RESPONSIVE DESIGN (TABLET & MOBILE)
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .featured-article-card { grid-template-columns: 1fr; }
  .featured-img-wrap { min-height: 260px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-detail-wrap { padding: 2rem 1.75rem; }
}

@media (max-width: 768px) {
  /* Safe clearance for mobile floating bottom navigation */
  .blog-container {
    padding: calc(var(--header-h, 60px) + 1rem) 0.875rem calc(80px + 2rem);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Hero Featured Card Mobile */
  .featured-article-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  }
  .featured-img-wrap {
    height: 200px;
    min-height: 200px;
  }
  .featured-badge-pill {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }
  .featured-content-wrap {
    padding: 1.25rem 1rem;
  }
  .article-meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    font-size: 0.74rem;
    margin-bottom: 0.75rem;
  }
  .meta-dot {
    display: none;
  }
  .featured-meta-cat {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
  }
  .meta-item {
    font-size: 0.74rem;
    color: #64748b;
  }
  .featured-title {
    font-size: 1.22rem;
    line-height: 1.35;
    margin-bottom: 0.65rem;
    font-weight: 800;
  }
  .featured-excerpt {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
    text-align: justify;
    text-justify: inter-word;
  }
  .featured-footer-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .featured-btn-read {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
    box-sizing: border-box;
  }

  /* Category Pills & Search Mobile */
  .blog-toolbar {
    margin: 1.25rem 0;
    gap: 0.75rem;
  }
  .blog-category-pills {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    gap: 0.45rem;
  }
  .blog-pill-btn {
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
  }
  .blog-search-box {
    width: 100%;
    min-width: 100%;
  }
  .blog-search-input {
    height: 42px;
    font-size: 0.84rem;
    padding-left: 2.3rem;
  }

  /* Articles Grid Mobile — 1 Baris 2 Grid (2 Kolom) */
  .article-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1.5rem !important;
  }
  .article-grid .article-card {
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid var(--blog-border) !important;
  }
  .article-grid .article-card-thumb {
    height: 105px !important;
    min-height: 105px !important;
    position: relative !important;
  }
  .article-grid .article-card-thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .article-grid .article-category-tag {
    font-size: 0.58rem !important;
    padding: 0.15rem 0.4rem !important;
    bottom: 0.35rem !important;
    left: 0.35rem !important;
    border-radius: 4px !important;
    max-width: 90% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .article-grid .article-card-body {
    padding: 0.65rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }
  .article-grid .article-card-meta {
    font-size: 0.62rem !important;
    gap: 0.25rem !important;
    margin-bottom: 0.3rem !important;
    color: #64748b !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }
  .article-grid .article-card-meta .meta-dot {
    display: none !important;
  }
  .article-grid .article-card-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.45rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .article-grid .article-card-desc {
    display: none !important; /* Hide long excerpt in compact 2-column mobile cards */
  }
  .article-grid .article-card-footer {
    padding-top: 0.4rem !important;
    margin-top: auto !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .article-grid .read-more-link {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }

  /* Blog Pagination Mobile — Beri Jarak Bersih ke Section Subscribe */
  .blog-pagination {
    margin: 1.75rem 0 3.25rem !important; /* Jarak terpisah dan lega sebelum newsletter */
    gap: 0.45rem !important;
    padding: 0 !important;
  }
  .blog-pagination .page-btn {
    min-width: 38px !important;
    height: 38px !important;
    font-size: 0.84rem !important;
    border-radius: 8px !important;
  }

  /* Newsletter Card Mobile */
  .newsletter-card {
    padding: 2rem 1.25rem !important;
    border-radius: var(--radius-lg) !important;
    margin-top: 0.5rem !important;
    margin-bottom: 2rem !important;
  }
  .newsletter-card h3,
  .newsletter-card .newsletter-title {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4) !important;
  }
  .newsletter-card p,
  .newsletter-card .newsletter-desc {
    font-size: 0.85rem !important;
    color: #cbd5e1 !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }
  .newsletter-input {
    height: 44px;
    font-size: 0.85rem;
    border-radius: 8px;
    width: 100%;
  }
  .btn-newsletter {
    height: 44px;
    font-size: 0.88rem;
    border-radius: 8px;
    width: 100%;
  }

  /* Detail Article Wrap Mobile */
  .article-detail-wrap {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
    margin: 0.75rem auto 2rem;
  }
  .article-top-nav-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .blog-breadcrumbs {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    margin-bottom: 0;
  }
  .btn-blog-back-pill {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  .detail-header-badge {
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
    margin-bottom: 0.65rem;
  }
  .detail-article-title {
    font-size: 1.38rem;
    line-height: 1.3;
    margin-bottom: 0.85rem;
  }
  .detail-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
  }
  .detail-meta-bar > div:last-child {
    font-size: 0.74rem;
    color: #64748b;
  }
  .detail-hero-img-box {
    border-radius: 10px;
    margin-bottom: 1.35rem;
  }
  .img-caption {
    font-size: 0.72rem;
    padding: 0.4rem 0.5rem;
  }
  .takeaways-box {
    padding: 1rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 1.35rem;
  }
  .takeaways-box h4 {
    font-size: 0.9rem;
  }
  .takeaways-box ul {
    padding-left: 1rem;
    font-size: 0.82rem;
  }
  .article-rich-content {
    font-size: 0.94rem;
    line-height: 1.75;
  }
  .article-rich-content h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 1.6rem 0 0.65rem;
  }
  .article-rich-content h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 1.25rem 0 0.45rem;
  }
  .article-rich-content p {
    margin-bottom: 1.1rem;
    text-align: justify;
    text-justify: inter-word;
  }
  .quote-callout {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    margin: 1.35rem 0;
  }
  .nutrition-table th,
  .nutrition-table td {
    padding: 0.55rem 0.65rem;
    font-size: 0.76rem;
  }
  .author-profile-card {
    padding: 1rem;
    gap: 0.75rem;
    margin: 1.75rem 0 1.25rem;
    border-radius: 10px;
  }
  .author-profile-avatar {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .social-share-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 0;
    margin-top: 1.25rem;
  }
  .social-share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
  }
  .btn-share {
    justify-content: center;
    padding: 0.55rem 0.65rem;
    font-size: 0.76rem;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .article-bottom-cta-box {
    padding: 1.15rem 0.85rem;
    margin: 1.75rem 0 1.25rem;
    border-radius: 10px;
    gap: 0.75rem;
  }
  .article-bottom-cta-box > div:first-child {
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
  }
  .btn-blog-back-cta,
  .btn-blog-all-cta {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    border-radius: 8px;
    box-sizing: border-box;
  }
  .related-articles-section {
    margin-top: 2rem !important;
    padding-top: 1.25rem !important;
  }
  .related-articles-section h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.85rem !important;
    font-weight: 800 !important;
    color: var(--blog-navy) !important;
    line-height: 1.35 !important;
  }
  .related-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
    margin-bottom: 1.5rem !important;
  }
  .related-articles-grid .article-card {
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
    border: 1px solid var(--blog-border) !important;
  }
  .related-articles-grid .article-card-thumb {
    height: 105px !important;
    min-height: 105px !important;
    position: relative !important;
  }
  .related-articles-grid .article-card-thumb img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .related-articles-grid .article-category-tag {
    font-size: 0.58rem !important;
    padding: 0.15rem 0.4rem !important;
    bottom: 0.35rem !important;
    left: 0.35rem !important;
    border-radius: 4px !important;
    max-width: 90% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .related-articles-grid .article-card-body {
    padding: 0.65rem 0.55rem !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }
  .related-articles-grid .article-card-meta {
    font-size: 0.62rem !important;
    gap: 0.25rem !important;
    margin-bottom: 0.3rem !important;
    color: #64748b !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }
  .related-articles-grid .article-card-meta .meta-dot {
    display: none !important;
  }
  .related-articles-grid .article-card-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 0.45rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .related-articles-grid .article-card-desc {
    display: none !important;
  }
  .related-articles-grid .article-card-footer {
    padding-top: 0.4rem !important;
    margin-top: auto !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .related-articles-grid .read-more-link {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }
}
