.page-gdpr {
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  padding-top: 10px; /* Adhering to the 10px top padding for hero */
  margin-bottom: 40px;
}

.page-gdpr__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Fixed height for desktop hero */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-50%); /* Position slightly above the image, not overlapping */
  position: relative;
  z-index: 10;
  margin-top: -100px; /* Adjust as needed for visual separation */
}

.page-gdpr__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-gdpr__intro-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-gdpr__btn-register,
.page-gdpr__btn-login {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  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-register {
  background-color: #C30808; /* Custom color for register */
  color: #FFFF00; /* Custom font color for register */
  border: 2px solid #C30808;
}

.page-gdpr__btn-register:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-gdpr__btn-login {
  background-color: #C30808; /* Custom color for login */
  color: #FFFF00; /* Custom font color for login */
  border: 2px solid #C30808;
}

.page-gdpr__btn-login:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

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

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

.page-gdpr__section-title {
  font-size: 2.5rem;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-gdpr__sub-title {
  font-size: 1.8rem;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__paragraph {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333333;
}

.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-gdpr__ordered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-gdpr__list-item {
  margin-bottom: 15px;
  position: relative;
  padding-left: 25px;
  color: #333333;
}

.page-gdpr__list-item::before {
  content: '✔';
  color: #017439;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-gdpr__ordered-list .page-gdpr__list-item::before {
  content: counter(section-counter) ".";
  counter-increment: section-counter;
  color: #017439;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-gdpr__list-item .page-gdpr__list-title {
  font-size: 1.2rem;
  color: #017439;
  margin-top: 0;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-gdpr__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title,
.page-gdpr__dark-section .page-gdpr__list-item .page-gdpr__list-title {
  color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__paragraph,
.page-gdpr__dark-section .page-gdpr__list-item {
  color: #f0f0f0;
}

.page-gdpr__dark-section .page-gdpr__list-item::before {
  color: #FFFF00; /* Yellow for checkmark on dark background */
}

.page-gdpr__dark-section .page-gdpr__ordered-list .page-gdpr__list-item::before {
  color: #FFFF00; /* Yellow for ordered list numbers on dark background */
}

.page-gdpr__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__cta-buttons--center {
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #017439;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-gdpr__final-cta {
  padding: 80px 0;
  text-align: center;
  background-color: #f8f8f8;
}

.page-gdpr__final-cta .page-gdpr__section-title {
  color: #017439;
  margin-bottom: 20px;
}

.page-gdpr__final-cta .page-gdpr__paragraph {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-gdpr__hero-image-wrapper {
    height: 400px;
  }

  .page-gdpr__hero-content {
    transform: translateY(-30%);
    margin-top: -80px;
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .page-gdpr__intro-description {
    font-size: 1rem;
  }

  .page-gdpr__section-title {
    font-size: 2rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  /* HERO Chủ đề chính */
  .page-gdpr__hero-section {
    padding-top: 10px; /* Duy trì khoảng cách 10px ở trên cùng cho hero */
    margin-bottom: 20px;
  }

  .page-gdpr__hero-image-wrapper {
    height: 300px;
  }

  .page-gdpr__hero-content {
    transform: translateY(0%);
    margin-top: -50px; /* Điều chỉnh để có sự phân tách trực quan */
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-gdpr__intro-description {
    font-size: 0.95rem;
  }

  /* Khu vực nội dung dài */
  .page-gdpr__content-section {
    padding: 40px 0;
  }

  .page-gdpr__container {
    padding: 0 15px;
  }

  .page-gdpr__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-gdpr__sub-title {
    font-size: 1.4rem;
  }

  .page-gdpr__paragraph,
  .page-gdpr__list-item {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hình ảnh và vùng chứa chung */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

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

  /* Nút và vùng chứa nút */
  .page-gdpr__cta-buttons {
    flex-direction: column; /* Xếp chồng các nút theo chiều dọc */
    gap: 15px;
  }

  .page-gdpr__btn-register,
  .page-gdpr__btn-login,
  .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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }

  .page-gdpr__cta-buttons,
  .page-gdpr__button-group,
  .page-gdpr__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Đảm bảo nhiều nút xuống dòng */
  }
}

@media (max-width: 480px) {
  .page-gdpr__hero-image-wrapper {
    height: 250px;
  }

  .page-gdpr__hero-content {
    margin-top: -30px;
  }

  .page-gdpr__main-title {
    font-size: 1.8rem;
  }

  .page-gdpr__section-title {
    font-size: 1.6rem;
  }

  .page-gdpr__sub-title {
    font-size: 1.2rem;
  }

  .page-gdpr__btn-register,
  .page-gdpr__btn-login,
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}