.page-blog {
  color: #333333; /* Dark text for default white body background */
}

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #0A2463; /* Primary brand color */
  color: #ffffff; /* White text for dark background */
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary brand color for emphasis */
  line-height: 1.2;
  font-weight: 700;
}

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

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

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

.page-blog__button--primary {
  background-color: #FFD700; /* Gold secondary color */
  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; /* Gold text */
  border: 2px solid #FFD700;
}

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

.page-blog__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-blog__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
}

.page-blog__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  transform: translateY(-40px);
  position: relative;
  z-index: 3;
}

.page-blog__article-heading {
  font-size: 2.5em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.page-blog__article-subheading {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: 600;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-blog__article-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__bullet-list {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
}

.page-blog__list-link,
.page-blog__text-link {
  color: #0A2463;
  text-decoration: none;
  font-weight: 600;
}

.page-blog__list-link:hover,
.page-blog__text-link:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-blog__article-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-blog__call-to-action {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }
  .page-blog__article-heading {
    font-size: 2em;
  }
  .page-blog__article-subheading {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog__button {
    width: 80%;
    max-width: 300px;
  }
  .page-blog__content-area {
    padding: 30px 15px;
    transform: translateY(-30px);
  }
  .page-blog__article-heading {
    font-size: 1.8em;
  }
  .page-blog__article-subheading {
    font-size: 1.3em;
  }
  .page-blog__article-paragraph,
  .page-blog__bullet-list {
    font-size: 0.95em;
  }
  .page-blog__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size even for mobile */
    min-height: 200px;
  }
  .page-blog__call-to-action {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog {
    overflow-x: hidden; /* Prevent horizontal scroll */
  }
  .page-blog__content-area img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__article-heading {
    font-size: 1.5em;
  }
  .page-blog__article-subheading {
    font-size: 1.2em;
  }
  .page-blog__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}