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

.page-blog__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
}

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

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

.page-blog__main-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
}

.page-blog__cta-button:hover {
  background-color: #e0b800;
  color: #6a0000;
}

.page-blog__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  gap: 40px;
}

.page-blog__article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-blog__article-title {
  font-size: 2.2em;
  color: #8B0000;
  margin-bottom: 20px;
  border-bottom: 3px solid #FFD700;
  padding-bottom: 10px;
}

.page-blog__article-subtitle {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog__article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-blog__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-blog__list li {
  margin-bottom: 10px;
}

.page-blog__call-to-action {
  text-align: center;
  background-color: #8B0000;
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog__cta-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

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

.page-blog__cta-button--inline {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-blog__hero-content {
    padding: 15px;
  }

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

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

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

  .page-blog__content-area {
    padding: 0 15px;
    margin: 20px auto;
  }

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

  .page-blog__article-subtitle {
    font-size: 1.4em;
  }

  .page-blog__article-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }

  .page-blog__article img {
    max-width: 100%;
    height: auto;
  }

  .page-blog__call-to-action {
    padding: 40px 15px;
  }

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

  .page-blog__cta-text {
    font-size: 1.1em;
  }

  .page-blog__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

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

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

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

  .page-blog__article-subtitle {
    font-size: 1.2em;
  }

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