.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #121212; /* Matches body background */
}

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

.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 0; /* Ensure image is behind content */
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    margin-top: -100px; /* Pull content up slightly over the image for visual flow */
    background: rgba(18, 18, 18, 0.8); /* Dark overlay for text readability */
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em);
    color: #26A9E0; /* Brand blue for title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: justify;
}

.page-gdpr__dark-bg {
    background-color: #121212;
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
    padding: 60px 0;
}

.page-gdpr__card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-gdpr__rights-grid,
.page-gdpr__data-points,
.page-gdpr__protection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__right-item,
.page-gdpr__data-point,
.page-gdpr__protection-item {
    display: flex;
    flex-direction: column;
}

.page-gdpr__right-title,
.page-gdpr__data-point-title,
.page-gdpr__protection-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__right-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    color: #f0f0f0;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-gdpr__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #26A9E0;
}

.page-gdpr__image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 40px 0;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__image-centered {
    display: block;
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-gdpr__contact-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__contact-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 10px;
}

.page-gdpr__contact-link {
    color: #EA7C07; /* Login orange color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #e06a00;
    text-decoration: underline;
}

.page-gdpr__faq-list {
    margin-top: 30px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08); /* Slightly darker card for FAQ on light-dark background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.page-gdpr__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    position: relative;
}

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

.page-gdpr__faq-item summary::marker {
    display: none;
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    color: #ffffff;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding-top: 15px;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: clamp(2em, 4vw, 2.8em);
    }

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

    .page-gdpr__hero-content {
        margin-top: -80px;
        padding: 25px;
    }

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 80%;
        margin: 0 auto;
    }

    .page-gdpr__rights-grid,
    .page-gdpr__data-points,
    .page-gdpr__protection-grid,
    .page-gdpr__contact-info {
        grid-template-columns: 1fr;
    }

    .page-gdpr__image-full,
    .page-gdpr__image-centered {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }

    .page-gdpr__hero-content {
        margin-top: -60px; /* Less overlap on mobile */
        padding: 20px;
        max-width: 95%;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.2em) !important;
        margin-bottom: 10px;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
        margin: 0 !important; /* Remove auto margins from 1024px to ensure full width */
    }

    .page-gdpr__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }

    .page-gdpr__paragraph {
        font-size: 0.95em;
    }

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__rights-grid,
    .page-gdpr__data-points,
    .page-gdpr__protection-grid,
    .page-gdpr__contact-info,
    .page-gdpr__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* 其他内容模块 - FAQ */
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    
    .page-gdpr__right-title,
    .page-gdpr__data-point-title,
    .page-gdpr__protection-title,
    .page-gdpr__contact-title {
        font-size: 1.3em;
    }

    .page-gdpr__card {
        padding: 20px;
    }
}