/* =============================================
   Blog Listing Page Styles
   ============================================= */

.blog-page-section {
  padding: 80px 0;
  background-color: #f8fbf9;
  position: relative;
}

/* Card Styling */
.blog-page-card {
  background-color: var(--ayur-white-color, #ffffff);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 42, 15, 0.04);
  border: 1px solid rgba(4, 138, 5, 0.05);
  transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1), 
              box-shadow 400ms cubic-bezier(0.165, 0.84, 0.44, 1), 
              border-color 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Card Hover Effects */
.blog-page-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 42, 15, 0.08);
  border-color: rgba(4, 138, 5, 0.15);
}

/* Image Wrapper and Zoom Effect */
.blog-page-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%; /* 5:3 Aspect Ratio */
  overflow: hidden;
  background-color: #eaefe9;
}

.blog-page-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.blog-page-card:hover .blog-page-img-wrap img {
  transform: scale(1.06);
}

/* Content Area */
.blog-page-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Label */
.blog-page-category {
  display: inline-block;
  align-self: flex-start;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ayur-primary-color, #048a05);
  background-color: rgba(4, 138, 5, 0.06);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Blog Title */
.blog-page-title {
  font-family: "Archivo", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-page-title a {
  color: var(--ayur-banheading-color, #0f2a0f);
  text-decoration: none;
  transition: color 300ms ease;
}

.blog-page-title a:hover {
  color: var(--ayur-primary-color, #048a05);
}

/* Excerpt */
.blog-page-excerpt {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  color: var(--ayur-para-color, #556052);
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer Meta Area */
.blog-page-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(4, 138, 5, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Date */
.blog-page-date {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--ayur-para-color, #556052);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-page-date i {
  color: var(--ayur-primary-color, #048a05);
  font-size: 14px;
}

/* Read More Link */
.blog-page-readmore {
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ayur-banheading-color, #0f2a0f);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 300ms ease, gap 300ms ease;
}

.blog-page-readmore i {
  font-size: 12px;
  transition: transform 300ms ease;
}

.blog-page-readmore:hover {
  color: var(--ayur-primary-color, #048a05);
  gap: 8px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .blog-page-section {
    padding: 60px 0;
  }
  
  .blog-page-title {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .blog-page-content {
    padding: 24px 20px;
  }
}
