.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #FFFFFF; /* Default light background for content area */
}

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

.page-promotions__hero-section {
  position: relative;
  text-align: center;
  color: #FFFFFF;
  padding-top: 10px; /* Rely on body for header offset, add small top padding */
  margin-bottom: 40px;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 20px 80px;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-promotions__btn-register,
.page-promotions__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promotions__btn-register {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-promotions__btn-register:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-promotions__btn-login {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-promotions__btn-login:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-promotions__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-promotions__dark-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description {
  color: #FFFFFF;
}

.page-promotions__featured-promos {
  margin-bottom: 40px;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-promotions__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-promotions__card-link:hover {
  background-color: #005a2e;
}

.page-promotions__how-to-claim {
  margin-bottom: 40px;
}

.page-promotions__claim-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-promotions__claim-step {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 280px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-promotions__claim-step:hover {
  transform: translateY(-5px);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-promotions__step-text {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
}

.page-promotions__claim-guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-section {
  margin-bottom: 60px;
}

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #017439;
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
}

details.page-promotions__faq-item[open] summary.page-promotions__faq-question {
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #555555;
}

.page-promotions__faq-answer p {
  margin: 0;
}

.page-promotions__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

/* General image and container responsive styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__section,
.page-promotions__card,
.page-promotions__container,
.page-promotions__promo-grid,
.page-promotions__claim-steps,
.page-promotions__faq-list,
.page-promotions__cta-buttons {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 40px;
  }

  .page-promotions__hero-description {
    font-size: 18px;
  }

  .page-promotions__section-title {
    font-size: 32px;
  }

  .page-promotions__section-description {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__promo-card {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__claim-step {
    max-width: 250px;
    padding: 25px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    margin-bottom: 30px;
  }

  .page-promotions__hero-content {
    padding: 80px 15px 50px;
  }

  .page-promotions__main-title {
    font-size: 32px !important;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 16px !important;
    margin-bottom: 30px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  .page-promotions__btn-register,
  .page-promotions__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section-title {
    font-size: 28px !important;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 15px !important;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-promotions__light-bg,
  .page-promotions__dark-section {
    padding: 40px 0;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-promotions__promo-image {
    height: 200px !important;
  }

  .page-promotions__card-content {
    padding: 20px !important;
  }

  .page-promotions__card-title {
    font-size: 20px !important;
    margin-bottom: 10px;
  }

  .page-promotions__card-text {
    font-size: 15px !important;
    margin-bottom: 15px;
  }

  .page-promotions__card-link {
    padding: 8px 15px !important;
    font-size: 15px !important;
  }

  .page-promotions__claim-steps {
    flex-direction: column !important;
    gap: 20px !important;
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-promotions__claim-step {
    max-width: 100% !important;
    padding: 25px !important;
  }

  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-promotions__step-title {
    font-size: 20px !important;
  }

  .page-promotions__step-text {
    font-size: 15px !important;
  }

  .page-promotions__claim-guide-image {
    margin: 40px auto 0 !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  .page-promotions__faq-section {
    margin-bottom: 40px;
  }

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

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px !important;
    font-size: 16px !important;
  }

  .page-promotions__faq-toggle {
    font-size: 24px !important;
    width: 28px !important;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px !important;
    font-size: 15px !important;
  }

  .page-promotions__cta-bottom {
    padding: 60px 0;
  }

  /* Universal image responsive styles for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-grid,
  .page-promotions__claim-steps,
  .page-promotions__faq-list,
  .page-promotions__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}