.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); /* Ensure space for fixed header */
}

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000000; /* Dark background for contrast with overlay */
  color: #FFFFFF; /* Light text for dark background */
}

.page-blog__hero-container {
  position: relative;
  max-width: 1920px; /* Max width for hero content */
  margin: 0 auto;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim the background image */
}

.page-blog__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #FFFFFF;
}

.page-blog__hero-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__hero-button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
}

.page-blog__hero-button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-blog__content-area {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-blog__article-heading {
  font-size: 2.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-blog__article-subheading {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #333333;
}

.page-blog__keyword {
  color: #000000; /* Main color for emphasis */
  font-weight: bold;
}

.page-blog__article-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__article-ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-blog__article-list-item {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.page-blog__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
  object-fit: cover; /* Ensures image covers the area without distortion */
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 30px;
  transition: background-color 0.3s ease;
}

.page-blog__cta-button:hover {
  background-color: #e0a53b;
}

.page-blog__final-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-blog__final-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__final-button--download {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-blog__final-button--download:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-blog__final-button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Register color */
  border: 2px solid #FFFFFF;
}

.page-blog__final-button--register:hover {
  background-color: #333333;
  border-color: #FCBC45;
  transform: translateY(-2px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-blog__hero-title {
    font-size: 2.5em;
  }

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

  .page-blog__hero-button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-blog__article-heading {
    font-size: 2em;
  }

  .page-blog__article-subheading {
    font-size: 1.5em;
  }

  .page-blog__article-paragraph,
  .page-blog__article-list-item {
    font-size: 1em;
  }

  .page-blog__image-full-width {
    max-width: 100%; /* Ensure images are responsive and do not overflow */
    height: auto;
  }

  .page-blog__final-cta {
    flex-direction: column;
    align-items: center;
  }

  .page-blog__final-button {
    width: 80%;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-blog__hero-title {
    font-size: 1.8em;
  }

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

  .page-blog__article-heading {
    font-size: 1.8em;
  }

  .page-blog__article-subheading {
    font-size: 1.3em;
  }
}