/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #1a1a1a; /* Body background from shared.css, dark */
    color: #ffffff; /* Light text for dark body background */
}

.page-privacy-policy__hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:privacy_hero:1920x1080:data_security,privacy,online_gambling]') center/cover no-repeat;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
}

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

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    margin: 10px;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #005f2c;
    border-color: #005f2c;
}

.page-privacy-policy__btn-secondary {
    background-color: #C30808; /* Custom color for login/register type action */
    color: #FFFF00; /* Custom font color for login/register type action */
    border: 2px solid #C30808;
    margin: 10px;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 15px;
    background-color: #ffffff; /* Content area background */
    color: #333333; /* Dark text for light content area background */
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #017439;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

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

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__link {
    color: #017439;
    text-decoration: underline;
}

.page-privacy-policy__link:hover {
    color: #005f2c;
}

/* FAQ Section Styles */
.page-privacy-policy__faq-list {
    margin-top: 40px;
}

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #e5e5e5;
}

.page-privacy-policy__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #017439;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
    max-height: 0; /* Initial hidden state */
    overflow: hidden;
    padding: 0 20px; /* Consistent padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-privacy-policy__faq-answer p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 20px; /* Padding when active */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

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

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }

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

    .page-privacy-policy__content-area {
        padding: 20px 15px;
    }

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

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

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

    .page-privacy-policy__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__container,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px;
        margin: 5px 0;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__faq-question {
        padding: 12px 15px;
    }

    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }
}