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

.page-blog-latest-news__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
}

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

.page-blog-latest-news__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-blog-latest-news__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF; /* Light text for hero content on dark image */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay for readability */
  padding: 30px;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.page-blog-latest-news__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFFFFF;
}

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

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

.page-blog-latest-news__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  border: none;
  cursor: pointer;
}

.page-blog-latest-news__button--register {
  background-color: #000000; /* Dark background for register button */
  color: #FFFFFF;
}

.page-blog-latest-news__button--register:hover {
  background-color: #333333;
}

.page-blog-latest-news__button--login {
  background-color: #FCBC45; /* Specific color for login button */
  color: #000000; /* Dark text for contrast on yellow background */
}

.page-blog-latest-news__button--login:hover {
  background-color: #FFD17A;
}

.page-blog-latest-news__button--download {
  background-color: #000000; /* Dark background for download button */
  color: #FFFFFF;
}

.page-blog-latest-news__button--download:hover {
  background-color: #333333;
}

.page-blog-latest-news__articles-section,
.page-blog-latest-news__trends-section,
.page-blog-latest-news__responsible-gaming-section,
.page-blog-latest-news__promotions-section,
.page-blog-latest-news__cta-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-blog-latest-news__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-blog-latest-news__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: 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;
}

.page-blog-latest-news__article-card,
.page-blog-latest-news__promo-card {
  background-color: #F8F8F8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.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.4em;
  margin-bottom: 10px;
  color: #000000;
}

.page-blog-latest-news__article-title a {
  color: #000000;
  text-decoration: none;
}

.page-blog-latest-news__article-title a:hover {
  text-decoration: underline;
}

.page-blog-latest-news__article-excerpt,
.page-blog-latest-news__promo-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
}

.page-blog-latest-news__read-more {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-blog-latest-news__read-more:hover {
  text-decoration: underline;
}

.page-blog-latest-news__view-all {
  text-align: center;
  margin-top: 40px;
}

.page-blog-latest-news__trends-content,
.page-blog-latest-news__responsible-gaming-content {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.page-blog-latest-news__trends-image,
.page-blog-latest-news__responsible-gaming-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size for content images */
  min-height: 200px;
}

.page-blog-latest-news__trends-text,
.page-blog-latest-news__responsible-gaming-text {
  flex: 1;
  padding: 10px 0;
}

.page-blog-latest-news__trends-text p,
.page-blog-latest-news__responsible-gaming-text p {
  margin-bottom: 15px;
  color: #333333;
}

.page-blog-latest-news__cta-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
}

.page-blog-latest-news__cta-section .page-blog-latest-news__section-title,
.page-blog-latest-news__cta-section .page-blog-latest-news__section-description {
  color: #FFFFFF;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-blog-latest-news__hero-title {
    font-size: 2.2em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 1em;
  }
  .page-blog-latest-news__trends-content,
  .page-blog-latest-news__responsible-gaming-content {
    flex-direction: column;
    text-align: center;
  }
  .page-blog-latest-news__trends-image,
  .page-blog-latest-news__responsible-gaming-image {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-blog-latest-news__hero-title {
    font-size: 1.8em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 0.9em;
  }
  .page-blog-latest-news__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-blog-latest-news__button {
    width: 100%;
    max-width: 250px;
  }
  .page-blog-latest-news__section-title {
    font-size: 1.8em;
  }
  .page-blog-latest-news__section-description {
    font-size: 0.9em;
  }
  /* Mobile content area image responsiveness */
  .page-blog-latest-news__articles-section img,
  .page-blog-latest-news__trends-section img,
  .page-blog-latest-news__responsible-gaming-section img,
  .page-blog-latest-news__promotions-section img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure minimum size is still met */
    min-height: 200px;
  }
  .page-blog-latest-news__article-image { height: 200px; }
  .page-blog-latest-news__promo-image { height: 180px; }
  .page-blog-latest-news__cta-actions {
    flex-direction: column;
  }
  .page-blog-latest-news__cta-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-blog-latest-news__hero-title {
    font-size: 1.5em;
  }
  .page-blog-latest-news__hero-description {
    font-size: 0.85em;
  }
  .page-blog-latest-news__section-title {
    font-size: 1.5em;
  }
  .page-blog-latest-news__article-grid {
    grid-template-columns: 1fr;
  }
}