/* style/gdpr.css */
:root {
  --page-gdpr-primary-color: #11A84E;
  --page-gdpr-secondary-color: #22C768;
  --page-gdpr-background-dark: #08160F;
  --page-gdpr-card-bg: #11271B;
  --page-gdpr-text-main: #F2FFF6;
  --page-gdpr-text-secondary: #A7D9B8;
  --page-gdpr-border-color: #2E7A4E;
  --page-gdpr-glow-color: #57E38D;
  --page-gdpr-gold-color: #F2C14E;
  --page-gdpr-divider-color: #1E3A2A;
  --page-gdpr-deep-green: #0A4B2C;
  --page-gdpr-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-gdpr-text-dark-contrast: #333333;
  --page-gdpr-background-light: #ffffff;
}

.page-gdpr {
  background-color: var(--page-gdpr-background-dark);
  color: var(--page-gdpr-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body đã có padding-top từ shared.css */
  text-align: center;
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-gdpr__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-gdpr-text-main);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-gdpr__hero-description {
  font-size: 1.15rem;
  color: var(--page-gdpr-text-secondary);
  margin-bottom: 30px;
}

.page-gdpr__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-gdpr__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__section-description {
  font-size: 1.1rem;
  color: var(--page-gdpr-text-secondary);
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-gdpr__principles-section {
  background-color: var(--page-gdpr-background-dark);
}

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

.page-gdpr__card {
  background-color: var(--page-gdpr-card-bg);
  border: 1px solid var(--page-gdpr-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--page-gdpr-text-main);
}

.page-gdpr__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

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

.page-gdpr__card-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  margin-bottom: 15px;
}

.page-gdpr__card-text {
  font-size: 1rem;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__light-bg {
  background-color: var(--page-gdpr-background-light);
  color: var(--page-gdpr-text-dark-contrast);
}

.page-gdpr__light-bg .page-gdpr__section-title,
.page-gdpr__light-bg .page-gdpr__section-description,
.page-gdpr__light-bg .page-gdpr__card-title,
.page-gdpr__light-bg .page-gdpr__card-text {
  color: var(--page-gdpr-text-dark-contrast);
}

.page-gdpr__light-bg .page-gdpr__card {
  background-color: var(--page-gdpr-background-light);
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-gdpr__data-processing-section {
  background-color: var(--page-gdpr-deep-green);
}

.page-gdpr__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  text-align: left;
  margin-top: 40px;
}

.page-gdpr__content-block {
  background-color: var(--page-gdpr-card-bg);
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--page-gdpr-border-color);
}

.page-gdpr__content-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--page-gdpr-text-main);
  margin-bottom: 15px;
}

.page-gdpr__content-text {
  font-size: 1rem;
  color: var(--page-gdpr-text-secondary);
}

.page-gdpr__contact-section {
  background-color: var(--page-gdpr-background-dark);
}

.page-gdpr__contact-info {
  font-size: 1.1rem;
  color: var(--page-gdpr-text-secondary);
  margin-top: 30px;
}

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

.page-gdpr__faq-section {
  background-color: var(--page-gdpr-background-light);
}

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

.page-gdpr__faq-item {
  background-color: var(--page-gdpr-background-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-gdpr-text-dark-contrast);
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  color: var(--page-gdpr-text-dark-contrast);
  list-style: none; /* For details/summary */
}

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

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

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

.page-gdpr__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--page-gdpr-primary-color);
}

.page-gdpr__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--page-gdpr-text-dark-contrast);
  background-color: var(--page-gdpr-background-light);
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="button"],
.page-gdpr a[class*="btn"] {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: var(--page-gdpr-button-gradient);
  color: #ffffff; /* text always white on dark button */
  border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__btn-secondary {
  background-color: transparent;
  color: var(--page-gdpr-primary-color);
  border: 2px solid var(--page-gdpr-primary-color);
  margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
  background-color: var(--page-gdpr-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Ensure all images are responsive */
.page-gdpr img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive Styles */
@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__hero-image-wrapper {
    margin-bottom: 20px;
    max-height: 300px;
  }

  .page-gdpr__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-gdpr__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

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

  .page-gdpr__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-gdpr__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

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

  .page-gdpr__card {
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .page-gdpr__card-image {
    height: 180px;
    margin-bottom: 15px;
  }

  .page-gdpr__card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .page-gdpr__card-text {
    font-size: 0.9rem;
  }

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

  .page-gdpr__content-block {
    padding: 20px;
  }

  .page-gdpr__content-subtitle {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .page-gdpr__content-text {
    font-size: 0.9rem;
  }

  .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: 12px 20px !important;
    font-size: 1rem !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
  }

  .page-gdpr__cta-button + .page-gdpr__cta-button {
    margin-top: 10px; /* Space between stacked buttons */
  }

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

  .page-gdpr__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-gdpr__section,
  .page-gdpr__card,
  .page-gdpr__container,
  .page-gdpr__hero-section,
  .page-gdpr__hero-content,
  .page-gdpr__grid-layout,
  .page-gdpr__content-grid,
  .page-gdpr__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-gdpr__hero-section.page-gdpr__dark-bg,
  .page-gdpr__principles-section,
  .page-gdpr__rights-section.page-gdpr__light-bg,
  .page-gdpr__data-processing-section,
  .page-gdpr__contact-section.page-gdpr__dark-bg,
  .page-gdpr__faq-section.page-gdpr__light-bg {
    padding-left: 0;
    padding-right: 0;
  }

  .page-gdpr__hero-section .page-gdpr__container,
  .page-gdpr__principles-section .page-gdpr__container,
  .page-gdpr__rights-section .page-gdpr__container,
  .page-gdpr__data-processing-section .page-gdpr__container,
  .page-gdpr__contact-section .page-gdpr__container,
  .page-gdpr__faq-section .page-gdpr__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}