/* gdpr.css */

.page-gdpr {
    background-color: #140C0C;
    color: #FFF1E8;
    font-family: Arial, sans-serif; /* Roboto气质 - Arial is a common sans-serif */
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some padding at the bottom */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Ensure body padding-top is handled by shared.css */
/* .page-gdpr { padding-top: var(--header-offset, 122px); } - This is only if shared.css doesn't have it, but the prompt says shared.css must have it. So, just small top padding for first section. */

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile-first, then row for desktop */
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, then generous bottom padding */
    background-color: #140C0C; /* Consistent background */
    min-height: clamp(420px, 50vw, 600px); /* Responsive height */
    position: relative; /* For potential absolute positioning of content later, but not overlapping image */
    justify-content: center;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100%; /* Ensure it takes full width of its container */
    margin-bottom: 20px; /* Space between image and text on mobile */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any potential background layer if any */
    position: relative;
    padding: 0 15px; /* Inner padding for text content */
}

.page-gdpr__main-title {
    font-size: clamp(1.8rem, 4vw, 3rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    color: #FFF1E8;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.page-gdpr__intro-text {
    font-size: 1.1rem;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 150px;
    text-align: center;
    min-height: 44px; /* Touch target size */
}

.page-gdpr__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__section {
    padding: 40px 20px;
    margin-bottom: 20px;
    background-color: #140C0C;
    border-top: 1px solid #2A1212; /* Subtle separator */
}

.page-gdpr__section--intro {
    padding-top: 20px; /* Less padding if hero already has a lot */
}

.page-gdpr__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    color: #F3C54D; /* Gold for section titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-gdpr__paragraph {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: justify;
    color: #FFF1E8;
}

.page-gdpr__content-grid,
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 30px auto;
}

.page-gdpr__card,
.page-gdpr__right-card {
    background-color: #2A1212; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #6A1E1E; /* Border color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-gdpr__card:hover,
.page-gdpr__right-card:hover {
    transform: translateY(-5px);
}

.page-gdpr__card-title,
.page-gdpr__right-title {
    font-size: 1.3rem;
    color: #E53030; /* Auxiliary color for card titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-gdpr__card-text,
.page-gdpr__right-description {
    font-size: 1rem;
    color: #FFF1E8;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
    object-fit: cover;
}

.page-gdpr__image--centered {
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list {
    max-width: 800px;
    margin: 30px auto;
    list-style: disc; /* Default disc style */
    padding-left: 25px;
    color: #FFF1E8;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #FFF1E8;
}

.page-gdpr__contact-link {
    color: #FFB04A; /* Gold-ish for links */
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-gdpr__contact-link:hover {
    color: #F3C54D; /* Lighter gold on hover */
    text-decoration: underline;
}

.page-gdpr__last-updated {
    text-align: center;
    font-size: 0.9rem;
    color: #C61F1F; /* Main color for subtle info */
    margin-top: 40px;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-gdpr__hero-section {
        flex-direction: row; /* Image and text side-by-side on desktop */
        justify-content: space-around;
        align-items: center;
        text-align: left;
        padding: 40px 60px;
        min-height: 600px; /* Larger min-height for desktop hero */
    }

    .page-gdpr__hero-image {
        width: 50%;
        max-width: 800px; /* Limit image width */
        margin-right: 40px;
        margin-bottom: 0;
    }

    .page-gdpr__hero-content {
        width: 45%;
        max-width: 600px;
        margin: 0;
        padding: 0;
    }

    .page-gdpr__main-title {
        text-align: left;
    }

    .page-gdpr__intro-text {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .page-gdpr__cta-button {
        margin-left: 0;
    }

    .page-gdpr__paragraph {
        text-align: left;
    }
}

/* Mobile specific rules for images to prevent overflow */
@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100%;
        height: auto;
    }
    .page-gdpr__hero-section {
        padding: 10px 15px 30px;
    }
    .page-gdpr__hero-image {
        margin-bottom: 15px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust clamp for smaller screens */
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-gdpr__content-grid,
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}

/* Further mobile adjustments for very small screens */
@media (max-width: 549px) {
    .page-gdpr__hero-section {
        padding: 10px 10px 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.6rem, 9vw, 2.2rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.2rem, 7vw, 1.8rem);
    }
    .page-gdpr__cta-button {
        width: 100%;
        max-width: 280px; /* Constrain width for very small screens */
        margin-left: auto;
        margin-right: auto;
    }
}