/* style/privacy-policy.css */

/* Base styles for the page content */
.page-privacy-policy {
    background-color: var(--site-bg, #0A0A0A); /* Default to dark background if --site-bg not set */
    color: var(--text-main, #FFF6D6); /* Default to light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: #0A0A0A; /* Use site background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 400px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-privacy-policy__hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px 40px;
    color: #FFF6D6; /* Light text on dark background */
}

.page-privacy-policy__main-title {
    font-size: clamp(32px, 5vw, 48px); /* Using clamp as required */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Accent color for title */
}

.page-privacy-policy__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFF6D6;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 40px 0;
    background-color: #0A0A0A; /* Site background */
    color: #FFF6D6; /* Light text */
}

.page-privacy-policy__section-title {
    font-size: 32px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #F2C14E; /* Main brand color for section titles */
}

.page-privacy-policy__paragraph {
    font-size: 16px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

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

.page-privacy-policy__list-item a {
    color: #FFD36B; /* Accent color for links */
    text-decoration: underline;
}

.page-privacy-policy__list-item a:hover {
    color: #F2C14E;
}

.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.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Contact Buttons */
.page-privacy-policy__contact-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #FFF6D6;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    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(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 40px 0;
    background-color: #0A0A0A; /* Site background */
    color: #FFF6D6; /* Light text */
}

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

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #F2C14E; /* Main brand color for questions */
}
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(242, 193, 78, 0.1); /* Slightly lighter hover */
}
.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6; /* Question text color */
}
.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFD36B; /* Accent color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 32px;
    text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 25px 25px;
    background: #111111; /* Card BG */
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: #FFF6D6; /* Answer text color */
}
.page-privacy-policy__faq-answer p {
    margin: 0;
    padding: 0;
    color: #FFF6D6;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-privacy-policy__section-title {
        font-size: 28px;
    }
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        font-size: 17px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 17px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 26px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* General content area padding */
    .page-privacy-policy__container {
        padding: 0 15px !important;
    }

    /* Hero Section */
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding */
        margin-bottom: 30px;
    }
    .page-privacy-policy__hero-image-wrapper {
        max-height: 250px;
    }
    .page-privacy-policy__hero-image-wrapper img {
        min-height: 200px !important; /* Enforce min height for images */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__hero-content {
        padding: 0 15px 30px;
    }
    .page-privacy-policy__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Content Area */
    .page-privacy-policy__content-area {
        padding: 30px 0;
    }
    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 15px;
    }
    .page-privacy-policy__list {
        margin-left: 15px;
    }

    /* Images in content area */
    .page-privacy-policy__image {
        margin: 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce min height for images */
        min-height: 200px !important; /* Enforce min height for images */
    }

    /* Buttons */
    .page-privacy-policy__contact-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 20px !important;
        font-size: 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ Section */
    .page-privacy-policy__faq-section {
        padding: 30px 0;
    }
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 16px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 28px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 20px 20px;
        font-size: 14px;
    }
}