.home-kajian {
  padding-block: clamp(44px, 6vw, 84px) clamp(34px, 4.8vw, 68px);
  background: radial-gradient(ellipse at 94% 0, rgba(247, 213, 138, .22), transparent 58%), #faf7f0;
  color: var(--ink);
}

.home-kajian-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-block-end: clamp(18px, 3vw, 32px);
}

.home-kajian-head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -.036em;
  text-wrap: balance;
}

.home-kajian-more,
.home-kajian-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-block-size: 44px;
  padding: 8px 14px;
  border: 1px solid rgba(53, 38, 103, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #3e3467;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
  transition: background .2s ease, border-color .2s ease;
}

.home-kajian-more:hover,
.home-kajian-empty a:hover {
  border-color: #cdae69;
  background: #fff9e8;
}

[dir="rtl"] .home-kajian-more .bi { transform: scaleX(-1); }

#homeKajianGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 22px);
}

.home-kajian-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid rgba(42, 38, 112, .11);
  border-radius: 20px;
  background: #fffefa;
  box-shadow: 0 14px 34px -27px rgba(30, 21, 63, .48);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.home-kajian-card:focus-visible {
  outline: 2px solid #805120;
  outline-offset: 3px;
  border-radius: 20px;
}

.home-kajian-media {
  position: relative;
  display: grid;
  place-items: center;
  min-inline-size: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 24% 18%, #45418a, transparent 64%), #211b4c;
}

.home-kajian-media img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.home-kajian-play {
  display: grid;
  place-items: center;
  position: relative;
  inline-size: clamp(41px, 5vw, 58px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(22, 15, 42, .82);
  box-shadow: 0 8px 24px rgba(15, 13, 26, .28);
  color: #fff7e5;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.home-kajian-play::after {
  content: '';
  display: block;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.home-kajian-card:focus-visible .home-kajian-play {
  background: #ffd47c;
  color: #251a42;
}

@media (hover: hover) {
  .home-kajian-card:hover {
    transform: translateY(-3px);
    border-color: rgba(151, 105, 29, .42);
    box-shadow: 0 18px 36px -24px rgba(30, 21, 63, .57);
  }

  .home-kajian-card:hover .home-kajian-play {
    transform: scale(1.06);
    background: #ffd47c;
    color: #251a42;
  }
}

.home-kajian-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  min-inline-size: 0;
  padding: clamp(13px, 2vw, 20px);
}

.home-kajian-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.36;
  text-align: start;
}

.home-kajian-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 10px;
  color: #635979;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}

.home-kajian-category {
  max-inline-size: 100%;
  overflow: hidden;
  color: #79531b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 700;
}

.home-kajian-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(42, 38, 112, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .66);
  color: var(--ink-soft);
}

@media (max-width: 680px) {
  #homeKajianGrid { grid-template-columns: minmax(0, 1fr); }

  .home-kajian-card:not(:first-child) {
    grid-template-columns: clamp(106px, 36%, 176px) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .home-kajian-card:not(:first-child) .home-kajian-media {
    aspect-ratio: auto;
    min-block-size: 92px;
  }

  .home-kajian-card:not(:first-child) .home-kajian-play { inline-size: 34px; }
  .home-kajian-card:not(:first-child) .home-kajian-copy { align-content: center; padding: 10px 12px; }
  .home-kajian-card:not(:first-child) h3 { font-size: .91rem; }
  .home-kajian-card:not(:first-child) .home-kajian-meta { font-size: .73rem; }
}
