.page-resources-latest-promotions {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0F1217;
  padding-top: var(--header-offset, 120px);
}

.page-resources-latest-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px; /* Ensure hero section has a decent height */
  overflow: hidden;
}

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

.page-resources-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  background: rgba(26, 32, 44, 0.8); /* Semi-transparent dark background for readability */
  padding: 30px;
  border-radius: 10px;
}

.page-resources-latest-promotions__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-resources-latest-promotions__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-latest-promotions__hero-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-resources-latest-promotions__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  line-height: 1.7;
  font-size: 1.1em;
}

.page-resources-latest-promotions__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-latest-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
}

.page-resources-latest-promotions__intro-paragraph {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 50px;
  color: #e0e0e0;
}

.page-resources-latest-promotions__sub-section-title {
  font-size: 2.2em;
  color: #FFD700;
  margin-top: 60px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-resources-latest-promotions__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-latest-promotions__list-item {
  background: rgba(26, 32, 44, 0.6);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

.page-resources-latest-promotions__list-item::before {
  content: '★'; /* Custom bullet point */
  color: #FFD700;
  font-size: 1.2em;
  margin-right: 15px;
  line-height: 1;
  transform: translateY(2px);
}

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

.page-resources-latest-promotions__promo-card {
  background-color: #1A202C;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-resources-latest-promotions__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-resources-latest-promotions__promo-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-resources-latest-promotions__promo-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-resources-latest-promotions__promo-card-description {
  font-size: 1em;
  color: #cccccc;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-resources-latest-promotions__promo-card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-resources-latest-promotions__promo-card-button:hover {
  background-color: #e5c100;
}

.page-resources-latest-promotions__vip-section,
.page-resources-latest-promotions__mobile-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  margin-bottom: 60px;
  background-color: #1A202C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-promotions__vip-section:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.page-resources-latest-promotions__vip-image,
.page-resources-latest-promotions__mobile-image {
  flex: 1;
  max-width: 50%;
  border-radius: 8px;
  object-fit: cover;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-latest-promotions__vip-content,
.page-resources-latest-promotions__mobile-content {
  flex: 1;
}

.page-resources-latest-promotions__vip-button,
.page-resources-latest-promotions__mobile-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 25px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-latest-promotions__vip-button:hover,
.page-resources-latest-promotions__mobile-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-resources-latest-promotions__responsible-gaming-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  border-bottom: 2px solid #FFD700;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources-latest-promotions__responsible-gaming-link:hover {
  color: #e5c100;
  border-color: #e5c100;
}

.page-resources-latest-promotions__call-to-action-buttons {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-resources-latest-promotions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  margin: 0 15px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-latest-promotions__cta-button:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-resources-latest-promotions__cta-button--secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-latest-promotions__cta-button--secondary:hover {
  background-color: #333d4d;
  color: #e5c100;
  border-color: #e5c100;
}

.page-resources-latest-promotions__return-link-container {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-latest-promotions__return-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-resources-latest-promotions__return-link:hover {
  color: #e5c100;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-resources-latest-promotions__hero-title {
    font-size: 2.8em;
  }

  .page-resources-latest-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-resources-latest-promotions__section-title {
    font-size: 2.2em;
  }

  .page-resources-latest-promotions__sub-section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-promotions__promo-card-title {
    font-size: 1.4em;
  }

  .page-resources-latest-promotions__vip-section,
  .page-resources-latest-promotions__mobile-section {
    flex-direction: column;
    text-align: center;
  }

  .page-resources-latest-promotions__vip-section:nth-of-type(odd) {
    flex-direction: column;
  }

  .page-resources-latest-promotions__vip-image,
  .page-resources-latest-promotions__mobile-image {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .page-resources-latest-promotions__cta-button {
    font-size: 1.1em;
    padding: 12px 25px;
    margin: 10px;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-promotions {
    padding-top: var(--header-offset, 120px);
  }

  .page-resources-latest-promotions__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }

  .page-resources-latest-promotions__hero-title {
    font-size: 2em;
  }

  .page-resources-latest-promotions__hero-description {
    font-size: 1em;
  }

  .page-resources-latest-promotions__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-latest-promotions__content-area {
    padding: 40px 15px;
    font-size: 1em;
  }

  .page-resources-latest-promotions__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-promotions__sub-section-title {
    font-size: 1.5em;
  }

  .page-resources-latest-promotions__list-item {
    padding: 12px 15px;
  }

  .page-resources-latest-promotions__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-latest-promotions__promo-card-image {
    height: 200px;
  }

  .page-resources-latest-promotions__vip-image,
  .page-resources-latest-promotions__mobile-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size is maintained */
    min-height: 200px; /* Ensure min size is maintained */
  }

  .page-resources-latest-promotions__cta-button {
    display: block;
    margin: 15px auto;
  }

  /* Ensure all content images within the main area are responsive */
  .page-resources-latest-promotions img {
    max-width: 100%;
    height: auto;
  }
}