:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --text-main-color: #FFF6D6; /* Custom text color */
    --background-dark: #0A0A0A; /* Custom background color */
    --card-bg-dark: #111111; /* Custom card background color */
    --border-color: #3A2A12; /* Custom border color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button gradient */
    --glow-color: #FFD36B; /* Custom glow color */
}

.page-privacy-policy {
    background-color: var(--background-dark); /* Apply custom background color */
    color: var(--text-main-color); /* Apply custom text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

/* 🚨 Desktop HERO main image area style (must strictly adhere) */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* 🚨 Header padding is handled by shared body { padding-top: var(--header-offset); }; use small top padding here to avoid double spacing */
    padding-top: 10px;
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width within max-width */
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    /* No filter allowed */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-privacy-policy__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Use clamp for H1 */
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 18px;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box; /* Button responsive */
    white-space: normal; /* Button responsive */
    word-wrap: break-word; /* Button responsive */
}

.page-privacy-policy__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-section {
    padding: 50px 20px;
}

.page-privacy-policy__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
}

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

.page-privacy-policy__sub-section-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

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

.page-privacy-policy ul li {
    margin-bottom: 8px;
}

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

.page-privacy-policy__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
    object-fit: cover;
    /* No filter allowed */
}

.page-privacy-policy__contact-info {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: center;
    color: var(--text-main-color);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-privacy-policy__contact-info strong {
    color: var(--primary-color);
}

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

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-dark);
    color: var(--text-main-color);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter on hover */
}
.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color); /* Use primary color for toggle icon */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    background: rgba(0, 0, 0, 0.1); /* Slightly different background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-main-color);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    color: var(--text-main-color);
}

/* 🚨 Mobile responsive design (must strictly adhere) */
@media (max-width: 768px) {
    .page-privacy-policy {
        padding-bottom: 30px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Consistent small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-image img {
        border-radius: 4px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 10px;
    }

    .page-privacy-policy__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-section {
        padding: 30px 0; /* Adjust padding for mobile, use container's inner padding */
    }

    .page-privacy-policy__container {
        padding: 0 15px; /* Ensure content has side padding */
    }

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

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

    .page-privacy-policy p,
    .page-privacy-policy ul li {
        font-size: 15px;
    }

    .page-privacy-policy__image-block {
        margin: 20px 0;
    }

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

    .page-privacy-policy__contact-info {
        padding: 20px;
        margin-top: 20px;
    }

    .page-privacy-policy__contact-info p {
        font-size: 14px;
    }

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 15px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Ensure all images are responsive and do not cause overflow */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
    /* No filter allowed */
}

/* All containers that might hold images or buttons */
.page-privacy-policy__section,
.page-privacy-policy__card,
.page-privacy-policy__container,
.page-privacy-policy__hero-container,
.page-privacy-policy__contact-info {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-container,
    .page-privacy-policy__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific sections or container */
    }

    .page-privacy-policy__cta-button {
        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; /* Add padding to buttons if they are full width */
    }
}