/* style/gdpr.css */

/* Base styles for the page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body var(--black-color) */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px; /* Limit height for aesthetic */
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #26A9E0; /* Brand color for title */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Enhance readability on varying backgrounds */
}

.page-gdpr__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-gdpr__text-block {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

/* Card Grid for GDPR Intro */
.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card-title {
    font-size: 1.4rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__card-text {
    font-size: 1rem;
    color: #e0e0e0;
}

/* General Content Image */
.page-gdpr__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Max width for content images */
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Lists */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 4px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 1.05rem;
    color: #f0f0f0;
}

.page-gdpr__list-item strong {
    color: #26A9E0;
}

/* Rights Grid */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-gdpr__right-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.page-gdpr__right-title {
    font-size: 1.25rem;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__right-description {
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

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

.page-gdpr__contact-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr__contact-link:hover {
    color: #4db8ff;
}

/* Buttons */
.page-gdpr__btn-primary {
    display: inline-block;
    background: #26A9E0;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background-color: #4db8ff;
    border-color: #4db8ff;
}

.page-gdpr__contact-button {
    margin-top: 20px;
}

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 30px;
    margin-bottom: 60px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #26A9E0;
    background-color: rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none; /* Hide default marker */
}

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

.page-gdpr__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-gdpr__faq-item[open] > summary .page-gdpr__faq-toggle {
    content: "−"; /* Change content for open state */
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #e0e0e0;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Call to Action Section */
.page-gdpr__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #26A9E0;
    border-radius: 8px;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-gdpr__cta-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    font-size: 1.2rem;
    padding: 15px 35px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }

    .page-gdpr__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

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

    .page-gdpr__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1rem;
    }

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card-grid,
    .page-gdpr__rights-grid,
    .page-gdpr__contact-info,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Content Area */
    .page-gdpr__content-area {
        padding: 40px 15px;
    }

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-gdpr__text-block {
        font-size: 1rem;
    }

    /* Card Grid */
    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__card-title {
        font-size: 1.2rem;
    }

    /* Rights Grid */
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__right-item {
        padding: 20px;
    }

    .page-gdpr__right-title {
        font-size: 1.1rem;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-button,
    .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-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center text within button on mobile */
    }
    
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex; /* Ensure flex properties apply */
        flex-direction: column; /* Stack buttons vertically */
    }
    
    .page-gdpr__contact-button {
        margin-top: 15px;
    }

    /* FAQ Section */
    .page-gdpr__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* CTA Section */
    .page-gdpr__cta-section {
        padding: 30px 15px;
    }

    .page-gdpr__cta-title {
        font-size: 1.8rem;
    }

    .page-gdpr__cta-description {
        font-size: 1rem;
    }

    .page-gdpr__cta-button {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}