/* style/cau-hoi-thuong-gap.css */
.page-cau-hoi-thuong-gap {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color, #B71C1C); /* Background, fallback to Deep Red */
}

.page-cau-hoi-thuong-gap__hero-section {
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  background-color: #B71C1C; /* Deep Red */
  color: #FFF5E1; /* Text Main */
  text-align: center;
}

.page-cau-hoi-thuong-gap__hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 15px;
}

.page-cau-hoi-thuong-gap__hero-text-content {
  flex: 1 1 500px;
  text-align: left;
  max-width: 600px;
}

.page-cau-hoi-thuong-gap__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD86A; /* Gold-like for emphasis */
}

.page-cau-hoi-thuong-gap__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 550px;
}

.page-cau-hoi-thuong-gap__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-cau-hoi-thuong-gap__hero-image-wrapper {
  flex: 1 1 400px;
  text-align: center;
}

.page-cau-hoi-thuong-gap__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-cau-hoi-thuong-gap__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cau-hoi-thuong-gap__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFD86A; /* Gold */
  border: 2px solid #F2B544; /* Border */
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
  background: #5C0B0B;
  border-color: #FFD86A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-cau-hoi-thuong-gap__faq-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-cau-hoi-thuong-gap__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-cau-hoi-thuong-gap__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD86A; /* Gold for titles */
}

.page-cau-hoi-thuong-gap__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-cau-hoi-thuong-gap__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-cau-hoi-thuong-gap__faq-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-cau-hoi-thuong-gap__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFF5E1; /* Text Main */
  cursor: pointer;
  background-color: #C91F17; /* Main brand color for summary */
  position: relative;
  list-style: none; /* For <summary> */
}

.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker {
  display: none;
}

.page-cau-hoi-thuong-gap__faq-question::marker {
  display: none;
}

.page-cau-hoi-thuong-gap__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-cau-hoi-thuong-gap__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD86A; /* Gold */
}

.page-cau-hoi-thuong-gap__faq-item[open] .page-cau-hoi-thuong-gap__faq-toggle {
  transform: rotate(45deg);
}

.page-cau-hoi-thuong-gap__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
  background-color: #D32F2F; /* Card BG */
}

.page-cau-hoi-thuong-gap__faq-answer p {
  margin-bottom: 10px;
}

.page-cau-hoi-thuong-gap__faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-cau-hoi-thuong-gap__cta-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: #C91F17; /* Main brand color */
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-cau-hoi-thuong-gap__cta-text {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 25px;
  color: #FFD86A; /* Gold */
}

.page-cau-hoi-thuong-gap__promo-banner {
  background-color: #7A0E0E; /* Deep Red */
  padding: 50px 15px;
  text-align: center;
  color: #FFF5E1; /* Text Main */
}

.page-cau-hoi-thuong-gap__promo-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-cau-hoi-thuong-gap__promo-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFCC66; /* Glow */
}

.page-cau-hoi-thuong-gap__promo-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* General image responsive styles */
.page-cau-hoi-thuong-gap img {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-cau-hoi-thuong-gap__main-title {
    font-size: 2.8em;
  }
  .page-cau-hoi-thuong-gap__promo-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-cau-hoi-thuong-gap {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-cau-hoi-thuong-gap__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-cau-hoi-thuong-gap__hero-content-wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 20px 15px;
  }

  .page-cau-hoi-thuong-gap__hero-text-content {
    text-align: center;
    max-width: 100%;
  }

  .page-cau-hoi-thuong-gap__main-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }

  .page-cau-hoi-thuong-gap__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-cau-hoi-thuong-gap__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .page-cau-hoi-thuong-gap__btn-primary,
  .page-cau-hoi-thuong-gap__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-cau-hoi-thuong-gap__hero-image-wrapper {
    order: -1; /* Move image above text on mobile */
    width: 100%;
  }

  .page-cau-hoi-thuong-gap__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cau-hoi-thuong-gap__faq-section {
    padding: 40px 0;
  }

  .page-cau-hoi-thuong-gap__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-cau-hoi-thuong-gap__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-cau-hoi-thuong-gap__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-cau-hoi-thuong-gap__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  .page-cau-hoi-thuong-gap__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cau-hoi-thuong-gap__cta-section {
    margin-top: 40px;
    padding: 25px 15px;
  }

  .page-cau-hoi-thuong-gap__cta-text {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .page-cau-hoi-thuong-gap__promo-banner {
    padding: 40px 15px;
  }

  .page-cau-hoi-thuong-gap__promo-title {
    font-size: 1.8em !important;
  }

  .page-cau-hoi-thuong-gap__promo-description {
    font-size: 1em;
  }

  .page-cau-hoi-thuong-gap__container,
  .page-cau-hoi-thuong-gap__promo-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  /* General image and container rules for mobile */
  .page-cau-hoi-thuong-gap img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}