.page-blog {
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-blog__hero-section {
  margin-bottom: 40px;
  text-align: center;
}

.page-blog__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.page-blog__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* For 1920x600 */
  object-fit: cover;
  object-position: center;
}

.page-blog__hero-content {
  padding: 20px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 15px;
  line-height: 1.2;
}

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

.page-blog__hero-cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__hero-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Blog Posts Section */
.page-blog__posts-section {
  padding: 40px 0;
}

.page-blog__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  color: #F3C54D;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-blog__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #E53030;
  margin: 10px auto 0;
}

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

.page-blog__posts-card {
  background-color: #2A1212;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E;
}

.page-blog__posts-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

.page-blog__posts-card-image {
  width: 100%;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* For 800x450 */
  filter: none; /* Ensure no CSS filters */
}

.page-blog__posts-card-content {
  padding: 20px;
}

.page-blog__posts-card-title {
  font-size: 1.4rem;
  color: #F3C54D;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.page-blog__posts-card-link:hover .page-blog__posts-card-title {
  color: #FFB04A;
}

.page-blog__posts-card-excerpt {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 15px;
}

.page-blog__posts-card-date {
  font-size: 0.85rem;
  color: #E53030;
  display: block;
}

.page-blog__view-all {
  text-align: center;
}

.page-blog__view-all-button {
  display: inline-block;
  padding: 10px 25px;
  background: #C61F1F;
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog__view-all-button:hover {
  background-color: #E53030;
}

/* Call to Action Section */
.page-blog__cta-section {
  background-color: #2A1212;
  padding: 50px 0;
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #6A1E1E;
}

.page-blog__cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-blog__cta-description {
  font-size: 1rem;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-blog__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

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

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

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

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

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

@media (max-width: 549px) {
  .page-blog__hero-content {
    padding: 15px 10px;
  }

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

  .page-blog__hero-cta-button {
    padding: 10px 20px;
  }

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

  .page-blog__posts-card-excerpt {
    font-size: 0.9rem;
  }

  .page-blog__view-all-button {
    padding: 8px 20px;
  }

  .page-blog__cta-button {
    padding: 10px 25px;
  }
}

/* Ensure content area images do not cause horizontal scroll on mobile */
@media (max-width: 768px) {
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog {
    overflow-x: hidden;
  }
}