/* General styles for page-promotions */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background: var(--page-bg, #F4F7FB); /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2F6BFF; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding-bottom: 20px; /* Space between image and content below */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px); /* H1 clamp for responsive font size */
  font-weight: 800;
  color: #2F6BFF; /* Main Color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 18px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button styles */
.page-promotions__cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-promotions__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF; /* Main Color */
  box-shadow: none;
}

.page-promotions__btn-secondary:hover {
  background: #f0f0f0;
  box-shadow: none;
}

.page-promotions__btn-small {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 6px;
}

/* Content Wrapper for image and text blocks */
.page-promotions__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-promotions__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-promotions__text-block {
  flex: 1;
  padding: 20px;
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #D6E2FF; /* Border */
}

.page-promotions__text-block p {
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

.page-promotions__image-block {
  flex: 1;
  min-width: 300px; /* Minimum width for image block */
}

.page-promotions__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-promotions__promo-card {
  background: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__promo-card p {
  font-size: 15px;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terms and Conditions List */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D; /* Text Main */
}

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

.page-promotions__terms-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

.page-promotions__terms-note {
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 8px 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;
  color: #000000; /* Custom Color_1776249996415 */
  font-weight: 600;
}
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: #F4F7FB; /* Background */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}
.page-promotions__faq-toggle {
  font-size: 28px; /* Larger toggle for better tap target */
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 20px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 10px 10px;
  color: #1F2D3D; /* Text Main */
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
  margin: 0;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__hero-description {
    font-size: 17px;
  }
  .page-promotions__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .page-promotions__content-wrapper--reverse {
    flex-direction: column; /* On tablets, reverse also becomes column */
  }
  .page-promotions__text-block,
  .page-promotions__image-block {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__section {
    padding: 30px 0;
  }
  .page-promotions__main-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
  }
  .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;
    font-size: 16px;
  }

  /* Button container mobile adaptation */
  .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;
    display: flex; /* Ensure flex context for wrap */
    flex-direction: column; /* Stack buttons vertically */
  }
  
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__text-block,
  .page-promotions__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px; /* Add padding to prevent content touching edges */
  }
  .page-promotions__text-block {
    padding: 15px;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
  .page-promotions__promo-card {
    padding: 20px;
  }
  .page-promotions__promo-image {
    height: auto; /* Allow height to adjust on mobile */
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  .page-promotions__faq-toggle { font-size: 24px; width: 24px; height: 24px; margin-left: 10px;}
  details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }
}

/* Color Contrast Specifics */
/* Assuming --page-bg is light, so default text is dark. */
/* For sections that use brand color as background, explicitly set white text. */
.page-promotions__dark-section {
  background: #2F6BFF; /* Main Color */
  color: #ffffff; /* White text for contrast */
}

.page-promotions__dark-section .page-promotions__section-title {
  color: #ffffff;
}