.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Inherit from shared.css */
}

.page-gdpr__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #26A9E0; /* Brand primary color for hero */
    color: #ffffff;
    text-align: center;
    overflow: hidden; /* For image if needed */
}

.page-gdpr__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #26A9E0; /* Brand primary color */
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0; /* Lighter text for dark sections */
}

.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__compliance-section,
.page-gdpr__dpo-section,
.page-gdpr__user-responsibilities-section,
.page-gdpr__faq-section,
.page-gdpr__video-section,
.page-gdpr__cta-section {
    padding: 60px 20px;
    color: #ffffff; /* Default for dark background */
}

.page-gdpr__intro-section,
.page-gdpr__principles-section,
.page-gdpr__compliance-section,
.page-gdpr__user-responsibilities-section,
.page-gdpr__cta-section {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-gdpr__dark-section {
    background-color: #0d0d0d; /* Darker background for contrast */
    color: #ffffff;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some horizontal padding */
}

.page-gdpr__content-area {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.page-gdpr__content-flex {
    flex-direction: row;
    align-items: flex-start;
}

.page-gdpr__content-flex .page-gdpr__image--left {
    margin-right: 30px;
}

.page-gdpr__content-flex .page-gdpr__image--right {
    margin-left: 30px;
    order: 2; /* Image on right */
}

.page-gdpr__content-flex .page-gdpr__contact-info {
    flex: 1;
}

.page-gdpr__text-block {
    font-size: 1.1em;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-gdpr p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure it behaves as a block element */
}

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

.page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for dark card background */
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand primary color */
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr__list li {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-gdpr__list li strong {
    color: #26A9E0; /* Highlight strong text */
}

.page-gdpr a {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr a:hover {
    color: #EA7C07; /* Login color for hover for contrast */
    text-decoration: underline;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    max-width: 100%; /* For mobile responsiveness */
}

.page-gdpr__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-gdpr__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

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

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

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    list-style: none; /* Remove default marker */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: #f0f0f0;
}

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

/* Video Section */
.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto 20px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
}

.page-gdpr__video-caption {
    text-align: center;
    font-size: 1em;
    margin-top: 10px;
    color: #f0f0f0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

    .page-gdpr__section-description {
        font-size: 0.95em;
    }

    .page-gdpr__content-area {
        flex-direction: column;
    }

    .page-gdpr__content-flex {
        flex-direction: column;
    }

    .page-gdpr__content-flex .page-gdpr__image--left,
    .page-gdpr__content-flex .page-gdpr__image--right {
        margin: 0 0 20px 0;
        order: unset; /* Reset order */
    }

    /* Images */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers and sections */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__grid-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Video containers */
    .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;
    }

    /* Buttons */
    .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;
        margin-right: 0 !important; /* Remove right margin for single column */
    }

    .page-gdpr__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }

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

/* Ensure content area images are not too small */
.page-gdpr__content-area img,
.page-gdpr__dpo-section img {
    min-width: 200px;
    min-height: 200px;
}