:root {
  --page-promotions--primary-color: #E53935;
  --page-promotions--secondary-color: #FF5A4F;
  --page-promotions--card-bg: #FFFFFF;
  --page-promotions--background-color: #F5F7FA;
  --page-promotions--text-main-color: #333333;
  --page-promotions--border-color: #E0E0E0;
  --page-promotions--gradient-button: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

.page-promotions {
  font-family: Arial, sans-serif;
  color: var(--page-promotions--text-main-color);
  background-color: var(--page-promotions--background-color);
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  max-width: 100%;
  overflow-x: hidden;
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px 40px;
  background-color: var(--page-promotions--primary-color);
  color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.page-promotions__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  order: -1; /* Ensure image comes first in DOM order */
  margin-bottom: 20px;
}

.page-promotions__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5; /* 1920x600 */
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no filter is applied */
}

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-promotions__main-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-promotions__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--page-promotions--gradient-button);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--page-promotions--primary-color);
}

.page-promotions__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

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

.page-promotions__offer-card {
  background-color: var(--page-promotions--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

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

.page-promotions__offer-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3; /* 800x600 */
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter is applied */
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-promotions__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-promotions--primary-color);
}

.page-promotions__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--page-promotions--text-main-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--page-promotions--gradient-button);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.2s ease;
}

.page-promotions__card-button:hover {
  opacity: 0.9;
}

.page-promotions__terms-list {
  list-style: disc inside;
  margin: 30px auto;
  max-width: 800px;
  padding-left: 20px;
  line-height: 1.8;
}

.page-promotions__terms-item {
  margin-bottom: 10px;
  color: var(--page-promotions--text-main-color);
}

.page-promotions__terms-link {
  display: block;
  text-align: center;
  margin-top: 40px;
  color: var(--page-promotions--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-promotions__terms-link:hover {
  color: var(--page-promotions--primary-color);
}

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

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

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

  .page-promotions__offers-section,
  .page-promotions__terms-section {
    padding: 30px 15px;
  }

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

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

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

  .page-promotions__offer-card img {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

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

@media (max-width: 549px) {
  .page-promotions__main-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-promotions__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .page-promotions__cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-promotions__section-title {
    font-size: clamp(1.2rem, 6vw, 1.6rem);
  }

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

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