.page-blog {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #B71C1C;
  color: #FFF5E1;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
}

.page-blog__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-content {
  text-align: center;
  max-width: 900px;
}

.page-blog__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFF5E1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.page-blog__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-blog__hero-cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F4D34D;
}

.page-blog__hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__latest-posts-section,
.page-blog__cta-section,
.page-blog__faq-section {
  max-width: 1400px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
}

.page-blog__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1;
  position: relative;
  padding-bottom: 10px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #F4D34D;
  border-radius: 2px;
}

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

.page-blog__post-card {
  background-color: #D32F2F;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #7A0E0E;
}

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

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

.page-blog__post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-blog__post-card-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFF5E1;
  line-height: 1.4;
}

.page-blog__post-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF5E1;
  margin-bottom: 15px;
}

.page-blog__post-card-date {
  font-size: 0.85rem;
  color: #F4D34D;
  display: block;
  margin-bottom: 10px;
}

.page-blog__post-card-read-more {
  display: inline-block;
  color: #FFD86A;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-card-read-more:hover {
  color: #E6B800;
}

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

.page-blog__view-all-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #F4D34D;
}

.page-blog__view-all-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__cta-section {
  text-align: center;
  background-color: #D32F2F;
  padding: 50px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #7A0E0E;
}

.page-blog__cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF5E1;
}

.page-blog__cta-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #F4D34D;
}

.page-blog__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-blog__faq-item {
  background-color: #D32F2F;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #7A0E0E;
}

.page-blog__faq-question {
  font-size: 1.15rem;
  font-weight: bold;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-blog__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF5E1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-blog {
    padding: 0 0 40px 0;
  }

  .page-blog__hero-section,
  .page-blog__latest-posts-section,
  .page-blog__cta-section,
  .page-blog__faq-section {
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .page-blog__hero-image {
    height: auto;
    aspect-ratio: 16/9;
  }

  .page-blog__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    padding: 0 5px;
  }

  .page-blog__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    padding: 0 5px;
  }

  .page-blog__hero-cta-button,
  .page-blog__view-all-button,
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

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

  .page-blog__post-card-image {
    width: 100%;
    height: 200px; /* Ensure minimum 200px height for content images */
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .page-blog__post-card-content {
    padding: 15px;
  }

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

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

  .page-blog__faq-item {
    padding: 20px;
  }

  .page-blog__faq-question {
    font-size: 1.05rem;
  }

  .page-blog__faq-answer {
    font-size: 0.95rem;
  }

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

  .page-blog__cta-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-blog img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-blog__posts-grid img {
    max-width: 100%;
    height: auto; /* Ensure responsive behavior for blog card images */
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: clamp(1.3rem, 7vw, 2rem);
  }
  .page-blog__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .page-blog__hero-cta-button,
  .page-blog__view-all-button,
  .page-blog__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}