/* style/privacy-policy.css */

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

/* Base styles for the page, assuming a dark body background from shared.css */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--sodo88-text-main); /* Light text for dark background */
    background-color: var(--sodo88-background);
    line-height: 1.6;
    font-size: 16px;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--sodo88-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3em);
    font-weight: bold;
    color: var(--sodo88-gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--sodo88-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.page-privacy-policy__content-section {
    padding: 40px 20px;
    background-color: var(--sodo88-background);
    color: var(--sodo88-text-main);
}

.page-privacy-policy__dark-bg {
    background-color: var(--sodo88-card-bg);
    color: var(--sodo88-text-main);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--sodo88-primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
}

.page-privacy-policy__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--sodo88-gold-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--sodo88-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--sodo88-text-main);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--sodo88-text-secondary);
}

.page-privacy-policy__list-item strong {
    color: var(--sodo88-gold-color);
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--sodo88-border-color);
}

.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--sodo88-card-bg);
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--sodo88-text-main);
    background-color: var(--sodo88-deep-green);
    user-select: none;
    list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--sodo88-gold-color);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--sodo88-gold-color);
    margin-left: 15px;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: var(--sodo88-text-secondary);
    font-size: 1em;
    border-top: 1px solid var(--sodo88-divider-color);
}

.page-privacy-policy__faq-item:not([open]) .page-privacy-policy__faq-answer {
    display: none; /* Hide answer when not open for details tag */
}

.page-privacy-policy a {
    color: var(--sodo88-secondary-color);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
    color: var(--sodo88-gold-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .page-privacy-policy__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-privacy-policy__hero-content {
        max-width: 95%;
        padding: 15px;
        margin: 10px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__content-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding: 0 10px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__list {
        margin-left: 15px;
    }

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

    .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 1.3em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
    
    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness (if any were present) */
    .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;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 12px;
    }
}