/* ===== Biến màu & nền tảng ===== */
.page-gdpr {
  --gdpr-primary: #FF8C1A;
  --gdpr-secondary: #FFA53A;
  --gdpr-bg: #0D0E12;
  --gdpr-card-bg: #17191F;
  --gdpr-text-main: #FFF3E6;
  --gdpr-text-muted: #C9BDB0;
  --gdpr-border: #A84F0C;
  --gdpr-glow: #FFB04D;
  --gdpr-deep-orange: #D96800;
  --gdpr-btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  --gdpr-radius: 12px;
  --gdpr-radius-lg: 18px;
  --gdpr-max-width: 1200px;
  color: #FFF3E6;
  background-color: #0D0E12;
  font-family: inherit;
  line-height: 1.7;
}

.page-gdpr__container {
  width: 100%;
  max-width: var(--gdpr-max-width);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ===== HERO ===== */
.page-gdpr__hero-section {
  padding: 10px 0 32px;
  background-color: #0D0E12;
}

.page-gdpr__hero-image-wrap {
  width: 100%;
  max-width: var(--gdpr-max-width);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gdpr__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--gdpr-radius-lg);
  border: 1px solid var(--gdpr-border);
  box-shadow: 0 0 24px rgba(255, 176, 77, 0.18);
}

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

.page-gdpr__hero-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFF3E6;
  margin: 0 0 16px;
  max-width: 100%;
}

.page-gdpr__hero-subtitle {
  color: #C9BDB0;
  font-size: 1.05rem;
  margin: 0 auto 24px;
  max-width: 760px;
}

.page-gdpr__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== Nút ===== */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-gdpr__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #1A0E00;
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.35);
  border: 1px solid #FFB04D;
}

.page-gdpr__btn-secondary {
  background-color: #17191F;
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}

.page-gdpr__btn-primary:hover,
.page-gdpr__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(255, 176, 77, 0.35);
}

/* ===== Section chung ===== */
.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-section,
.page-gdpr__security-section,
.page-gdpr__transfer-section,
.page-gdpr__cookies-section,
.page-gdpr__request-section,
.page-gdpr__faq-section,
.page-gdpr__related-section {
  padding: 40px 0;
  border-top: 1px solid rgba(168, 79, 12, 0.35);
}

.page-gdpr__section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFB04D;
  margin: 0 0 18px;
  line-height: 1.3;
}

.page-gdpr__section-lead {
  color: #C9BDB0;
  margin: 0 0 24px;
  font-size: 1.02rem;
}

.page-gdpr__intro-section p,
.page-gdpr__transfer-section p,
.page-gdpr__cookies-section p,
.page-gdpr__request-section p,
.page-gdpr__security-section p {
  color: #E5D9CC;
  margin: 0 0 16px;
}

