:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-background: #08160F; /* Background */
    --color-card-bg: #11271B; /* Card BG */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-glow-rgb: 87, 227, 141; /* RGB for glow effect */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */

    /* Button Gradient */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the GDPR page */
.page-gdpr {
    background-color: var(--color-background); /* Use the specified background color */
    color: var(--color-text-main); /* Main text color for readability on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Ensure headings have good contrast */
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-gdpr h4,
.page-gdpr h5,
.page-gdpr h6 {
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-gdpr h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 900px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr h2 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-gold); /* Use gold for section headings for emphasis */
}

.page-gdpr h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.page-gdpr p {
    margin-bottom: 1em;
    color: var(--color-text-main);
}

.page-gdpr ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--color-text-main);
}

.page-gdpr ul li {
    margin-bottom: 0.5em;
    color: var(--color-text-main);
}

.page-gdpr a {
    color: var(--color-gold); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: var(--color-glow); /* Hover effect */
    text-decoration: underline;
}

/* Layout containers */
.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; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* Distinct background for hero */
    text-align: center;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-gdpr__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--color-gold); /* H1 title color */
}

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

/* Content Area */
.page-gdpr__content-area {
    padding: 40px 0;
    background-color: var(--color-background);
}

.page-gdpr__section {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-divider);
}

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

.page-gdpr__text-block {
    margin-bottom: 20px;
}

/* Images within content */
.page-gdpr__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* FAQ Section */
.page-gdpr__faq-section {
    background-color: var(--color-card-bg); /* Use card background for FAQ section */
    padding: 60px 0;
    color: var(--color-text-main);
}

.page-gdpr__faq-heading {
    margin-bottom: 40px;
    color: var(--color-gold);
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: var(--color-background); /* Darker background for individual FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.page-gdpr__faq-item[open] {
    box-shadow: 0 0 25px rgba(var(--color-glow-rgb), 0.3); /* Add glow effect when open */
    border-color: var(--color-glow);
}

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

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

.page-gdpr__faq-question:hover {
    background-color: var(--color-deep-green);
}

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    color: var(--color-text-secondary);
    font-size: 1em;
    line-height: 1.5;
    background-color: var(--color-background);
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: var(--color-deep-green); /* Deep green background for CTA */
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__cta-heading {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--color-gold);
}

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

/* Button styles */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: var(--color-text-main); /* White text on primary button */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--color-glow-rgb), 0.4);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--color-gold); /* Gold text on secondary button */
    border-color: var(--color-gold);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background); /* Dark text on hover for secondary button */
    transform: translateY(-3px);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }
    .page-gdpr__description {
        font-size: 1.1em;
    }
    .page-gdpr h2 {
        font-size: 2em;
    }
    .page-gdpr h3 {
        font-size: 1.6em;
    }
}

@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, this is decorative */
    }

    .page-gdpr__hero-image {
        margin-bottom: 20px;
    }

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

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

    .page-gdpr h2 {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-gdpr h3 {
        font-size: 1.4em;
    }

    /* All images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All image/content containers responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__faq-section,
    .page-gdpr__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ specific for mobile */
    .page-gdpr__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

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

    /* Button responsive */
    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .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-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.6em;
    }
    .page-gdpr h2 {
        font-size: 1.5em;
    }
    .page-gdpr h3 {
        font-size: 1.2em;
    }
    .page-gdpr__cta-heading {
        font-size: 1.8em;
    }
}