.page-gdpr {
  background-color: #08160F; /* Nền tối theo màu tùy chỉnh */
  color: #F2FFF6; /* Chữ chính sáng theo màu tùy chỉnh */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để tránh đúp padding-top từ body */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5); /* Giảm độ sáng để chữ dễ đọc hơn trên nền ảnh */
}

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #F2FFF6; /* Chữ chính sáng */
  padding: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Hạn chế kích thước H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6; /* Chữ chính sáng */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Chữ phụ sáng */
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__btn-secondary {
  background: #11271B; /* Màu nền Card BG */
  color: #F2FFF6; /* Chữ chính sáng */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  border: 2px solid #2E7A4E; /* Màu viền */
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-secondary:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #F2FFF6; /* Chữ chính sáng */
}

.page-gdpr__intro-section, 
.page-gdpr__rights-section, 
.page-gdpr__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Màu nền */
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #A7D9B8; /* Chữ phụ sáng */
  text-align: justify;
}

.page-gdpr__commitment-section, 
.page-gdpr__dpo-section, 
.page-gdpr__cta-section {
  padding: 80px 0;
  background-color: #11271B; /* Màu nền Card BG */
  color: #F2FFF6; /* Chữ chính sáng */
  text-align: center;
}

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

.page-gdpr__commitment-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(17, 168, 78, 0.1); /* Màu chủ đạo có độ trong suốt */
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__commitment-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-gdpr__commitment-heading {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2FFF6; /* Chữ chính sáng */
}

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

.page-gdpr__right-item {
  padding: 30px;
  background-color: #11271B; /* Màu nền Card BG */
  border-radius: 12px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-gdpr__right-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__right-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6; /* Chữ chính sáng */
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: #11271B; /* Màu nền Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Chữ chính sáng */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
  list-style: none;
}

.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  border-bottom: 1px solid #1E3A2A;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Chữ phụ sáng */
  background-color: #11271B; /* Card BG */
}

/* Text colors from custom palette */
.page-gdpr__text-main {
  color: #F2FFF6;
}

.page-gdpr__text-secondary {
  color: #A7D9B8;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-gdpr__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-gdpr__commitment-grid, .page-gdpr__rights-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-gdpr__hero-section, 
  .page-gdpr__intro-section, 
  .page-gdpr__commitment-section, 
  .page-gdpr__rights-section, 
  .page-gdpr__dpo-section, 
  .page-gdpr__faq-section, 
  .page-gdpr__cta-section {
    padding: 40px 0;
  }
  
  .page-gdpr__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-gdpr__hero-image {
    filter: brightness(0.4); /* Tăng độ tối cho di động */
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.6em, 6vw, 2.2em);
    margin-bottom: 25px;
  }

  .page-gdpr__text-block {
    font-size: 0.95em;
  }

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

  .page-gdpr__commitment-item, .page-gdpr__right-item, .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__commitment-image {
    height: 200px;
  }

  .page-gdpr__right-icon {
    width: 80px;
    height: 80px;
  }

  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Force responsive images */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Force responsive buttons */
  .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;
  }

  /* Button containers */
  .page-gdpr__hero-content .page-gdpr__btn-primary,
  .page-gdpr__dpo-section .page-gdpr__btn-secondary,
  .page-gdpr__cta-section .page-gdpr__btn-primary {
    margin: 0 auto; /* Center single button */
    display: block !important; /* Ensure it takes full width */
  }
}

/* Color Contrast Fixes (if needed, applied automatically based on rules) */
.page-gdpr__dark-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__light-bg {
  background-color: #08160F; /* Background */
  color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-gdpr__faq-item .page-gdpr__faq-answer {
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
}

/* Filter for hero image to ensure text readability */
.page-gdpr__hero-image {
  filter: brightness(0.5);
}

@media (max-width: 768px) {
  .page-gdpr__hero-image {
    filter: brightness(0.4) !important;
  }
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }
}