/* Base styles for the Khuyến Mãi page */
.page-khuyen-mai {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-khuyen-mai a {
  color: #FFD36B; /* Glow */
  text-decoration: none;
}

.page-khuyen-mai a:hover {
  text-decoration: underline;
}

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

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  text-align: center;
  padding-bottom: 40px;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  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: 0 auto;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-khuyen-mai__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

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

.page-khuyen-mai__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
}

.page-khuyen-mai__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-khuyen-mai__section-title {
  font-size: 2.2rem;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-khuyen-mai__intro-section p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: #FFF6D6;
}

.page-khuyen-mai__promo-grid {
  padding: 60px 0;
}

.page-khuyen-mai__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-khuyen-mai__promo-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B; /* Glow */
}

.page-khuyen-mai__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-khuyen-mai__card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-khuyen-mai__card-description {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.page-khuyen-mai__terms-section,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__cta-bottom-section {
  padding: 60px 0;
}

.page-khuyen-mai__terms-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-khuyen-mai__terms-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

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

.page-khuyen-mai__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2C14E; /* Main Color */
  list-style: none; /* For details/summary */
}

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

.page-khuyen-mai__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #FFD36B; /* Glow */
}

.page-khuyen-mai__faq-answer {
  padding: 0 20px 15px;
  font-size: 1rem;
  color: #FFF6D6;
}

.page-khuyen-mai__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

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

/* Responsive styles for mobile */
@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 16px;
    line-height: 1.5;
  }

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

  /* HERO Section */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-khuyen-mai__description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  /* Promo Grid */
  .page-khuyen-mai__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__promo-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-khuyen-mai__card-image {
    height: 180px;
  }

  .page-khuyen-mai__card-title {
    font-size: 1.3rem;
  }

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

  /* Terms and FAQ */
  .page-khuyen-mai__terms-section,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__cta-bottom-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__terms-list {
    margin-left: 15px;
  }

  .page-khuyen-mai__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 15px 12px;
  }

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

  .page-khuyen-mai__hero-image-wrapper,
  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__intro-section,
  .page-khuyen-mai__terms-section,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure no small icons or dimensions less than 200px */
.page-khuyen-mai img:not([width='32']):not([width='40']):not([width='48']):not([width='60']):not([width='64']):not([width='80']):not([width='100']) {
  min-width: 200px;
  min-height: 200px;
}

/* Override specific small image rules if they exist */
.page-khuyen-mai img[width][height]:not([width^='19']):not([width^='16']):not([width^='12']):not([width^='10']):not([width^='8']):not([width^='6']):not([width^='4']) {
  min-width: 200px !important;
  min-height: 200px !important;
}

/* Prevent filter on images */
.page-khuyen-mai img {
  filter: none !important;
}