/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    text-align: center;
    background-color: var(--background);
    color: var(--text-main);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 30px;
    padding: 0 15px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-privacy-policy__intro-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background);
    color: var(--text-main);
}

.page-privacy-policy__dark-bg {
    background-color: var(--background);
    color: var(--text-main);
}

.page-privacy-policy__section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-privacy-policy__keyword {
    font-weight: bold;
    color: var(--glow);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.page-privacy-policy__link {
    color: var(--glow);
    text-decoration: none;
    font-weight: 500;
}

.page-privacy-policy__link:hover {
    text-decoration: underline;
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider);
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
}

/* Ensure details native toggle is hidden for custom styling */
details > summary::-webkit-details-marker {
    display: none;
}

details > summary {
    list-style: none;
}

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

    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

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

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item {
        font-size: 0.95rem;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }
}