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

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  padding-bottom: 60px;
  background: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

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

.page-khuyen-mai__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-khuyen-mai__hero-title {
  font-size: 2.8em;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 550px;
}

.page-khuyen-mai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 600px;
}

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

.page-khuyen-mai__cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  text-align: center;
  max-width: 100%;
  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: #d16b00;
  border-color: #d16b00;
}

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

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

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

.page-khuyen-mai__hero-side-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-khuyen-mai__promo-overview {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-khuyen-mai__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-khuyen-mai__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #1e1765;
}

.page-khuyen-mai__section-title--white {
  color: #ffffff;
}

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

.page-khuyen-mai__promo-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-khuyen-mai__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 calc(33.333% - 40px);
  max-width: calc(33.333% - 40px);
  min-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuyen-mai__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e0f2f7; /* Light background for circular icons */
  box-shadow: inset 0 0 0 5px rgba(38, 169, 224, 0.2);
}

.page-khuyen-mai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-khuyen-mai__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-khuyen-mai__card-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #555555;
  min-height: 75px; /* Ensure consistent card height */
}

.page-khuyen-mai__details-section {
  padding: 80px 0;
  background: #26A9E0;
  color: #ffffff;
}

.page-khuyen-mai__details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

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

.page-khuyen-mai__details-image {
  flex: 1 1 35%;
  min-width: 280px;
  text-align: center;
}

.page-khuyen-mai__details-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

.page-khuyen-mai__details-subtitle {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-khuyen-mai__details-subtitle:first-of-type {
  margin-top: 0;
}

.page-khuyen-mai__details-text {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

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

.page-khuyen-mai__faq-item {
  background-color: #f0f8ff; /* Light blue background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  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: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-answer {
  max-height: 500px; /* Sufficiently large to show content */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__hero-title {
    font-size: 2.5em;
  }
  .page-khuyen-mai__section-title {
    font-size: 2em;
  }
  .page-khuyen-mai__promo-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
  .page-khuyen-mai__details-subtitle {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-khuyen-mai__hero-container {
    flex-direction: column-reverse;
    padding: 30px 15px;
    gap: 20px;
  }
  .page-khuyen-mai__hero-content {
    text-align: center;
    flex: 1 1 100%;
  }
  .page-khuyen-mai__hero-title {
    font-size: 2em !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-khuyen-mai__hero-description {
    font-size: 1em !important;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-khuyen-mai__cta-button {
    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__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-khuyen-mai__hero-side-image {
    width: 100%;
  }

  .page-khuyen-mai__promo-overview {
    padding: 40px 0;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.8em !important;
  }
  .page-khuyen-mai__section-description {
    font-size: 0.95em !important;
    margin-bottom: 30px;
  }
  .page-khuyen-mai__promo-cards {
    gap: 20px;
  }
  .page-khuyen-mai__promo-card {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 25px;
  }
  .page-khuyen-mai__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  .page-khuyen-mai__card-title {
    font-size: 1.3em;
  }
  .page-khuyen-mai__card-description {
    min-height: unset;
  }

  .page-khuyen-mai__details-section {
    padding: 50px 0;
  }
  .page-khuyen-mai__details-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-khuyen-mai__details-content, .page-khuyen-mai__details-image {
    flex: 1 1 100%;
    min-width: unset;
  }
  .page-khuyen-mai__details-subtitle {
    font-size: 1.4em !important;
  }
  .page-khuyen-mai__details-text {
    font-size: 0.95em !important;
  }
  .page-khuyen-mai__details-img {
    width: 100%;
  }

  .page-khuyen-mai__faq-section {
    padding: 40px 0;
  }
  .page-khuyen-mai__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
  }

  /* General image responsiveness for content area */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-khuyen-mai__content-area, 
  .page-khuyen-mai__promo-cards, 
  .page-khuyen-mai__promo-card, 
  .page-khuyen-mai__details-grid, 
  .page-khuyen-mai__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}