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

.page-gdpr {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Màu chữ mặc định cho nền sáng */
  background-color: #FFFFFF; /* Nền mặc định */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  background-color: #f8f9fa; /* Nền sáng */
  color: #333333;
}

.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;
}

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
  max-width: 100%;
}

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

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-gdpr__section-title--white {
  color: #FFFFFF;
}

.page-gdpr__sub-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__sub-title--white {
  color: #FFFFFF;
}

.page-gdpr__text-block {
  margin-bottom: 30px;
}

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

.page-gdpr__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-gdpr__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__image--right {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  max-width: 40%;
}

.page-gdpr__image--margin-top {
  margin-top: 40px;
}

.page-gdpr__dark-section {
  background-color: #26A9E0; /* Màu chủ đạo làm nền */
  color: #ffffff; /* Chữ trắng cho nền tối */
  padding: 60px 0;
}

.page-gdpr__dark-section .page-gdpr__sub-title {
  color: #ffffff;
}

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

.page-gdpr__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-gdpr__faq-section {
  padding: 60px 0;
  background-color: #f0f2f5;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
  background-color: #f5f5f5;
}

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

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: #555555;
  font-size: 0.95em;
}

.page-gdpr__cta-section {
  background-color: #26A9E0;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-gdpr__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-gdpr__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-gdpr__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Màu đăng nhập */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-gdpr__btn-primary:hover {
  background-color: #d16b05;
}

.page-gdpr__btn-primary--contact {
  margin-top: 30px;
}

.page-gdpr__btn-primary--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* -------------------------------------------------- */
/* Responsive Design */
/* -------------------------------------------------- */

@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2.5em;
  }

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

  .page-gdpr__sub-title {
    font-size: 1.3em;
  }

  .page-gdpr__image--right {
    float: none;
    margin: 20px auto;
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
    padding-bottom: 40px;
  }
  
  .page-gdpr__hero-content {
    padding: 15px;
  }

  .page-gdpr__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

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

  .page-gdpr__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

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

  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .page-gdpr__cta-title {
    font-size: 1.8em;
  }

  .page-gdpr__cta-description {
    font-size: 1em;
  }

  .page-gdpr__btn-primary,
  .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;
  }

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

@media (max-width: 480px) {
  .page-gdpr__main-title {
    font-size: 1.8em;
  }

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

  .page-gdpr__cta-title {
    font-size: 1.6em;
  }

  .page-gdpr__image--right {
    max-width: 100%;
    float: none;
    margin: 20px auto;
  }
}