/* ================================
   INSIGHT KATEGORI ARTIKEL
================================ */

.insight-page {
  position: relative;
  padding: 100px 0 85px;
  background:
    radial-gradient(circle at top left, rgba(15, 147, 214, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(250, 171, 59, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--aksenutama) 100%);
  overflow: hidden;
}

.insight-page::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 8%;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  border: 1px solid rgba(0, 118, 178, 0.14);
  transform: rotate(12deg);
}

.insight-page::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 180px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(250, 171, 59, 0.10);
}

.insight-page .container {
  position: relative;
  z-index: 2;
}

/* HEADING */
.insight-heading {
  max-width: 860px;
  margin: 0 auto 60px;
  text-align: center;
}

.insight-heading h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  color: var(--hitamtua);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.insight-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--tekssekunder);
  font-size: 1rem;
  line-height: 1.9;
}

/* SIDEBAR */
.insight-sidebar {
  position: sticky;
  top: 95px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 118, 178, 0.10);
  box-shadow: 0 18px 45px rgba(25, 25, 25, 0.08);
}

.insight-sidebar-toggle {
  display: none;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--birugelap), var(--birumuda));
  color: var(--bg);
  font-weight: 800;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.insight-sidebar-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insight-sidebar-toggle i {
  font-size: 1.15rem;
}

.insight-sidebar-toggle .toggle-arrow {
  transition: transform 0.25s ease;
}

.insight-sidebar-toggle[aria-expanded="true"] .toggle-arrow {
  transform: rotate(180deg);
}

.insight-sidebar-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 118, 178, 0.10);
}

.insight-sidebar-header span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--oren);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-sidebar-header h3 {
  color: var(--hitamtua);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
}

.insight-category-list {
  display: grid;
  gap: 10px;
}

.insight-category-link {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--hitamtua);
  background: var(--bg);
  border: 1px solid rgba(0, 118, 178, 0.08);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.25s ease;
}

.insight-category-link i {
  color: var(--birugelap);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.insight-category-link:hover {
  color: var(--birugelap);
  border-color: rgba(0, 118, 178, 0.22);
  transform: translateX(4px);
}

.insight-category-link.active {
  background: linear-gradient(135deg, var(--birugelap), var(--birumuda));
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(0, 118, 178, 0.22);
}

.insight-category-link.active i {
  color: var(--bg);
}

/* CARD */
.insight-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 118, 178, 0.09);
  box-shadow: 0 12px 32px rgba(25, 25, 25, 0.06);
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 118, 178, 0.18);
  box-shadow: 0 24px 58px rgba(25, 25, 25, 0.13);
}

.insight-img {
  display: block;
  height: 178px;
  overflow: hidden;
  background: var(--aksenutama);
}

.insight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.45s ease;
}

.insight-card:hover .insight-img img {
  transform: scale(1.06);
}

.insight-card-body {
  padding: 20px 20px 22px;
}

.insight-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 118, 178, 0.08);
  color: var(--birugelap);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.insight-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}

.insight-card h3 a {
  color: var(--hitamtua);
  text-decoration: none;
  transition: color 0.25s ease;
}

.insight-card h3 a:hover {
  color: var(--birugelap);
}

.insight-card p {
  color: var(--tekssekunder);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* META */
.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 118, 178, 0.08);
  color: var(--tekssekunder);
  font-size: 0.8rem;
}

.insight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* EMPTY */
.insight-empty {
  padding: 45px 28px;
  border-radius: 24px;
  text-align: center;
  background: var(--bg);
  border: 1px solid rgba(0, 118, 178, 0.10);
  box-shadow: 0 16px 38px rgba(25, 25, 25, 0.06);
}

.insight-empty h3 {
  color: var(--hitamtua);
  font-weight: 800;
  margin-bottom: 8px;
}

.insight-empty p {
  color: var(--tekssekunder);
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .insight-page {
    padding: 80px 0 70px;
  }

  .insight-sidebar {
    position: relative;
    top: auto;
    margin-bottom: 12px;
    padding: 16px;
  }

  .insight-sidebar-toggle {
    display: flex;
  }

  .insight-sidebar-header {
    margin-top: 18px;
  }

  .insight-category-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .insight-page {
    padding: 65px 0 55px;
  }

  .insight-page::before,
  .insight-page::after {
    display: none;
  }

  .insight-heading {
    margin-bottom: 42px;
  }

  .insight-heading h1 {
    font-size: clamp(2rem, 10vw, 2.45rem);
    letter-spacing: -0.025em;
  }

  .insight-heading p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .insight-sidebar {
    padding: 14px;
    border-radius: 20px;
  }

  .insight-category-list {
    grid-template-columns: 1fr;
  }

  .insight-img {
    height: 195px;
  }

  .insight-card-body {
    padding: 18px;
  }
}