/* style/gdpr.css */

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, but explicit for clarity */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px);
    background-color: #017439; /* Brand primary color for hero background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

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

.page-gdpr__container--center {
    text-align: center;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom font color for main title */
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-gdpr__hero-image-wrapper {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

/* CTA Buttons */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005a2e;
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Use white background for main content for readability */
    color: #333333; /* Dark text for light background */
}

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

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

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #017439; /* Brand primary color for titles */
    text-align: center;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #017439; /* Brand primary color for sub-titles */
}

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

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-gdpr__list--numbered {
    list-style: decimal;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
}

.page-gdpr__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-gdpr__contact-item a {
    color: #017439;
    text-decoration: underline;
}

.page-gdpr__contact-item a:hover {
    color: #005a2e;
}

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

.page-gdpr__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-gdpr__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #017439;
    background-color: #e8f5e9;
}

.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #017439;
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    background-color: #fcfcfc;
}

/* CTA Section at bottom */
.page-gdpr__cta-section {
    padding: 80px 20px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
}

.page-gdpr__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

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

    .page-gdpr__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-gdpr__main-title {
        font-size: 2em;
        line-height: 1.3;
    }

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

    .page-gdpr__content-section {
        padding: 40px 0;
    }

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

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

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

    .page-gdpr__paragraph,
    .page-gdpr__list-item,
    .page-gdpr__contact-item,
    .page-gdpr__faq-item summary,
    .page-gdpr__faq-answer p {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        margin: 10px 0 !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__cta-section {
        padding: 50px 15px;
    }

    .page-gdpr__cta-title {
        font-size: 1.8em;
    }

    .page-gdpr__cta-description {
        font-size: 1em;
    }

    /* FAQ item responsiveness */
    .page-gdpr__faq-item {
        margin-left: 0;
        margin-right: 0;
    }
    .page-gdpr__faq-item summary {
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.6em;
    }
    .page-gdpr__cta-title {
        font-size: 1.6em;
    }
}

/* Ensure no filter on images */
.page-gdpr img {
    filter: none !important;
}

/* Content area image CSS dimensions lower bound */
.page-gdpr__content-image,
.page-gdpr__hero-image {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast Fixes - if needed, but primary design should ensure contrast */
.page-gdpr__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-gdpr__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}