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

.page-gdpr__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Fixed header offset for non-hero page */
.page-gdpr__intro-section {
  padding-top: var(--header-offset, 120px); /* Assumes shared.css doesn't set body padding-top */
  background-color: #ffffff;
}

.page-gdpr__main-title {
  font-size: 38px;
  color: #0056b3;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-gdpr__description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__section {
  padding: 60px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__dark-section {
  background-color: #0056b3;
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: #ffc107;
}

.page-gdpr__dark-section .page-gdpr__link {
  color: #ffc107;
}

.page-gdpr__dark-section .page-gdpr__contact-info p {
  color: #f0f0f0;
}

.page-gdpr__section-title {
  font-size: 32px;
  color: #0056b3;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-gdpr__sub-title {
  font-size: 24px;
  color: #0056b3;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffc107;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-gdpr__card {
  background: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__dark-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-gdpr__dark-card .page-gdpr__card-title {
  color: #ffc107;
}

.page-gdpr__card-title {
  font-size: 22px;
  color: #0056b3;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list li {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-gdpr__list-title {
  font-size: 20px;
  color: #0056b3;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-gdpr__link {
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-gdpr__contact-info {
  margin-top: 30px;
  text-align: center;
  font-size: 18px;
}

.page-gdpr__contact-info p {
  margin-bottom: 10px;
  color: #ffffff;
}

.page-gdpr__faq-list {
  margin-top: 40px;
}

/* FAQ容器样式 */
.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-gdpr__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;
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-gdpr__faq-item.active .page-gdpr__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: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #0056b3;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

/* Chuyển đổi biểu tượng */
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #0056b3;
  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: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffc107;
  transform: rotate(45deg); /* Biểu tượng '+' xoay thành 'x' hoặc '-' */
}

/* 🚨 Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 32px;
  }

  .page-gdpr__section-title {
    font-size: 28px;
  }

  .page-gdpr__sub-title {
    font-size: 22px;
  }

  .page-gdpr__card-title {
    font-size: 20px;
  }

  .page-gdpr__list-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-gdpr__container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* HERO 主图区域 */
  .page-gdpr__intro-section {
    padding-top: var(--header-offset, 80px) !important; /* Adjust for mobile header offset */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-gdpr__main-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-gdpr__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-gdpr__hero-image {
    border-radius: 0;
    margin-top: 10px;
  }

  /* 其他内容模块 */
  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto !important;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 20px;
  }

  .page-gdpr__card-title {
    font-size: 18px;
  }

  .page-gdpr__list li {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-gdpr__list-title {
    font-size: 16px;
  }

  .page-gdpr__contact-info {
    font-size: 16px;
  }

  /* FAQ specific mobile styles */
  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-gdpr__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-gdpr__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-gdpr__faq-answer {
    padding: 0 15px;
  }

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

  /* 通用图片与容器 */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__content-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 (N/A for GDPR page, but included for completeness if buttons were present) */
  .page-gdpr__cta-button,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr 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-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}