/* style/privacy-policy.css */

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

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

.page-privacy-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px;
  overflow: hidden;
  background-color: var(--v7sb-deep-green);
  min-height: 500px;
}

.page-privacy-policy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-privacy-policy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--v7sb-gold);
  margin-bottom: 20px;
  max-width: 60ch; /* Approx 60 chars */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__description {
  font-size: 1.1em;
  color: var(--v7sb-text-secondary);
  margin-bottom: 30px;
  max-width: 160ch; /* Approx 130-160 chars */
  margin-left: auto;
  margin-right: auto;
}

.page-privacy-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-privacy-policy__btn-primary {
  background: var(--v7sb-button-gradient);
  color: var(--v7sb-text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

.page-privacy-policy__btn-secondary {
  background: transparent;
  color: var(--v7sb-text-main);
  border: 2px solid var(--v7sb-main-color);
}

.page-privacy-policy__btn-secondary:hover {
  background: var(--v7sb-main-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-privacy-policy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--v7sb-background);
  color: var(--v7sb-text-main);
}

.page-privacy-policy__section-title {
  color: var(--v7sb-gold);
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--v7sb-divider);
}

.page-privacy-policy__sub-title {
  color: var(--v7sb-main-color);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
  margin-bottom: 15px;
  color: var(--v7sb-text-secondary);
}

.page-privacy-policy__text-block ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--v7sb-text-secondary);
}

.page-privacy-policy__text-block ul li {
  margin-bottom: 8px;
}

.page-privacy-policy__text-block a {
  color: var(--v7sb-secondary-color);
  text-decoration: none;
}

.page-privacy-policy__text-block a:hover {
  text-decoration: underline;
}

.page-privacy-policy__contact-link {
  font-weight: bold;
}

.page-privacy-policy__faq-section {
  background-color: var(--v7sb-card-bg);
  padding: 60px 20px;
  color: var(--v7sb-text-main);
  text-align: center;
}

.page-privacy-policy__section-title--faq {
  color: var(--v7sb-gold);
  margin-bottom: 40px;
  border-bottom: none;
  padding-bottom: 0;
}

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

.page-privacy-policy__faq-item {
  background-color: var(--v7sb-background);
  border: 1px solid var(--v7sb-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-privacy-policy__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--v7sb-deep-green);
  color: var(--v7sb-text-main);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-privacy-policy__faq-item summary:hover {
  background-color: var(--v7sb-main-color);
}

.page-privacy-policy__faq-qtext {
  flex-grow: 1;
  color: var(--v7sb-text-main);
}

.page-privacy-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--v7sb-gold);
}

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

.page-privacy-policy__faq-answer {
  padding: 20px 25px;
  background-color: var(--v7sb-background);
  color: var(--v7sb-text-secondary);
  border-top: 1px solid var(--v7sb-divider);
}

.page-privacy-policy__faq-answer p {
  margin-bottom: 10px;
  color: var(--v7sb-text-secondary);
}

/* Ensure all content area images are at least 200px */
.page-privacy-policy img:not(.page-privacy-policy__hero-image) {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow natural sizing, but ensure min-width/height */
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-privacy-policy__hero-content {
    padding: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 2.2em;
  }
  .page-privacy-policy__description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-privacy-policy__hero-section {
    padding: 10px 15px 40px;
  }
  .page-privacy-policy__hero-content {
    padding: 15px;
  }
  .page-privacy-policy__main-title {
    font-size: 1.8em;
    max-width: 100%;
  }
  .page-privacy-policy__description {
    font-size: 0.95em;
    max-width: 100%;
  }
  .page-privacy-policy__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    padding: 40px 15px;
  }
  .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 p,
  .page-privacy-policy__text-block ul li {
    font-size: 0.95em;
  }
  .page-privacy-policy__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-answer {
    padding: 15px 20px;
  }
  .page-privacy-policy__faq-toggle {
    font-size: 1.2em;
  }

  /* Mobile image responsiveness */
  .page-privacy-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-privacy-policy__section,
  .page-privacy-policy__card,
  .page-privacy-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-privacy-policy__hero-section {
    padding-top: 10px !important; /* body đã承担 --header-offset */
  }
  .page-privacy-policy__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-privacy-policy__main-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__section-title {
    font-size: 1.5em;
  }
  .page-privacy-policy__faq-item summary {
    font-size: 0.95em;
    padding: 12px 15px;
  }
  .page-privacy-policy__faq-answer {
    padding: 12px 15px;
  }
}