.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #333333); /* Default text color for light backgrounds */
    background-color: var(--page-bg, #F5F7FA); /* From shared.css */
}

/* Color contrast enforcement based on body background (assuming light background for general text) */
.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: var(--text-main, #333333);
}

.page-gdpr__dark-section {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); /* Using brand colors for a dark section */
    color: #ffffff; /* White text for dark background */
}

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

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

.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
    margin-bottom: 40px;
    text-align: center;
}

.page-gdpr__hero-image {
    margin-bottom: 20px;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #ffffff; /* Explicitly light background for content */
    margin: -60px auto 0; /* Overlap with image slightly for design effect */
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.page-gdpr__main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-main, #333333);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: var(--text-main, #333333);
}

.page-gdpr__intro-text--white {
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-main, #333333);
}

.page-gdpr__section-title--white {
    color: #ffffff;
}

.page-gdpr__sub-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #E53935; /* Brand color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__content-block {
    margin-bottom: 30px;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-gdpr__list--ordered {
    list-style: decimal;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    color: var(--text-main, #333333);
}

.page-gdpr__dark-section .page-gdpr__list li {
    color: #ffffff;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

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

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

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

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

.page-gdpr__btn-secondary--white:hover {
    background: #ffffff;
    color: #E53935;
}

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

.page-gdpr__card {
    background-color: #FFFFFF;
    color: var(--text-main, #333333);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color, #E0E0E0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-gdpr__card--dark-bg {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.25em;
    font-weight: bold;
    color: #E53935; /* Brand color for card titles */
    margin-bottom: 10px;
}

.page-gdpr__card--dark-bg .page-gdpr__card-title {
    color: #ffffff;
}

.page-gdpr__card-text--white {
    color: #ffffff;
}

.page-gdpr__image-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

.page-gdpr__image-wrapper--center {
    text-align: center;
}

.page-gdpr__image-full,
.page-gdpr__image-cover,
.page-gdpr__image-center,
.page-gdpr__image-contact {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-gdpr__link {
    color: #E53935;
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #FF5A4F;
}

.page-gdpr__link-white {
    color: #ffffff;
    text-decoration: underline;
}

.page-gdpr__link-white:hover {
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        max-width: 95%;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 30px;
    }
    .page-gdpr__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__hero-content {
        padding: 20px;
        margin: -40px auto 0;
        max-width: calc(100% - 30px) !important; /* Adjust for padding in container */
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.2em);
        margin-bottom: 10px;
    }
    .page-gdpr__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__section {
        padding: 30px 0;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-gdpr__list {
        margin-left: 15px;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr; /* Single column for grids */
        gap: 15px;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        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: 10px 15px;
    }
    .page-gdpr__card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-gdpr__section-title {
        font-size: 1.3em;
    }
    .page-gdpr__hero-content {
        margin: -30px auto 0;
    }
}