.archive-page {
  padding-top: 100px;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.archive-header {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
}

.archive-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.archive-header h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FFD100 0%, #FFA800 100%);
  border-radius: 2px;
}

.archive-description {
  margin-top: 2rem;
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.post-card {
  margin-bottom: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
  transform: translateY(-8px);
}

.post-card .card {
  height: 100%;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
}

.post-card .card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.post-card .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card .card:hover .card-img-top {
  transform: scale(1.05);
}

.post-card .card-body {
  padding: 1.75rem;
}

.post-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
  min-height: 3.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .card-title a {
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card .card-title a:hover {
  color: #FFD100;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.post-meta i {
  color: #FFD100;
  font-size: 0.9rem;
}

.post-excerpt {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card .btn-outline-primary {
  border: 2px solid #FFD100;
  color: #212529;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.post-card .btn-outline-primary:hover {
  background: linear-gradient(135deg, #FFD100 0%, #FFA800 100%);
  border-color: #FFD100;
  color: #212529;
  transform: translateX(4px);
}

.post-card .btn-outline-primary i {
  transition: transform 0.3s ease;
}

.post-card .btn-outline-primary:hover i {
  transform: translateX(4px);
}

.pagination-nav {
  margin-top: 3rem;
}

.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  margin: 0 0.25rem;
  padding: 0.5rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination-nav .page-numbers:hover {
  border-color: #FFD100;
  background-color: #FFF8E1;
  color: #212529;
}

.pagination-nav .page-numbers.current {
  background: linear-gradient(135deg, #FFD100 0%, #FFA800 100%);
  border-color: #FFD100;
  color: #212529;
}

.pagination-nav .prev,
.pagination-nav .next {
  padding: 0.5rem 1.5rem;
}

@media (max-width: 768px) {
  .archive-header h1 {
    font-size: 2rem;
  }
  
  .post-card .card-img-top {
    height: 180px;
  }
  
  .post-card .card-title {
    font-size: 1.1rem;
    min-height: auto;
  }
}
