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

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

.page-blog__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-blog__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  background: rgba(10, 36, 99, 0.8); /* Semi-transparent dark blue background */
  padding: 40px;
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  font-weight: bold;
}

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

.page-blog__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-blog__button--primary {
  background-color: #FFD700; /* Gold */
  color: #0A2463; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-blog__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-blog__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-blog__button--secondary:hover {
  background-color: #0A2463;
  transform: translateY(-3px);
}

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

.page-blog__latest-articles-section,
.page-blog__deep-dive-section,
.page-blog__cta-section {
  padding: 80px 0;
}

.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;
}

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

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

.page-blog__article-content {
  padding: 25px;
}

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

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

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

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

.page-blog__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-blog__read-more:hover {
  color: #0A2463;
  border-color: #0A2463;
}

.page-blog__deep-dive-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-blog__deep-dive-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog__text-content {
  flex: 1;
  max-width: 50%;
  font-size: 1.1em;
  color: #444444;
}

.page-blog__text-content p {
  margin-bottom: 20px;
}

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

.page-blog__cta-section .page-blog__section-title {
  color: #FFD700;
}

.page-blog__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

  .page-blog__deep-dive-content {
    flex-direction: column;
  }

  .page-blog__deep-dive-image,
  .page-blog__text-content {
    max-width: 100%;
  }
}

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

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

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

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

  .page-blog__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-blog__latest-articles-section,
  .page-blog__deep-dive-section,
  .page-blog__cta-section {
    padding: 60px 0;
  }

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

  .page-blog__article-card {
    margin: 0 auto;
  }

  .page-blog__deep-dive-image {
    height: auto; /* Allow image to scale */
  }

  /* Mobile content area images must not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }

  .page-blog {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-content {
    padding: 20px;
  }

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

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

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

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