.page-gdpr {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #0A1931, #2C3E50);
  color: #ffffff;
  overflow: hidden;
}

.page-gdpr__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-gdpr__hero-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.page-gdpr__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.3); /* Slightly darker overlay for text readability */
  border-radius: 8px;
  margin-top: -50px; /* Overlap with image for better visual flow */
}

.page-gdpr__hero-title {
  font-size: 3em;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-gdpr__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
  background: #0A1931;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-gdpr__btn-secondary:hover {
  background: #1a2a46;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__content-area p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333333;
}

.page-gdpr__content-area a {
  color: #0A1931;
  text-decoration: underline;
}

.page-gdpr__content-area a:hover {
  color: #FFD700;
}

.page-gdpr__right-item, .page-gdpr__implementation-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 5px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.page-gdpr__right-title, .page-gdpr__implementation-title {
  font-size: 1.5em;
  color: #0A1931;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__implementation-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-gdpr__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #333333;
}

.page-gdpr__contact-list strong {
  color: #0A1931;
}

.page-gdpr__contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.page-gdpr__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.page-gdpr__faq-grid img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

/* 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展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.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: #fdfdfd;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #eee;
}

/* 问题样式 */
.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-radius: 5px 5px 0 0;
  border-bottom-color: transparent;
}

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

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

/* 问题标题样式 */
.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #0A1931;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* 切换图标 */
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #0A1931;
  border-radius: 50%;
  color: #ffffff;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  transform: rotate(45deg);
  background-color: #FFD700;
  color: #0A1931;
}

/* 响应式设计 */
@media (min-width: 769px) {
  .page-gdpr__faq-grid {
    grid-template-columns: 2fr 3fr;
  }
  .page-gdpr__faq-grid img {
    height: 100%;
    object-fit: cover;
  }
}

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

  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }

  .page-gdpr__hero-image img {
    border-radius: 4px;
  }

  .page-gdpr__hero-content {
    margin-top: -30px;
    padding: 15px;
  }

  .page-gdpr__hero-title {
    font-size: 2em;
  }

  .page-gdpr__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-gdpr__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .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__hero-cta-buttons,
  .page-gdpr__contact-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-gdpr__content-area {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

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

  .page-gdpr__right-item, .page-gdpr__implementation-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-gdpr__right-title, .page-gdpr__implementation-title {
    font-size: 1.3em;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* FAQ */
  .page-gdpr__faq-question {
    padding: 15px;
  }
  
  .page-gdpr__faq-question h3 {
    font-size: 1em;
  }
  
  .page-gdpr__faq-toggle {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

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