/* style/privacy-policy.css */

/* --- Base Styles & Layout --- */
.page-privacy-policy {
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: #08160F;
    overflow: hidden; /* Ensure no overflow from images */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 10px;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: #F2C14E; /* Custom Gold for main title */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Custom Text Secondary */
    margin-bottom: 40px;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #08160F; /* Ensure consistent background */
}

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #F2C14E; /* Custom Gold for section titles */
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid #2E7A4E; /* Custom Border */
    padding-bottom: 10px;
}

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

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: #F2FFF6; /* Custom Text Main */
}

.page-privacy-policy__list-item strong {
    color: #57E38D; /* Custom Glow for emphasis */
}

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

/* --- Contact Info --- */
.page-privacy-policy__contact-info {
    margin-top: 40px;
    padding: 30px;
    background-color: #11271B; /* Custom Card BG */
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__contact-info .page-privacy-policy__text-block {
    color: #F2FFF6; /* Custom Text Main */
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-privacy-policy__contact-link {
    color: #57E38D; /* Custom Glow for links */
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
    color: #2AD16F; /* Lighter green on hover */
}

/* --- Buttons --- */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Gradient */
    color: #ffffff; /* White text for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Responsive button */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5); /* Custom Glow for hover */
}

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

.page-privacy-policy__faq-item {
    background-color: #11271B; /* Custom Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Custom Text Main */
    border: 1px solid #2E7A4E; /* Custom Border */
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #F2FFF6; /* Custom Text Main */
    outline: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-privacy-policy__faq-item summary:hover {
    background-color: #0A4B2C; /* Custom Deep Green for hover */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: #57E38D; /* Custom Glow for questions */
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8; /* Custom Text Secondary */
    font-size: 0.95em;
    line-height: 1.5;
}

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

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust for smaller screens */
    }

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

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

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

    .page-privacy-policy__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 20px auto;
    }

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

    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for full width */
    }

    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }

    /* Ensure all containers are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__contact-info,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Reset padding for these elements if they are direct children of content-area that already has padding */
        padding-left: 0;
        padding-right: 0;
    }
    /* Specific override for content-area children to ensure internal content respects padding */
    .page-privacy-policy__content-area .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__hero-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-privacy-policy__hero-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}