/* style/gdpr.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */
.page-gdpr {
  font-family: Arial, sans-serif;
  color: #333333; /* Màu chữ mặc định cho nền sáng */
  background-color: #f5f5f5; /* Nền sáng cho nội dung trang */
  line-height: 1.6;
}

/* HERO Section */
.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Hình ảnh ở trên, nội dung ở dưới */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Padding nhỏ ở trên, nhiều hơn ở dưới */
  background-color: #26A9E0; /* Màu thương hiệu cho nền hero */
  color: #ffffff; /* Chữ trắng cho nền màu thương hiệu */
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 1200px; /* Điều chỉnh độ rộng tối đa theo yêu cầu */
  height: auto;
  display: block;
  margin-bottom: 30px; /* Khoảng cách giữa hình ảnh và văn bản */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff; /* Chữ trắng cho tiêu đề chính */
}

.page-gdpr__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #ffffff;
}

/* General Section Styling */
.page-gdpr__section {
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.page-gdpr__section:last-of-type {
  border-bottom: none;
}

.page-gdpr__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-gdpr__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

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

.page-gdpr__section-title {
  font-size: 2.2em;
  color: #26A9E0; /* Màu thương hiệu cho tiêu đề phần */
  margin-bottom: 30px;
  text-align: center;
}

.page-gdpr__dark-bg .page-gdpr__section-title {
  color: #ffffff; /* Chữ trắng cho tiêu đề nền tối */
}

.page-gdpr__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-gdpr__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-gdpr__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bb0;
  border-color: #1a7bb0;
}

/* Card Grid */
.page-gdpr__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  color: #333333;
}

.page-gdpr__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-gdpr__card-text {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

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

/* List Styling */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-gdpr__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: inherit; /* Kế thừa màu từ phần tử cha */
}

.page-gdpr__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #26A9E0; /* Màu thương hiệu cho dấu đầu dòng */
  font-weight: bold;
}

.page-gdpr__dark-bg .page-gdpr__list-item::before {
  color: #ffffff; /* Trắng cho dấu đầu dòng nền tối */
}

/* Feature Grid */
.page-gdpr__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-gdpr__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gdpr__feature-icon {
  width: 200px; /* Kích thước tối thiểu 200x200 */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-gdpr__feature-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-gdpr__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Contact Section Specific */
.page-gdpr__contact-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

.page-gdpr__contact-link:hover {
  color: #f0f0f0;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding: 60px 20px;
  background-color: #f5f5f5;
}

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

.page-gdpr__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf7fc; /* Màu nhạt hơn của màu thương hiệu */
  transition: background-color 0.3s ease;
  list-style: none; /* Đối với details/summary */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
  background-color: #d4ecf7;
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−'; /* Thay đổi thành dấu trừ khi mở */
}

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

/* Đảm bảo dấu summary bị ẩn đối với thẻ details */
.page-gdpr__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-gdpr__faq-item summary {
  list-style: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-gdpr__hero-section {
    padding: 10px 15px 40px;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__card-grid,
  .page-gdpr__feature-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-gdpr__hero-section {
    padding: 10px 15px 30px;
  }

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

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

  /* Hình ảnh responsive */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Các container hình ảnh responsive */
  .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 responsive */
  .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;
    margin-bottom: 10px; /* Thêm khoảng cách giữa các nút xếp chồng */
  }

  /* Các container nút responsive */
  .page-gdpr__hero-content { /* Giả sử các nút nằm trực tiếp trong hero-content */
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .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;
    gap: 10px;
    display: flex; /* Đảm bảo ngữ cảnh flex cho wrap */
    flex-direction: column; /* Xếp chồng các nút theo chiều dọc trên di động */
  }

  /* Điều chỉnh dành riêng cho FAQ trên di động */
  .page-gdpr__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-gdpr__faq-answer {
    padding: 0 20px 15px;
  }
}