/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--auxiliary-color, #FFFFFF); /* Body background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #017439, #005f2c); /* Darker gradient for hero background */
    color: #ffffff; /* White text for dark background */
    overflow: hidden;
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr__hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Use registration/login font color for emphasis */
}

.page-gdpr__hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    color: #f0f0f0;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Use login/register button color */
    color: #FFFF00; /* Use login/register font color */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__cta-button:hover {
    background: #a50707; /* Darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: 700;
}

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

/* Content Area */
.page-gdpr__content-area {
    padding: 60px 0;
}

.page-gdpr__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-gdpr__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__dark-bg p, .page-gdpr__dark-bg li {
    color: #f0f0f0;
}

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

.page-gdpr__card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card--dark-section {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__card--dark-section .page-gdpr__card-title {
    color: #FFFF00; /* Yellow for card titles on dark background */
}

.page-gdpr__card--dark-section p {
    color: #f0f0f0;
}

.page-gdpr__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-gdpr__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
}

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

.page-gdpr__right-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-gdpr__right-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-gdpr__right-item h3 {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

/* Data Protection List */
.page-gdpr__protection-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-gdpr__protection-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-gdpr__protection-list li strong {
    color: #FFFF00;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 1.1em;
}

.page-gdpr__protection-list li img {
     /* Small icon-like image, but still > 200px. Adjusting to fit design */
    
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}


/* Contact Info */
.page-gdpr__contact-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
}

.page-gdpr__contact-info a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-gdpr__contact-info a:hover {
    color: #FFD700;
}

.page-gdpr__link-white {
    color: #FFFF00; /* Yellow for links on dark background */
}
.page-gdpr__link-white:hover {
    color: #FFD700;
}

/* CTA Buttons Group */
.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-gdpr__btn-primary {
    background: #C30808; /* Registration/Login button color */
    color: #FFFF00; /* Registration/Login font color */
    border: 2px solid #C30808;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__btn-primary:hover {
    background: #a50707;
    border-color: #a50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: #017439;
    border: 2px solid #017439;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__btn-secondary:hover {
    background: #f0f0f0;
    border-color: #005f2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

/* FAQ容器样式 */
.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: #fff; /* Ensure FAQ items have a light background for contrast */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}