/*
 Theme Name:   GeneratePress Child (Card Layout)
 Template:     generatepress
*/

body {
  font-family: sans-serif;
}

.custom-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 40px 20px;
}

.custom-archive-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.custom-archive-card:hover {
  transform: translateY(-5px);
}

.custom-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.custom-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 16px 0;
  padding: 0 12px;
  color: #222;
}

.page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-numbers:hover {
  background: #f0f0f0;
  color: #000;
}

.page-numbers.current {
  background: #6a5acd;
  color: #fff;
  border-color: #6a5acd;
  font-weight: bold;
}

.navigation.pagination {
  text-align: center;
  margin: 40px 0;
}
