.page-blog {
  color: #ffffff; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-blog__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Main color for hero background */
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability, not color change */
}

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

.page-blog__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-blog__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-blog__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-blog__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FCBC45; /* Login color for CTA button background */
  color: #000000; /* Main color for CTA button text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-blog__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #0d0d0d; /* Matching body background for content area */
}

.page-blog__article {
  line-height: 1.7;
}

.page-blog__article-heading {
  font-size: 2.2em;
  color: #FCBC45;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-blog__sub-heading {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-top: 35px;
  margin-bottom: 20px;
  border-left: 5px solid #FCBC45;
  padding-left: 15px;
}

.page-blog__article-paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-blog__article-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog__call-to-action {
  text-align: center;
  background-color: rgba(252, 188, 69, 0.1); /* Light transparent version of login color */
  padding: 40px;
  border-radius: 10px;
  margin-top: 50px;
}

.page-blog__cta-text {
  font-size: 1.4em;
  color: #FCBC45;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-blog__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 2.4em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__article-heading {
    font-size: 2em;
  }
  .page-blog__sub-heading {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-content {
    width: 95%;
    padding: 15px;
  }
  .page-blog__hero-title {
    font-size: 2em;
  }
  .page-blog__hero-description {
    font-size: 0.9em;
  }
  .page-blog__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-blog__article-heading {
    font-size: 1.8em;
  }
  .page-blog__sub-heading {
    font-size: 1.4em;
  }
  .page-blog__article-paragraph {
    font-size: 0.95em;
  }
  .page-blog__call-to-action {
    padding: 30px 20px;
  }
  .page-blog__cta-text {
    font-size: 1.2em;
  }
  /* Ensure images do not overflow on mobile */
  .page-blog__content-area img {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-image {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.6em;
  }
  .page-blog__hero-description {
    font-size: 0.85em;
  }
  .page-blog__article-heading {
    font-size: 1.6em;
  }
  .page-blog__sub-heading {
    font-size: 1.2em;
  }
  .page-blog__cta-button--large {
    padding: 15px 25px;
    font-size: 1em;
  }
}