/* style/gdpr.css */

/* Base Styles */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #FFFFFF; /* Default body background is white */
}

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

.page-gdpr__article-wrap {
    max-width: 960px; /* Max width for long-form content */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top Section (Hero/Title) */
.page-gdpr__top-section {
    background-color: #F0F8FF; /* Light blue background for top section */
    padding: 40px 0 60px;
    text-align: center;
    padding-top: 10px; /* Assuming shared.css handles body padding-top */
}

.page-gdpr__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__lead-text {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555555;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-gdpr__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0f4ff;
    color: #26A9E0;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-gdpr__sub-section-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr a:hover {
    text-decoration: none;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #333333;
}

.page-gdpr__list li {
    margin-bottom: 8px;
}

.page-gdpr__image-figure {
    margin: 30px 0;
    text-align: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.page-gdpr__image-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
}

.page-gdpr__image-caption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-gdpr__contact-info {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border: 1px solid #e0e0e0;
}

.page-gdpr__contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-gdpr__last-updated {
    text-align: right;
    font-style: italic;
    color: #777777;
    margin-top: 50px;
    font-size: 0.9em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.5em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-section-title {
        font-size: 1.4em;
    }
    .page-gdpr__lead-text {
        font-size: 1.1em;
    }
    .page-gdpr__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-gdpr__article-wrap {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-gdpr__top-section {
        padding: 25px 0 40px;
        padding-top: 10px !important; /* Enforce 10px top padding for mobile */
    }
    .page-gdpr__main-title {
        font-size: 2em;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    .page-gdpr__lead-text {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
    }
    .page-gdpr__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px; /* Adjust padding for mobile buttons */
        font-size: 1em;
    }

    /* 2. Single column long text container */
    .page-gdpr__content-section {
        padding: 40px 0;
    }
    .page-gdpr__article-wrap,
    .page-gdpr__container,
    .page-gdpr__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-gdpr__sub-section-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-gdpr p,
    .page-gdpr__list li {
        font-size: 0.95em;
    }
    .page-gdpr__contact-info {
        padding: 20px;
    }
    .page-gdpr__contact-info p {
        font-size: 1em;
    }

    /* 3. Generic images and figure */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__image-figure {
        margin: 20px 0;
        padding: 10px;
    }
    .page-gdpr__image-caption {
        font-size: 0.85em;
    }

    /* 4. Buttons and button containers - already covered in top section, but generic for safety */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Ensure buttons stack */
        gap: 10px;
    }
    /* All .page-gdpr a[class*="btn"] and similar covered by .page-gdpr__btn above */

    /* 5. (No specific registration tutorial/FAQ accordion for this page, so no specific rules here) */
    /* If FAQ was present as h3 paragraphs, ensure readable font-size/line-height. */
}