/* Component: hsp-post-archive */

.hsp-post-archive-container {
  width: 100%;
}

.hsp-post-archive-layout {
  width: 100%;
}

.hsp-post-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.hsp-post-archive-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hsp-post-archive-card-image-wrapper {
  display: block;
  position: relative;
  width: 100%;
  height: 186px;
  overflow: hidden;
  background-color: #ea580d;
}

.hsp-post-archive-card-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(15px);
  transform: scale(1.1);
}

.hsp-post-archive-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hsp-post-archive-card-image-placeholder {
  background-color: #d7ccdf;
  box-sizing: border-box;
  padding: 30px;
}

.hsp-post-archive-card-image-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hsp-post-archive-card-content {
  padding: 20px;
  background: #f5f2f8;
  flex: 1;
}

.hsp-post-archive-card-title {
  font-size: 20px;
  color: rgba(255, 163, 0, 1);
  margin-bottom: 15px;
  line-height: 1.4;
}

.hsp-post-archive-card-title a {
  color: inherit;
  text-decoration: none;
}

.hsp-post-archive-card-excerpt {
  font-size: 15px;
  color: #555555;
  line-height: 1.5;
}

.hsp-post-archive-card-btn {
  display: inline-block;
  margin-top: 20px;
}

/** PAGINATION **/
.hsp-post-archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.hsp-post-archive-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 100%;
  color: #500778;
  font-weight: 700;
  text-decoration: none;
}

.hsp-post-archive-pagination .page-numbers.current {
  background-color: #500778;
  color: #ffffff;
}

.hsp-post-archive-pagination a.page-numbers:hover {
  background-color: #ea580d;
  color: #ffffff;
}

@media (max-width: 991px) {
  .hsp-post-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .hsp-post-archive-grid {
    grid-template-columns: 1fr;
  }
}
