/* style/privacy-policy.css */

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

/* Base styles for the page content, ensuring contrast with dark body background */
.page-privacy-policy {
    background-color: var(--wstar77-background); /* #08160F */
    color: var(--wstar77-text-main); /* #F2FFF6 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space above the footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any potential background elements */
    position: relative; /* For proper stacking context */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1, not fixed large */
    color: var(--wstar77-gold); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--wstar77-btn-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: var(--wstar77-text-main); /* #F2FFF6 */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__section-intro {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--wstar77-divider); /* #1E3A2A */
    padding-bottom: 20px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--wstar77-primary); /* #11A84E */
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--wstar77-gold); /* #F2C14E */
    border-radius: 2px;
}

.page-privacy-policy__section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: var(--wstar77-card-bg); /* #11271B */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wstar77-border); /* #2E7A4E */
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--wstar77-secondary); /* #22C768 */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__list-item strong {
    color: var(--wstar77-text-main); /* #F2FFF6 */
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-top: 25px;
    margin-bottom: 25px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--wstar77-border);
}

.page-privacy-policy__link {
    color: var(--wstar77-gold); /* #F2C14E */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--wstar77-glow); /* #57E38D */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 60px;
    padding: 40px 20px;
    background-color: var(--wstar77-card-bg); /* #11271B */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--wstar77-border); /* #2E7A4E */
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--wstar77-deep-green); /* #0A4B2C */
    border: 1px solid var(--wstar77-border);
    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;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--wstar77-text-main); /* #F2FFF6 */
    cursor: pointer;
    background-color: var(--wstar77-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-question:hover {
    background-color: var(--wstar77-primary); /* #11A84E */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--wstar77-gold); /* #F2C14E */
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for open state */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--wstar77-text-secondary); /* #A7D9B8 */
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

    .page-privacy-policy__section {
        padding: 25px;
    }
}

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

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    }

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

    .page-privacy-policy__btn-primary {
        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;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .page-privacy-policy__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__section {
        padding: 20px;
        margin-bottom: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }

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

    /* Images responsiveness */
    .page-privacy-policy img {
        max-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__faq-section {
        padding: 30px 15px;
        margin-top: 40px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}