/* style/promotions.css */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color, #FFFFFF);
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover the area */
  display: block;
}

.page-promotions__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white background */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50px); /* Lift content over image */
  position: relative;
  z-index: 10;
}

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-promotions__hero-description {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__cta-button--primary {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-promotions__cta-button--primary:hover {
  background-color: #d46b00;
  border-color: #d46b00;
  transform: translateY(-2px);
}

.page-promotions__cta-button--secondary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-promotions__cta-button--secondary:hover {
  background-color: #1e87bb;
  border-color: #1e87bb;
  transform: translateY(-2px);
}

.page-promotions__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-promotions__section--intro, .page-promotions__section--terms, .page-promotions__section--guide, .page-promotions__section--about {
  background-color: #f9f9f9;
}

.page-promotions__section--types {
  background-color: #FFFFFF;
}

.page-promotions__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-promotions__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  font-weight: 700;
}

.page-promotions__section-title--white {
  color: #FFFFFF;
}

.page-promotions__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
  color: #333333;
}

.page-promotions__text-block--white {
  color: #f0f0f0;
}

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

.page-promotions__card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333333;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-promotions__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

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

.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__guide-item {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 30px;
  margin-bottom: 25px;
  color: #333333;
}

.page-promotions__guide-step-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-promotions__guide-item p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #555;
}

.page-promotions__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  background: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-promotions__content-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.page-promotions__image-text-block p {
  flex: 1;
  font-size: 17px;
  line-height: 1.7;
  color: #333333;
  margin: 0;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-list li strong {
  color: #26A9E0;
}

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

.page-promotions__benefit-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.page-promotions__benefit-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-promotions__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__benefit-title {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__benefit-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 0;
}

.page-promotions__button-group {
  text-align: center;
  margin-top: 50px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

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

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

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;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #26A9E0;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin-bottom: 10px;
}

/* General image styling for content sections */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Default for content images */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 30px 15px;
    transform: translateY(-40px);
  }

  .page-promotions__main-title {
    font-size: clamp(26px, 4.5vw, 42px);
  }

  .page-promotions__hero-description {
    font-size: clamp(15px, 2vw, 18px);
  }

  .page-promotions__section {
    padding: 50px 0;
  }

  .page-promotions__section-title {
    font-size: clamp(22px, 4vw, 34px);
    margin-bottom: 30px;
  }

  .page-promotions__card {
    padding: 25px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-description {
    font-size: 15px;
  }

  .page-promotions__guide-item {
    padding: 25px;
  }

  .page-promotions__guide-step-title {
    font-size: 22px;
  }

  .page-promotions__guide-item p {
    font-size: 16px;
  }

  .page-promotions__image-text-block {
    flex-direction: column;
    gap: 20px;
  }

  .page-promotions__content-image {
    width: 100%;
  }

  .page-promotions__benefit-icon {
    width: 80px;
    height: 80px;
  }

  .page-promotions__benefit-title {
    font-size: 18px;
  }

  .page-promotions__benefit-item p {
    font-size: 15px;
  }

  .page-promotions__faq-qtext {
    font-size: 17px;
  }

  .page-promotions__faq-toggle {
    font-size: 22px;
    width: 26px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    margin-bottom: 20px;
  }

  .page-promotions__hero-image-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile hero */
  }

  .page-promotions__hero-image {
    object-fit: contain !important; /* Mobile: contain the image, don't crop */
    aspect-ratio: unset !important;
    background-color: #26A9E0; /* Background for contained image */
  }

  .page-promotions__hero-content {
    padding: 20px 15px;
    transform: translateY(-30px);
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
    box-sizing: border-box !important;
  }

  .page-promotions__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-promotions__cta-button,
  .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__section {
    padding: 40px 0;
    margin-bottom: 15px;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 25px;
  }

  .page-promotions__text-block {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 25px;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 160px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-promotions__card-title {
    font-size: 18px;
  }

  .page-promotions__card-description {
    font-size: 15px;
  }

  .page-promotions__guide-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-promotions__guide-step-title {
    font-size: 20px;
  }

  .page-promotions__guide-item p {
    font-size: 15px;
  }

  .page-promotions__image-text-block {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .page-promotions__content-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-promotions__image-text-block p {
    font-size: 15px;
  }

  .page-promotions__terms-list {
    font-size: 15px;
    padding-left: 20px;
  }

  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__benefit-icon {
    width: 70px;
    height: 70px;
  }

  .page-promotions__benefit-title {
    font-size: 17px;
  }

  .page-promotions__benefit-item p {
    font-size: 14px;
  }

  .page-promotions__button-group {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }

  .page-promotions__faq-qtext {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

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

  /* General mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
  }
}