.page-resources-betx12-latest-promotions {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-color, #f5f5f5);
}

.page-resources-betx12-latest-promotions__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: #ffffff;
}

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

.page-resources-betx12-latest-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

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

.page-resources-betx12-latest-promotions__hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-betx12-latest-promotions__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-resources-betx12-latest-promotions__button--register {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* Custom color */
  border: 2px solid #000000;
}

.page-resources-betx12-latest-promotions__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-resources-betx12-latest-promotions__button--explore {
  background-color: #FCBC45; /* Login custom color for contrast */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-betx12-latest-promotions__button--explore:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-resources-betx12-latest-promotions__content-area {
  max-width: 800px; /* Content width for readability */
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF; /* Ensures a consistent background for text */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin-top: -60px; /* Overlap with hero section slightly for visual flow */
  position: relative;
  z-index: 3;
}

.page-resources-betx12-latest-promotions__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-betx12-latest-promotions__sub-section-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-betx12-latest-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

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

.page-resources-betx12-latest-promotions__promotion-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-resources-betx12-latest-promotions__promotion-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-betx12-latest-promotions__card-title {
  font-size: 1.5em;
  color: #000000;
  margin: 0 20px 15px;
}

.page-resources-betx12-latest-promotions__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
}

.page-resources-betx12-latest-promotions__card-features {
  list-style: none;
  padding: 0 20px;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources-betx12-latest-promotions__card-features li {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #444444;
}

.page-resources-betx12-latest-promotions__card-features li strong {
  color: #000000;
}

.page-resources-betx12-latest-promotions__button--register,
.page-resources-betx12-latest-promotions__button--login,
.page-resources-betx12-latest-promotions__button--download,
.page-resources-betx12-latest-promotions__button--support,
.page-resources-betx12-latest-promotions__button--register-footer {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-betx12-latest-promotions__button--register:hover,
.page-resources-betx12-latest-promotions__button--login:hover,
.page-resources-betx12-latest-promotions__button--download:hover,
.page-resources-betx12-latest-promotions__button--support:hover,
.page-resources-betx12-latest-promotions__button--register-footer:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

.page-resources-betx12-latest-promotions__link {
  color: #000000; /* Link color */
  text-decoration: underline;
}

.page-resources-betx12-latest-promotions__link:hover {
  color: #FCBC45;
}

.page-resources-betx12-latest-promotions__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 50px;
}

.page-resources-betx12-latest-promotions__back-link-container {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eeeeee;
}

.page-resources-betx12-latest-promotions__back-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-resources-betx12-latest-promotions__back-link:hover {
  background-color: #333333;
}

.page-resources-betx12-latest-promotions__footer-cta {
  background-color: #000000; /* Main color for footer CTA */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  margin-top: 60px;
}

.page-resources-betx12-latest-promotions__footer-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-betx12-latest-promotions__footer-cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-betx12-latest-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-resources-betx12-latest-promotions__section-title {
    font-size: 2em;
  }
  .page-resources-betx12-latest-promotions__sub-section-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-betx12-latest-promotions__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }
  .page-resources-betx12-latest-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-resources-betx12-latest-promotions__hero-description {
    font-size: 1em;
  }
  .page-resources-betx12-latest-promotions__hero-buttons {
    flex-direction: column;
  }
  .page-resources-betx12-latest-promotions__button {
    width: 100%;
    min-width: unset;
  }
  .page-resources-betx12-latest-promotions__content-area {
    padding: 30px 15px;
    margin-top: -40px;
  }
  .page-resources-betx12-latest-promotions__section-title {
    font-size: 1.8em;
  }
  .page-resources-betx12-latest-promotions__sub-section-title {
    font-size: 1.3em;
  }
  .page-resources-betx12-latest-promotions__text-block {
    font-size: 0.95em;
  }
  .page-resources-betx12-latest-promotions__promotion-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-betx12-latest-promotions__promotion-image {
    height: 200px;
  }
  .page-resources-betx12-latest-promotions__footer-cta-title {
    font-size: 2em;
  }
  .page-resources-betx12-latest-promotions__cta-buttons {
    flex-direction: column;
  }

  /* Mobile content area image constraints */
  .page-resources-betx12-latest-promotions img {
    max-width: 100%;
    height: auto;
  }
}