/* style/privacy-policy.css */

/* Base Styles */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: #ffffff; /* Explicitly set for contrast checks */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f0f0f0;
    margin-bottom: 40px;
    border-bottom: 5px solid #017439;
}

.page-privacy-policy__hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
}

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

.page-privacy-policy__hero-content {
    max-width: 800px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 700;
    color: #017439;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 20px;
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-privacy-policy__dark-section {
    background-color: #017439;
    color: #ffffff;
}

.page-privacy-policy__dark-section .page-privacy-policy__heading,
.page-privacy-policy__dark-section .page-privacy-policy__sub-heading {
    color: #ffffff;
}

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

.page-privacy-policy__heading {
    font-size: 2.2em;
    color: #017439;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.page-privacy-policy__dark-section .page-privacy-policy__heading {
    color: #ffffff;
}

.page-privacy-policy__sub-heading {
    font-size: 1.5em;
    color: #017439;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__dark-section .page-privacy-policy__sub-heading {
    color: #ffffff;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    padding-left: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 8px;
    font-size: 1em;
    line-height: 1.6;
}

.page-privacy-policy__image-content {
    margin-top: 30px;
    text-align: center;
}

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

.page-privacy-policy__last-updated {
    text-align: right;
    font-style: italic;
    color: #f0f0f0;
    margin-top: 30px;
    font-size: 0.9em;
}

/* Buttons */
.page-privacy-policy__contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-privacy-policy__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* FAQ Section (using details/summary) */
.page-privacy-policy__faq-section {
    background-color: #f9f9f9;
    padding: 40px 0;
}

.page-privacy-policy__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    list-style: none;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    margin-right: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: 0 20px 15px;
    color: #555555;
    font-size: 1em;
    line-height: 1.7;
}

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

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding as per instruction */
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__hero-image-container {
        margin-bottom: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

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

    .page-privacy-policy__section {
        padding: 20px 0;
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__heading {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__content-image {
        margin-top: 20px;
    }

    /* Universal Image Responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Universal Container Responsiveness */
    .page-privacy-policy__section,
    .page-privacy-policy__card, /* Placeholder for card */
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button Responsiveness */
    .page-privacy-policy__contact-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

/* --- Placeholder CSS for "必写清单" elements not present in this page's HTML --- */

/* 1. 顶区轮播: .page-privacy-policy__hero-carousel-section, __hero-slider, __hero-slide */
.page-privacy-policy__hero-carousel-section {
    padding-top: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.page-privacy-policy__hero-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.page-privacy-policy__hero-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    height: 350px;
}
.page-privacy-policy__hero-slider-prev,
.page-privacy-policy__hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}
.page-privacy-policy__hero-slider-prev { left: 10px; }
.page-privacy-policy__hero-slider-next { right: 10px; }

@media (max-width: 768px) {
    .page-privacy-policy__hero-carousel-section {
        padding-top: 10px !important;
    }
    .page-privacy-policy__hero-slider {
        /* No specific styling needed for slider itself beyond flex/transition */
    }
    .page-privacy-policy__hero-slide {
        height: 200px !important;
    }
    .page-privacy-policy__hero-slider-prev,
    .page-privacy-policy__hero-slider-next {
        padding: 5px !important;
        font-size: 0.8em !important;
    }
}

/* 2. 操作指引外框 + 五张 `team` 竖型卡: .page-privacy-policy__guide-box, __guide-grid, __guide-card */
.page-privacy-policy__guide-box {
    padding: 16px 20px 24px;
    background: #f5e6d3;
    border-radius: 4px;
    margin-bottom: 30px;
}
.page-privacy-policy__guide-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.page-privacy-policy__guide-card {
    flex: 0 0 calc(20% - 8px);
    max-width: calc(20% - 8px);
    text-align: center;
}
.page-privacy-policy__guide-card img {
    aspect-ratio: 250 / 350;
    object-fit: cover;
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.page-privacy-policy__guide-card--pos-1, .page-privacy-policy__guide-card--pos-5 { padding-top: 50px; }
.page-privacy-policy__guide-card--pos-2, .page-privacy-policy__guide-card--pos-4 { padding-top: 25px; }

@media (max-width: 768px) {
    .page-privacy-policy__guide-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-privacy-policy__guide-card {
        padding-top: 0 !important;
        flex: none !important;
        max-width: 100% !important;
    }
    .page-privacy-policy__guide-card--pos-1,
    .page-privacy-policy__guide-card--pos-2 {
        grid-column: span 3 !important;
    }
    .page-privacy-policy__guide-card--pos-3,
    .page-privacy-policy__guide-card--pos-4,
    .page-privacy-policy__guide-card--pos-5 {
        grid-column: span 2 !important;
    }
}

/* 3. `home_content` 外框: .page-privacy-policy__home-content-box, __home-content-inner */
.page-privacy-policy__home-content-box {
    max-width: 91%;
    margin: 0 auto;
    padding: 10px 16px;
    border: 5px solid #3477c9;
    border-radius: 15px;
    box-shadow: 0 0 20px #3477c9;
    height: 700px;
    margin-bottom: 30px;
}
.page-privacy-policy__home-content-inner {
    height: 100%;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .page-privacy-policy__home-content-box {
        max-width: 100% !important;
        height: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__home-content-inner {
        height: auto !important;
        overflow: visible !important;
    }
}

/* 4. 博客卡片区: .page-privacy-policy__blog-section, __blog-grid */
.page-privacy-policy__blog-section {
    padding: 50px 0;
    background-color: #f8f8f8;
    margin-bottom: 30px;
}
.page-privacy-policy__blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.page-privacy-policy__blog-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.page-privacy-policy__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.page-privacy-policy__blog-card-content {
    padding: 15px;
}
.page-privacy-policy__blog-card-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #017439;
}
.page-privacy-policy__blog-card-text {
    font-size: 0.9em;
    color: #555;
}

@media (max-width: 1024px) {
    .page-privacy-policy__blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__blog-section {
        padding: 30px 0 !important;
    }
    .page-privacy-policy__blog-grid {
        grid-template-columns: 1fr !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-privacy-policy__blog-card img {
        
    }
}