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

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

.page-index-latest-news__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-index-latest-news__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0d0d0d;
  color: #ffffff;
  padding: 0;
}

.page-index-latest-news__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-index-latest-news__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-index-latest-news__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.page-index-latest-news__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107; /* Auxiliary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-index-latest-news__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-latest-news__button--primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-index-latest-news__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-index-latest-news__button--secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color */
  border: 2px solid #ffc107;
}

.page-index-latest-news__button--secondary:hover {
  background-color: #ffc107;
  color: #333333;
  transform: translateY(-2px);
}

.page-index-latest-news__button--promo {
  background-color: #ffc107;
  color: #333333;
  border: 2px solid #ffc107;
}

.page-index-latest-news__button--promo:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-index-latest-news__button--view-all {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-index-latest-news__button--view-all:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-index-latest-news__button--learn-more {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-index-latest-news__button--learn-more:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-index-latest-news__news-updates {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.page-index-latest-news__news-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-index-latest-news__news-card:hover {
  transform: translateY(-5px);
}

.page-index-latest-news__news-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-latest-news__news-card-content {
  padding: 25px;
}

.page-index-latest-news__news-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-latest-news__news-card-title a {
  color: #007bff;
  text-decoration: none;
}

.page-index-latest-news__news-card-title a:hover {
  text-decoration: underline;
}

.page-index-latest-news__news-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-latest-news__read-more {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-latest-news__read-more:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-index-latest-news__promotions-section {
  padding: 60px 0;
  background-color: #e9ecef;
}

.page-index-latest-news__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-index-latest-news__promo-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-index-latest-news__promo-card:hover {
  transform: translateY(-5px);
}

.page-index-latest-news__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-latest-news__promo-card-content {
  padding: 25px;
}

.page-index-latest-news__promo-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #007bff;
}

.page-index-latest-news__promo-card-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index-latest-news__view-all-promos {
  text-align: center;
}

.page-index-latest-news__responsible-gaming {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.page-index-latest-news__responsible-gaming-description {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #555555;
}

.page-index-latest-news__cta-banner {
  position: relative;
  background-color: #007bff;
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.page-index-latest-news__cta-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.page-index-latest-news__cta-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-index-latest-news__cta-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.page-index-latest-news__cta-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #ffc107;
  font-weight: bold;
}

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

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

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

@media (max-width: 768px) {
  .page-index-latest-news__hero-title {
    font-size: 2em;
  }
  .page-index-latest-news__hero-description {
    font-size: 1em;
  }
  .page-index-latest-news__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-news__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-latest-news__news-grid, .page-index-latest-news__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index-latest-news__news-card-image, .page-index-latest-news__promo-card-image {
    height: 200px;
  }
  .page-index-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-latest-news__cta-image, .page-index-latest-news__hero-image, .page-index-latest-news__news-card-image, .page-index-latest-news__promo-card-image {
    max-width: 100%;
    height: auto;
  }
  .page-index-latest-news__hero-section, .page-index-latest-news__cta-banner {
    padding: 40px 0;
  }
  .page-index-latest-news__hero-content, .page-index-latest-news__cta-content {
    position: static;
    transform: none;
    padding: 20px;
  }
  .page-index-latest-news__hero-image, .page-index-latest-news__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
  }
  .page-index-latest-news__hero-content, .page-index-latest-news__cta-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4); /* Add background for readability on mobile */
    border-radius: 8px;
  }
  .page-index-latest-news__hero-section .page-index-latest-news__hero-image, .page-index-latest-news__cta-banner .page-index-latest-news__cta-image {
    filter: brightness(0.5); /* Further darken image for text readability on mobile */
  }
}

@media (max-width: 480px) {
  .page-index-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-index-latest-news__hero-description {
    font-size: 0.9em;
  }
  .page-index-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__cta-title {
    font-size: 1.5em;
  }
  .page-index-latest-news__button {
    width: 90%;
  }
}