/* Archive Page Styles */

.archive-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
}

.archive-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.archive-description {
  font-size: 1.1rem;
  color: #000;
  margin: 0;
}

/* Archive List */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.archive-item {
  display: block;
  padding: 1rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
}

.archive-item:hover {
  background: #fff;
  box-shadow: none;
}

.archive-date {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #000;
  border-top: 1px solid #000;
  padding-top: 0.5rem;
}

.archive-content {
  display: block;
}

.archive-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  word-break: break-word;
}

.archive-link:hover {
  color: #000;
  text-decoration: underline;
}

/* Pagination */
.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
  flex-wrap: wrap;
}

.pagination-link {
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: #000;
  text-decoration: none;
  border: 1px solid #000;
  border-radius: 0;
  font-weight: 600;
}

.pagination-link:hover {
  background: #fff;
}

.pagination-numbers {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-number {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  border: 1px solid #000;
  border-radius: 0;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.pagination-number:hover {
  background: #fff;
}

.pagination-number.current {
  background: #000;
  color: #fff;
  border-color: #000;
  cursor: default;
}

.pagination-number.current:hover {
  background: #000;
}

.pagination-jump {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-jump input,
.pagination-jump button {
  height: 2.5rem;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  padding: 0 0.6rem;
}

.pagination-jump input {
  width: 4.5rem;
}

.pagination-jump button {
  cursor: pointer;
  font-weight: 600;
}

/* Archive Info */
.archive-info {
  text-align: center;
  color: #000;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

/* Empty State */
.archive-empty {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border: 1px solid #000;
  border-radius: 0;
  color: #000;
}

.archive-empty p {
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .archive-container {
    margin: 1rem auto;
  }

  .archive-header h1 {
    font-size: 1.75rem;
  }

  .archive-item {
    padding: 0.75rem;
  }

  .archive-link {
    font-size: 1rem;
  }

  .pagination-number {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    font-size: 0.85rem;
  }

  .pagination-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}
