.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); /* Ensures content is below fixed header */
}

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

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

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

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

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E3B505; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-blog__hero-button:hover {
  background-color: #f0c53d;
}

.page-blog__introduction-section,
.page-blog__more-insights-section {
  padding: 60px 0;
  background-color: #f4f4f4;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
}

.page-blog__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-blog__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-blog__featured-articles-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

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

.page-blog__article-card:hover {
  transform: translateY(-5px);
}

.page-blog__article-image {
  width: 100%;
  height: 220px; /* Ensure images are not too small */
  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.6em;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-blog__article-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-blog__article-title a:hover {
  color: #E3B505;
}

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

.page-blog__read-more-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

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

.page-blog__categories-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-blog__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-blog__category-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-blog__cta-section {
  position: relative;
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-blog__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  z-index: 1;
}

.page-blog__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #E3B505;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-blog__cta-button:hover {
  background-color: #f0c53d;
  transform: scale(1.05);
}

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

@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.2em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__section-title {
    font-size: 1.8em;
  }
  .page-blog__section-subtitle,
  .page-blog__text-content {
    font-size: 0.95em;
  }
  .page-blog__articles-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image,
  .page-blog__cta-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-card {
    margin-bottom: 20px;
  }
  .page-blog__article-title {
    font-size: 1.4em;
  }
  .page-blog__category-title {
    font-size: 1.5em;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-blog__introduction-section,
  .page-blog__featured-articles-section,
  .page-blog__categories-section,
  .page-blog__cta-section,
  .page-blog__more-insights-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__hero-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-blog__section-title {
    font-size: 1.5em;
  }
  .page-blog__section-subtitle,
  .page-blog__text-content {
    font-size: 0.9em;
  }
  .page-blog__article-title {
    font-size: 1.2em;
  }
  .page-blog__article-excerpt {
    font-size: 0.85em;
  }
  .page-blog__read-more-button {
    padding: 8px 15px;
    font-size: 0.85em;
  }
  .page-blog__category-title {
    font-size: 1.3em;
  }
  .page-blog__category-description {
    font-size: 0.85em;
  }
  .page-blog__cta-title {
    font-size: 1.6em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}