.page-blog {
  background-color: #140C0C;
  color: #FFF1E8;
  padding-bottom: 40px;
}

.page-blog__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for first section */
  margin-bottom: 40px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-blog__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-blog__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF1E8;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px; /* Constrain CTA width */
  margin: 0 auto;
}

.page-blog__hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 176, 74, 0.3);
}

.page-blog__latest-posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-blog__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

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

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

.page-blog__post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-blog__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-blog__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__card-date {
  font-size: 0.9em;
  color: #E53030;
  margin-bottom: 10px;
  display: block;
}

.page-blog__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFF1E8;
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-blog__card-excerpt {
  font-size: 0.95em;
  color: #FFF1E8;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-blog__read-more-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #C61F1F;
  color: #FFF1E8;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog__read-more-btn:hover {
  background-color: #E53030;
}

.page-blog__view-all-button-section {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

.page-blog__view-all-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 250px;
  margin: 0 auto;
}

.page-blog__view-all-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 176, 74, 0.4);
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-blog__hero-image {
    height: auto;
    max-width: 100%;
  }

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

  .page-blog__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: 0;
  }

  .page-blog__hero-content {
    padding: 15px;
  }

  .page-blog__hero-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-blog__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__hero-cta,
  .page-blog__view-all-button {
    width: 100%;
    max-width: 250px;
  }

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

  .page-blog__card-image {
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }

  .page-blog__card-title {
    font-size: 1.2em;
  }

  .page-blog__card-excerpt {
    font-size: 0.9em;
  }
}

@media (max-width: 549px) {
  .page-blog__hero-title {
    font-size: clamp(1.4rem, 8vw, 1.8rem);
  }

  .page-blog__section-title {
    font-size: 1.6em;
  }

  .page-blog__post-card {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Ensure all content area images are at least 200px */
.page-blog img {
  min-width: 200px;
  min-height: 200px;
  /* Ensure CSS doesn't override HTML width/height to smaller values */
  /* max-width: 100%; height: auto; is handled in mobile media query */
}