.page-blog {
  padding-top: 10px; /* Small top padding for the first section to avoid header overlap */
  background-color: #140C0C;
  color: #FFF1E8;
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px; /* Spacing between image and content */
}

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-blog__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF1E8;
  margin-bottom: 15px;
  /* Using clamp for responsive font size, avoiding fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-blog__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-blog__hero-button,
.page-blog__view-all-button,
.page-blog__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8; /* Text Main */
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.page-blog__hero-button:hover,
.page-blog__view-all-button:hover,
.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(243, 197, 77, 0.3); /* Gold shadow */
}

.page-blog__posts-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #140C0C;
  border-radius: 10px;
}

.page-blog__section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: #F3C54D; /* Gold color for section titles */
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog__posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__post-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid #6A1E1E; /* Border color */
}

.page-blog__post-card:hover {
  transform: translateY(-5px);
}

.page-blog__post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-blog__post-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency in grid, will be responsive */
  object-fit: cover;
  display: block;
}

.page-blog__post-content {
  padding: 20px;
}

.page-blog__post-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFF1E8; /* Text Main */
  line-height: 1.4;
}

.page-blog__post-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 15px;
}

.page-blog__post-date {
  font-size: 0.85rem;
  color: #F3C54D; /* Gold color for dates */
  display: block;
}

.page-blog__view-all-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-blog__cta-banner {
  max-width: 1200px;
  margin: 60px auto;
  padding: 30px;
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #6A1E1E; /* Border color */
}

.page-blog__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px; /* Spacing between image and content */
}

.page-blog__cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.page-blog__cta-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #F3C54D; /* Gold color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-blog__cta-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-section,
  .page-blog__posts-section,
  .page-blog__cta-banner {
    padding: 20px 15px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-blog__hero-description {
    font-size: 1rem;
  }

  .page-blog__posts-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__post-image {
    max-width: 100%;
    height: auto;
  }

  .page-blog__post-title {
    font-size: 1.2rem;
  }

  .page-blog__cta-title {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-blog__posts-grid img,
  .page-blog__post-card img,
  .page-blog__cta-banner img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum display size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-button,
  .page-blog__view-all-button,
  .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Global rule for content area images to ensure minimum display size for all images within .page-blog */
.page-blog img {
  min-width: 200px;
  min-height: 200px;
}