/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
    background-color: #F5F7FA; /* Background color as specified */
}

/* Smart text color selection based on inferred body background (unknown, so default to light-bg text) */
.page-gdpr p,
.page-gdpr li,
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3 {
    color: #333333;
}

/* HERO Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0 40px; /* Approximately 10px top padding */
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-gdpr__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-gdpr__hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
}

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

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #E53935; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #FF5A4F; /* Brand accent color */
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.page-gdpr__list-item {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333333;
}

/* Dark Section */
.page-gdpr__dark-section {
    background: #E53935;
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__sub-title,
.page-gdpr__dark-section .page-gdpr__text-block,
.page-gdpr__dark-section .page-gdpr__list-item {
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__illustration-image {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Image Styles */
.page-gdpr__illustration-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Button Styles */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure buttons adapt */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    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: #f0f0f0;
    color: #E53935;
    transform: translateY(-2px);
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container adapts */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__center-content {
    text-align: center;
}

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

.page-gdpr__right-card {
    background-color: #FFFFFF; /* Card BG color */
    border: 1px solid #E0E0E0; /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.page-gdpr__right-card .page-gdpr__card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-gdpr__right-card .page-gdpr__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #E53935;
    margin-bottom: 10px;
}

.page-gdpr__right-card .page-gdpr__card-description {
    font-size: 1rem;
    color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-gdpr__hero-description {
        font-size: 1.1rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

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

    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-gdpr__hero-title {
        font-size: 2rem !important;
    }
    .page-gdpr__hero-description {
        font-size: 1rem !important;
    }
    .page-gdpr__hero-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    /* 产品展示图区域 - N/A for GDPR page, but include placeholder for general structure */
    /* .page-gdpr__products-section, .page-gdpr__products-grid { ... } */

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__right-card,
    .page-gdpr__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* 按钮与按钮容器 */
    .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;
    }

    .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;
    }

    /* 其他内容模块 */
    .page-gdpr__section-title {
        font-size: 1.8rem !important;
    }
    .page-gdpr__sub-title {
        font-size: 1.3rem !important;
    }
    .page-gdpr__rights-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__right-card {
        padding: 20px;
    }
}