/* ===== Nguyên tắc ===== */
.page-gdpr__principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-gdpr__principle-card {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: var(--gdpr-radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-gdpr__principle-title {
  color: #FFB04D;
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}

.page-gdpr__principle-card p {
  color: #E5D9CC;
  margin: 0;
  font-size: 0.96rem;
}

/* ===== Quyền người dùng ===== */
.page-gdpr__rights-section > .page-gdpr__container > p {
  color: #E5D9CC;
  margin: 0 0 22px;
}

.page-gdpr__rights-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-gdpr__right-item {
  background-color: #17191F;
  border-left: 4px solid #FF8C1A;
  border-radius: var(--gdpr-radius);
  padding: 18px 20px;
}

.page-gdpr__right-title {
  color: #FFF3E6;
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-gdpr__right-item p {
  color: #C9BDB0;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Dữ liệu ===== */
.page-gdpr__data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-gdpr__data-block {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: var(--gdpr-radius);
  padding: 20px;
}

.page-gdpr__data-title {
  color: #FFB04D;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.page-gdpr__data-block p {
  color: #E5D9CC;
  margin: 0;
  font-size: 0.96rem;
}

/* ===== Bảo mật ===== */
.page-gdpr__guide-figure {
  margin: 0 0 22px;
  text-align: center;
}

.page-gdpr__guide-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: var(--gdpr-radius);
  border: 1px solid #A84F0C;
}

.page-gdpr__guide-figure figcaption {
  color: #C9BDB0;
  font-size: 0.9rem;
  margin-top: 10px;
  font-style: italic;
}

.page-gdpr__security-list {
  margin: 0;
  padding: 0 0 0 22px;
}

.page-gdpr__security-list li {
  color: #E5D9CC;
  margin-bottom: 10px;
}

.page-gdpr__security-list li strong {
  color: #FFB04D;
}

/* ===== Các bước ===== */
.page-gdpr__steps-list {
  margin: 0 0 26px;
  padding: 0 0 0 22px;
}

.page-gdpr__steps-list li {
  color: #E5D9CC;
  margin-bottom: 12px;
}

.page-gdpr__steps-list li strong {
  color: #FFB04D;
}

/* ===== Link nội tuyến ===== */
.page-gdpr__inline-link {
  color: #FFB04D;
  text-decoration: underline;
  font-weight: 600;
}

.page-gdpr__inline-link:hover {
  color: #FF8C1A;
}

/* ===== CTA box ===== */
.page-gdpr__cta-box {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: var(--gdpr-radius-lg);
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 0 24px rgba(255, 176, 77, 0.12);
}

.page-gdpr__cta-box--bottom {
  margin-top: 28px;
}

.page-gdpr__cta-text {
  color: #FFF3E6;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 18px;
}

.page-gdpr__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* ===== FAQ ===== */
.page-gdpr__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-gdpr__faq-item {
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: var(--gdpr-radius);
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  color: #FFF3E6;
  font-weight: 700;
  font-size: 1rem;
}

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

.page-gdpr__faq-question-text {
  flex: 1;
  text-align: left;
}

.page-gdpr__faq-toggle {
  color: #FFB04D;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}

.page-gdpr__faq-answer {
  padding: 0 18px 18px;
  color: #C9BDB0;
  font-size: 0.96rem;
}

.page-gdpr__faq-answer p {
  margin: 0;
}

/* ===== Liên kết liên quan ===== */
.page-gdpr__related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.page-gdpr__related-card {
  display: flex;
  flex-direction: column;
  background-color: #17191F;
  border: 1px solid #A84F0C;
  border-radius: var(--gdpr-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-gdpr__related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 176, 77, 0.25);
}

.page-gdpr__related-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.page-gdpr__related-title {
  display: block;
  padding: 14px 16px;
  color: #FFF3E6;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== Responsive 1024px ===== */
@media (max-width: 1024px) {
  .page-gdpr__principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-gdpr__related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-gdpr__hero-title {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
  }
}

/* ===== Responsive 768px ===== */
@media (max-width: 768px) {
  .page-gdpr {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-gdpr__hero-section {
    padding-top: 10px;
  }
  .page-gdpr__hero-image-wrap {
    padding: 0 12px;
  }
  .page-gdpr__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
  }
  .page-gdpr__hero-content {
    padding: 0 14px;
    margin-top: 18px;
  }
  .page-gdpr__hero-title {
    font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    line-height: 1.3;
  }
  .page-gdpr__hero-subtitle {
    font-size: 0.98rem;
  }
  .page-gdpr__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-gdpr__btn-primary,
  .page-gdpr__btn-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-gdpr img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-gdpr__principles-grid,
  .page-gdpr__rights-list,
  .page-gdpr__data-grid,
  .page-gdpr__related-grid {
    grid-template-columns: 1fr;
  }
  .page-gdpr__section-title {
    font-size: 1.3rem;
  }
  .page-gdpr__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-gdpr__guide-image,
  .page-gdpr__related-image {
    width: 100%;
    height: auto;
  }
}