/* style/gdpr.css */
.page-gdpr {
  background-color: #08160F; /* Nền tối theo yêu cầu */
  color: #F2FFF6; /* Chữ sáng trên nền tối */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  padding-top: 10px; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  text-align: center;
  overflow: hidden;
  background-color: #0A4B2C;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px; /* Khoảng cách giữa ảnh và nội dung */
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px; /* Đảm bảo kích thước tối thiểu */
}

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

.page-gdpr__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2C14E; /* Màu Gold cho tiêu đề chính */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__description {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Đảm bảo nút không tràn */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-gdpr__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-gdpr__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Màu Divider */
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F2C14E; /* Màu Gold cho tiêu đề phụ */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-gdpr__text-block {
  font-size: 1.05rem;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-gdpr__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-gdpr__list-item {
  margin-bottom: 10px;
  color: #A7D9B8;
}

.page-gdpr__list-item strong {
    color: #F2FFF6;
}

.page-gdpr__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-gdpr__grid-layout--two-cols {
    grid-template-columns: 1fr 1fr;
}

.page-gdpr__grid-layout--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl; /* Đảo ngược thứ tự hiển thị */
}

.page-gdpr__grid-layout--reverse > .page-gdpr__grid-item {
  direction: ltr; /* Khôi phục hướng văn bản cho các mục */
}

.page-gdpr__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__link {
  color: #57E38D; /* Màu Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gdpr__link:hover {
  color: #F2C14E; /* Màu Gold khi hover */
  text-decoration: underline;
}

.page-gdpr__contact-info {
  background-color: #11271B; /* Màu Card BG */
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__contact-info .page-gdpr__text-block {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-gdpr__faq-section {
  padding-bottom: 80px;
}

.page-gdpr__faq-item {
  background-color: #11271B; /* Màu Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A;
  user-select: none;
}

.page-gdpr__faq-item[open] > .page-gdpr__faq-question {
    border-bottom: 1px solid #1E3A2A;
}

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
  transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  transform: rotate(45deg); /* Dấu + xoay thành X hoặc dấu trừ */
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  background-color: #11271B;
  border-top: 1px solid #1E3A2A;
}

.page-gdpr__faq-answer .page-gdpr__text-block:last-child {
    margin-bottom: 0;
}

.page-gdpr details > summary {
    list-style: none;
}
.page-gdpr details > summary::-webkit-details-marker {
    display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-gdpr__grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-gdpr__grid-layout--reverse {
    direction: ltr; /* Tắt đảo ngược trên mobile */
  }
}

@media (max-width: 768px) {
  .page-gdpr__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-gdpr__description {
    font-size: 1rem;
  }

  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 0.95rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-gdpr__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-gdpr__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  
  .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;
  }
}