/* style/cau-hoi-thuong-gap.css */
.page-cau-hoi-thuong-gap {
  font-family: Arial, sans-serif;
  color: var(--page-text-color, #FFF3E6); /* Default text color, ensures contrast */
  background-color: var(--page-bg-color, #0D0E12); /* Default background color */
  line-height: 1.6;
}

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

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0D0E12; /* Explicit background for hero */
}

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

.page-cau-hoi-thuong-gap__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-cau-hoi-thuong-gap__hero-description {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-cau-hoi-thuong-gap__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-cau-hoi-thuong-gap__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-cau-hoi-thuong-gap__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-cau-hoi-thuong-gap__btn--primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-cau-hoi-thuong-gap__btn--secondary {
  background: #17191F; /* Card BG color */
  color: #FF8C1A;
  border: 2px solid #A84F0C; /* Border color */
}

.page-cau-hoi-thuong-gap__btn--secondary:hover {
  background: #FF8C1A;
  color: #ffffff;
  border-color: #FF8C1A;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Introduction Section */
.page-cau-hoi-thuong-gap__introduction-section {
  padding: 60px 0;
  background-color: #0D0E12;
}

.page-cau-hoi-thuong-gap__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-cau-hoi-thuong-gap__text-block {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-cau-hoi-thuong-gap__text-block a {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
}

.page-cau-hoi-thuong-gap__text-block a:hover {
  text-decoration: underline;
}

/* Images and Figures */
.page-cau-hoi-thuong-gap__image-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
}

.page-cau-hoi-thuong-gap__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cau-hoi-thuong-gap__image-caption {
  font-size: 0.9rem;
  color: #A84F0C;
  margin-top: 10px;
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG color for FAQ section */
}

.page-cau-hoi-thuong-gap__faq-category {
  margin-bottom: 40px;
}

.page-cau-hoi-thuong-gap__category-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #FFA53A;
  margin-bottom: 30px;
  border-bottom: 2px solid #A84F0C;
  padding-bottom: 15px;
  font-weight: 600;
}

.page-cau-hoi-thuong-gap__faq-item {
  background-color: #0D0E12; /* Darker background for each FAQ item */
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-cau-hoi-thuong-gap__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFF3E6;
  cursor: pointer;
  position: relative;
  list-style: none; /* Hide default marker */
}

/* Custom toggle icon for details/summary */
.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker,
.page-cau-hoi-thuong-gap__faq-question::marker {
  display: none;
}

.page-cau-hoi-thuong-gap__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FF8C1A;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-cau-hoi-thuong-gap__faq-item[open] .page-cau-hoi-thuong-gap__faq-toggle {
  transform: rotate(45deg); /* Change + to X or rotate to indicate open */
}

.page-cau-hoi-thuong-gap__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #FFF3E6;
  border-top: 1px dashed rgba(255, 140, 26, 0.3); /* Subtle separator */
}