/* style/gdpr.css */
.page-gdpr {
  background-color: #08160F; /* Nền tối */
  color: #F2FFF6; /* Chữ sáng */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 50px; /* Thêm padding dưới để tránh footer bị đè */
}

.page-gdpr__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn so với var(--header-offset) */
  text-align: center;
  background: #0A4B2C; /* Deep Green */
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

.page-gdpr__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.page-gdpr__main-title {
  color: #F2FFF6;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__section {
  padding: 50px 20px;
  margin-bottom: 30px;
  border-radius: 8px;
}

.page-gdpr__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-gdpr__light-bg {
  background-color: #11271B;
  color: #F2FFF6;
}

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

.page-gdpr__section-title {
  color: #57E38D; /* Glow */
  font-size: 2.2em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

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

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

.page-gdpr__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-gdpr__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__card-title {
  color: #F2C14E; /* Gold */
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-gdpr__card-text {
  color: #A7D9B8;
  font-size: 0.95em;
}

.page-gdpr__rights-list,
.page-gdpr__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-gdpr__rights-item,
.page-gdpr__security-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #F2FFF6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-item strong {
  color: #F2C14E;
}

.page-gdpr__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__link {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-gdpr__link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

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

.page-gdpr__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  color: #F2FFF6;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-gdpr__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-gdpr__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
  content: '−';
}

.page-gdpr__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8;
  text-align: justify;
}

.page-gdpr__faq-answer p {
  margin-bottom: 10px;
}

.page-gdpr__cta-final {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-gdpr__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    max-width: 80%;
  }

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

  .page-gdpr__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

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

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

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

  .page-gdpr__section {
    padding: 30px 15px;
    margin-bottom: 20px;
  }

  .page-gdpr__container,
  .page-gdpr__card,
  .page-gdpr__hero-image-wrapper,
  .page-gdpr__content-image,
  .page-gdpr__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-gdpr__card-image,
  .page-gdpr__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-gdpr__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

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

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

  .page-gdpr__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}

/* Ensure content area images are never smaller than 200px in CSS */
.page-gdpr img {
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__card-image {
  min-width: 200px;
  min-height: 200px;
}

.page-gdpr__content-image {
  min-width: 200px;
  min-height: 200px;
}