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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để tránh trùng với padding-top của body */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Sử dụng clamp để kiểm soát kích thước */
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  margin: 0 10px;
}

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

.page-gdpr__btn-secondary {
  background-color: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
  margin: 0 10px;
}

.page-gdpr__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #ffffff;
}

.page-gdpr__section {
  padding: 50px 20px;
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-gdpr__contact-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #F2FFF6;
}

.page-gdpr__contact-item a {
  color: #57E38D; /* Glow */
  text-decoration: none;
}

.page-gdpr__contact-item a:hover {
  text-decoration: underline;
}

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

.page-gdpr__faq {
  background-color: #08160F;
}

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

.page-gdpr__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #F2FFF6;
  user-select: none;
  list-style: none; /* Hide default marker for details */
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8;
}

.page-gdpr__faq-answer p {
  margin-bottom: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
  }

  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-gdpr__description {
    font-size: 1em;
  }

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

  .page-gdpr__text-block,
  .page-gdpr__list-item,
  .page-gdpr__contact-item {
    font-size: 0.95em;
  }

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__section,
  .page-gdpr__container,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__cta-buttons,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .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;
    margin: 10px 0 !important;
  }

  .page-gdpr__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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