/* ==========================================
   KEGIATAN.CSS
   ========================================== */

/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 2px solid var(--hmti-light);
  color: var(--hmti-text);
  font-weight: 600;
  transition: all 0.25s ease;
}

.page-btn:hover {
  border-color: var(--hmti-dark);
  transform: translateY(-2px);
}

.page-btn.active {
  background-color: var(--hmti-dark);
  border-color: var(--hmti-dark);
  color: #fff;
}

/* ---------- DETAIL KEGIATAN ---------- */
.detail-hero {
  position: relative;
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.detail-hero-overlay {
  width: 100%;
  background: linear-gradient(180deg, rgba(93, 100, 112, 0.3), rgba(30, 32, 36, 0.9));
  padding: 80px 20px 40px;
}

.detail-hero-content {
  max-width: 850px;
  margin: 0 auto;
  color: #fff;
}

.detail-hero-content .breadcrumb {
  font-size: 0.85rem;
  color: #d5d9dd;
  margin-bottom: 14px;
}

.detail-hero-content .breadcrumb a {
  color: #fff;
  font-weight: 600;
}

.detail-hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 18px;
  line-height: 1.3;
}

.detail-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: #e5e9ec;
}

.detail-meta i {
  margin-right: 6px;
  color: var(--hmti-light);
}

.detail-content {
  max-width: 850px;
  margin: 0 auto;
  color: var(--hmti-text);
  font-size: 1.05rem;
  line-height: 1.9;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  background-color: var(--hmti-dark);
  color: #fff;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 8px;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.btn-back:hover {
  background-color: var(--hmti-light);
  color: var(--hmti-dark);
  transform: translateX(-4px);
}
