/* style/gdpr.css */

.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #FFFFFF;
}

.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, relies on shared body padding-top */
    padding-bottom: 40px;
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.page-gdpr__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #555555;
}

.page-gdpr__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background-color: #C30808; /* Register color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #005f2e;
    border-color: #005f2e;
}

.page-gdpr__section {
    padding: 60px 0;
}

.page-gdpr__commitment-section,
.page-gdpr__data-collection-section,
.page-gdpr__cookie-policy-section,
.page-gdpr__updates-section {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__rights-section,
.page-gdpr__security-section,
.page-gdpr__contact-section,
.page-gdpr__conclusion-section {
    background-color: #017439;
    color: #ffffff;
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #017439;
}

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

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

.page-gdpr__sub-title--light {
    color: #ffffff;
}

.page-gdpr__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-gdpr__paragraph--light {
    color: #f0f0f0;
}

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

.page-gdpr__list--light {
    list-style-type: none;
    margin-left: 0;
}

.page-gdpr__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-gdpr__list--light .page-gdpr__list-item {
    color: #f0f0f0;
    padding-left: 25px;
    position: relative;
}

.page-gdpr__list--light .page-gdpr__list-item::before {
    content: '•';
    color: #FFFF00; /* Highlight bullet points */
    position: absolute;
    left: 0;
    top: 0;
}

.page-gdpr__text-link {
    color: #017439;
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__text-link:hover {
    color: #005f2e;
}

.page-gdpr__image-inline {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }

    .page-gdpr__intro-text {
        font-size: 1.2em;
    }

    .page-gdpr__section-title {
        font-size: 2em;
    }

    .page-gdpr__sub-title {
        font-size: 1.6em;
    }

    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 1em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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

    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-gdpr__hero-image-wrapper {
        padding: 0 15px; /* Add padding to prevent image touching edges */
    }

    .page-gdpr__hero-image {
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        height: auto !important;
        max-height: none !important;
        aspect-ratio: unset !important;
    }

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

    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-gdpr__intro-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__paragraph,
    .page-gdpr__list-item {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

    .page-gdpr__list--light .page-gdpr__list-item {
        padding-left: 20px;
    }

    .page-gdpr__list--light .page-gdpr__list-item::before {
        left: -5px;
    }

    .page-gdpr__image-inline {
        margin: 30px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* General image and container responsiveness for content area */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}