:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --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;
}

/* Global styles for the page-gdpr scope */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Using custom color var, which is #F2FFF6 */
    background: var(--background); /* Using custom color var, which is #08160F */
    padding-bottom: 60px; /* Add some padding at the bottom for overall page */
}

/* 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: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background: var(--background); /* Match overall background */
    text-align: center;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width on larger screens */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main); /* Light text on dark background */
}

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

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary); /* Lighter text for description */
}

.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button fits container */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main color */
    border: 2px solid transparent;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4); /* Glow effect */
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--text-main); /* Text Main color */
    border: 2px solid var(--border); /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background: rgba(46, 122, 78, 0.2); /* Deep Green with transparency */
    color: var(--glow); /* Glow color for text */
    border-color: var(--glow);
}

/* General Section Styles */
.page-gdpr__section {
    padding: 60px 0;
    background: var(--background); /* Match overall background */
    color: var(--text-main); /* Light text on dark background */
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-gdpr__text-block strong {
    color: var(--text-main);
}

.page-gdpr__text-block a {
    color: var(--glow); /* Use glow color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__text-block a:hover {
    color: var(--gold); /* Gold on hover for links */
}

/* List Styles */
.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background: var(--card-bg); /* Card BG color */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    color: var(--text-main); /* Light text on dark card background */
}

.page-gdpr__list-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--glow); /* Use glow color for list titles */
}

.page-gdpr__list-item p {
    font-size: 0.95em;
    color: var(--text-secondary);
}

/* Contact List Styles */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-gdpr__contact-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.page-gdpr__contact-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--glow);
}

.page-gdpr__contact-item p {
    font-size: 1em;
    color: var(--text-secondary);
}

.page-gdpr__contact-item a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* FAQ Section */
.page-gdpr__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-main);
    background: var(--card-bg);
    transition: background 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-gdpr__faq-question:hover {
    background: rgba(46, 122, 78, 0.1); /* Slightly lighter hover for card background */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--glow); /* FAQ question text in glow color */
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold); /* Toggle icon in gold color */
}

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: var(--text-secondary);
    max-height: 0; /* Hidden by default for JS fallback */
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

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

.page-gdpr__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

/* Conclusion Section */
.page-gdpr__conclusion {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-gdpr__cta-buttons--bottom {
    margin-top: 40px;
}

/* --- Responsive Design --- */

/* All images must be responsive */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All video elements must be responsive */
.page-gdpr video,
.page-gdpr__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* All video containers must be responsive */
.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-gdpr__hero-title {
        font-size: 2em; /* Smaller H1 for mobile */
    }

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

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !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: 30px;
    }

    .page-gdpr__list {
        grid-template-columns: 1fr; /* Single column for lists on mobile */
        gap: 20px;
    }

    .page-gdpr__contact-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    /* Mobile specific image and video handling */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-gdpr video,
    .page-gdpr__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .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;
    }

    /* Ensure content containers also respect mobile width */
    .page-gdpr__introduction,
    .page-gdpr__principles,
    .page-gdpr__rights,
    .page-gdpr__data-protection,
    .page-gdpr__cookies,
    .page-gdpr__contact,
    .page-gdpr__faq,
    .page-gdpr__conclusion {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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