/* Typography */
.display-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
.subtle {
  color: rgba(15, 23, 42, 0.7);
}
.header-section {
  background: linear-gradient(
    180deg,
    rgba(250, 255, 203, 0.3),
    rgba(255, 255, 255, 0.8)
  );
  position: relative;
  z-index: 2;
  padding-top: 100px !important;
  padding-bottom: 60px;
}

/* Card publikasi */
.pub-card {
  border: 1px solid rgba(31, 90, 63, 0.15);
  border-radius: 16px;
  background: #ffffffcc;
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 24px rgba(31, 90, 63, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.pub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(31, 90, 63, 0.12);
}

.pub-header {
  background: var(--brand);
  color: #f7faf9;
  text-align: center;
  padding: 0.75rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(31, 90, 63, 0.15);
}

/* Slider */
.pub-slider {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: repeating-linear-gradient(
      0deg,
      rgba(47, 124, 87, 0.05) 0 1px,
      transparent 1px 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(47, 124, 87, 0.04) 0 1px,
      transparent 1px 32px
    );
}
.pub-slider .slides {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideAnim 12s infinite;
}
.pub-slider img {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0 0 16px 16px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.pub-slider img:hover {
  transform: scale(1.05);
}

/* Animasi geser otomatis */
@keyframes slideAnim {
  0%,
  25% {
    transform: translateX(0);
  }
  30%,
  55% {
    transform: translateX(-100%);
  }
  60%,
  85% {
    transform: translateX(-200%);
  }
  90%,
  100% {
    transform: translateX(0);
  }
}

/* Modal preview */
.modal-content img {
  max-height: 85vh;
  border-radius: 16px;
}
