.page-blog {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-blog__hero-section {
  background-color: #0A246A; /* Primary brand color */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-blog__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #F3C500; /* Auxiliary brand color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__hero-button {
  display: inline-block;
  background-color: #F3C500; /* Auxiliary brand color */
  color: #0A246A; /* Primary brand color for text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #0A246A; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
  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: #F3C500; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-blog__section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.1em;
  color: #555555;
}

.page-blog__featured-articles,
.page-blog__latest-posts,
.page-blog__categories-section,
.page-blog__why-read-section,
.page-blog__cta-section,
.page-blog__about-blog-section {
  padding: 60px 0;
}

.page-blog__featured-articles {
  background-color: #f9f9f9;
}

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

.page-blog__article-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-blog__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-blog__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #0A246A; /* Primary brand color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #F3C500; /* Auxiliary brand color */
}

.page-blog__article-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #F3C500; /* Auxiliary brand color */
  color: #0A246A; /* Primary brand color */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover {
  background-color: #e0b800;
}

.page-blog__latest-posts {
  background-color: #ffffff;
}

.page-blog__posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-blog__post-item {
  display: flex;
  align-items: flex-start;
  background-color: #fefefe;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.page-blog__post-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-blog__post-thumbnail {
  width: 250px; /* Enforce minimum size for content images */
  min-width: 250px;
  height: 180px;
  object-fit: cover;
  display: block;
}

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

.page-blog__post-item-title {
  font-size: 1.3em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.page-blog__post-item-title a {
  color: #0A246A; /* Primary brand color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__post-item-title a:hover {
  color: #F3C500; /* Auxiliary brand color */
}

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

.page-blog__post-snippet {
  font-size: 0.95em;
  color: #666666;
}

.page-blog__categories-section {
  background-color: #f9f9f9;
}

.page-blog__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-blog__category-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-blog__category-item:hover {
  background-color: #fffaf0; /* Light gold tint */
  border-color: #F3C500; /* Auxiliary brand color */
}

.page-blog__category-title {
  font-size: 1.5em;
  color: #0A246A; /* Primary brand color */
  margin-bottom: 10px;
}

.page-blog__category-description {
  font-size: 0.95em;
  color: #666666;
}

.page-blog__why-read-section {
  background-color: #ffffff;
}

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

.page-blog__value-item {
  background-color: #fefefe;
  border-left: 5px solid #F3C500; /* Auxiliary brand color */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-blog__value-heading {
  font-size: 1.6em;
  color: #0A246A; /* Primary brand color */
  margin-bottom: 15px;
}

.page-blog__value-description {
  font-size: 1em;
  color: #555555;
}

.page-blog__cta-section {
  background: linear-gradient(135deg, #0A246A, #1a3a8a); /* Gradient with primary color */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-blog__cta-content {
  max-width: 900px;
}

.page-blog__cta-section .page-blog__section-title {
  color: #F3C500; /* Auxiliary brand color */
}

.page-blog__cta-section .page-blog__section-title::after {
  background-color: #ffffff;
}

.page-blog__cta-section .page-blog__section-intro {
  color: #e0e0e0;
  margin-bottom: 40px;
}

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

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__cta-button--primary {
  background-color: #F3C500; /* Auxiliary brand color */
  color: #0A246A; /* Primary brand color */
}

.page-blog__cta-button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-blog__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #F3C500; /* Auxiliary brand color */
  color: #F3C500; /* Auxiliary brand color */
}

.page-blog__cta-button--secondary:hover {
  background-color: #F3C500;
  color: #0A246A; /* Primary brand color */
  transform: translateY(-2px);
}

.page-blog__about-blog-section {
  background-color: #f9f9f9;
  padding-bottom: 80px;
}

.page-blog__about-text {
  margin-bottom: 20px;
  color: #555555;
  font-size: 1.05em;
  text-align: justify;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.8em;
  }

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

  .page-blog__article-image {
    height: 180px;
  }

  .page-blog__post-thumbnail {
    width: 200px;
    min-width: 200px;
    height: 150px;
  }
}

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

  .page-blog__hero-title {
    font-size: 2.2em;
  }

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

  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-blog__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-blog__article-card {
    margin-bottom: 20px;
  }

  .page-blog__article-image {
    height: 200px;
  }

  .page-blog__post-item {
    flex-direction: column;
    text-align: center;
  }

  .page-blog__post-thumbnail {
    width: 100%;
    min-width: 200px; /* Ensure minimum width for mobile */
    height: 200px;
    object-fit: cover;
  }

  .page-blog__post-details {
    padding: 15px;
  }

  .page-blog__post-item-title {
    font-size: 1.1em;
  }

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

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

  .page-blog__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog__cta-button {
    width: 100%;
  }

  .page-blog__container {
    padding: 0 15px;
  }

  .page-blog__featured-articles,
  .page-blog__latest-posts,
  .page-blog__categories-section,
  .page-blog__why-read-section,
  .page-blog__cta-section,
  .page-blog__about-blog-section {
    padding: 40px 0;
  }

  /* Mobile content image overflow prevention */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
}