/* style/gdpr.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px;
    background-color: #08160F;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    text-align: center;
    padding: 30px 20px 0;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    line-height: 1.2;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-gdpr__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%;
    flex-grow: 1; /* Allow buttons to grow */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
}

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

.page-gdpr__btn-secondary {
    background: transparent;
    color: #57E38D; /* Glow color, good contrast */
    border: 2px solid #2E7A4E; /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2); /* Border color with transparency */
    transform: translateY(-2px);
}

.page-gdpr__section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-gdpr__section--intro .page-gdpr__image {
    margin: 30px auto;
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__dark-bg {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
}

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

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #A7D9B8; /* Text Secondary */
}

.page-gdpr__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2AD16F; /* Bright green checkmark */
    font-weight: bold;
}

/* FAQ Styles */
.page-gdpr__faq-list {
    margin-top: 30px;
    border-top: 1px solid #2E7A4E; /* Border color */
}

.page-gdpr__faq-item {
    background-color: #08160F; /* Background */
    margin-bottom: 10px;
    border-bottom: 1px solid #2E7A4E; /* Border color */
    padding: 15px 0;
}

.page-gdpr__faq-item[open] {
    background-color: #11271B; /* Card BG for open FAQ */
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    padding: 10px 0;
}

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #57E38D; /* Glow color */
    margin-left: 15px;
}

.page-gdpr__faq-answer {
    padding: 10px 0 10px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.6;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

.page-gdpr__contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 8px;
    color: #F2FFF6;
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
    color: #F2FFF6;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }

    .page-gdpr__hero-content {
        padding: 20px 15px 0;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

    .page-gdpr__description {
        font-size: 1em;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

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

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .page-gdpr__text-block {
        font-size: 0.95em;
    }

    .page-gdpr__list-item {
        font-size: 0.95em;
        padding-left: 25px;
    }
    .page-gdpr__list-item::before {
        font-size: 0.9em;
        top: 3px;
    }

    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 8px 0;
    }

    .page-gdpr__faq-answer {
        padding: 8px 0 8px 15px;
        font-size: 0.9em;
    }

    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure hero section top padding for mobile */
    .page-gdpr__hero-section {
        padding-top: 10px !important; 
        padding-left: 0 !important; /* Resetting container padding from section */
        padding-right: 0 !important;
    }
    .page-gdpr__hero-image-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video (if any) mobile adaptation - not applicable here, but including for completeness based on rules */
    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-gdpr__video-section {
        padding-top: 10px !important;
    }
}