/* Blog Hero Section */
.blog-hero {
  background-image: url('../../images/blog/blog-hero.png');
background-repeat: no-repeat;
background-size: contain; /* 🟡 shows full image without zooming */
background-position: center;
background-color: #fff; /* fallback background if image has transparency */
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 300px; /* reduced height */
  max-height: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* dark overlay */
  z-index: 1;
}

.blog-hero h2,
.blog-hero p {
  position: relative;
  z-index: 2;
}

.blog-hero h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: #fff;
}

.blog-hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #fff;
}

/* Blog Previews */
.blog-list {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: #fff;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img.blog-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h2 {
  font-size: 1.4rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.blog-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.blog-content .read-more {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 2px;
}

.blog-content .read-more:hover {
  color: #d4af37;
}

/* Full Blog Post Page */
.blog-post-full {
  padding: 4rem 2rem;
  max-width: 850px;
  margin: 0 auto;
  color: #111;
  background-color: #fff;
  border-left: 4px solid #d4af37;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.blog-post-full h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 0.5rem;
}

.blog-inline-img {
  width: 280px;
  max-width: 90%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid #d4af37;
  background-color: #fff;
}

.blog-post-full .post-meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 2rem;
}

.blog-post-full p,
.blog-post-full ul,
.blog-post-full ol {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-post-full ul,
.blog-post-full ol {
  padding-left: 1.5rem;
}

.blog-post-full h3 {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  color: #000;
}

.blog-post-full a.read-more {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-post-full a.read-more:hover {
  background-color: #d4af37;
  color: #000;
}

.download-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 2px solid #d4af37;
}

.download-button:hover {
  background-color: #d4af37;
  color: #000;
}

/* Mobile Response */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-post-full {
    padding: 2rem 1rem;
  }
}
