/* =============================
   ARTICLE WRAPPER
============================= */
.article {
  padding: 80px 20px;
  background: #f8fafc;
}

.article-container {
  max-width: 1450px;
  margin: auto;
}

/* =============================
   ARTICLE + SIDEBAR GRID
============================= */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 35px;
  align-items: start;
}

.article-main {
  background: #ffffff;
  padding:55px 65px;
  border-radius: 30px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .08);
  min-width: 0;
}

/* =============================
   ARTICLE TITLE
============================= */
.article h1 {
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: -1px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

/* =============================
   FEATURE IMAGE
============================= */
.article-image {
  width: 100%;
  display: block;
  border-radius: 26px;
  margin-bottom: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .14);
}

/* =============================
   TABLE OF CONTENT
============================= */
.toc {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #e5e7eb;
  padding: 25px;
  border-radius: 22px;
  margin: 35px 0;
  box-shadow: 0 12px 35px rgba(15, 23, 42, .07);
}

.toc-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
}

.toc ul {
  list-style: none;
}

.toc li {
  margin-bottom: 10px;
}

.toc a {
  text-decoration: none;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
}

.toc a:hover,
.toc a.active {
  color: #06b6d4;
}

/* =============================
   ARTICLE CONTENT
============================= */
.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: #334155;
}

.article-content p {
  margin-bottom: 22px;
  text-align: justify;
}

.article-content h2 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 850;
  color: #0f172a;
  margin-top: 55px;
  margin-bottom: 18px;
}

.article-content h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 35px;
  margin-bottom: 15px;
}

.article-content ul,
.article-content ol {
  padding-left: 25px;
  margin-bottom: 25px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.8;
  text-align: justify;
}

.article-content strong {
  color: #0f172a;
}

/* LINK CONTENT */
.article-content a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #06b6d4;
}

.article-content a:hover {
  color: #06b6d4;
}

/* =============================
   BLOCKQUOTE PREMIUM
============================= */
.article-content blockquote {
  background: linear-gradient(135deg, rgba(6, 182, 212, .12), rgba(132, 204, 22, .12));
  border-left: 6px solid #06b6d4;
  padding: 28px;
  border-radius: 22px;
  margin: 35px 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
  color: #1e293b;
}


/* =============================
   SIDEBAR PREMIUM
============================= */

.article-sidebar {
  position: sticky;
  top: 110px;
}


/* CARD SIDEBAR */
.sidebar-widget {

  background: #ffffff;

  border-radius: 30px;

  padding: 26px;

  box-shadow:
  0 25px 55px rgba(15,23,42,.10);

  /* JARAK ANTAR WIDGET */
  margin-bottom: 35px;

}


/* hilangkan jarak widget terakhir */
.sidebar-widget:last-child {

  margin-bottom:0;

}


.sidebar-widget h3 {

  font-size:22px;

  font-weight:900;

  color:#0f172a;

  margin-bottom:25px;

}

.sidebar-post {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 15px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
}

.sidebar-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-post img {
  width: 85px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  transition: .35s;
}

.sidebar-post span {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  color: #334155;
  transition: .3s;
}

.sidebar-post:hover img {
  transform: scale(1.06);
}

.sidebar-post:hover span {
  color: #06b6d4;
}

/* =============================
   CTA ARTICLE PREMIUM
============================= */
.article-cta {
  margin-top: 55px;
  padding: 50px 35px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1e3a8a, #06b6d4, #84cc16);
  text-align: center;
  color: white;
  box-shadow: 0 25px 55px rgba(6, 182, 212, .25);
}

.article-cta h3 {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 15px;
}

.article-cta p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 25px;
}

.article-cta a {
  display: inline-block;
  background: white;
  color: #1e3a8a;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s;
}

.article-cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, .20);
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: relative;
    top: 0;
  }
}

/* =============================
   RESPONSIVE MOBILE
============================= */
@media (max-width: 600px) {

  /* ARTICLE */
  .article {
    padding: 40px 15px;
  }
  .article-main {
    padding: 25px;
    border-radius: 24px;
  }
  .article h1 {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -.5px;
  }
  .article-meta {
    font-size: 13px;
  }
  .article-image {
    border-radius: 20px;
  }

  /* CONTENT */
  .article-content {
    font-size: 16px;
    line-height: 1.85;
  }
  .article-content h2 {
    font-size: 24px;
    margin-top: 40px;
  }
  .article-content h3 {
    font-size: 20px;
  }
  .article-content blockquote {
    font-size: 16px;
    padding: 22px;
  }

  /* TOC */
  .toc {
    padding: 20px;
  }

  /* SIDEBAR MOBILE */
  .sidebar-widget {
    border-radius: 24px;
    padding: 22px;
  }
  .sidebar-widget h3 {
    font-size: 20px;
  }
  .sidebar-post {
    grid-template-columns: 85px 1fr;
  }
  .sidebar-post img {
    width: 85px;
    height: 70px;
  }
  .sidebar-post span {
    font-size: 13px;
  }

  /* CTA */
  .article-cta {
    padding: 35px 22px;
    border-radius: 24px;
  }
  .article-cta h3 {
    font-size: 24px;
  }

}

/* ===============================
 SIDEBAR CATEGORY
================================ */

.sidebar-category{

display:flex;
align-items:center;

padding:14px 16px;
margin-bottom:10px;

background:#ffffff;

border:1px solid #e5e7eb;
border-radius:14px;

font-size:15px;
font-weight:600;

color:#1f2937;
text-decoration:none;

transition:.3s ease;

}


.sidebar-category:hover{

background:linear-gradient(
135deg,
#00b894,
#0984e3
);

color:#ffffff;

border-color:transparent;

transform:translateX(5px);

box-shadow:
0 10px 25px rgba(0,0,0,.12);

}


.sidebar-category span{

display:flex;
gap:8px;
align-items:center;

}
