/* style/gdpr.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không thêm lại tại đây */

/* General page styling */
.page-gdpr {
  color: #ffffff; /* Dark body background #0a0a0a, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, not var(--header-offset) */
  text-align: center;
  background-color: #0a0a0a; /* Match body background for consistency */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width if needed */
  margin-bottom: 30px;
}

.page-gdpr__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
}

.page-gdpr__hero-content {
  max-width: 900px;
  color: #ffffff;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for emphasis */
}

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

/* Content Section */
.page-gdpr__content-section {
  background-color: #0a0a0a; /* Main content background should also be dark */
  color: #ffffff; /* Light text for dark background */
  padding: 40px 0;
}

.page-gdpr__section-title {
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for headings */
}

.page-gdpr__paragraph {
  margin-bottom: 15px;
  color: #f0f0f0;
}

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

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #f0f0f0;
}

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

.page-gdpr__image-container {
  text-align: center;
}

/* Buttons */
.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-gdpr__btn-primary:hover {
  background-color: #1a8cc4; /* Darken on hover */
}

/* Call to Action Section */
.page-gdpr__call-to-action {
  text-align: center;
  margin-top: 50px;
  padding: 40px 20px;
  background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color background */
  border-radius: 8px;
  color: #ffffff;
}

.page-gdpr__call-to-action .page-gdpr__paragraph {
  font-size: 1.2em;
  margin-bottom: 25px;
}

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

.page-gdpr__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-gdpr__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0; /* Brand color for questions */
  list-style: none; /* Remove default marker */
}

.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

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

.page-gdpr__faq-answer .page-gdpr__paragraph:last-child {
  margin-bottom: 0;
}

/* Links within content */
.page-gdpr__paragraph a,
.page-gdpr__list-item a,
.page-gdpr__faq-answer a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: underline;
}

.page-gdpr__paragraph a:hover,
.page-gdpr__list-item a:hover,
.page-gdpr__faq-answer a:hover {
  color: #1a8cc4; /* Darken on hover */
}

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

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

  .page-gdpr__hero-image {
    width: 100% !important;
    height: auto !important;
  }

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

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

  .page-gdpr__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr__section-title {
    font-size: 1.8em;
    margin-top: 30px;
  }

  /* Images responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-gdpr__image-container,
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Buttons responsive */
  .page-gdpr__btn-primary {
    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;
    text-align: center;
  }
  
  /* Button containers responsive */
  .page-gdpr__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-gdpr__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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