.archive {
  padding: 0 1rem;
  width: 100%;
}

.archive-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.archive-list {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.archive-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.archive-item:nth-child(2n) {
  background-color: rgba(0, 0, 0, 0.18);
}

.archive-item-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.archive-title {
  margin: 0;
}

.archive-title a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.2s all ease;
}

.archive-title a:hover {
  color: var(--primary);
  border-color: currentColor;
}

.archive-excerpt {
  margin: 0.25rem 0 0;
  opacity: 0.9;
}

.archive-cta {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.archive-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border: 1px solid #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  background: transparent;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.archive-button:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
  transform: translateY(-1px);
}

@media (min-width: 640px) {
  .archive {
    padding: 0;
  }
}
