/* CSS cho trang Chính sách bảo mật */
.page-privacy-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Sử dụng màu chữ chính */
  background-color: var(--background, #08160F); /* Sử dụng màu nền chính */
}

.page-privacy-policy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-privacy-policy__hero-section {
  text-align: center;
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 2;
  padding: 0 15px;
}

.page-privacy-policy__main-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__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: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__section {
  padding: 40px 0;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-privacy-policy__section-title {
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 25px;
  color: var(--text-main, #F2FFF6);
  text-align: center;
}

.page-privacy-policy__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-privacy-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__list li {
  margin-bottom: 10px;
  color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__list li strong {
  color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__image-inline {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__contact-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-secondary {
  background: var(--card-bg, #11271B);
  color: var(--gold, #F2C14E);
  border: 2px solid var(--border, #2E7A4E);
  box-shadow: none;
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  color: var(--text-main, #F2FFF6);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border, #2E7A4E);
  overflow: hidden;
  background: var(--card-bg, #11271B);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: var(--deep-green, #0A4B2C);
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: var(--background, #08160F);
  border-radius: 0 0 8px 8px;
  color: var(--text-secondary, #A7D9B8);
}

/* Responsive styles */
@media (max-width: 1023px) {
  .page-privacy-policy__main-title {
    font-size: 2.8em;
  }
  .page-privacy-policy__section-title {
    font-size: 2em;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 20px 0 10px;
  }
  .page-privacy-policy__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-privacy-policy__lead-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px;
  }
  .page-privacy-policy__contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .page-privacy-policy__section {
    padding: 25px 0;
  }
  .page-privacy-policy__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-privacy-policy__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-privacy-policy__text-block, .page-privacy-policy__list li {
    font-size: 1em;
  }
  .page-privacy-policy__list {
    margin-left: 20px;
  }
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__data-collection,
  .page-privacy-policy__data-usage,
  .page-privacy-policy__data-sharing,
  .page-privacy-policy__data-security,
  .page-privacy-policy__user-rights,
  .page-privacy-policy__policy-changes,
  .page-privacy-policy__contact-us,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
  .page-privacy-policy__faq-qtext { font-size: 1em; }
  details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer { padding: 0 15px 15px; }
}

/* Fixed header spacing - only apply if shared.css doesn't already handle body padding */
/* If shared.css already has body { padding-top: var(--header-offset); } then this should be commented out */
/* .page-privacy-policy { padding-top: var(--header-offset, 122px); } */

/* Ensure proper top spacing for the first section if header is fixed */
.page-privacy-policy__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for main offset */
}

/* Custom colors (from provided palette) */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* General contrast adjustments for elements not explicitly colored */
.page-privacy-policy h1, .page-privacy-policy h2, .page-privacy-policy h3, .page-privacy-policy h4, .page-privacy-policy h5, .page-privacy-policy h6 {
  color: var(--text-main, #F2FFF6);
}
.page-privacy-policy p, .page-privacy-policy li {
  color: var(--text-secondary, #A7D9B8);
}

/* The following homepage-specific CSS templates are NOT applied as this is an inner page */
/* The placeholder for homepage CSS templates has been removed as per instructions for inner pages */