.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  min-height: 600px;
  overflow: hidden;
  background-color: #017439; /* Brand color for hero background */
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the background image to ensure text readability */
  filter: none; /* Ensure no filter changes image color */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for main title for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #ffffff;
}

.page-promotions__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Responsive button */
  white-space: normal; /* Responsive button */
  word-wrap: break-word; /* Responsive button */
}

/* Custom colors for Register/Login buttons in hero section */
.page-promotions__hero-actions .page-promotions__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-promotions__hero-actions .page-promotions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__hero-actions .page-promotions__btn-secondary {
  background-color: #C30808; /* Login button color */
  color: #FFFF00; /* Login font color */
  border: 2px solid #C30808;
}

.page-promotions__hero-actions .page-promotions__btn-secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

/* Default button styles for other sections */
.page-promotions__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}


.page-promotions__section {
  padding: 60px 20px;
  background-color: transparent; /* Default for sections, text will be white due to main .page-promotions */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__heading {
  font-size: 2.5em;
  color: #FFFF00; /* Highlight headings */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #ffffff; /* White text on dark body background */
  text-align: justify;
}

.page-promotions__keyword {
  font-weight: bold;
  color: #FFFF00; /* Highlight keywords */
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff; /* Light text for cards */
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no filter changes image color */
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-promotions__card-title {
  font-size: 1.6em;
  color: #FFFF00; /* Highlight card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-promotions__card-link {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__card-link:hover {
  color: #fff;
}

/* Event Promotions */
.page-promotions__event-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__event-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for list items */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-promotions__event-title {
  font-size: 1.4em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-promotions__event-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Guide Section */
.page-promotions__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  color: #ffffff;
}

.page-promotions__guide-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-promotions__guide-item strong {
  color: #FFFF00;
  font-size: 1.2em;
}

/* Benefits Section */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-promotions__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  text-align: center;
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 10px;
}

.page-promotions__benefit-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #FFFFFF; /* Light background for FAQ */
  color: #333333; /* Dark text for light background */
  padding: 60px 20px;
}

.page-promotions__faq-section .page-promotions__heading {
  color: #017439; /* Brand color for heading on light background */
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #017439; /* Brand color for FAQ question */
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* Hide default marker */
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  line-height: 1;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #f0f0f0;
}

.page-promotions__faq-answer p {
  color: #555555; /* Ensure paragraph text color is dark on light background */
}

/* Call to Action Section */
.page-promotions__cta-section {
  background-color: #017439; /* Brand color background for CTA */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-promotions__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__cta-section .page-promotions__heading {
  color: #FFFF00; /* Highlight heading on brand color background */
}

.page-promotions__cta-section .page-promotions__paragraph {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-promotions__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-promotions__cta-image-wrapper {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 12px;
}

.page-promotions__cta-image {
  width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no filter changes image color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__heading {
    font-size: 2em;
  }
  .page-promotions__card-title {
    font-size: 1.4em;
  }
  .page-promotions__faq-item summary {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below header on mobile */
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%; /* Full width buttons on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .page-promotions__heading {
    font-size: 1.8em;
  }
  .page-promotions__paragraph,
  .page-promotions__card-text,
  .page-promotions__event-description,
  .page-promotions__guide-item,
  .page-promotions__benefit-description,
  .page-promotions__faq-answer p {
    font-size: 0.95em;
    line-height: 1.5;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__card-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-width: 200px !important; /* Enforce min image size */
    min-height: 200px !important; /* Enforce min image size */
  }

  /* Images in content areas */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none; /* Ensure no filter changes image color */
  }

  /* Videos (if any) */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Buttons in content areas */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__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;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
  }

  .page-promotions__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
}