.page-promotions {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
}

.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: 30px;
  overflow: hidden;
  border-radius: 12px;
}

.page-promotions__hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no grayscale */
}

.page-promotions__hero-content-wrapper {
  max-width: 900px;
}

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

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

.page-promotions__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

.page-promotions__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: none;
}

.page-promotions__btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions__btn--secondary {
  background-color: #7E0D0D;
  color: #FFF1E8;
  border: 1px solid #6A1E1E;
}

.page-promotions__btn--secondary:hover {
  background-color: #C61F1F;
  transform: translateY(-2px);
}

.page-promotions__section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin: 60px auto 40px auto;
  max-width: 1200px;
  padding: 0 15px;
  position: relative;
}

.page-promotions__section-title::before,
.page-promotions__section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px;
  height: 2px;
  background-color: #6A1E1E;
  transform: translateY(-50%);
}

.page-promotions__section-title::before {
  left: 0;
  margin-left: calc(50% - (var(--title-width) / 2) - 60px);
}

.page-promotions__section-title::after {
  right: 0;
  margin-right: calc(50% - (var(--title-width) / 2) - 60px);
}

.page-promotions__offers-list {
  max-width: 1390px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
}

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

.page-promotions__offer-card {
  background-color: #2A1212;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid #6A1E1E;
}

.page-promotions__card-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-promotions__card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  filter: none; /* Ensure no grayscale */
}

.page-promotions__offer-card:hover .page-promotions__card-image-wrapper img {
  transform: scale(1.05);
}

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

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

.page-promotions__card-title a {
  color: #F3C54D;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  text-align: center;
}

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

.page-promotions__terms-section,
.page-promotions__faq-section {
  max-width: 1000px;
  margin: 0 auto 60px auto;
  padding: 0 15px;
}

.page-promotions__content-wrapper p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #FFF1E8;
}

.page-promotions__content-wrapper a {
  color: #F3C54D;
  text-decoration: none;
}

.page-promotions__content-wrapper a:hover {
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #FFF1E8;
}

.page-promotions__terms-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-promotions__faq-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
}

.page-promotions__faq-question {
  font-size: 1.15rem;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF1E8;
}

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

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

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

  .page-promotions__hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions__btn {
    width: 100%;
    max-width: 280px;
  }

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

  .page-promotions__section-title::before,
  .page-promotions__section-title::after {
    width: 30px;
    margin-left: calc(50% - (var(--title-width) / 2) - 40px);
    margin-right: calc(50% - (var(--title-width) / 2) - 40px);
  }

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

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

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

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

  .page-promotions__card-btn {
    font-size: 0.85rem;
    padding: 10px 15px;
  }

  .page-promotions__terms-section,
  .page-promotions__faq-section {
    margin-bottom: 40px;
  }

  .page-promotions__content-wrapper p,
  .page-promotions__terms-list li,
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    font-size: 0.95rem;
  }

  /* Ensure images in content area don't overflow */
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-promotions__hero-description {
    font-size: 0.9rem;
  }

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

  .page-promotions__section-title::before,
  .page-promotions__section-title::after {
    width: 20px;
    margin-left: calc(50% - (var(--title-width) / 2) - 30px);
    margin-right: calc(50% - (var(--title-width) / 2) - 30px);
  }

  .page-promotions__offers-list,
  .page-promotions__terms-section,
  .page-promotions__faq-section {
    padding: 0 10px;
  }

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

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

  .page-promotions__faq-question {
    font-size: 1.05rem;
  }
}

/* Dynamic title width for pseudo-elements */
.page-promotions__section-title {
  --title-width: 0;
}

.page-promotions__section-title::before, .page-promotions__section-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 50px; /* Default width */
  height: 2px;
  background-color: #6A1E1E;
  transform: translateY(-50%);
}

/* Adjust line length based on title content for better responsiveness */
@supports (content: "") {
  .page-promotions__section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px; /* Spacing between title and lines */
  }
  .page-promotions__section-title::before, .page-promotions__section-title::after {
    content: '';
    position: relative;
    top: auto;
    transform: none;
    flex-grow: 1;
    width: auto; /* Let flex grow handle width */
    max-width: 150px; /* Max length for lines */
  }
  @media (max-width: 768px) {
    .page-promotions__section-title::before, .page-promotions__section-title::after {
      max-width: 80px;
    }
  }
  @media (max-width: 549px) {
    .page-promotions__section-title::before, .page-promotions__section-title::after {
      max-width: 40px;
    }
  }
}