/* style/promotions-latest-offers.css */
.page-promotions-latest-offers {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-promotions-latest-offers__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-promotions-latest-offers__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-promotions-latest-offers__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

.page-promotions-latest-offers__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-promotions-latest-offers__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-promotions-latest-offers__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-promotions-latest-offers__promo-categories,
.page-promotions-latest-offers__casino-promo,
.page-promotions-latest-offers__how-to-claim,
.page-promotions-latest-offers__faq-section {
  padding: 60px 0;
}

.page-promotions-latest-offers__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions-latest-offers__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-promotions-latest-offers__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-promotions-latest-offers__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-latest-offers__card-title a:hover {
  color: #1a7bbd;
}

.page-promotions-latest-offers__card-text {
  padding: 0 20px 20px 20px;
  flex-grow: 1;
  color: #555555;
}

.page-promotions-latest-offers__btn-primary,
.page-promotions-latest-offers__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

.page-promotions-latest-offers__sports-promo {
  padding: 60px 0;
  color: #ffffff;
}

.page-promotions-latest-offers__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-promotions-latest-offers__dark-section .page-promotions-latest-offers__section-title,
.page-promotions-latest-offers__dark-section .page-promotions-latest-offers__section-description,
.page-promotions-latest-offers__dark-section .page-promotions-latest-offers__sub-title {
  color: #ffffff;
}

.page-promotions-latest-offers__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.page-promotions-latest-offers__content-image {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-promotions-latest-offers__text-content {
  flex: 1;
  min-width: 300px;
}

.page-promotions-latest-offers__sub-title {
  font-size: 1.8em;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions-latest-offers__dark-section .page-promotions-latest-offers__sub-title {
  color: #ffffff;
}

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

.page-promotions-latest-offers__vip-program .page-promotions-latest-offers__section-title,
.page-promotions-latest-offers__vip-program .page-promotions-latest-offers__section-description {
  color: #ffffff;
}

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

.page-promotions-latest-offers__step-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #333333;
}

.page-promotions-latest-offers__step-icon {
  margin-bottom: 20px;
}

.page-promotions-latest-offers__step-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

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

.page-promotions-latest-offers__faq-section {
  background: #f8f8f8;
}

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

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

.page-promotions-latest-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-promotions-latest-offers__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-toggle {
  transform: rotate(45deg);
  color: #EA7C07;
}

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

.page-promotions-latest-offers__faq-item.active .page-promotions-latest-offers__faq-answer {
  max-height: 1000px !important; /* Ensures content is fully visible */
  padding: 15px 25px 25px 25px;
}

.page-promotions-latest-offers__faq-answer p {
  margin: 0;
}

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

.page-promotions-latest-offers__cta-bottom .page-promotions-latest-offers__section-title,
.page-promotions-latest-offers__cta-bottom .page-promotions-latest-offers__section-description {
  color: #ffffff;
}

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

/* Image and Video Responsiveness */
.page-promotions-latest-offers img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions-latest-offers__content-image {
  min-width: 200px; /* Ensure content images are not too small */
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .page-promotions-latest-offers__hero-section {
    padding: 60px 15px;
    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__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__card-grid,
  .page-promotions-latest-offers__steps-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__content-wrapper {
    flex-direction: column;
    padding: 0 15px;
  }

  .page-promotions-latest-offers__content-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
  }

  .page-promotions-latest-offers__sub-title {
    font-size: 1.5em;
  }

  .page-promotions-latest-offers__btn-primary,
  .page-promotions-latest-offers__btn-secondary,
  .page-promotions-latest-offers a[class*="button"],
  .page-promotions-latest-offers a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

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

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

  /* Ensure all content containers are responsive */
  .page-promotions-latest-offers__section,
  .page-promotions-latest-offers__card,
  .page-promotions-latest-offers__container,
  .page-promotions-latest-offers__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* No padding-left/right here to avoid double padding if container already has it */
  }
  
  .page-promotions-latest-offers__promo-categories,
  .page-promotions-latest-offers__casino-promo,
  .page-promotions-latest-offers__how-to-claim,
  .page-promotions-latest-offers__faq-section,
  .page-promotions-latest-offers__sports-promo,
  .page-promotions-latest-offers__vip-program,
  .page-promotions-latest-offers__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* Specific image rules for content area */
  .page-promotions-latest-offers__card-image,
  .page-promotions-latest-offers__step-image {
    max-width: 100% !important;
    height: auto !important;
  }
}