/* ✅ Existing styles remain unchanged */
.ajax-cat-archive-months button.active {
    background-color: #004085;
    color: #fff;
}
.show-all-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ✅ New styles for date UI */
.cat-archive-list {
  position: relative;
  margin-left: 0.5em;
  padding-left: 30px !important;
  border-left: 1px solid #333; /* vertical timeline line */
  list-style: decimal!important;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
}

.cat-archive-list li {
    margin-bottom: 10px;
}

.cat-archive-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.5em;
}

.cat-archive-item::before {
  content: "";
  position: absolute;
  left: -1.4em;
  top: 0.8em;
  width: 10px;
  height: 10px;
  background: #007bff; /* small dot on the line */
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #007bff;
}

.post-date-badge {
  width: 50px;
  text-align: center;
  margin-right: 1em;
  font-size: 0.8em;
  font-weight: bold;
  color: #555;
}

.post-date-badge .day {
  display: block;
  text-transform: uppercase;
  font-size: 0.75em;
  color: #888;
}

.post-date-badge .num {
  display: block;
  font-size: 1.2em;
  color: #222;
}

.post-with-date {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-date {
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1.2;
    color: #333;
    background: #f1f1f1;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 50px;
}

.post-date strong {
    display: block;
    font-size: 0.75rem;
    color: #555;
}

.cat-archive-date-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.cat-archive-date-group .post-date {
    display: inline-block;
    min-width: 50px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;
}

.cat-archive-date-group .post-date strong {
    font-size: 18px; /* large day number */
    font-weight: bold;
    display: block;
}

.cat-archive-date-group ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}