/* promotions.css */
.page-promotions {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Add some padding at the bottom for overall page */
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 40px; /* Small top padding, good bottom padding */
  background: linear-gradient(to bottom, #2F6BFF, #6FA3FF); /* Gradient background for hero section */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px; /* Space between image and content */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-promotions__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above any decorative background elements */
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF; /* Ensure H1 text is white */
}

.page-promotions__hero-description {
  font-size: clamp(1em, 2vw, 1.2em);
  margin-bottom: 30px;
  color: #E0E0E0; /* Lighter text for description */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button is not too small */
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__list-section,
.page-promotions__terms-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

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

.page-promotions__promotion-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-promotions__card-image-wrapper {
  width: 100%;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  position: relative;
  overflow: hidden;
}

.page-promotions__card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Card image min size */
  min-height: 200px; /* Card image min size */
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-promotions__card-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
  align-self: flex-start; /* Align button to start */
  min-width: 150px; /* Ensure button is not too small */
}

.page-promotions__card-button:hover {
  background: #2F6BFF; /* Slightly darker blue on hover */
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 10px 15px 30px;
  }

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

  .page-promotions__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    min-width: unset;
    width: 100%;
    max-width: 250px; /* Constrain button width on mobile */
  }

  .page-promotions__list-section,
  .page-promotions__terms-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-bottom: 30px;
  }

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

  .page-promotions__promotion-card {
    flex-direction: column;
  }

  .page-promotions__card-image {
    max-width: 100%;
    height: auto;
  }

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

  .page-promotions__card-button {
    width: 100%;
    max-width: 200px; /* Constrain button width on mobile */
    align-self: center; /* Center button on mobile */
  }

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

  /* Ensure content images do not cause horizontal overflow on mobile */
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure all images meet minimum size requirements and do not use filter */
.page-promotions img {
  min-width: 200px;
  min-height: 200px;
}