.page-promotions {
  background-color: #08160F;
  color: #F2FFF6;
  padding-top: 10px; /* Small top padding to respect header offset from body */
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1390px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  text-align: center;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* 1920x600 */
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.page-promotions__hero-content {
  width: 100%;
  max-width: 800px; /* Constrain content width for readability */
}

.page-promotions__main-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.page-promotions__description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__offers-grid-section,
.page-promotions__terms-section {
  max-width: 1390px;
  margin: 60px auto;
  padding: 0 15px;
}

.page-promotions__section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #F2C14E;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

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

.page-promotions__offer-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Ensure cards have a consistent minimum height */
}

.page-promotions__offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistent card image display */
  object-fit: cover;
  display: block;
  aspect-ratio: 16/9; /* 800x450 */
}

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allow content to grow and push button to bottom */
}

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: #A7D9B8;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to take available space */
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s ease;
  align-self: flex-start; /* Align button to start of flex container */
}

.page-promotions__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-promotions__terms-content {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  color: #A7D9B8;
  line-height: 1.7;
  font-size: 1rem;
}

.page-promotions__terms-content p {
  margin-bottom: 15px;
}

.page-promotions__terms-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-promotions__terms-content li {
  margin-bottom: 8px;
}

.page-promotions__terms-content a {
  color: #F2C14E; /* Gold for links within terms */
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-promotions__terms-content a:hover {
  color: #57E38D;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-promotions__hero-section {
    margin-bottom: 30px;
  }

  .page-promotions__hero-content {
    padding: 0 10px;
  }

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

  .page-promotions__description {
    font-size: 1rem;
  }

  .page-promotions__offers-grid-section,
  .page-promotions__terms-section {
    margin: 40px auto;
    padding: 0 10px;
  }

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

  .page-promotions__offers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.25rem;
  }

  .page-promotions__card-text {
    font-size: 0.9rem;
  }

  .page-promotions__card-button {
    width: 100%;
    align-self: center;
  }

  .page-promotions__terms-content {
    padding: 20px;
    font-size: 0.95rem;
  }

  .page-promotions__terms-content ul {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-promotions__hero-section {
    margin-bottom: 20px;
  }

  .page-promotions__hero-image-wrapper {
    margin-bottom: 15px;
  }

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

  .page-promotions__description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .page-promotions__offers-grid-section,
  .page-promotions__terms-section {
    margin: 30px auto;
  }

  .page-promotions__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
    margin-bottom: 25px;
  }

  .page-promotions__card-image {
    height: 180px; /* Adjust height for smaller screens */
  }

  .page-promotions__card-title {
    font-size: 1.1rem;
  }

  .page-promotions__card-text {
    font-size: 0.85rem;
  }

  .page-promotions__card-button {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .page-promotions__terms-content {
    padding: 15px;
    font-size: 0.85rem;
  }
}