/* style/gdpr.css */

.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, though body is default white */
}

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

.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f0f8ff; /* Light blue background for hero */
    text-align: center;
    box-sizing: border-box;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 1920px; /* Ensure image scales down */
    margin: 0 auto;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.2rem;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a8ac7;
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem); /* Responsive font size */
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-gdpr__dark-section {
    background-color: #26A9E0; /* Brand color as background */
    color: #FFFFFF; /* White text for contrast */
    padding: 60px 0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFFFFF; /* White title for dark section */
}

.page-gdpr__dark-section .page-gdpr__text-block {
    color: #f0f8ff; /* Light text for dark section paragraphs */
}

.page-gdpr__dark-section a {
    color: #FFFFFF;
    text-decoration: underline;
}

.page-gdpr__intro-section {
    padding: 60px 0;
}

.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__conclusion-section {
    padding: 60px 0;
}

.page-gdpr__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__text-block a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

.page-gdpr__text-block a:hover {
    text-decoration: underline;
}

.page-gdpr__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure image scales down */
    object-fit: cover;
}

.page-gdpr__principle-item,
.page-gdpr__right-item,
.page-gdpr__security-item {
    background-color: #FFFFFF;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__dark-section .page-gdpr__principle-item,
.page-gdpr__dark-section .page-gdpr__right-item,
.page-gdpr__dark-section .page-gdpr__security-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    color: #FFFFFF;
    box-shadow: none;
}

.page-gdpr__dark-section .page-gdpr__principle-title,
.page-gdpr__dark-section .page-gdpr__right-title,
.page-gdpr__dark-section .page-gdpr__security-subtitle {
    color: #FFFFFF;
}

.page-gdpr__principle-title,
.page-gdpr__right-title,
.page-gdpr__security-subtitle {
    font-size: 1.6rem;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__security-list .page-gdpr__security-item {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 25px;
    border-left: 5px solid #26A9E0;
}

.page-gdpr__dark-section .page-gdpr__security-list .page-gdpr__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: #FFFFFF;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 30px;
}

.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: inline-block; /* Center the list items */
    text-align: left;
}

.page-gdpr__contact-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.page-gdpr__contact-list li a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

.page-gdpr__dark-section .page-gdpr__contact-list li a {
    color: #FFFFFF;
}

.page-gdpr__contact-list li a:hover {
    text-decoration: underline;
}

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


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

/* Tablet and below */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 15px;
    }

    .page-gdpr__main-title {
        font-size: clamp(2.2rem, 3.5vw, 3rem);
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    .page-gdpr__principle-title,
    .page-gdpr__right-title,
    .page-gdpr__security-subtitle {
        font-size: 1.4rem;
    }

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

/* Mobile specific styles */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
        margin-bottom: 15px !important;
    }

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

    /* 通用图片与容器 */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__container,
    .page-gdpr__intro-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__contact-section,
    .page-gdpr__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* 深色导语区 (intro section) */
    .page-gdpr__intro-section,
    .page-gdpr__dark-section {
        padding: 40px 15px !important;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        margin-bottom: 20px !important;
    }

    .page-gdpr__text-block {
        font-size: 0.95rem !important;
        margin-bottom: 15px !important;
    }

    /* 按钮与按钮容器 */
    .page-gdpr__hero-cta,
    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px !important; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        text-align: center;
    }

    /* 原则/Quyền/Bảo mật items */
    .page-gdpr__principle-item,
    .page-gdpr__right-item,
    .page-gdpr__security-item {
        padding: 20px !important;
        margin-bottom: 15px !important;
    }

    .page-gdpr__principle-title,
    .page-gdpr__right-title,
    .page-gdpr__security-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }

    .page-gdpr__contact-list {
        padding-left: 0 !important;
        text-align: center !important; /* Center the list on mobile */
    }
    .page-gdpr__contact-list li {
        font-size: 1rem !important;
    }
}