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

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

.page-blog-latest-news__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

.page-blog-latest-news__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-blog-latest-news__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: brightness(0.6); /* Use brightness for visual effect, not color change */
}

.page-blog-latest-news__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

.page-blog-latest-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

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

.page-blog-latest-news__hero-buttons {
  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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
}

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

.page-blog-latest-news__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  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: transparent;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-blog-latest-news__section-title {
  font-size: 2.8em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 50px;
  padding-top: 60px;
}

.page-blog-latest-news__articles-section,
.page-blog-latest-news__promotions-section,
.page-blog-latest-news__games-section,
.page-blog-latest-news__community-section,
.page-blog-latest-news__cta-section,
.page-blog-latest-news__contact-section {
  padding: 40px 0;
}

.page-blog-latest-news__articles-grid,
.page-blog-latest-news__promo-cards,
.page-blog-latest-news__games-grid,
.page-blog-latest-news__community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-latest-news__article-card,
.page-blog-latest-news__promo-card,
.page-blog-latest-news__game-card,
.page-blog-latest-news__community-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-blog-latest-news__article-card:hover,
.page-blog-latest-news__promo-card:hover,
.page-blog-latest-news__game-card:hover,
.page-blog-latest-news__community-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-blog-latest-news__article-image,
.page-blog-latest-news__promo-image,
.page-blog-latest-news__game-image,
.page-blog-latest-news__community-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

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

.page-blog-latest-news__article-title,
.page-blog-latest-news__promo-title,
.page-blog-latest-news__game-title,
.page-blog-latest-news__community-title {
  font-size: 1.7em;
  margin-bottom: 15px;
  color: #FCBC45;
  line-height: 1.3;
}

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

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

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

.page-blog-latest-news__read-more,
.page-blog-latest-news__button--view-promo,
.page-blog-latest-news__button--play-now {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-blog-latest-news__read-more:hover,
.page-blog-latest-news__button--view-promo:hover,
.page-blog-latest-news__button--play-now:hover {
  background-color: #FFFFFF;
  color: #000000;
}

.page-blog-latest-news__cta-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  text-align: center;
  padding: 80px 20px;
  border-radius: 12px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-blog-latest-news__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-blog-latest-news__button--cta {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

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

.page-blog-latest-news__contact-section {
  text-align: center;
  padding: 60px 20px;
}

.page-blog-latest-news__contact-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 30px;
}

.page-blog-latest-news__button--contact {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
  padding: 15px 30px;
}

.page-blog-latest-news__button--contact:hover {
  background-color: #FCBC45;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-latest-news__hero-title {
    font-size: 3em;
  }

  .page-blog-latest-news__section-title {
    font-size: 2.2em;
  }

  .page-blog-latest-news__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-news {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  .page-blog-latest-news__hero-section {
    padding: 60px 15px 30px;
  }

  .page-blog-latest-news__hero-title {
    font-size: 2.5em;
  }

  .page-blog-latest-news__hero-description {
    font-size: 1em;
  }

  .page-blog-latest-news__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-latest-news__button {
    width: 100%;
    max-width: 250px;
  }

  .page-blog-latest-news__section-title {
    font-size: 2em;
    margin-bottom: 40px;
    padding-top: 40px;
  }

  .page-blog-latest-news__articles-grid,
  .page-blog-latest-news__promo-cards,
  .page-blog-latest-news__games-grid,
  .page-blog-latest-news__community-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-blog-latest-news__article-image,
  .page-blog-latest-news__promo-image,
  .page-blog-latest-news__game-image,
  .page-blog-latest-news__community-image {
    height: 200px;
  }

  .page-blog-latest-news__article-title,
  .page-blog-latest-news__promo-title,
  .page-blog-latest-news__game-title,
  .page-blog-latest-news__community-title {
    font-size: 1.5em;
  }

  .page-blog-latest-news__cta-section {
    padding: 60px 15px;
    margin: 40px auto;
  }

  .page-blog-latest-news__cta-title {
    font-size: 2em;
  }

  .page-blog-latest-news__cta-description {
    font-size: 1.1em;
  }

  .page-blog-latest-news__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure content images are responsive and do not overflow */
  .page-blog-latest-news img {
    max-width: 100%;
    height: auto;
  }
}

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

  .page-blog-latest-news__section-title {
    font-size: 1.8em;
  }

  .page-blog-latest-news__cta-title {
    font-size: 1.8em;
  }

  .page-blog-latest-news__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}