.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Page background color */
}

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background-color: #F5F7FA; /* Light background for hero */
  color: #333333;
}

.page-khuyen-mai__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px;
  gap: 30px;
}

.page-khuyen-mai__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #E53935;
  margin-bottom: 20px;
}

.page-khuyen-mai__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-khuyen-mai__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-khuyen-mai__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-khuyen-mai__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__card-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-khuyen-mai__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid #E53935;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-khuyen-mai__btn-secondary:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-khuyen-mai__content-area {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-khuyen-mai__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

.page-khuyen-mai__section-description {
  font-size: 1.1rem;
  color: #333333;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.page-khuyen-mai__promo-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-khuyen-mai__card-media {
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  overflow: hidden;
  border-radius: 8px;
}

.page-khuyen-mai__card-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-khuyen-mai__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 15px;
}

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

.page-khuyen-mai__how-to-claim-section {
  background-color: #E53935; /* Dark background for this section */
  color: #ffffff; /* White text for dark background */
  padding: 60px 0;
}

.page-khuyen-mai__how-to-claim-section .page-khuyen-mai__section-title,
.page-khuyen-mai__how-to-claim-section .page-khuyen-mai__section-description {
  color: #ffffff;
}

.page-khuyen-mai__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-khuyen-mai__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyen-mai__step-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-khuyen-mai__step-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  display: block;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-khuyen-mai__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-khuyen-mai__step-text {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-khuyen-mai__center-cta {
  text-align: center;
  margin-top: 50px;
}

.page-khuyen-mai__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  color: #333333;
}

.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

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

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: background-color 0.3s ease;
  list-style: none; /* Hide default details marker */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none; /* Hide default details marker for webkit */
}

.page-khuyen-mai__faq-question:hover {
  background-color: #f8f8f8;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #E53935;
  margin-left: 15px;
  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: 0 25px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-khuyen-mai__faq-answer p {
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-khuyen-mai__hero-content,
  .page-khuyen-mai__hero-image {
    flex: 1 1 100%;
    max-width: 700px; /* Constrain width on tablets */
  }

  .page-khuyen-mai__hero-image {
    order: -1; /* Image above content on smaller screens */
    margin-bottom: 30px;
  }

  .page-khuyen-mai__hero-cta-buttons {
    justify-content: center;
  }

  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-khuyen-mai__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .page-khuyen-mai__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary,
  .page-khuyen-mai__card-button,
  .page-khuyen-mai a[class*="button"],
  .page-khuyen-mai a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuyen-mai__section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    padding: 0 15px;
  }

  .page-khuyen-mai__section-description {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-khuyen-mai__promo-card {
    padding: 20px;
  }

  .page-khuyen-mai__card-media img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__step-icon img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min- /* Adjusted min-width for mobile */
    min-
  }

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

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

  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }

  /* General image and container responsiveness for content area */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-khuyen-mai__section,
  .page-khuyen-mai__card,
  .page-khuyen-mai__container,
  .page-khuyen-mai__content-area {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}