/* style/gdpr.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến đó */

:root {
  --page-gdpr-primary-color: #26A9E0;
  --page-gdpr-secondary-color: #FFFFFF;
  --page-gdpr-text-dark: #333333;
  --page-gdpr-text-light: #FFFFFF;
  --page-gdpr-background-light: #FFFFFF;
  --page-gdpr-background-dark: #26A9E0;
  --page-gdpr-login-color: #EA7C07;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--page-gdpr-text-dark); /* Mặc định body nền sáng */
  line-height: 1.6;
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark);
}

.page-gdpr__dark-bg {
  background-color: var(--page-gdpr-background-dark);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Padding-top nhỏ, body đã xử lý offset */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Sử dụng clamp cho kích thước tiêu đề linh hoạt */
  font-weight: 700;
  color: var(--page-gdpr-primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  color: var(--page-gdpr-text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 300px;
}

.page-gdpr__btn-primary {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-light);
  border: 2px solid var(--page-gdpr-primary-color);
}

.page-gdpr__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: var(--page-gdpr-text-light);
}

.page-gdpr__content-section {
  padding: 60px 20px;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Kế thừa màu từ section cha (dark/light bg) */
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__text-block p {
  margin-bottom: 15px;
  color: inherit;
}

.page-gdpr__text-block a {
  color: var(--page-gdpr-primary-color);
  text-decoration: underline;
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
}

.page-gdpr__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-gdpr__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__card p {
  font-size: 0.95em;
  color: var(--page-gdpr-text-dark);
}

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

.page-gdpr__rights-item {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__rights-item p {
  margin-bottom: 0;
}

.page-gdpr__list {
  list-style: disc inside;
  padding-left: 20px;
  margin-top: 20px;
  color: inherit;
}

.page-gdpr__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-gdpr__faq-section {
  padding: 60px 20px;
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--page-gdpr-primary-color);
  cursor: pointer;
  user-select: none;
  list-style: none;
}

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

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-gdpr-text-dark);
}

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

.page-gdpr__commitment-section {
  padding: 60px 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-gdpr__hero-image {
    max-height: 400px;
  }
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }
  .page-gdpr__sub-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-gdpr__hero-image {
    max-height: 300px !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__hero-content,
  .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-gdpr__hero-description {
    font-size: 1em;
  }
  .page-gdpr__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 10px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-gdpr__content-section,
  .page-gdpr__faq-section,
  .page-gdpr__commitment-section {
    padding: 40px 15px;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-gdpr__sub-title {
    font-size: 1.2em;
  }
  .page-gdpr__card-image,
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Đảm bảo kích thước tối thiểu */
  }
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-gdpr__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }
  .page-gdpr__hero-description {
    font-size: 0.95em;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 0.95em !important;
  }
  .page-gdpr__section-title {
    font-size: clamp(1.4em, 7vw, 1.8em);
  }
  .page-gdpr__sub-title {
    font-size: 1.1em;
  }
}