/* style/promotions-latest-event.css */
:root {
  --page-promotions-latest-event-primary-color: #11A84E;
  --page-promotions-latest-event-secondary-color: #22C768;
  --page-promotions-latest-event-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-latest-event-card-bg: #11271B;
  --page-promotions-latest-event-background: #08160F;
  --page-promotions-latest-event-text-main: #F2FFF6;
  --page-promotions-latest-event-text-secondary: #A7D9B8;
  --page-promotions-latest-event-border-color: #2E7A4E;
  --page-promotions-latest-event-glow-color: #57E38D;
  --page-promotions-latest-event-gold-color: #F2C14E;
  --page-promotions-latest-event-divider-color: #1E3A2A;
  --page-promotions-latest-event-deep-green: #0A4B2C;
}

.page-promotions-latest-event {
  background-color: var(--page-promotions-latest-event-background);
  color: var(--page-promotions-latest-event-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-promotions-latest-event__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-promotions-latest-event__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-latest-event__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring content up slightly, but not overlap image */
  background: linear-gradient(to top, var(--page-promotions-latest-event-background) 70%, transparent);
}

.page-promotions-latest-event__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--page-promotions-latest-event-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions-latest-event__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--page-promotions-latest-event-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-latest-event__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-latest-event__btn-primary,
.page-promotions-latest-event__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promotions-latest-event__btn-primary {
  background: var(--page-promotions-latest-event-button-gradient);
  color: var(--page-promotions-latest-event-text-main);
  border: 2px solid transparent;
}

.page-promotions-latest-event__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(var(--page-promotions-latest-event-primary-color), 0.4);
}

.page-promotions-latest-event__btn-secondary {
  background-color: transparent;
  color: var(--page-promotions-latest-event-primary-color);
  border: 2px solid var(--page-promotions-latest-event-primary-color);
}

.page-promotions-latest-event__btn-secondary:hover {
  background-color: var(--page-promotions-latest-event-primary-color);
  color: var(--page-promotions-latest-event-text-main);
}

.page-promotions-latest-event__cta-buttons--center {
  margin-top: 40px;
}

.page-promotions-latest-event__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-promotions-latest-event-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-promotions-latest-event__section-title--spacing {
  margin-top: 60px;
}

.page-promotions-latest-event__text-block {
  font-size: 1rem;
  color: var(--page-promotions-latest-event-text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-promotions-latest-event__text-block--center {
  text-align: center;
}

.page-promotions-latest-event__overview-section,
.page-promotions-latest-event__featured-promotions,
.page-promotions-latest-event__how-to-claim-section,
.page-promotions-latest-event__terms-conditions-section,
.page-promotions-latest-event__faq-section,
.page-promotions-latest-event__call-to-action {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-promotions-latest-event-divider-color);
}

.page-promotions-latest-event__featured-promotions {
  padding-bottom: 0;
}

.page-promotions-latest-event__call-to-action {
  border-bottom: none;
  padding-bottom: 80px;
}

.page-promotions-latest-event__promotion-card {
  display: flex;
  background-color: var(--page-promotions-latest-event-card-bg);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-latest-event-border-color);
  flex-direction: row;
}

.page-promotions-latest-event__promotion-card--reverse {
  flex-direction: row-reverse;
}

.page-promotions-latest-event__card-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-latest-event__card-content {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-promotions-latest-event__card-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--page-promotions-latest-event-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-latest-event__card-description {
  font-size: 0.95rem;
  color: var(--page-promotions-latest-event-text-secondary);
  margin-bottom: 20px;
}

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

.page-promotions-latest-event__card-features li {
  color: var(--page-promotions-latest-event-text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-promotions-latest-event__card-features li::before {
  content: '✓';
  color: var(--page-promotions-latest-event-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions-latest-event__how-to-claim-section {
  background-color: var(--page-promotions-latest-event-deep-green);
}

.page-promotions-latest-event__steps-wrapper {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-promotions-latest-event__step-card {
  background-color: var(--page-promotions-latest-event-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-latest-event-border-color);
}

.page-promotions-latest-event__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-latest-event__step-title {
  font-size: 1.5rem;
  color: var(--page-promotions-latest-event-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions-latest-event__step-description {
  font-size: 0.9rem;
  color: var(--page-promotions-latest-event-text-secondary);
}

.page-promotions-latest-event__terms-list {
  list-style: disc;
  color: var(--page-promotions-latest-event-text-secondary);
  padding-left: 30px;
  margin-top: 20px;
}

.page-promotions-latest-event__terms-list li {
  margin-bottom: 10px;
}

.page-promotions-latest-event__inline-link {
  color: var(--page-promotions-latest-event-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-latest-event__inline-link:hover {
  text-decoration: underline;
}

.page-promotions-latest-event__faq-list {
  margin-top: 40px;
}

.page-promotions-latest-event__faq-item {
  background-color: var(--page-promotions-latest-event-card-bg);
  border: 1px solid var(--page-promotions-latest-event-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-latest-event__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--page-promotions-latest-event-text-main);
  font-weight: 600;
  background-color: rgba(var(--page-promotions-latest-event-primary-color), 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions-latest-event__faq-question:hover {
  background-color: rgba(var(--page-promotions-latest-event-primary-color), 0.2);
}

.page-promotions-latest-event__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--page-promotions-latest-event-secondary-color);
  transition: transform 0.3s ease;
}

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

.page-promotions-latest-event__faq-answer {
  padding: 0 25px 20px;
  font-size: 0.95rem;
  color: var(--page-promotions-latest-event-text-secondary);
  line-height: 1.7;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-promotions-latest-event__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-promotions-latest-event__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions-latest-event__hero-content {
    padding: 20px;
    margin-top: -30px;
  }

  .page-promotions-latest-event__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-promotions-latest-event__hero-description {
    font-size: 1rem;
  }

  .page-promotions-latest-event__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-promotions-latest-event__btn-primary,
  .page-promotions-latest-event__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-sizing: border-box !important;
  }

  .page-promotions-latest-event__overview-section,
  .page-promotions-latest-event__featured-promotions,
  .page-promotions-latest-event__how-to-claim-section,
  .page-promotions-latest-event__terms-conditions-section,
  .page-promotions-latest-event__faq-section,
  .page-promotions-latest-event__call-to-action {
    padding: 40px 0;
  }

  .page-promotions-latest-event__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions-latest-event__promotion-card,
  .page-promotions-latest-event__promotion-card--reverse {
    flex-direction: column;
  }

  .page-promotions-latest-event__card-image,
  .page-promotions-latest-event__card-content {
    width: 100% !important;
    padding: 20px;
  }

  .page-promotions-latest-event__card-image {
    min-height: 250px;
  }

  .page-promotions-latest-event__steps-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-latest-event__step-card {
    max-width: 90%;
    width: 100%;
  }

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

  .page-promotions-latest-event__hero-image-wrapper,
  .page-promotions-latest-event__container,
  .page-promotions-latest-event__promotion-card,
  .page-promotions-latest-event__step-card,
  .page-promotions-latest-event__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions-latest-event__hero-section {
    padding-top: 10px !important;
  }
}