/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --ke68-primary: #11A84E;
    --ke68-secondary: #22C768;
    --ke68-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --ke68-card-bg: #11271B;
    --ke68-background: #08160F;
    --ke68-text-main: #F2FFF6;
    --ke68-text-secondary: #A7D9B8;
    --ke68-border: #2E7A4E;
    --ke68-glow: #57E38D;
    --ke68-gold: #F2C14E;
    --ke68-divider: #1E3A2A;
    --ke68-deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--ke68-background);
    color: var(--ke68-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.page-privacy-policy__hero-image {
    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: 2;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    margin-top: -100px; /* Pull content up slightly over the image's bottom edge, but not covering main image content */
    background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    color: var(--ke68-gold); /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: var(--ke68-text-main);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-privacy-policy__btn-primary {
    background: var(--ke68-button-gradient);
    color: var(--ke68-text-main);
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--ke68-secondary);
    border: 2px solid var(--ke68-secondary);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--ke68-secondary);
    color: var(--ke68-background);
    transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--ke68-text-main); /* Ensure light text on dark background */
}

.page-privacy-policy__section {
    margin-bottom: 40px;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.2em);
    color: var(--ke68-primary);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--ke68-secondary);
    border-radius: 2px;
}

.page-privacy-policy__text-block {
    background-color: var(--ke68-card-bg); /* Darker card background */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--ke68-border);
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    color: var(--ke68-text-secondary);
}

.page-privacy-policy__sub-title {
    font-size: 1.4em;
    color: var(--ke68-gold);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--ke68-text-secondary);
}

.page-privacy-policy__text-block li {
    margin-bottom: 8px;
}

.page-privacy-policy__text-block a {
    color: var(--ke68-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: var(--ke68-glow);
    text-decoration: underline;
}

.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    max-width: 800px; /* Constrain width for content images */
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    min-height: 200px; /* Ensure minimum size */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.page-privacy-policy__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-privacy-policy__faq-item {
    background-color: var(--ke68-card-bg);
    border: 1px solid var(--ke68-border);
    border-radius: 8px;
    overflow: hidden;
    color: var(--ke68-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--ke68-text-main);
    background-color: var(--ke68-deep-green); /* Slightly different background for question */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--ke68-primary);
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--ke68-text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--ke68-glow);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    border-top: 1px solid var(--ke68-divider);
    color: var(--ke68-text-secondary);
    font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: -80px;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 350px;
    }

    .page-privacy-policy__hero-content {
        margin-top: -60px;
        padding: 15px;
        max-width: 90%;
    }

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

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 20px 15px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-privacy-policy__text-block {
        padding: 20px;
    }

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

    .page-privacy-policy__text-block p,
    .page-privacy-policy__text-block li,
    .page-privacy-policy__faq-answer {
        font-size: 0.9em;
    }

    .page-privacy-policy__image-inline {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
    }

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

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

@media (max-width: 480px) {
    .page-privacy-policy__hero-image-wrapper {
        max-height: 250px;
    }
    .page-privacy-policy__hero-content {
        margin-top: -40px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
}