/* style/promotions-latest-offers.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-promotions-latest-offers {
  color: #ffffff; /* Light text on dark body background (#0a0a0a) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions-latest-offers__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-latest-offers__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-latest-offers__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-promotions-latest-offers__paragraph {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-promotions-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions-latest-offers__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-promotions-latest-offers__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-promotions-latest-offers__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-promotions-latest-offers__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions-latest-offers__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Buttons */
.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  box-sizing: border-box;
}

.page-promotions-latest-offers__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-promotions-latest-offers__btn-primary:hover {
  background: #1e87b3;
  border-color: #1e87b3;
}

.page-promotions-latest-offers__btn-secondary {
  background: #EA7C07; /* Login color for secondary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions-latest-offers__btn-secondary:hover {
  background: #c76706;
  border-color: #c76706;
}

/* Video Section */
.page-promotions-latest-offers__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-offers__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-promotions-latest-offers__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Promotion Grid */
.page-promotions-latest-offers__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-latest-offers__promo-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark body */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  height: 100%; /* Ensure cards are same height */
}

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

.page-promotions-latest-offers__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
  font-weight: bold;
}

.page-promotions-latest-offers__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-promotions-latest-offers__promo-card .page-promotions-latest-offers__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  margin-right: 0;
  width: auto;
  align-self: flex-start;
}

/* How To Claim Section */
.page-promotions-latest-offers__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-latest-offers__step-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions-latest-offers__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions-latest-offers__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Benefits Section */
.page-promotions-latest-offers__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-latest-offers__benefits-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions-latest-offers__benefits-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions-latest-offers__benefits-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Terms and Conditions Section */
.page-promotions-latest-offers__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__terms-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions-latest-offers__terms-item strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-promotions-latest-offers__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-promotions-latest-offers__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

.page-promotions-latest-offers__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions-latest-offers__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-promotions-latest-offers__faq-item[open] .page-promotions-latest-offers__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-latest-offers__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA Section */
.page-promotions-latest-offers__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Color themes */
.page-promotions-latest-offers__dark-bg {
  background-color: rgba(38, 169, 224, 0.1); /* Slightly transparent brand color on dark body */
  color: #ffffff;
}

.page-promotions-latest-offers__light-bg {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark body */
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }
  .page-promotions-latest-offers__section-title {
    font-size: 2em;
  }
  .page-promotions-latest-offers__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-offers {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__hero-section,
  .page-promotions-latest-offers__video-wrapper,
  .page-promotions-latest-offers__promo-card,
  .page-promotions-latest-offers__step-item,
  .page-promotions-latest-offers__benefits-item,
  .page-promotions-latest-offers__terms-list,
  .page-promotions-latest-offers__faq-item,
  .page-promotions-latest-offers__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions-latest-offers__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    min-height: 450px;
  }

  .page-promotions-latest-offers__hero-content {
    padding: 15px;
  }

  .page-promotions-latest-offers__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important; /* Ensure it's not too big on mobile */
  }

  .page-promotions-latest-offers__intro-text {
    font-size: 1em;
  }

  .page-promotions-latest-offers__section-title {
    font-size: 1.8em;
  }

  .page-promotions-latest-offers__paragraph {
    font-size: 1em;
  }

  .page-promotions-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-latest-offers video,
  .page-promotions-latest-offers__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-latest-offers__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
    overflow: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-promotions-latest-offers__btn-primary,
  .page-promotions-latest-offers__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-right: 0 !important;
  }

  .page-promotions-latest-offers__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-latest-offers__promo-grid,
  .page-promotions-latest-offers__steps-list,
  .page-promotions-latest-offers__benefits-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-latest-offers__promo-card,
  .page-promotions-latest-offers__step-item,
  .page-promotions-latest-offers__benefits-item {
    padding: 20px;
  }

  .page-promotions-latest-offers__card-title {
    font-size: 1.3em;
  }

  .page-promotions-latest-offers__step-title,
  .page-promotions-latest-offers__benefits-title {
    font-size: 1.2em;
  }

  .page-promotions-latest-offers__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-promotions-latest-offers__faq-answer {
    padding: 15px;
  }
}