/* style/gdpr.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-dark-bg: #08160F;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-gdpr-text-main); /* Default text color for the page */
  background-color: var(--page-gdpr-dark-bg); /* Page background from custom colors */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--page-gdpr-dark-bg);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-gdpr__hero-content {
  max-width: 900px;
  padding: 0 20px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--page-gdpr-gold-color);
  line-height: 1.2;
}

.page-gdpr__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff; /* White text for dark button gradient */
  border: none;
}

.page-gdpr__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 255, 100, 0.3);
}

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #ffffff; /* Light background for content area */
  color: #333333; /* Dark text for light background */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: -30px; /* Overlap with hero for visual flow */
  position: relative;
  z-index: 1;
}

.page-gdpr__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-gdpr-deep-green);
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--page-gdpr-primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
}

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

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

.page-gdpr__link {
  color: var(--page-gdpr-primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-gdpr__link:hover {
  text-decoration: underline;
  color: var(--page-gdpr-secondary-color);
}

.page-gdpr__image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 40px 0;
  text-align: center;
}

.page-gdpr__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto; /* Center the image */
}

.page-gdpr__faq-list {
  margin-top: 50px;
}

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-card-bg); /* Dark card background */
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-main); /* Light text for dark background */
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--page-gdpr-text-main);
  position: relative;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-item summary::marker {
  display: none;
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Ensure click on summary opens/closes details */
}

.page-gdpr__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-gdpr-glow-color);
  pointer-events: none; /* Ensure click on summary opens/closes details */
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-gdpr-text-secondary); /* Secondary light text */
}

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

/* Ensure details element children have correct color */
.page-gdpr__faq-item[open] .page-gdpr__faq-question .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__cta-section {
  background-color: var(--page-gdpr-deep-green);
  padding: 80px 20px;
  text-align: center;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-gdpr__cta-content .page-gdpr__section-title {
  color: var(--page-gdpr-gold-color);
  margin-bottom: 20px;
}

.page-gdpr__cta-content .page-gdpr__description {
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 40px;
}

.page-gdpr__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-gdpr__btn-secondary {
  background: none;
  color: var(--page-gdpr-glow-color);
  border: 2px solid var(--page-gdpr-glow-color);
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-glow-color);
  color: var(--page-gdpr-dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(87, 227, 141, 0.3);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-gdpr__section-title {
    font-size: 2rem;
  }
  .page-gdpr__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__hero-section {
    padding-bottom: 40px;
  }
  .page-gdpr__hero-image {
    margin-bottom: 20px;
  }
  .page-gdpr__hero-content {
    padding: 0 15px;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-gdpr__description {
    font-size: 1rem;
  }
  .page-gdpr__content-area {
    padding: 40px 15px;
    margin-top: -20px;
  }
  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-gdpr__sub-title {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-gdpr__text-block p,
  .page-gdpr__list-item,
  .page-gdpr__faq-answer p {
    font-size: 0.95rem;
  }
  .page-gdpr__cta-section {
    padding: 60px 15px;
  }
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
  .page-gdpr__cta-button {
    width: 100% !important; /* Ensure buttons take full width */
    padding: 12px 15px;
  }

  /* Mandatory responsive image styles for mobile */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__image-container,
  .page-gdpr__content-area,
  .page-gdpr__cta-section,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }
  .page-gdpr__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-gdpr__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
  .page-gdpr__faq-qtext,
  .page-gdpr__faq-toggle {
    pointer-events: auto; /* Re-enable pointer events for specific elements if needed for accessibility, but summary should handle click */
  }
  .page-gdpr__faq-item summary {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-gdpr__section-title {
    font-size: 1.6rem;
  }
  .page-gdpr__sub-title {
    font-size: 1.2rem;
  }
  .page-gdpr__faq-question {
    font-size: 0.95rem;
  }
}