.page-blog {
  color: #333333; /* Dark text for light body background #f8f8f8 */
  line-height: 1.6;
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-blog__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

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

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 128, 0.7); /* Auxiliary color with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Primary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  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: #FFD700; /* Primary color */
  color: #000080; /* Auxiliary color for text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__hero-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-blog__introduction-section,
.page-blog__articles-section,
.page-blog__deep-dive-section,
.page-blog__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-blog__introduction-container,
.page-blog__articles-container,
.page-blog__deep-dive-container,
.page-blog__cta-container {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog__introduction-title,
.page-blog__articles-title,
.page-blog__deep-dive-title,
.page-blog__cta-title {
  font-size: 2.5em;
  color: #000080; /* Auxiliary color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-blog__introduction-text,
.page-blog__deep-dive-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__deep-dive-subtitle {
  font-size: 1.8em;
  color: #FFD700; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-blog__article-card {
  background-color: #fcfcfc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  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: 250px;
  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.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__article-title a {
  color: #000080; /* Auxiliary color */
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-blog__article-button {
  display: inline-block;
  background-color: #000080; /* Auxiliary color */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog__article-button:hover {
  background-color: #FFD700; /* Primary color */
  color: #000080;
}

.page-blog__cta-section {
  text-align: center;
  background-color: #000080; /* Auxiliary color as background */
  color: #ffffff;
  border-radius: 8px;
  margin-top: 60px;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-title {
  color: #FFD700; /* Primary color */
  font-size: 2.8em;
  margin-bottom: 20px;
}

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

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Primary color */
  color: #000080; /* Auxiliary color for text */
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-blog__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1.1em;
  }
  .page-blog__introduction-title,
  .page-blog__articles-title,
  .page-blog__deep-dive-title,
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__deep-dive-subtitle {
    font-size: 1.6em;
  }
  .page-blog__articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    max-width: 90%;
    padding: 15px;
  }
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-blog__introduction-section,
  .page-blog__articles-section,
  .page-blog__deep-dive-section,
  .page-blog__cta-section {
    padding: 40px 15px;
  }
  .page-blog__introduction-container,
  .page-blog__articles-container,
  .page-blog__deep-dive-container,
  .page-blog__cta-container {
    padding: 15px;
  }
  .page-blog__introduction-title,
  .page-blog__articles-title,
  .page-blog__deep-dive-title,
  .page-blog__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-blog__introduction-text,
  .page-blog__deep-dive-text {
    font-size: 0.95em;
  }
  .page-blog__deep-dive-subtitle {
    font-size: 1.4em;
  }
  .page-blog__article-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content images are responsive and do not overflow */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__cta-title {
    font-size: 2.2em;
  }
  .page-blog__cta-description {
    font-size: 1.1em;
  }
  .page-blog__cta-button {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}

@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: 1em;
  }
  .page-blog__introduction-title,
  .page-blog__articles-title,
  .page-blog__deep-dive-title,
  .page-blog__cta-title {
    font-size: 1.5em;
  }
  .page-blog__deep-dive-subtitle {
    font-size: 1.2em;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__article-button {
    font-size: 0.9em;
    padding: 8px 15px;
  }
  .page-blog__cta-title {
    font-size: 1.8em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}