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

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

.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 on top, content below */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green); /* Use a dark green for hero section background */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and text */
}

.page-gdpr__hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px; /* Max width for the hero image */
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px 60px; /* Padding for content, more at bottom */
    color: var(--text-main);
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-gdpr__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    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 */
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-gdpr__btn-secondary:hover {
    background-color: var(--border);
    color: #ffffff;
    transform: translateY(-2px);
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: var(--gold); /* Use gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-gdpr__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

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

.page-gdpr__subsection-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-gdpr__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-gdpr__list-item::before {
    content: '✅'; /* Checkmark emoji */
    position: absolute;
    left: 0;
    color: var(--glow); /* Green checkmark */
    font-size: 1.2em;
    line-height: 1.6;
}

.page-gdpr__list-item a {
    color: var(--glow);
    text-decoration: underline;
}

.page-gdpr__list-item a:hover {
    color: var(--gold);
}

/* Rights Grid */
.page-gdpr__rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--card-bg); /* Card background from custom scheme */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--divider); /* Border from custom scheme */
}

.page-gdpr__card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-gdpr__card-text {
    font-size: 1em;
    color: var(--text-secondary);
    flex-grow: 1;
}

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

/* Contact GDPR Section */
.page-gdpr__contact-info {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    border: 1px solid var(--divider);
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-gdpr__contact-item a {
    color: var(--glow);
    text-decoration: underline;
    font-weight: 600;
}

.page-gdpr__contact-item a:hover {
    color: var(--gold);
}

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

.page-gdpr__faq-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--divider);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green); /* Slightly darker background for summary */
    transition: background-color 0.3s ease;
}

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−'; /* Change to minus when open */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }

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

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

    .page-gdpr__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

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

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-gdpr__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-gdpr__text-block {
        font-size: 1em;
    }

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

    .page-gdpr__card {
        padding: 25px;
    }

    .page-gdpr__card-title {
        font-size: 1.2em;
    }

    .page-gdpr__list-item {
        font-size: 1em;
    }

    .page-gdpr__image-content {
        margin: 30px auto;
    }

    .page-gdpr__contact-info {
        padding: 25px;
        margin: 30px auto;
    }

    .page-gdpr__contact-item {
        font-size: 1em;
    }

    .page-gdpr__faq-question {
        font-size: 1.05em;
        padding: 18px 20px;
    }

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

    /* Mobile image, video, button responsive requirements */
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__rights-grid,
    .page-gdpr__faq-list,
    .page-gdpr__contact-info,
    .page-gdpr__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-gdpr__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically */
    }
}