.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF);
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1920px; /* Max width for image itself */
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  width: 100%;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__overview-section,
.page-promotions__claim-guide,
.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__cta-bottom-section {
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
  color: inherit; /* Inherit color from parent section */
}

.page-promotions__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px; /* Ensure images are not too small */
  min-width: 200px; /* Minimum size */
}

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

.page-promotions__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px; /* Card images should be large enough */
  min-width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-promotions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #EA7C07; /* Login button color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-small:hover {
  background-color: #c96706;
  border-color: #c96706;
}

.page-promotions__steps-list,
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__list-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-list .page-promotions__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-left-color: #FFFFFF;
}

.page-promotions__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-promotions__terms-list .page-promotions__list-title {
  color: #FFFFFF;
}

.page-promotions__list-item p {
  font-size: 1rem;
  line-height: 1.5;
}

.page-promotions__btn-inline {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 1px solid #EA7C07;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-inline:hover {
  background-color: #c96706;
  border-color: #c96706;
}

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

.page-promotions__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-promotions__cta-bottom-content {
  text-align: center;
  padding: 40px 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-promotions__subtitle {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__claim-guide,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 15px !important; /* Adjust padding for mobile */
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-promotions__subtitle {
    font-size: clamp(0.85rem, 3vw, 1rem);
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small,
  .page-promotions__btn-inline,
  .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 !important;
    padding-right: 15px !important;
  }

  /* Image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__hero-image,
  .page-promotions__image-content,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    min-width: unset !important; /* Allow images to shrink on mobile */
    box-sizing: border-box !important;
  }

  .page-promotions__container,
  .page-promotions__card,
  .page-promotions__list-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__card-grid {
    gap: 20px;
  }

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

  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
  .page-promotions__subtitle {
    font-size: clamp(0.8rem, 4vw, 0.9rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }
  .page-promotions__card-title {
    font-size: 1.2rem;
  }
  .page-promotions__list-title {
    font-size: 1.1rem;
  }
  .page-promotions__list-item,
  .page-promotions__card {
    padding: 20px;
  }
  .page-promotions__hero-content {
    padding: 0 15px;
  }
}