:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0d0d0d; /* Assuming a dark background from shared.css */
    --background-light: #f9f9f9;
    --border-color: #e0e0e0;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--background-dark); /* Ensure consistency with body background */
    color: var(--text-light); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* Assumes shared.css handles body padding-top for header offset */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 60px 20px; /* Adjusted padding for a policy page, not a hero image */
    text-align: center;
    background: var(--background-dark);
    color: var(--text-light);
    padding-top: 0; /* Important: ensures no double padding if body already has it */
}

.page-privacy-policy__hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color); /* Gold for main title */
    line-height: 1.2;
}

.page-privacy-policy__intro-paragraph {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__content-section {
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.page-privacy-policy__content-section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: left;
}

.page-privacy-policy__sub-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color); /* Dodger blue for sub-titles */
    text-align: left;
}

.page-privacy-policy__paragraph {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-light);
    text-align: justify;
}

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

.page-privacy-policy__list-item {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-privacy-policy__list-item strong {
    color: var(--primary-color); /* Highlight strong text */
}

.page-privacy-policy__link {
    color: var(--secondary-color); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Images in content */
.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.1); /* Slightly darker background for question */
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-light);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: var(--secondary-color); /* Dodger blue when active */
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05); /* Very subtle background for answer */
    border-radius: 0 0 8px 8px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to accommodate any content */
    padding: 20px 25px !important;
    opacity: 1;
}

/* Global image responsiveness for content area */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button responsive styles (if any buttons were present) */
.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__button-group {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 36px;
    }

    .page-privacy-policy__intro-paragraph {
        font-size: 17px;
    }

    .page-privacy-policy__section-title {
        font-size: 28px;
    }

    .page-privacy-policy__sub-title {
        font-size: 22px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 0 !important; /* Ensure no double padding */
    }

    .page-privacy-policy__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-paragraph {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Content Sections */
    .page-privacy-policy__content-section {
        padding: 30px 15px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 14px;
        margin-bottom: 10px;
    }

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

    /* Images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Ensure content containers also adapt */
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Handled by section padding */
        padding-right: 0; /* Handled by section padding */
    }

    /* FAQ Section */
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }

    .page-privacy-policy__faq-question h3 {
        font-size: 16px;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
        margin-left: 15px;
    }

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

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

    /* Button specific mobile styles */
    .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; /* Add some padding to buttons */
        padding-right: 15px;
    }
    
    /* Button container mobile styles */
    .page-privacy-policy__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Allow buttons to wrap */
        gap: 10px; /* Add gap between buttons if they wrap */
    }
}