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

:root {
  --page-gdpr-primary-color: #E53935;
  --page-gdpr-secondary-color: #FF5A4F;
  --page-gdpr-text-main: #333333;
  --page-gdpr-bg-light: #F5F7FA;
  --page-gdpr-card-bg: #FFFFFF;
  --page-gdpr-border-color: #E0E0E0;
}

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

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Nhỏ gọn, không sử dụng var(--header-offset) */
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-gdpr__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-gdpr__intro-text {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-gdpr__section-heading {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

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

.page-gdpr__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

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

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Màu nền và chữ */
.page-gdpr__dark-section {
  background: var(--page-gdpr-primary-color); /* #E53935 */
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-heading {
  color: #ffffff;
}

.page-gdpr__light-bg {
  background: var(--page-gdpr-bg-light); /* #F5F7FA */
  color: var(--page-gdpr-text-main);
}

.page-gdpr__cta-section {
  background: linear-gradient(180deg, var(--page-gdpr-secondary-color) 0%, var(--page-gdpr-primary-color) 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-gdpr__cta-section .page-gdpr__section-heading {
  color: #ffffff;
  margin-bottom: 25px;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-gdpr__btn-primary:hover {
  background: var(--page-gdpr-secondary-color);
  color: #ffffff;
  border-color: var(--page-gdpr-secondary-color);
}

.page-gdpr__btn-secondary {
  background: linear-gradient(180deg, var(--page-gdpr-secondary-color) 0%, var(--page-gdpr-primary-color) 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-gdpr__btn-secondary:hover {
  background: #ffffff;
  color: var(--page-gdpr-primary-color);
  border-color: var(--page-gdpr-primary-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-gdpr__intro-text {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }
  .page-gdpr__section-heading {
    font-size: clamp(1.5em, 3.5vw, 2.2em);
  }
  .page-gdpr__content-area {
    padding: 50px 15px;
  }
  .page-gdpr__cta-section {
    padding: 60px 15px;
  }
}

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

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

  .page-gdpr__main-title {
    font-size: 2.2em !important;
  }

  .page-gdpr__intro-text {
    font-size: 1em !important;
  }

  .page-gdpr__section-heading {
    font-size: 1.8em !important;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 1em !important;
  }

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

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

  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary,
  .page-gdpr a[class*="button"],
  .page-gdpr a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Đảm bảo nút chiếm toàn bộ chiều rộng */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Thêm khoảng cách giữa các nút */
  }

  .page-gdpr__cta-buttons {
    flex-direction: column !important; /* Các nút xếp chồng lên nhau */
    gap: 10px !important;
  }
}