.page-blog-latest-news {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-blog-latest-news__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-blog-latest-news__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-blog-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.6;
}

.page-blog-latest-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-blog-latest-news__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #FCBC45;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

.page-blog-latest-news__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-blog-latest-news__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-blog-latest-news__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-latest-news__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-blog-latest-news__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

.page-blog-latest-news__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-blog-latest-news__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
  transform: translateY(-3px);
}

.page-blog-latest-news__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

.page-blog-latest-news__section-intro {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-blog-latest-news__article-grid,
.page-blog-latest-news__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
}

.page-blog-latest-news__article-card,
.page-blog-latest-news__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-latest-news__article-card:hover,
.page-blog-latest-news__promo-card:hover {
  transform: translateY(-10px);
}

.page-blog-latest-news__article-image,
.page-blog-latest-news__promo-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-blog-latest-news__article-content,
.page-blog-latest-news__promo-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-blog-latest-news__article-title,
.page-blog-latest-news__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: bold;
}

.page-blog-latest-news__article-title a,
.page-blog-latest-news__promo-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-blog-latest-news__article-title a:hover,
.page-blog-latest-news__promo-title a:hover {
  color: #FCBC45;
}

.page-blog-latest-news__article-excerpt,
.page-blog-latest-news__promo-excerpt {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-blog-latest-news__read-more {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-blog-latest-news__read-more:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-blog-latest-news__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-blog-latest-news__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45;
  font-weight: bold;
}

.page-blog-latest-news__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFFFFF;
}

.page-blog-latest-news__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-latest-news__button--download {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-blog-latest-news__button--download:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-blog-latest-news__hero-title {
    font-size: 2.8em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 1.1em;
  }
  .page-blog-latest-news__section-title {
    font-size: 2em;
  }
  .page-blog-latest-news__cta-title {
    font-size: 2.5em;
  }
  .page-blog-latest-news__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-news__hero-title {
    font-size: 2em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 1em;
  }
  .page-blog-latest-news__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-latest-news__button {
    width: 80%;
    max-width: 300px;
  }
  .page-blog-latest-news__article-grid,
  .page-blog-latest-news__promo-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-blog-latest-news__article-image,
  .page-blog-latest-news__promo-image {
    height: 200px;
  }
  .page-blog-latest-news__article-content,
  .page-blog-latest-news__promo-content {
    padding: 20px;
  }
  .page-blog-latest-news__article-title,
  .page-blog-latest-news__promo-title {
    font-size: 1.3em;
  }
  .page-blog-latest-news__cta-title {
    font-size: 2em;
  }
  .page-blog-latest-news__cta-description {
    font-size: 1em;
  }
  /* Ensure content images do not overflow */
  .page-blog-latest-news img {
    max-width: 100%;
    height: auto;
  }
  .page-blog-latest-news__hero-content {
    width: 90%;
  }
}