/* Blog listing & detail styles */

.blogs-header {
  padding: 70px 0 50px;
  background: linear-gradient(135deg, rgba(201,160,80,0.15), rgba(0,0,0,0.03));
  text-align: center;
}

.blogs-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 10px;
}

.blogs-header p {
  color: #666;
  max-width: 720px;
  margin: 0 auto;
}

.blog-search-section {
  padding: 30px 0 10px;
}

.blog-search-box {
  position: relative;
  max-width: 720px;
  margin: 0 auto 20px;
}

.blog-search-box input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border-radius: 30px;
  border: 1px solid #e5e5e5;
  outline: none;
  font-size: 15px;
  background: #fff;
}

.blog-search-box i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.blog-filter-pill {
  border: 1px solid #e5e5e5;
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-pill.active,
.blog-filter-pill:hover {
  background: #c9a050;
  color: #fff;
  border-color: #c9a050;
}

.blog-results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 20px;
}

.blog-results-info .results-count {
  color: #555;
  font-size: 14px;
}

/* Blog grid - responsive: 1 on small, 2 on medium, 3 on large */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 11 / 8; /* matches 440w x 320h */
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-card-body {
  padding: 18px;
}

.blog-card-category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9a050;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.blog-card-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.blog-card-meta {
  display: flex;
  gap: 10px;
  color: #999;
  font-size: 12px;
}

.blog-no-results {
  text-align: center;
  padding: 60px 20px;
  color: #777;
}

.blog-no-results i {
  font-size: 32px;
  color: #c9a050;
  margin-bottom: 10px;
}

/* Blog detail */
.blog-post-hero {
  padding: 50px 0 25px;
}

.blog-post-hero h1 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.blog-post-meta {
  color: #777;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.blog-post-cover {
  border-radius: 16px;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 24px 0;
}

.blog-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: #444;
}

.blog-post-content blockquote {
  border-left: 4px solid #c9a050;
  padding-left: 16px;
  color: #666;
  font-style: italic;
  margin: 20px 0;
}

.blog-back-link {
  display: inline-block;
  margin-top: 24px;
  color: #c9a050;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blog-results-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Related Products Section (Blog Pages) */
.blog-related-products {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(201,160,80,0.06), rgba(0,0,0,0.02));
}

.blog-related-products .section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.blog-related-products .section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 8px;
  color: #1a1a1a;
}

.blog-related-products .section-heading p {
  color: #777;
  font-size: 15px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }
}

.related-product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.related-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.related-product-card .rp-body {
  padding: 16px;
  text-align: center;
}

.related-product-card .rp-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.related-product-card .rp-price {
  font-size: 15px;
  font-weight: 600;
  color: #c9a050;
  margin-bottom: 10px;
}

.related-product-card .rp-price .rp-mrp {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}

.related-product-card .rp-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #c9a050;
  color: #c9a050;
  border-radius: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.related-product-card:hover .rp-btn {
  background: #c9a050;
  color: #fff;
}
