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

.page-blog__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-blog__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
  z-index: 1;
}

.page-blog__hero-title {
  font-size: 3.5em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.page-blog__hero-button:hover {
  background-color: #e0a53a;
}

.page-blog__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  position: relative;
  z-index: 0;
}

.page-blog__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-blog__featured-articles,
.page-blog__latest-articles {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-blog__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-blog__section-subtitle {
  font-size: 1.1em;
  color: #666666;
  text-align: center;
  margin-bottom: 60px;
}

.page-blog__articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog__article-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-blog__article-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-blog__article-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

.page-blog__read-more-button {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

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

.page-blog__articles-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-blog__list-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-blog__list-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-blog__list-title a {
  color: #000000;
  text-decoration: none;
}

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

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

.page-blog__read-more-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: color 0.3s ease;
}

.page-blog__read-more-link:hover {
  color: #e0a53a;
}

.page-blog__cta-section {
  background-color: #000000; /* Main brand color for CTA */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-blog__cta-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-blog__cta-title {
  font-size: 2.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-blog__cta-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-blog__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 18px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 40px;
}

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

.page-blog__cta-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
  .page-blog__hero-section {
    padding: 40px 15px;
  }
  .page-blog__hero-title {
    font-size: 2.5em;
  }
  .page-blog__hero-description {
    font-size: 1em;
  }
  .page-blog__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-blog__featured-articles,
  .page-blog__latest-articles {
    padding: 60px 0;
  }
  .page-blog__section-title {
    font-size: 2em;
  }
  .page-blog__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-blog__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-blog__article-image,
  .page-blog__article-card img,
  .page-blog__list-item img,
  .page-blog__cta-image,
  .page-blog__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-blog__article-title {
    font-size: 1.3em;
  }
  .page-blog__list-title {
    font-size: 1.5em;
  }
  .page-blog__cta-section {
    padding: 60px 15px;
  }
  .page-blog__cta-title {
    font-size: 2em;
  }
  .page-blog__cta-description {
    font-size: 1em;
  }
  .page-blog__cta-button {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}

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