/* ── Zenico Changelog / Neuigkeiten CSS ──────────────────────── */

/* ── Hero ── */
.changelog-hero {
  background: #1A1F2E;
  color: #fff;
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.changelog-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.changelog-hero-label {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #C9A84C;
  margin-bottom: 20px;
}

.changelog-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

.changelog-hero-intro {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

.changelog-hero-deco {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,154,154,0.15), transparent 70%);
  pointer-events: none;
}

/* ── List ── */
.changelog-list-section {
  padding: 56px 0 80px;
  background: #fafaf8;
}

.changelog-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Vertical timeline: a connecting line behind each entry's marker dot,
   ended one entry early so it never dangles past the last dot. */
.changelog-entry {
  position: relative;
  padding: 0 0 40px 32px;
}

.changelog-entry::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: -8px;
  width: 2px;
  background: #e5e5e0;
}

.changelog-entry:last-child::before {
  display: none;
}

.changelog-entry::after {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--z-teal, #2E9A9A);
  border: 2px solid #fafaf8;
  box-shadow: 0 0 0 2px rgba(46,154,154,0.25);
  z-index: 1;
}

.changelog-entry-fixed::after {
  background: #9aa2af;
  box-shadow: 0 0 0 2px rgba(154,162,175,0.25);
}

.changelog-entry-date {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 10px;
}

.changelog-entry-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.changelog-badge {
  display: inline-block;
  flex: none;
  font-family: 'Syne', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.changelog-badge-new {
  color: var(--z-teal-dark, #1F7070);
  background: var(--z-teal-light, #E6F5F5);
}

.changelog-badge-improved {
  color: #1d6fa8;
  background: #e5f1fb;
}

.changelog-badge-fixed {
  color: #5b6472;
  background: #eceef1;
}

.changelog-entry-title {
  font-family: 'Syne', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #1A1F2E;
  margin: 0;
  line-height: 1.3;
}

.changelog-entry-description {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: #4a5568;
  line-height: 1.6;
}

.changelog-entry-description p:last-child {
  margin-bottom: 0;
}

.changelog-entry-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--z-teal, #2E9A9A);
  text-decoration: none;
}

.changelog-entry-link:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .changelog-list {
    padding: 0 20px;
  }

  .changelog-entry {
    padding-left: 24px;
  }

  .changelog-entry-title {
    font-size: 19px;
  }
}
