/* Colors */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --button-register-login: #C30808;
    --button-register-login-text: #FFFF00;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --link-color: #017439; /* Use primary color for links */
}

.page-gdpr {
    background-color: var(--background-color);
    color: var(--text-color);
    padding-bottom: 40px;
}

.page-gdpr__hero-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding-top: 10px; /* Minimal top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
}

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

.page-gdpr__hero-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 800px;
    margin: 20px auto 20px auto;
    color: var(--secondary-color);
    font-size: clamp(2rem, 5vw, 3.5rem); /* Using clamp for responsive H1 */
}

.page-gdpr__hero-description {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-gdpr__section-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-gdpr h3 {
    color: var(--primary-color);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-gdpr ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-gdpr ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__cta-button {
    display: inline-block;
    background-color: var(--button-register-login);
    color: var(--button-register-login-text);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    text-align: center;
}

.page-gdpr__cta-button:hover {
    background-color: #a30606; /* Darken red on hover */
}

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

.page-gdpr__link {
    color: var(--link-color);
    text-decoration: underline;
}

.page-gdpr__link:hover {
    text-decoration: none;
}

/* Responsive for images and layout */
@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small on mobile */
        min-height: 200px;
    }
    .page-gdpr__hero-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
        padding: 0 15px;
    }
    .page-gdpr__hero-description {
        padding: 0 15px;
        font-size: 1rem;
    }
    .page-gdpr__intro-section,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__security-section,
    .page-gdpr__contact-section {
        padding: 20px 15px;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-gdpr ul {
        margin-left: 20px;
    }
}