.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  padding-bottom: 50px;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-khuyen-mai__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 30px;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.page-khuyen-mai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-khuyen-mai__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-khuyen-mai__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7bbd;
  border-color: #1a7bbd;
}

.page-khuyen-mai__intro-section,
.page-khuyen-mai__guide-section,
.page-khuyen-mai__terms-section,
.page-khuyen-mai__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-khuyen-mai__promotion-types-section,
.page-khuyen-mai__featured-promos,
.page-khuyen-mai__benefits-section,
.page-khuyen-mai__cta-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-khuyen-mai__promotion-types-section .page-khuyen-mai__section-title,
.page-khuyen-mai__featured-promos .page-khuyen-mai__section-title,
.page-khuyen-mai__benefits-section .page-khuyen-mai__section-title,
.page-khuyen-mai__cta-section .page-khuyen-mai__section-title {
  color: #ffffff;
}

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

.page-khuyen-mai__promotion-card,
.page-khuyen-mai__promo-item,
.page-khuyen-mai__benefit-item {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page-khuyen-mai__card-image,
.page-khuyen-mai__item-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3; /* Common aspect ratio for cards */
}

.page-khuyen-mai__card-content,
.page-khuyen-mai__item-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuyen-mai__card-title,
.page-khuyen-mai__item-title,
.page-khuyen-mai__benefit-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-khuyen-mai__promotion-card p,
.page-khuyen-mai__promo-item p {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-khuyen-mai__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-khuyen-mai__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__guide-step-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-khuyen-mai__guide-list p {
  margin-bottom: 15px;
}

.page-khuyen-mai__terms-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
  color: #333333;
}

.page-khuyen-mai__terms-list li {
  margin-bottom: 10px;
}

.page-khuyen-mai__benefit-item {
  padding: 25px;
  text-align: center;
}

.page-khuyen-mai__benefit-item p {
  color: #333333;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-khuyen-mai__faq-list {
  margin-top: 40px;
}

.page-khuyen-mai__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fd;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
}

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

.page-khuyen-mai__faq-question::marker {
  display: none;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  transform: rotate(45deg);
}

.page-khuyen-mai__faq-answer {
  padding: 20px 25px;
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #f0f0f0;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-khuyen-mai__section-title {
    font-size: 2em;
  }
  .page-khuyen-mai__hero-content {
    padding: 15px;
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-khuyen-mai__promotion-grid,
  .page-khuyen-mai__featured-grid,
  .page-khuyen-mai__benefits-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-khuyen-mai__hero-content {
    margin-top: 20px;
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-khuyen-mai__hero-description {
    font-size: 1em;
  }
  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 10px;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  /* General image responsiveness */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-khuyen-mai__promotion-grid,
  .page-khuyen-mai__featured-grid,
  .page-khuyen-mai__benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-khuyen-mai__promotion-card,
  .page-khuyen-mai__promo-item,
  .page-khuyen-mai__benefit-item {
    width: 100%;
  }

  .page-khuyen-mai__guide-list li {
    padding: 20px;
  }
  .page-khuyen-mai__guide-step-title {
    font-size: 1.3em;
  }
  .page-khuyen-mai__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-khuyen-mai__faq-answer {
    padding: 15px 20px;
  }

  /* Placeholder for __hero-carousel-section if it existed */
  .page-khuyen-mai__hero-carousel-section {
    padding-top: 10px !important;
  }

  /* Placeholder for __guide-box and its cards if they existed */
  .page-khuyen-mai__guide-box {
    padding: 15px;
  }
  .page-khuyen-mai__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-khuyen-mai__guide-card {
    padding-top: 0 !important;
  }
  .page-khuyen-mai__guide-card--pos-1, .page-khuyen-mai__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-khuyen-mai__guide-card--pos-3, .page-khuyen-mai__guide-card--pos-4, .page-khuyen-mai__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-khuyen-mai__guide-card img {
    aspect-ratio: 250/350; /* Keep aspect ratio for team cards */
    object-fit: contain;
  }

  /* Placeholder for __home-content-box if it existed */
  .page-khuyen-mai__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    box-shadow: none;
    border: none;
    padding: 15px;
  }
  .page-khuyen-mai__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

  /* Blog card section - adapted for promotion cards */
  .page-khuyen-mai__blog-section .page-khuyen-mai__promotion-grid, /* Assuming promotion grid acts as blog grid */
  .page-khuyen-mai__blog-grid {
    grid-template-columns: 1fr;
  }
}