.page-gdpr {
  color: #f8f9fa; /* Sẽ được phủ bởi các thẻ con có nền trắng */
  background-color: var(--dark-bg-1); /* Nền tối từ shared.css */
}

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

/* 强制要求：固定导航栏间距 */
.page-gdpr__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* 桌面端：根据导航栏实际高度调整 */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust as needed */
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
}

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

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

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

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

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
}

.page-gdpr__btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-gdpr__btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
  background: #f0f0f0;
  color: var(--primary-color);
  border-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section {
  padding: 60px 0;
  background: #ffffff; /* Nền trắng cho các phần nội dung chính */
  color: #333333; /* Chữ tối trên nền sáng */
}

.page-gdpr__section:nth-of-type(even) {
  background: #f9f9f9; /* Xen kẽ nền xám nhạt */
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-gdpr__introduction p, .page-gdpr__data-principles p, .page-gdpr__data-usage p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-gdpr__card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

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

.page-gdpr__card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

.page-gdpr__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-gdpr__card p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-gdpr__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.8;
}

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

.page-gdpr__list li strong {
  color: var(--primary-color);
}

.page-gdpr__call-to-action {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  line-height: 1.6;
}

.page-gdpr__call-to-action a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__call-to-action a:hover {
  text-decoration: underline;
}

.page-gdpr__center-cta {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-gdpr__faq-list {
  margin-top: 40px;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 0; /* Remove default paragraph margin */
}

.page-gdpr__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__faq-answer a:hover {
  text-decoration: underline;
}

.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-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.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none;
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Change + to X */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }

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

  .page-gdpr__hero-description, .page-gdpr__introduction p, .page-gdpr__data-principles p, .page-gdpr__data-usage p {
    font-size: 1em;
  }

  .page-gdpr__list, .page-gdpr__card p {
    font-size: 0.95em;
  }

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

@media (max-width: 768px) {
  .page-gdpr__hero-banner {
    padding-top: 100px !important; /* Mobile: Adjust for fixed nav bar */
    padding-bottom: 40px;
  }

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

  .page-gdpr__hero-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

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

  .page-gdpr__cta-button {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-gdpr__section {
    padding: 40px 0;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__commitment-grid, .page-gdpr__rights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card {
    padding: 25px;
  }

  .page-gdpr__card-image {
    max-width: 200px;
  }

  .page-gdpr__card-title {
    font-size: 1.2em;
  }

  .page-gdpr__introduction p, .page-gdpr__data-principles p, .page-gdpr__data-usage p, .page-gdpr__list, .page-gdpr__card p, .page-gdpr__call-to-action {
    font-size: 0.9em;
    line-height: 1.5;
  }

  .page-gdpr__list {
    margin-left: 15px;
  }

  .page-gdpr__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-gdpr__faq-question h3 {
    font-size: 1em;
    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__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__hero-image {
    max-width: 100%;
  }
  .page-gdpr__hero-description {
    font-size: 0.85em;
  }
  .page-gdpr__cta-button {
    font-size: 0.9em;
    padding: 10px 15px;
  }
  .page-gdpr__card-title {
    font-size: 1.1em;
  }
  .page-gdpr__introduction p, .page-gdpr__data-principles p, .page-gdpr__data-usage p, .page-gdpr__list, .page-gdpr__card p, .page-gdpr__call-to-action {
    font-size: 0.85em;
  }
}