/* style/privacy-policy.css */

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

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green);
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-privacy-policy__section-intro {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--gold-color);
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-privacy-policy__section-text {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-privacy-policy__section-text a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-privacy-policy__section-text a:hover {
    color: var(--gold-color);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: var(--text-main);
}

.page-privacy-policy__update-date {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 20px;
    text-align: right;
    font-size: 0.9rem;
}

.page-privacy-policy__section {
    margin-top: 40px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--divider-color);
    padding-bottom: 15px;
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-privacy-policy__faq-answer {
    padding: 10px 0 10px 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px; /* Large enough to show content */
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in;
}

/* Image and Video Responsive Styles */
.page-privacy-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy video,
.page-privacy-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-privacy-policy__video-section,
.page-privacy-policy__video-container,
.page-privacy-policy__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Button Responsive Styles */
.page-privacy-policy__cta-button,
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary,
.page-privacy-policy a[class*="button"],
.page-privacy-policy a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-privacy-policy__cta-buttons,
.page-privacy-policy__button-group,
.page-privacy-policy__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-privacy-policy {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-privacy-policy video,
  .page-privacy-policy__video {
    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,
  .page-privacy-policy__hero-section,
  .page-privacy-policy__content-area,
  .page-privacy-policy__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-privacy-policy__video-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-privacy-policy__video-container,
  .page-privacy-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-privacy-policy__cta-button,
  .page-privacy-policy__btn-primary,
  .page-privacy-policy__btn-secondary,
  .page-privacy-policy a[class*="button"],
  .page-privacy-policy 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-privacy-policy__cta-buttons,
  .page-privacy-policy__button-group,
  .page-privacy-policy__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;
    flex-direction: column;
  }

  .page-privacy-policy__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}