/* style/index-latest-promotions.css */
.page-index-latest-promotions {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light gray for general text on dark background */
  background-color: #000d1a; /* Very dark blue, almost black, derived from primary color */
  line-height: 1.6;
}

.page-index-latest-promotions__hero {
  background: linear-gradient(135deg, #001f3f 0%, #000d1a 100%);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.page-index-latest-promotions__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-index-latest-promotions__title {
  font-size: 3.2em;
  color: #ffcc00; /* Gold for main title */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__subtitle {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
}

.page-index-latest-promotions__cta-button {
  display: inline-block;
  background-color: #ffcc00; /* Gold for CTA button */
  color: #001f3f; /* Dark blue text on gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-index-latest-promotions__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: -5%;
  opacity: 0.3;
  z-index: 0;
  max-width: 50%;
  height: auto;
}

.page-index-latest-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-index-latest-promotions__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-latest-promotions__section:nth-of-type(even) {
  background-color: #001a33; /* Slightly lighter dark blue for alternating sections */
}

.page-index-latest-promotions__section-title {
  font-size: 2.5em;
  color: #ffcc00; /* Gold for section titles */
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-latest-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #ffcc00;
  border-radius: 2px;
}

.page-index-latest-promotions__section-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-latest-promotions__promotion-card {
  background-color: #001f3f;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 204, 0, 0.2);
}

.page-index-latest-promotions__promotion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-latest-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-latest-promotions__card-title {
  font-size: 1.8em;
  color: #ffcc00;
  margin-bottom: 15px;
  min-height: 60px; /* Ensure consistent card height */
}

.page-index-latest-promotions__card-text {
  color: #cccccc;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-latest-promotions__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-index-latest-promotions__card-features li {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-index-latest-promotions__card-features li::before {
  content: '✓';
  color: #ffcc00;
  font-weight: bold;
  font-size: 1.2em;
}

.page-index-latest-promotions__card-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #001f3f;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to the bottom */
}

.page-index-latest-promotions__card-button:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-index-latest-promotions__terms-conditions .page-index-latest-promotions__content-block {
  background-color: #001f3f;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__terms-conditions h3 {
  color: #ffcc00;
  font-size: 1.6em;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-latest-promotions__terms-conditions ul {
  list-style: disc;
  margin-left: 25px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-index-latest-promotions__terms-conditions ul li {
  margin-bottom: 10px;
}

.page-index-latest-promotions__terms-conditions p {
  color: #cccccc;
  margin-bottom: 15px;
}

.page-index-latest-promotions__read-more-button {
  display: inline-block;
  background-color: transparent;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.page-index-latest-promotions__read-more-button:hover {
  background-color: #ffcc00;
  color: #001f3f;
}

.page-index-latest-promotions__faq-item {
  background-color: #001a33;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-latest-promotions__faq-question {
  font-size: 1.4em;
  color: #ffcc00;
  margin-bottom: 10px;
}

.page-index-latest-promotions__faq-answer {
  color: #cccccc;
  font-size: 1em;
}

.page-index-latest-promotions__cta-bottom {
  background: linear-gradient(45deg, #001f3f, #000d1a);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  border-top: 5px solid #ffcc00;
}

.page-index-latest-promotions__cta-bottom-content {
  max-width: 800px;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__section-title {
  color: #ffcc00;
  margin-bottom: 20px;
}

.page-index-latest-promotions__cta-bottom .page-index-latest-promotions__section-description {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-index-latest-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
  margin-right: 15px;
}

.page-index-latest-promotions__cta-button--secondary {
  background-color: transparent;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-index-latest-promotions__cta-button--secondary:hover {
  background-color: #ffcc00;
  color: #001f3f;
  transform: translateY(-3px);
}

.page-index-latest-promotions__cta-bottom-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index-latest-promotions__hero {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    padding: 100px 40px;
  }

  .page-index-latest-promotions__hero-content {
    max-width: 60%;
  }

  .page-index-latest-promotions__hero-image-wrapper {
    position: relative;
    right: 0;
    opacity: 1;
    max-width: 35%;
  }

  .page-index-latest-promotions__cta-bottom {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    padding: 100px 40px;
  }

  .page-index-latest-promotions__cta-bottom-content {
    max-width: 50%;
    margin-right: 40px;
  }

  .page-index-latest-promotions__cta-bottom-image {
    max-width: 450px;
  }

  .page-index-latest-promotions__title {
    font-size: 4em;
  }

  .page-index-latest-promotions__section-title {
    font-size: 3em;
  }
}

@media (max-width: 767px) {
  .page-index-latest-promotions__title {
    font-size: 2.5em;
  }

  .page-index-latest-promotions__section-title {
    font-size: 2em;
  }

  .page-index-latest-promotions__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-index-latest-promotions__cta-button--large {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-index-latest-promotions__cta-bottom-image {
    margin-top: 30px;
  }
}