/* style/privacy-policy.css */

/* Root variables for consistent spacing if not already in shared.css or overridden */
:root {
    --header-offset: 120px; /* Default for desktop, adjusted in shared.css for mobile */
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding-top: var(--header-offset); /* Ensure content is below fixed header */
    background-color: #0A0A0A; /* Background */
    overflow: hidden; /* To contain the image if it overflows slightly */
}

.page-privacy-policy__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Match width attribute for CLS */
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px; /* Spacing between image and text */
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__hero-text-block {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3em); /* Responsive font size */
    color: #FFD36B; /* Glow */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast on bright button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* For mobile button text wrapping */
    word-wrap: break-word; /* For mobile button text wrapping */
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #FFE48C 0%, #EAA92D 100%);
    transform: translateY(-2px);
}

.page-privacy-policy__section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Main color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__card {
    background-color: #111111; /* Card B G */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__card-title {
    font-size: 1.5em;
    color: #FFD36B; /* Glow */
    margin-top: 0;
    margin-bottom: 15px;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
}

.page-privacy-policy__link {
    color: #F2C14E; /* Main color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #FFD36B; /* Glow on hover */
    text-decoration: underline;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1000px; /* Example max width for content images */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* FAQ Section Styling */
.page-privacy-policy__faq-section {
    padding-bottom: 80px;
}

.page-privacy-policy__faq-item {
    background-color: #111111; /* Card B G */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly lighter dark for question */
    color: #FFF6D6; /* Text Main */
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #F2C14E; /* Main color */
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    color: #FFD36B; /* Glow when active */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #FFF6D6; /* Text Main */
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Use !important as required, sufficiently large */
    padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image {
        max-width: 900px;
    }
    .page-privacy-policy__content-image {
        max-width: 800px;
    }
}

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

    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

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

    .page-privacy-policy__btn-primary {
        padding: 12px 20px;
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-privacy-policy__card-title {
        font-size: 1.3em;
    }

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

    /* All images must be responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* All containers with images or buttons must be responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content-wrapper,
    .page-privacy-policy__hero-text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding for content inside containers */
        padding-left: 15px; 
        padding-right: 15px;
    }

    /* Adjust padding for specific elements if they already have it */
    .page-privacy-policy__card,
    .page-privacy-policy__faq-item {
        padding: 15px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px;
    }
}

/* No CSS filters for images */
.page-privacy-policy img {
    filter: none;
}