.page-blog {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #F5F7FA;
}

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

.page-blog__hero-section {
  padding-top: 10px; /* Consistent with shared body padding-top */
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding-bottom: 40px;
}

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

.page-blog__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__main-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
}

.page-blog__intro-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-blog__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-blog__btn-primary,
.page-blog__btn-secondary {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-blog__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-blog__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-blog__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F;
  border-color: #FF5A4F;
  transform: translateY(-2px);
}

.page-blog__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935;
}

.page-blog__section-description {
  font-size: 1.05em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-blog__dark-bg .page-blog__section-title,
.page-blog__dark-bg .page-blog__section-description {
  color: #ffffff;
}

.page-blog__dark-bg .page-blog__section-description {
  color: #f0f0f0;
}

.page-blog__category-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-blog__category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-blog__category-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__category-link {
  text-decoration: none;
  display: block;
  color: #333333;
}

.page-blog__category-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-blog__category-name {
  font-size: 1.4em;
  font-weight: 600;
  padding: 15px 20px 5px;
  color: #E53935;
}

.page-blog__category-excerpt {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #666666;
}

.page-blog__latest-posts-section {
  padding: 60px 0;
  background-color: #E53935;
}

.page-blog__post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-blog__post-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-blog__post-thumbnail {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-blog__post-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333333;
}

.page-blog__post-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog__post-date {
  font-size: 0.85em;
  color: #999999;
  display: block;
}

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

.page-blog__why-read-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-blog__feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-blog__feature-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-blog__feature-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #E53935;
}

.page-blog__feature-text {
  font-size: 1em;
  color: #333333;
}

.page-blog__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: #FF5A4F;
  color: #ffffff;
}

/* Universal image and button responsive styles */
.page-blog img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog__cta-buttons,
.page-blog__button-group,
.page-blog__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .page-blog {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .page-blog__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__main-title {
    font-size: 1.8em;
    margin-bottom: 10px;
  }

  .page-blog__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog__btn-primary,
  .page-blog__btn-secondary,
  .page-blog a[class*="button"],
  .page-blog a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-blog__section-title {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .page-blog__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-blog__category-section,
  .page-blog__latest-posts-section,
  .page-blog__why-read-section,
  .page-blog__cta-bottom-section {
    padding: 30px 0;
  }

  .page-blog__category-grid,
  .page-blog__post-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .page-blog__category-card,
  .page-blog__post-card {
    margin-bottom: 15px;
  }

  .page-blog__category-name,
  .page-blog__post-title {
    font-size: 1.2em;
  }

  .page-blog__feature-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .page-blog__feature-title {
    font-size: 1.3em;
  }

  /* Ensure all images are responsive in mobile */
  .page-blog img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-blog__section,
  .page-blog__card,
  .page-blog__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* No specific home_content-box with fixed height for blog page, using standard fluid sections */
/* The prompt's example for `page-blog__home-content-box` was likely a generic content wrapper example for homepage, not specific to blog. */
/* If a specific element like __home-content-box with overflow-y: auto was intended for blog, it would need explicit content. */
/* For a blog page, main content should flow naturally without fixed height/scroll. */