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

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #FFD700, #1A1A1A);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-privacy-policy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

.page-privacy-policy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-privacy-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary brand color */
  color: #1A1A1A; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.page-privacy-policy__section-intro {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-privacy-policy__section-intro p {
  font-size: 1.1em;
  color: #555;
}

.page-privacy-policy__section {
  margin-bottom: 50px;
  padding: 20px 0;
}

.page-privacy-policy__section-title {
  font-size: 2.2em;
  color: #1A1A1A; /* Auxiliary brand color */
  margin-bottom: 25px;
  border-left: 5px solid #FFD700; /* Primary brand color accent */
  padding-left: 15px;
  font-weight: bold;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  color: #333333;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-privacy-policy p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #444;
}

.page-privacy-policy a {
  color: #FFD700; /* Primary brand color for links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444;
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-privacy-policy__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin: 30px 0;
  object-fit: cover;
}

.page-privacy-policy__faq-section {
  margin-top: 60px;
}

/* FAQ容器样式 */
.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.page-privacy-policy__faq-item.active {
  border-color: #FFD700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FAQ默认状态 - 答案隐藏 */
.page-privacy-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #555;
  font-size: 1.0em;
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #fffdf5; /* Light cream background for expanded answer */
  border-radius: 0 0 8px 8px;
}

/* Vấn đề phong cách */
.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0; /* Separate question from answer */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-question {
  background-color: #fefefe;
  border-bottom-color: #FFD700;
}

.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}

.page-privacy-policy__faq-question:active {
  background: #eeeeee;
}

/* Tiêu đề câu hỏi phong cách */
.page-privacy-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #1A1A1A;
  pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện nhấp */
}

/* Biểu tượng chuyển đổi */
.page-privacy-policy__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Primary brand color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #FFD700;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
  color: #1A1A1A;
  background-color: #FFD700;
  transform: rotate(45deg); /* Rotate to form an 'X' or keep '-' */
}

.page-privacy-policy__cta-section {
  background: #1A1A1A; /* Auxiliary brand color */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
  border-radius: 8px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-privacy-policy__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
}

.page-privacy-policy__cta-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-privacy-policy__cta-button--large {
  padding: 18px 50px;
  font-size: 1.3em;
  background: #FFD700;
  color: #1A1A1A;
  border-color: #FFD700;
}

.page-privacy-policy__cta-button--large:hover {
  background: #e6c200;
  color: #ffffff;
  border-color: #e6c200;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__hero-title {
    font-size: 2.2em;
  }

  .page-privacy-policy__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-privacy-policy__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-privacy-policy__content-area {
    padding: 30px 15px;
    margin-top: -20px;
  }

  .page-privacy-policy__section-title {
    font-size: 1.8em;
    padding-left: 10px;
  }

  .page-privacy-policy__sub-title {
    font-size: 1.3em;
  }

  .page-privacy-policy p, .page-privacy-policy__list li {
    font-size: 0.95em;
  }

  .page-privacy-policy__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px 0;
  }

  .page-privacy-policy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-privacy-policy__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-privacy-policy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 1.5em;
  }

  .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    padding: 15px !important;
  }

  .page-privacy-policy__cta-section {
    padding: 40px 15px;
  }

  .page-privacy-policy__cta-title {
    font-size: 1.8em;
  }

  .page-privacy-policy__cta-text {
    font-size: 1em;
  }

  .page-privacy-policy__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}