/* style/gdpr.css */
:root {
  --gdpr-primary-color: #C61F1F;
  --gdpr-secondary-color: #E53030;
  --gdpr-card-bg: #2A1212;
  --gdpr-background: #140C0C;
  --gdpr-text-main: #FFF1E8;
  --gdpr-border-color: #6A1E1E;
  --gdpr-gold-color: #F3C54D;
  --gdpr-deep-red: #7E0D0D;
  --gdpr-button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

/* body đã padding-top: var(--header-offset); trang này không cần thêm */
.page-gdpr {
  font-family: 'Arial', sans-serif;
  color: var(--gdpr-text-main); /* Text Main #FFF1E8 for dark background */
  background-color: var(--gdpr-background); /* Background #140C0C */
  line-height: 1.6;
}

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

.page-gdpr__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--gdpr-background);
  overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-gdpr__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background-color: rgba(20, 12, 12, 0.8); /* Semi-transparent dark background */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-gdpr__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gdpr-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.page-gdpr__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--gdpr-text-main);
}

.page-gdpr__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--gdpr-button-gradient);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-gdpr__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-gdpr__section {
  padding: 60px 0;
  background-color: var(--gdpr-background);
}

.page-gdpr__section:nth-of-type(even) {
  background-color: #1a0f0f;
}

.page-gdpr__section-title {
  font-size: 2.5em;
  color: var(--gdpr-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.page-gdpr__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--gdpr-gold-color);
  border-radius: 2px;
}

.page-gdpr__text-block {
  font-size: 1.05em;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--gdpr-text-main);
}

.page-gdpr__list-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-gdpr__list-with-image--reverse {
  flex-direction: row-reverse;
}

.page-gdpr__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  display: block;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-gdpr__principles-list, .page-gdpr__rights-list, .page-gdpr__contact-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-gdpr__principles-list li, .page-gdpr__rights-list li, .page-gdpr__contact-list li {
  background-color: var(--gdpr-card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border-left: 5px solid var(--gdpr-primary-color);
  color: var(--gdpr-text-main);
}

.page-gdpr__principles-list li strong, .page-gdpr__rights-list li strong {
  color: var(--gdpr-gold-color);
}

.page-gdpr__data-protection-measures .page-gdpr__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-gdpr__measure-item {
  background-color: var(--gdpr-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border-top: 5px solid var(--gdpr-secondary-color);
  color: var(--gdpr-text-main);
}

.page-gdpr__measure-title {
  font-size: 1.4em;
  color: var(--gdpr-gold-color);
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.page-gdpr__image--bottom {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__contact-info {
  background-color: var(--gdpr-card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  max-width: 800px;
  margin: 40px auto 0 auto;
  border: 1px solid var(--gdpr-border-color);
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--gdpr-text-main);
}

.page-gdpr__contact-list li {
  border-left: 5px solid var(--gdpr-gold-color);
}

.page-gdpr__contact-link {
  color: var(--gdpr-gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  background-color: var(--gdpr-card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  border: 1px solid var(--gdpr-border-color);
  overflow: hidden;
}

.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gdpr-gold-color);
  background-color: var(--gdpr-deep-red);
  border-bottom: 1px solid var(--gdpr-border-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

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

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

.page-gdpr__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: var(--gdpr-text-main);
  text-align: justify;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-gdpr__hero-content {
    margin-top: -50px;
    padding: 30px;
  }
  .page-gdpr__main-title {
    font-size: 2.2em;
  }
  .page-gdpr__section-title {
    font-size: 2em;
  }
  .page-gdpr__list-with-image {
    flex-direction: column;
    text-align: center;
  }
  .page-gdpr__list-with-image--reverse {
    flex-direction: column;
  }
  .page-gdpr__image {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-gdpr {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-gdpr__container {
    padding: 0 15px;
  }
  .page-gdpr__hero-content {
    margin-top: 0;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    background-color: var(--gdpr-background);
  }
  .page-gdpr__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-gdpr__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-gdpr__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    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.8em;
    margin-bottom: 30px;
  }
  .page-gdpr__text-block {
    font-size: 0.95em;
  }
  .page-gdpr__list-with-image {
    gap: 20px;
  }
  .page-gdpr__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-gdpr__principles-list li, .page-gdpr__rights-list li, .page-gdpr__contact-list li {
    padding: 15px;
    font-size: 0.9em;
  }
  .page-gdpr__measures-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-gdpr__measure-item {
    padding: 20px;
  }
  .page-gdpr__measure-title {
    font-size: 1.2em;
  }
  .page-gdpr__contact-info {
    padding: 30px;
    margin: 30px auto 0 auto;
  }
  .page-gdpr__contact-info p {
    font-size: 1em;
  }
  .page-gdpr__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-gdpr__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }
  /* Content area images must not display smaller than 200px */
  .page-gdpr img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .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;
  }
  .page-gdpr__video-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }
  .page-gdpr video,
  .page-gdpr__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gdpr__video-section,
  .page-gdpr__video-container,
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-gdpr__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-gdpr__cta-button,
  .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;
  }
  .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;
  }
  .page-gdpr__cta-buttons {
    display: flex;
    flex-direction: column; 
  }
}