/* ─── Changelog /changelog ─────────────────────────────────────────────── */

.cl-page {
  max-width: 860px;
  margin: 0 auto 5rem;
  padding: 0 1.25rem 2rem;
  color: #e8eaef;
}

/* Hero */
.cl-hero {
  text-align: center;
  padding: 2.5rem 1rem 2.25rem;
  margin-bottom: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(220, 53, 69, 0.55), rgba(18, 22, 32, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cl-hero-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff8a9a;
}

.cl-hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
}

.cl-hero-sub {
  margin: 0 auto 1.1rem;
  max-width: 36rem;
  color: #aeb4c5;
  line-height: 1.55;
}

.cl-hero-news-link {
  display: inline-block;
  font-size: 0.85rem;
  color: #ff8a9a;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.cl-hero-news-link:hover { opacity: 1; }

/* Timeline container */
.cl-timeline {
  position: relative;
  padding-left: 2.25rem;
}

.cl-timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(220, 53, 69, 0.7), rgba(220, 53, 69, 0.05));
  border-radius: 2px;
}

/* Year divider */
.cl-year-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 2.25rem 0 1.5rem -2.25rem;
}

.cl-year-label {
  display: inline-block;
  background: rgba(13, 15, 24, 0.85);
  border: 1px solid rgba(220, 53, 69, 0.55);
  color: #ff8a9a;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 30px;
  position: relative;
  z-index: 1;
}

/* Entry */
.cl-entry {
  position: relative;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.cl-entry.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Dot on the line */
.cl-entry-dot {
  position: absolute;
  left: -1.9rem;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: #dc3545;
  border: 2px solid #0d0f18;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.6);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cl-entry:hover .cl-entry-dot {
  transform: scale(1.3);
  box-shadow: 0 0 14px rgba(220, 53, 69, 0.85);
}

/* Card */
.cl-entry-card {
  background: rgba(13, 15, 24, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.3rem 1.5rem 1.2rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.cl-entry:hover .cl-entry-card {
  background: rgba(13, 15, 24, 0.92);
  border-color: rgba(220, 53, 69, 0.35);
  transform: translateX(4px);
}

/* Meta */
.cl-entry-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.cl-entry-date {
  font-size: 0.78rem;
  color: #ff8a9a;
  font-weight: 600;
}

.cl-entry-author {
  font-size: 0.75rem;
  color: #7a8199;
}

/* Title */
.cl-entry-title {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}

.cl-entry-link {
  color: #e8eaef;
  text-decoration: none;
  transition: color 0.2s;
}
.cl-entry-link:hover { color: #ff8a9a; }

/* Excerpt */
.cl-entry-excerpt {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: #9aa0b5;
  line-height: 1.55;
}

/* Read more */
.cl-entry-read {
  display: inline-block;
  font-size: 0.8rem;
  color: #dc3545;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, gap 0.2s;
}
.cl-entry-read:hover { color: #ff6b7a; }

/* Empty state */
.cl-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: #7a8199;
}
.cl-empty a {
  color: #dc3545;
  text-decoration: none;
}
.cl-empty a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 600px) {
  .cl-timeline {
    padding-left: 1.75rem;
  }
  .cl-timeline::before {
    left: 0.4rem;
  }
  .cl-entry-dot {
    left: -1.5rem;
  }
  .cl-year-divider {
    margin-left: -1.75rem;
  }
  .cl-entry-card {
    padding: 1rem 1.1rem;
  }
}
