body {
  font-family: Arial, sans-serif;
  background: #f8fafc;
  margin: 0;
}

.timeline-wrapper {
  width: 100vw;
  display: flex;
  justify-content: center;
}

.timeline {
  position: relative;
  margin: 40px 0;
  padding: 20px 0;
  max-width: 600px;
  width: 100%;
}
.timeline-header {
  max-width: 370px;
  margin: 0 auto 32px auto;
  position: relative;
  left: -32px;   /* geser judul ke kiri sebesar garis timeline */
}
.timeline-title {
  text-align: center;
  font-size: 1.8rem;
  color: #0e7490;
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.5px;
  padding: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #38bdf8;
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  background: #38bdf8;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #38bdf8;
  margin-right: 16px;
  z-index: 1;
  position: relative;
  left: -9px;
  top: 40px;
}

.timeline-content {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 2px 12px #0001;
  min-width: 220px;
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-date {
  font-weight: bold;
  color: #0e7490;
  font-size: 18px;
  margin-bottom: 10px;
  text-align: left;
  padding: 0;
}

.timeline-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: #e0e7ef;
}

.timeline-desc {
  color: #222;
  font-size: 15px;
  margin-top: 3px;
}

@media (max-width: 700px) {
  .timeline { max-width: 100%; padding: 8px; }
  .timeline-title { font-size: 1.2rem; }
  .timeline-content { min-width: 0; max-width: 100%; }
}
