/* style/promotions.css */

/* Body background is var(--background-color), assuming light for main content */
.page-promotions {
  color: #333333; /* Dark text for light background */
  background-color: var(--background-color, #ffffff);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  background-color: #f8f9fa;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #26A9E0;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #26A9E0;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #26A9E0;
}

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

.page-promotions__section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-promotions__section:last-of-type {
  border-bottom: none;
}

.page-promotions__introduction-section {
  background-color: #f0f8ff; /* Light blue tint */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

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

.page-promotions__card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too large within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-promotions__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

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

.page-promotions__step-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-item p {
  font-size: 1em;
  color: #555555;
}

.page-promotions__step-item a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-promotions__list {
  list-style: disc;
  margin-left: 20px;
  font-size: 1.1em;
  color: #444444;
}

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

.page-promotions__list strong {
  color: #26A9E0;
}

.page-promotions__video-section {
  background-color: #eaf6ff; /* Light blue background for video */
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__video-container {
  width: 100%; /* Desktop width */
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 100%;
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  cursor: pointer;
}

.page-promotions__video-caption {
  font-style: italic;
  color: #555555;
  margin-top: 10px;
  font-size: 0.95em;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-question:hover {
  background-color: #1a7fb3;
}

.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;
  background-color: #fefefe;
  color: #444444;
  font-size: 1em;
  line-height: 1.6;
}

.page-promotions__conclusion-section {
  background-color: #f0f8ff; /* Light blue tint */
  text-align: center;
}

.page-promotions__conclusion-section .page-promotions__text-block {
  text-align: center;
}

.page-promotions__conclusion-section .page-promotions__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__grid-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }

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

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

  .page-promotions__hero-description {
    font-size: 1em;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 0.9em;
  }

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

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-promotions__card {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__step-title {
    font-size: 1.5em;
  }

  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* --- Mobile Overflow Fixes --- */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-promotions__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .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;
    margin-bottom: 10px; /* Stack buttons */
  }

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-promotions__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__video-wrapper {
    padding-bottom: 75%; /* Adjust for 4:3 or similar on mobile if needed, or keep 16:9 */
  }
}