/* style/promotions-member-exclusive-benefits.css */

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

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-promotions-member-exclusive-benefits {
  background-color: var(--mb66667-background-color);
  color: var(--mb66667-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for content separation */
}

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

.page-promotions-member-exclusive-benefits__section-title {
  color: var(--mb66667-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem); /* H1 font size constraint */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-promotions-member-exclusive-benefits__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--mb66667-text-secondary);
  text-align: center;
}

/* HERO Section */
.page-promotions-member-exclusive-benefits__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--mb66667-deep-green);
  overflow: hidden;
}

.page-promotions-member-exclusive-benefits__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

.page-promotions-member-exclusive-benefits__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-member-exclusive-benefits__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--mb66667-deep-green); /* Ensure content background for readability */
}

.page-promotions-member-exclusive-benefits__main-title {
  color: var(--mb66667-gold-color);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-member-exclusive-benefits__hero-description {
  font-size: 1.2em;
  color: var(--mb66667-text-main);
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-promotions-member-exclusive-benefits__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.page-promotions-member-exclusive-benefits__btn-primary {
  background: var(--mb66667-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-member-exclusive-benefits__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions-member-exclusive-benefits__btn-secondary {
  background-color: transparent;
  color: var(--mb66667-gold-color);
  border: 2px solid var(--mb66667-gold-color);
}

.page-promotions-member-exclusive-benefits__btn-secondary:hover {
  background-color: var(--mb66667-gold-color);
  color: var(--mb66667-background-color);
  transform: translateY(-3px);
}

/* Intro Section */
.page-promotions-member-exclusive-benefits__intro-section {
  padding: 60px 0;
  background-color: var(--mb66667-background-color);
}

/* Benefits List Section */
.page-promotions-member-exclusive-benefits__benefits-list-section {
  padding: 60px 0;
  background-color: var(--mb66667-deep-green);
}

.page-promotions-member-exclusive-benefits__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions-member-exclusive-benefits__benefit-card {
  background-color: var(--mb66667-card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--mb66667-border-color);
}

.page-promotions-member-exclusive-benefits__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-member-exclusive-benefits__card-title {
  color: var(--mb66667-text-main);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-member-exclusive-benefits__card-description {
  color: var(--mb66667-text-secondary);
  font-size: 0.95em;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions-member-exclusive-benefits__card-button {
  width: 100%;
  max-width: 200px;
  padding: 12px 20px;
  font-size: 0.95em;
}

/* CTA Section (Dark) */
.page-promotions-member-exclusive-benefits__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--mb66667-deep-green);
  border-top: 1px solid var(--mb66667-divider-color);
  border-bottom: 1px solid var(--mb66667-divider-color);
}

.page-promotions-member-exclusive-benefits__dark-section .page-promotions-member-exclusive-benefits__section-title,
.page-promotions-member-exclusive-benefits__dark-section .page-promotions-member-exclusive-benefits__text-block {
  color: var(--mb66667-text-main);
}

/* How to Join Section */
.page-promotions-member-exclusive-benefits__how-to-join-section {
  padding: 60px 0;
  background-color: var(--mb66667-background-color);
}

.page-promotions-member-exclusive-benefits__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions-member-exclusive-benefits__step-card {
  background-color: var(--mb66667-card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--mb66667-border-color);
}

/* FAQ Section */
.page-promotions-member-exclusive-benefits__faq-section {
  padding: 60px 0;
  background-color: var(--mb66667-deep-green);
}

.page-promotions-member-exclusive-benefits__faq-item {
  background-color: var(--mb66667-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--mb66667-border-color);
}

.page-promotions-member-exclusive-benefits__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--mb66667-text-main);
  font-size: 1.1em;
  background-color: var(--mb66667-card-bg);
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-promotions-member-exclusive-benefits__faq-question:hover {
  background-color: var(--mb66667-deep-green);
}

.page-promotions-member-exclusive-benefits__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--mb66667-gold-color);
}

.page-promotions-member-exclusive-benefits__faq-item[open] > .page-promotions-member-exclusive-benefits__faq-question {
  background-color: var(--mb66667-deep-green);
}

.page-promotions-member-exclusive-benefits__faq-item[open] .page-promotions-member-exclusive-benefits__faq-toggle {
  color: var(--mb66667-text-main);
}

.page-promotions-member-exclusive-benefits__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--mb66667-text-secondary);
  font-size: 1em;
}

.page-promotions-member-exclusive-benefits__faq-answer p {
  margin: 0;
}

/* Hide default details marker */
.page-promotions-member-exclusive-benefits__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-member-exclusive-benefits__faq-item summary {
  list-style: none;
}

/* Final CTA Section */
.page-promotions-member-exclusive-benefits__call-to-action-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--mb66667-background-color);
}

.page-promotions-member-exclusive-benefits__call-to-action-final-section .page-promotions-member-exclusive-benefits__cta-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-member-exclusive-benefits__hero-content {
    padding: 30px 20px;
  }
  .page-promotions-member-exclusive-benefits__main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .page-promotions-member-exclusive-benefits__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promotions-member-exclusive-benefits__container {
    padding: 0 15px !important;
  }
  .page-promotions-member-exclusive-benefits__hero-section {
    padding-top: 10px !important;
  }
  .page-promotions-member-exclusive-benefits__hero-image-wrapper {
    max-height: 400px;
  }
  .page-promotions-member-exclusive-benefits__hero-content {
    padding: 25px 15px;
  }
  .page-promotions-member-exclusive-benefits__main-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .page-promotions-member-exclusive-benefits__hero-description {
    font-size: 1em;
  }
  .page-promotions-member-exclusive-benefits__cta-button {
    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;
  }
  .page-promotions-member-exclusive-benefits__hero-content .page-promotions-member-exclusive-benefits__cta-button {
    display: block;
  }
  .page-promotions-member-exclusive-benefits__benefits-list-section .page-promotions-member-exclusive-benefits__grid-container {
    grid-template-columns: 1fr;
  }
  .page-promotions-member-exclusive-benefits__how-to-join-section .page-promotions-member-exclusive-benefits__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-member-exclusive-benefits__card-image {
    height: 180px;
  }
  .page-promotions-member-exclusive-benefits img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-member-exclusive-benefits__section,
  .page-promotions-member-exclusive-benefits__card,
  .page-promotions-member-exclusive-benefits__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-member-exclusive-benefits__cta-buttons,
  .page-promotions-member-exclusive-benefits__button-group,
  .page-promotions-member-exclusive-benefits__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
  .page-promotions-member-exclusive-benefits__call-to-action-final-section .page-promotions-member-exclusive-benefits__cta-button {
    width: calc(100% - 30px) !important; /* Adjust for padding */
    margin: 10px auto !important;
  }
  .page-promotions-member-exclusive-benefits__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions-member-exclusive-benefits__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-member-exclusive-benefits__hero-image-wrapper {
    max-height: 300px;
  }
  .page-promotions-member-exclusive-benefits__main-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-promotions-member-exclusive-benefits__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-promotions-member-exclusive-benefits__text-block {
    font-size: 0.9em;
  }
  .page-promotions-member-exclusive-benefits__card-title {
    font-size: 1.3em;
  }
  .page-promotions-member-exclusive-benefits__card-description {
    font-size: 0.85em;
  }
}