:root {
    --primary-color: #11A84E; /* Main */
    --secondary-color: #22C768; /* Aux */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Ensure body text color is compatible with background */
body {
    background-color: var(--background);
    color: var(--text-main);
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background); /* #08160F */
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Base container for content sections */
.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-gdpr__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up over the image slightly for visual effect, but not *on* the image */
    position: relative; /* To be above image for text-shadow if any */
    z-index: 1;
    background-color: var(--card-bg); /* Dark green background */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.page-gdpr__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-gdpr__text-block {
    font-size: 1rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 20px;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-gdpr__list-item {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color); /* #11A84E */
    font-size: 1rem;
}

.page-gdpr__list-item strong {
    color: var(--gold); /* #F2C14E */
}

/* Image with Text Layout */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-text-block .page-gdpr__image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__image-text-block .page-gdpr__text-content {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__image--full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for primary button */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--primary-color); /* #11A84E */
    border: 2px solid var(--primary-color);
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping */
}

/* Contact Info */
.page-gdpr__contact-info {
    font-style: normal;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-gdpr__contact-info a {
    color: var(--gold); /* #F2C14E */
    text-decoration: none;
}

.page-gdpr__contact-info a:hover {
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--border); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--text-main); /* #F2FFF6 */
    font-weight: bold;
    font-size: 1.1rem;
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color); /* #11A84E */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 1rem;
    max-height: 0; /* For JS-controlled FAQ */
    overflow: hidden; /* For JS-controlled FAQ */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 0;
}

/* Override max-height for native details/summary */
.page-gdpr__faq-item[open] > .page-gdpr__faq-question > .page-gdpr__faq-toggle {
    content: "−";
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }

    .page-gdpr__hero-content {
        margin-top: -80px; /* Adjust for smaller screens */
        padding: 30px 15px;
    }

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

    .page-gdpr__description {
        font-size: 1rem;
    }

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

    .page-gdpr__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item {
        font-size: 0.95rem;
    }

    .page-gdpr__image-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-gdpr__image-text-block--reverse {
        flex-direction: column; /* Ensure it stays column on mobile */
    }

    .page-gdpr__image-text-block .page-gdpr__image,
    .page-gdpr__image-text-block .page-gdpr__text-content {
        min-width: unset;
        width: 100%;
    }

    .page-gdpr__image--full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Images within content areas */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__section, 
    .page-gdpr__card, 
    .page-gdpr__container, 
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive */
    .page-gdpr__cta-button,
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary,
    .page-gdpr a[class*="button"],
    .page-gdpr a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-gdpr__cta-buttons,
    .page-gdpr__button-group,
    .page-gdpr__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-gdpr__faq-answer {
        padding: 0 15px 15px 15px;
    }
}