/* style/gdpr.css */
/* body đã padding-top: var(--header-offset); trang này không được thêm padding-top tương tự */
.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0D0E12; /* Ensure background matches body */
  text-align: center;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FF8C1A; /* Primary color for main title */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
}

.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #ffffff;
  color: #FF8C1A; /* Primary color for text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid #FF8C1A; /* Border color */
  cursor: pointer;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-gdpr__section {
  padding: 80px 20px;
  background-color: #0D0E12; /* Background */
}

.page-gdpr__section--intro {
  padding-top: 40px; /* Slightly less padding at top after hero */
}

.page-gdpr__dark-section {
  background-color: #17191F; /* Card BG as a dark section background */
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 600;
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #FFF3E6; /* Text Main */
  text-align: justify;
}

.page-gdpr__text-block .highlight {
  color: #FFA53A; /* Secondary color for highlights */
  font-weight: bold;
}

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

.page-gdpr__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.page-gdpr__card--light {
  background-color: rgba(255, 255, 255, 0.1); /* Lighter card on dark section */
  border: 1px solid #A84F0C;
  color: #FFF3E6;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #FFA53A; /* Secondary color */
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 0.95em;
  color: #FFF3E6; /* Text Main */
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-gdpr__list--numbered {
  list-style: decimal;
  padding-left: 20px;
}

.page-gdpr__list-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-gdpr__list-item:last-child {
  margin-bottom: 0;
}

.page-gdpr__list-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #FF8C1A; /* Primary color */
  margin-bottom: 10px;
}

.page-gdpr__list-text {
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 800px; /* Constrain content image */
  object-fit: cover;
}

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

.page-gdpr__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-item[open] {
  background-color: #17191F;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFA53A; /* Secondary color */
  cursor: pointer;
  background-color: #17191F;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-qtext {
  flex-grow: 1;
  color: #FFA53A;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
  border-top: 1px solid #A84F0C; /* Border color */
}

.page-gdpr__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  color: #FFF3E6; /* Text Main */
}

.page-gdpr__faq-answer a {
  color: #FFA53A; /* Secondary color for links */
  text-decoration: underline;
}

/* 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; /* body handles --header-offset */
  }

  .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__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-gdpr__section {
    padding: 50px 15px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-gdpr__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-gdpr__card,
  .page-gdpr__list-item,
  .page-gdpr__faq-item {
    padding: 20px;
  }

  .page-gdpr__card-title,
  .page-gdpr__list-title {
    font-size: 1.2em;
  }

  .page-gdpr__text-block,
  .page-gdpr__card-text,
  .page-gdpr__list-text,
  .page-gdpr__faq-answer {
    font-size: 0.95em;
  }

  .page-gdpr__hero-image,
  .page-gdpr__content-image,
  .page-gdpr img { /* General image responsiveness */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-area,
  .page-gdpr__card,
  .page-gdpr__section,
  .page-gdpr__box,
  .page-gdpr__faq-list,
  .page-gdpr__faq-item,
  .page-gdpr__list-item,
  .page-gdpr__button-group, /* If button groups are used */
  .page-gdpr__btn-container, /* If button containers are used */
  .page-gdpr__cta-buttons { /* If button containers are used */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent overflow */
  }

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

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

/* Ensure no filter on images */
.page-gdpr img {
  filter: none;
}