/*
Theme Name: Astra Child
Template: astra
Author: Brainstorm Force
Version: 1.0.0
Description: Child theme for Astra with custom search layout
*/

.abr-post-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin: 40px 0;
  justify-content: center;
  width: 100%;
}

.abr-post-card-grid > article.abr-post-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
}

.abr-post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.abr-post-card:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

.abr-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.abr-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.3s ease;
}

.abr-post-card:hover .abr-thumbnail img {
  transform: scale(1.03);
}

.abr-card-content {
  padding: 20px;
  text-align: center;
}

.abr-post-title {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 8px 0;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.abr-post-card:hover .abr-post-title {
  color: #888888;
}

.abr-read-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2e7d32;
  margin-top: 10px;
  display: inline-block;
  text-transform: uppercase;
}

.abr-post-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #2e7d32;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.abr-pagination {
  margin-top: 40px;
  text-align: center;
}
.abr-post-card-grid > .abr-post-card {
  display: block !important;
  max-width: 100%;
}
.abr-post-card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 40px !important;
  margin: 40px 0 !important;
  justify-content: center !important;
  width: 100% !important;
}

.abr-post-card-grid > article.abr-post-card {
  display: block !important;
  width: 100% !important;
  max-width: 360px !important;
  margin: 0 auto !important;
}
