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

.page-blog__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Soften image to make text readable */
}

.page-blog__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-blog__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-blog__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  color: #FFFFFF;
  line-height: 1.6;
}

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

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

.page-blog__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-blog__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-blog__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-blog__featured-articles,
.page-blog__categories,
.page-blog__why-read,
.page-blog__cta-bottom {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-blog__article-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.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;
}

.page-blog__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-blog__article-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog__article-title a:hover {
  color: #FCBC45;
}

.page-blog__article-excerpt {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-blog__read-more-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-blog__read-more-button:hover {
  background-color: #333333;
}

.page-blog__category-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-blog__category-card:hover {
  background-color: #333333;
  transform: translateY(-5px);
}

.page-blog__category-title {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #FCBC45;
}

.page-blog__category-description {
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-blog__why-read {
  background-color: #f0f0f0;
}

.page-blog__why-read-intro,
.page-blog__why-read-outro {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #444444;
}

.page-blog__why-read-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-blog__why-read-list li {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
  position: relative;
  padding-left: 45px;
}

.page-blog__why-read-list li strong {
  color: #000000;
}

.page-blog__why-read-list li::before {
  content: '✔️';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-blog__cta-bottom {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-blog__cta-bottom .page-blog__section-title {
  color: #FCBC45;
}

.page-blog__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog__cta-button--secondary {
  background-color: #FCBC45;
  color: #000000;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog__hero-title {
    font-size: 3em;
  }

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

  .page-blog__section-title {
    font-size: 2.2em;
  }

  .page-blog__article-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding-bottom: 60px;
  }

  .page-blog__hero-container {
    padding: 60px 15px;
    min-height: 350px;
  }

  .page-blog__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-blog__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .page-blog__featured-articles,
  .page-blog__categories,
  .page-blog__why-read,
  .page-blog__cta-bottom {
    padding: 40px 0;
  }

  .page-blog__articles-grid,
  .page-blog__categories-grid {
    grid-template-columns: 1fr;
  }

  .page-blog__article-image {
    height: 200px;
  }

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

  .page-blog__category-card {
    min-height: 150px;
  }

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

  .page-blog__why-read-intro,
  .page-blog__why-read-outro,
  .page-blog__why-read-list li {
    font-size: 0.95em;
  }

  /* Ensure content images are responsive and not smaller than 200px */
  .page-blog img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides to ensure min-size for content images if needed, but max-width: 100%; height: auto; usually handles this */
  .page-blog__article-image {
    min-width: 200px;
    min-height: 150px; /* Adjusted to maintain aspect ratio and min size */
  }
}

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

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

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

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

  .page-blog__category-title {
    font-size: 1.3em;
  }
}