/* Right-hand "Archiv" widget (years) on the home page */
.archive-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.archive-columns__main {
  flex: 1 1 640px;
  min-width: 300px;
}

/* Top of the box lines up with the top of the first post card */
.archive-widget {
  flex: 0 0 260px;
  align-self: flex-start;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #fff;
  padding: 0.9rem 1.1rem;
}

.archive-widget h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.archive-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-widget li {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.archive-widget a {
  color: #2f2f2f;
  text-decoration: none;
  font-weight: 600;
}

.archive-widget a:hover,
.archive-widget a:focus {
  color: #1f6f5c;
  text-decoration: underline;
}

.archive-widget .count {
  color: #8a8a8a;
  font-size: 0.8rem;
  font-weight: 400;
}

/* "More" list sits below the two-column row, full width */
.archive-more {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
}

/* Stack the widget under the posts when there is no room for two columns */
@media (max-width: 960px) {
  .archive-widget {
    flex: 1 1 100%;
    align-self: auto;
  }
}
