.page-gdpr {
  color: #f0f0f0; /* Sử dụng màu chữ nhạt cho nền tối */
  background-color: var(--dark-bg-1, #0d0d0d); /* Nền tối mặc định từ shared.css */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  padding: 120px 20px 60px; /* Đảm bảo khoảng cách với header cố định */
  background: linear-gradient(135deg, var(--primary-color, #FFD700) 0%, var(--secondary-color, #000000) 100%);
  color: #000000; /* Màu chữ đen trên nền gradient sáng */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-gdpr__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-gdpr__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #000000; /* Đảm bảo tiêu đề chính có màu đen trên nền vàng */
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.page-gdpr__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #333333; /* Màu chữ hơi tối hơn để tương phản */
}

.page-gdpr__hero-description a {
  color: #000000; /* Link text on hero section */
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__hero-description a:hover {
  color: #666666;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color, #000000); /* Nền đen */
  color: var(--primary-color, #FFD700); /* Chữ vàng */
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.page-gdpr__cta-button:hover {
  background: var(--primary-color, #FFD700); /* Nền vàng */
  color: var(--secondary-color, #000000); /* Chữ đen */
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color, #FFD700); /* Tiêu đề màu vàng */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-gdpr__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color, #FFD700); /* Tiêu đề phụ màu vàng */
}

.page-gdpr__text-block p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #f0f0f0; /* Màu chữ nhạt trên nền tối */
}

.page-gdpr__text-block p a {
  color: var(--primary-color, #FFD700); /* Link text on dark background */
  text-decoration: underline;
}

.page-gdpr__text-block p a:hover {
  color: #ffffff;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Màu chữ nhạt trên nền tối */
}

.page-gdpr__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-gdpr__list--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.page-gdpr__list-item {
  background: rgba(255, 255, 255, 0.1); /* Nền hơi trong suốt */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-gdpr__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-gdpr__list-item h3 {
  font-size: 1.4em;
  margin-top: 0;
  color: var(--primary-color, #FFD700);
}

.page-gdpr__list-item p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__image--full-width {
  width: 100%;
}

.page-gdpr__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
  width: 50%; /* Adjust as needed for layout */
  min-width: 300px; /* Minimum size for content images */
}

.page-gdpr__image--small-center {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  min-width: 200px;
}

/* Clearfix for floated images */
.page-gdpr__text-block::after {
  content: "";
  display: table;
  clear: both;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

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

.page-gdpr__contact-link {
  color: var(--primary-color, #FFD700); /* Link text on dark background */
  text-decoration: underline;
}

.page-gdpr__contact-link:hover {
  color: #ffffff;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: var(--secondary-color, #000000);
}

.page-gdpr__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.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;
  padding: 0 20px;
  opacity: 0;
  color: #cccccc;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* Đảm bảo đủ lớn để chứa nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-gdpr__faq-answer p a {
  color: var(--primary-color, #FFD700);
  text-decoration: underline;
}

.page-gdpr__faq-answer p a:hover {
  color: #ffffff;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333;
  border: 1px solid #444444;
  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: #444444;
  border-color: #555555;
}

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

.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color, #FFD700);
  pointer-events: none; /* Ngăn h3 chặn sự kiện click */
}

.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color, #FFD700);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Xoay để tạo dấu X */
}

.page-gdpr__call-to-action {
  padding: 80px 20px;
  text-align: center;
  background: var(--primary-color, #FFD700); /* Nền vàng */
  color: #000000; /* Chữ đen */
}

.page-gdpr__cta-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333333;
}

.page-gdpr__cta-description a {
  color: #000000; /* Link text on CTA background */
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__cta-description a:hover {
  color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: 2.8em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__sub-title {
    font-size: 1.6em;
  }
  .page-gdpr__text-block p, .page-gdpr__list li {
    font-size: 1em;
  }
  .page-gdpr__image--right {
    width: 100%;
    float: none;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 100px !important; /* Khoảng cách cho mobile header */
    padding-bottom: 40px;
  }
  .page-gdpr__main-title {
    font-size: 2em;
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-gdpr__text-block p, .page-gdpr__list li, .page-gdpr__contact-list li {
    font-size: 0.95em;
  }
  .page-gdpr__list--grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__image--right, .page-gdpr__image--small-center {
    width: 100%;
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  /* FAQ */
  .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__call-to-action {
    padding: 60px 15px;
  }
  .page-gdpr__cta-title {
    font-size: 2em;
  }
  .page-gdpr__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }
  .page-gdpr__section-title {
    font-size: 1.6em;
  }
  .page-gdpr__cta-title {
    font-size: 1.8em;
  }
}