/* style/gdpr.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

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

.page-gdpr__hero-section {
    background-color: #017439; /* Brand primary color for hero */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-gdpr__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom color for registration/login */
    color: #FFFF00; /* Custom font color for registration/login */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
}

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

.page-gdpr__btn-secondary {
    display: inline-block;
    background-color: #ffffff; /* White background for secondary button */
    color: #017439; /* Brand primary color for text */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #017439;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 20px;
    margin-left: 15px;
}

.page-gdpr__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

.page-gdpr__content-area {
    padding: 60px 0;
}

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

.page-gdpr__dark-section {
    background-color: #1a1a2e;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
    font-weight: bold;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: inherit;
    font-weight: bold;
}

.page-gdpr__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: inherit;
}

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

.page-gdpr__ordered-list {
    list-style: decimal inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

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

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

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items in dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.2); /* Darker background for question */
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0; /* Light text for answer */
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 10px;
}

.page-gdpr__cta-section {
    text-align: center;
    padding: 60px 0;
    background-color: #ffffff;
    color: #333333;
}

/* Link styling for content text */
.page-gdpr__text-block a, .page-gdpr__list-item a {
    color: #017439; /* Brand primary color for links */
    text-decoration: underline;
    font-weight: bold;
}

.page-gdpr__text-block a:hover, .page-gdpr__list-item a:hover {
    color: #005f2e;
}

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

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

    .page-gdpr__subtitle {
        font-size: 1em;
    }

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

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

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-question {
        font-size: 1em;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-gdpr__cta-section .page-gdpr__container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ensure images and videos are responsive */
    .page-gdpr img,
    .page-gdpr video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}