/* style/promotions-latest-offers.css */
.page-promotions-latest-offers {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-promotions-latest-offers__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions-latest-offers__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-offers__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-promotions-latest-offers__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

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

.page-promotions-latest-offers__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-promotions-latest-offers__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-promotions-latest-offers__hero-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions-latest-offers__btn-register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
}

.page-promotions-latest-offers__btn-register:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-promotions-latest-offers__overview-section,
.page-promotions-latest-offers__how-to-claim-section,
.page-promotions-latest-offers__faq-section {
  padding: 80px 0;
  background-color: #0d0d0d; /* Slightly lighter dark background for sections */
}

.page-promotions-latest-offers__featured-promos-section,
.page-promotions-latest-offers__terms-section,
.page-promotions-latest-offers__cta-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

.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 for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions-latest-offers__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions-latest-offers__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-promotions-latest-offers__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions-latest-offers__card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-promotions-latest-offers__card-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions-latest-offers__card-btn:hover {
  background-color: #005a2d;
}

.page-promotions-latest-offers__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

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

.page-promotions-latest-offers__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #017439;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-promotions-latest-offers__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

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

.page-promotions-latest-offers__step-description a {
  color: #FFFF00; /* Custom color for register link in description */
  text-decoration: underline;
}

.page-promotions-latest-offers__step-description a:hover {
  color: #ffd700;
}

.page-promotions-latest-offers__guide-image {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-offers__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.page-promotions-latest-offers__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions-latest-offers__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-latest-offers__faq-question h3 {
  color: #ffffff;
  font-size: 1.3em;
  margin: 0;
}

.page-promotions-latest-offers__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-toggle {
  transform: rotate(0deg); /* '+' to '-' */
  color: #FFFF00;
}

.page-promotions-latest-offers__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 25px;
  color: #e0e0e0;
}

.page-promotions-latest-offers__faq-answer p {
  margin-bottom: 10px;
  text-align: left;
  font-size: 1em;
}

.page-promotions-latest-offers__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

.page-promotions-latest-offers__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-latest-offers__btn-primary {
  background-color: #017439;
  color: #ffffff;
}

.page-promotions-latest-offers__btn-primary:hover {
  background-color: #005a2d;
  transform: translateY(-2px);
}

.page-promotions-latest-offers__cta-image {
  display: block;
  width: 100%;
  max-width: 1000px;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-latest-offers__hero-title {
    font-size: 3em;
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 1.2em;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-offers__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions-latest-offers__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 1em;
  }
  .page-promotions-latest-offers__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-promotions-latest-offers__overview-section,
  .page-promotions-latest-offers__featured-promos-section,
  .page-promotions-latest-offers__how-to-claim-section,
  .page-promotions-latest-offers__terms-section,
  .page-promotions-latest-offers__faq-section,
  .page-promotions-latest-offers__cta-section {
    padding: 60px 0;
  }

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

  .page-promotions-latest-offers__text-block {
    font-size: 0.95em;
  }

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

  .page-promotions-latest-offers__promo-card {
    margin: 0 15px;
  }

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

  .page-promotions-latest-offers__card-description {
    font-size: 0.9em;
  }

  .page-promotions-latest-offers__card-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-promotions-latest-offers__step-item {
    margin: 0 15px;
  }

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

  .page-promotions-latest-offers__guide-image,
  .page-promotions-latest-offers__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-promotions-latest-offers__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-promotions-latest-offers__faq-list {
    margin: 40px 15px 0;
  }

  .page-promotions-latest-offers__faq-question h3 {
    font-size: 1.1em;
  }

  .page-promotions-latest-offers__faq-toggle {
    font-size: 1.5em;
  }

  .page-promotions-latest-offers__faq-answer p {
    font-size: 0.9em;
  }

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

  .page-promotions-latest-offers__cta-button {
    width: 100% !important;
    padding: 15px 15px;
    font-size: 1.1em;
    margin: 0 !important;
  }

  /* Mobile image and video responsiveness */
  .page-promotions-latest-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__card,
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__hero-section,
  .page-promotions-latest-offers__promo-card,
  .page-promotions-latest-offers__step-item,
  .page-promotions-latest-offers__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions-latest-offers__overview-section .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__featured-promos-section .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__how-to-claim-section .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__terms-section .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__faq-section .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__cta-section .page-promotions-latest-offers__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions-latest-offers__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-latest-offers__hero-description {
    font-size: 0.9em;
  }
  .page-promotions-latest-offers__section-title {
    font-size: 1.5em;
  }
  .page-promotions-latest-offers__promo-card {
    margin: 0 10px;
  }
  .page-promotions-latest-offers__step-item {
    margin: 0 10px;
  }
  .page-promotions-latest-offers__faq-list {
    margin: 30px 10px 0;
  }
  .page-promotions-latest-offers__cta-buttons {
    margin: 30px 10px 0;
  }
}