/* =====================================================
   BLOG & KNOWLEDGE BASE ECOSYSTEM STYLES - IBR DESAIN
   Modern, High Contrast, Clean Typography & Responsive UI
   ===================================================== */

/* 1. PROGRESS BAR SCROLL INDICATOR */
.article-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0a64c4, #2563eb, #38bdf8);
  z-index: 99999;
  transition: width 0.1s ease-out;
}

/* 2. BLOG HERO SECTION */
.blog-hero {
  padding: 145px 0 45px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.blog-hero__inner {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.blog-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

.blog-hero__title {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.2;
}

.blog-hero__title span {
  background: linear-gradient(135deg, #0a64c4 0%, #2563eb 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero__desc {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

/* SEARCH BOX */
.blog-search-box {
  width: 100%;
  max-width: 580px;
  margin-bottom: 24px;
}

.blog-search-input-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  color: #94a3b8;
  font-size: 17px;
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  height: 52px;
  padding: 0 45px 0 48px;
  font-size: 14.5px;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.blog-search-input:focus {
  border-color: #0a64c4;
  box-shadow: 0 0 0 4px rgba(10, 100, 196, 0.12);
}

.blog-search-clear {
  position: absolute;
  right: 14px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.blog-search-clear:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* CATEGORY FILTER BAR */
.blog-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-cat-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.blog-cat-chip:hover {
  border-color: #94a3b8;
  color: #0f172a;
  background: #f8fafc;
}

.blog-cat-chip.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.blog-cat-chip.is-active i {
  color: #38bdf8;
}

/* 3. MAIN BLOG SECTION */
.blog-main {
  padding: 50px 0 90px;
  background: #ffffff;
}

.blog-main__container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* FEATURED POST SPOTLIGHT */
.blog-featured {
  margin-bottom: 45px;
}

.blog-featured__card {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-featured__card:hover {
  border-color: #0a64c4;
  transform: translateY(-3px);
}

.blog-featured__cover {
  padding: 32px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.blog-featured__cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
  transition: transform 0.3s ease;
}

.blog-featured__card:hover .blog-featured__cover-img {
  transform: scale(1.05);
}

.blog-featured__cover-badge {
  align-self: flex-start;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fecaca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.blog-featured__cover-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.blog-featured__content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-featured__meta {
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.blog-featured__author-name {
  font-weight: 700;
  color: #0f172a;
}

.blog-featured__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 14px;
}

.blog-featured__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-featured__title a:hover {
  color: #0a64c4;
}

.blog-featured__excerpt {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 24px;
}

.blog-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.blog-featured__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-tag-pill {
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 3px 9px;
  border-radius: 6px;
}

.blog-btn-primary {
  background: #0a64c4;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.blog-btn-primary:hover {
  background: #084c96;
  color: #ffffff;
}

/* SECTION HEADER */
.blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}

.blog-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.blog-posts-count {
  font-size: 12.5px;
  font-weight: 700;
  color: #0a64c4;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 6px;
}

/* 4. ARTICLES GRID & CARDS */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.blog-card:hover {
  border-color: #0a64c4;
  transform: translateY(-4px);
}

.blog-card__cover {
  width: 100%;
  min-height: 180px;
  padding: 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.blog-card__cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.35;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__cover-img {
  transform: scale(1.05);
}

.blog-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.blog-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(10, 100, 196, 0.2);
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.blog-readtime {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 600;
}

.blog-card__cover-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 0;
  line-height: 1.35;
  position: relative;
  z-index: 2;
}

.blog-card__body {
  padding: 22px;
}

.blog-card__date {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  display: block;
}

.blog-card__title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.4;
}

.blog-card__title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: #0a64c4;
}

.blog-card__excerpt {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.blog-card__footer {
  padding: 16px 22px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-author__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  object-fit: cover;
}

.blog-author__name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
}

.blog-author__role {
  font-size: 11px;
  color: #64748b;
  display: block;
}

.blog-btn-read {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0a64c4;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.blog-btn-read:hover {
  background: #0a64c4;
  border-color: #0a64c4;
  color: #ffffff;
}

/* EMPTY STATE */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  margin: 20px 0 40px;
}

.blog-empty-state__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 16px;
}

.blog-empty-state__title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.blog-empty-state__desc {
  font-size: 14px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.blog-empty-state__btn {
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s ease;
}

.blog-empty-state__btn:hover {
  background: #1e293b;
}

/* CTA BANNER IN BLOG HUB */
.blog-cta-banner {
  margin-top: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.blog-cta-banner__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-cta-banner__title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.blog-cta-banner__desc {
  font-size: 14.5px;
  color: #94a3b8;
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

.blog-cta-banner__btn {
  background: #0a64c4;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.blog-cta-banner__btn:hover {
  background: #084c96;
  color: #ffffff;
  transform: translateY(-2px);
}

/* 5. SINGLE ARTICLE POST DETAIL STYLES */
.article-container {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 140px 0 90px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.article-content {
  min-width: 0;
}

/* ARTICLE HEADER */
.article-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: #0a64c4;
  text-decoration: none;
  font-weight: 600;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-header__meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.article-readtime, .article-updated {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 10px 0 24px;
  letter-spacing: -0.025em;
}

.article-author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.article-share-quick {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share-quick__label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.share-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn--wa { background: #dcfce7; color: #15803d; }
.share-btn--wa:hover { background: #22c55e; color: #ffffff; }

.share-btn--li { background: #e0f2fe; color: #0284c7; }
.share-btn--li:hover { background: #0284c7; color: #ffffff; }

.share-btn--tw { background: #0f172a; color: #ffffff; }
.share-btn--tw:hover { background: #334155; color: #ffffff; }

.share-btn--copy { background: #e2e8f0; color: #334155; }
.share-btn--copy:hover { background: #cbd5e1; color: #0f172a; }

/* ARTICLE FEATURED BANNER (blog/img/) */
.article-banner-section {
  margin: 24px 0 32px;
}

.article-banner-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.article-featured-banner {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.article-banner-placeholder {
  width: 100%;
  min-height: 240px;
  border-radius: 18px;
  padding: 36px 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  border: 1px solid #334155;
}

.article-banner-placeholder__content {
  max-width: 700px;
}

.article-banner-placeholder__content h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 10px;
  line-height: 1.35;
}

.article-banner-placeholder__hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 8px;
}

.article-banner-placeholder__hint code {
  color: #38bdf8;
}

/* TAKEAWAYS BOX */
.article-takeaways {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #0a64c4;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 30px 0;
}

.article-takeaways__title {
  font-size: 15px;
  font-weight: 800;
  color: #0a64c4;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-takeaways__list {
  margin: 0;
  padding-left: 18px;
  color: #1e293b;
  font-size: 14.5px;
  line-height: 1.7;
}

.article-takeaways__list li {
  margin-bottom: 6px;
}

/* TABLE OF CONTENTS */
.article-toc {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
}

.article-toc__header {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-toc__list {
  margin: 0;
  padding-left: 18px;
}

.article-toc__list li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.article-toc__list a {
  color: #0a64c4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.article-toc__list a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* ARTICLE BODY */
.article-body {
  font-size: 16.5px;
  color: #334155;
  line-height: 1.85;
}

.article-body h2 {
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 800;
  color: #0f172a;
  margin: 44px 0 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin: 32px 0 14px;
  scroll-margin-top: 100px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body ul, .article-body ol {
  margin: 0 0 26px 20px;
  padding: 0;
}

.article-body li {
  margin-bottom: 9px;
  line-height: 1.75;
}

.article-quote {
  background: #f8fafc;
  border-left: 4px solid #0a64c4;
  padding: 22px 26px;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
  font-size: 17.5px;
  font-style: italic;
  color: #1e293b;
  line-height: 1.65;
}

.article-quote-author {
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: #0a64c4;
  margin-top: 10px;
  display: block;
}

/* CALLOUT BOXES */
.article-callout {
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
}

.article-callout--tip {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
}

.article-callout--tip .article-callout__title {
  color: #1e40af;
}

.article-callout--tip .article-callout__text {
  color: #1e3a8a;
}

.article-callout--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
}

.article-callout--warning .article-callout__title {
  color: #92400e;
}

.article-callout--warning .article-callout__text {
  color: #78350f;
}

.article-callout__title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.article-callout__text {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.65;
}

/* TAGS */
.article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-tags__label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-tags__list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.article-tag-item {
  font-size: 12px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 5px 12px;
  border-radius: 6px;
}

/* AUTHOR BIO BOX */
.article-author-bio {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 24px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.article-author-bio__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2e8f0;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author-bio__content {
  flex: 1;
}

.article-author-bio__name {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
}

.article-author-bio__role {
  font-size: 12px;
  color: #0a64c4;
  font-weight: 700;
  margin-bottom: 10px;
}

.article-author-bio__desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* BOTTOM NAV */
.article-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  margin-top: 20px;
}

.article-btn-back {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.article-btn-back:hover {
  background: #0f172a;
  color: #ffffff;
}

.article-btn-discuss {
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.article-btn-discuss:hover {
  background: #15803d;
  color: #ffffff;
}

/* 6. SIDEBAR WIDGETS */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 100px;
}

.sidebar-cta-widget {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #334155;
}

.sidebar-cta-widget__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10, 100, 196, 0.3);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sidebar-cta-widget h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.35;
}

.sidebar-cta-widget p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 20px;
}

.sidebar-cta-btn {
  width: 100%;
  background: #2563eb;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sidebar-cta-btn:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-2px);
}

.sidebar-cta-note {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 10px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  padding: 24px;
}

.sidebar-widget__title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sidebar-related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-related-item {
  padding-bottom: 14px;
  border-bottom: 1px solid #f8fafc;
}

.sidebar-related-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-related-category {
  font-size: 10px;
  font-weight: 800;
  color: #0a64c4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.sidebar-related-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
}

.sidebar-related-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-related-title a:hover {
  color: #0a64c4;
}

.sidebar-related-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sidebar-services-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-services-links li a {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-services-links li a:hover {
  background: #eff6ff;
  color: #0a64c4;
  padding-left: 15px;
}

.sidebar-services-links li a i {
  font-size: 10px;
  color: #94a3b8;
}

/* 7. RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .blog-featured__card {
    grid-template-columns: 1fr;
  }
  .blog-featured__cover {
    min-height: 200px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 125px 0 35px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured__content {
    padding: 24px 20px;
  }
  .blog-card__body {
    padding: 18px;
  }
  .blog-card__footer {
    padding: 14px 18px 18px;
  }
  .blog-cta-banner {
    padding: 26px 20px;
  }
  .article-container {
    padding: 120px 0 60px;
  }
  .article-author-bio {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
