: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 .page-gdpr container, assuming body has a dark background from shared.css */
.page-gdpr {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background); /* #08160F */
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure some space above footer */
}

/* Section styling */
.page-gdpr__section {
    padding: 60px 0;
    position: relative;
}

.page-gdpr__section--intro,
.page-gdpr__section--principles,
.page-gdpr__section--your-rights,
.page-gdpr__section--security-measures,
.page-gdpr__section--contact,
.page-gdpr__section--faq,
.page-gdpr__section--conclusion {
    background-color: var(--background); /* #08160F */
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--background);
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image wrapper */
    margin-bottom: 30px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

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

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

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

.page-gdpr__text-block {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Card Grid */
.page-gdpr__card-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); /* #11271B */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--text-main);
    border: 1px solid var(--border); /* #2E7A4E */
}

.page-gdpr__card-title {
    font-size: 1.4rem;
    color: var(--glow); /* #57E38D */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__card-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Example max height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-gdpr__card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.page-gdpr__list-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.page-gdpr__list-title {
    font-size: 1.3rem;
    color: var(--glow);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-gdpr__list-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

.page-gdpr__cta-buttons--center {
    justify-content: center;
}

.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: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    text-align: center;
}

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

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: var(--glow); /* #57E38D */
    border: 2px solid var(--glow);
}

.page-gdpr__btn-secondary:hover {
    background: var(--glow);
    color: var(--deep-green); /* #0A4B2C */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Content Images */
.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    max-width: 800px; /* Example max-width for content images */
    min-width: 200px;
    min-height: 200px;
}

/* 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: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-gdpr__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--deep-green); /* #0A4B2C */
    transition: background-color 0.3s ease;
}

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

.page-gdpr__faq-item summary:hover {
    background-color: var(--deep-green); /* Darker on hover */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
    color: var(--glow);
}

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

.page-gdpr__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--card-bg);
}

/* Conclusion Section */
.page-gdpr__section--conclusion {
    text-align: center;
}

/* Highlight for keywords */
.page-gdpr .highlight {
    color: var(--gold);
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-gdpr__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    .page-gdpr__card-title {
        font-size: 1.25rem;
    }
    .page-gdpr__list-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__hero-section {
        padding-bottom: 30px;
    }
    .page-gdpr__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-gdpr__hero-description {
        font-size: 1rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-gdpr__card-grid,
    .page-gdpr__principles-list,
    .page-gdpr__security-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-gdpr__card,
    .page-gdpr__list-item {
        padding: 20px;
    }
    .page-gdpr__card-image,
    .page-gdpr__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding for mobile buttons */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image and video specific rules */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* No video section on this page, but including general video responsive rules as per prompt */
    .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;
    }
    .page-gdpr__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

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

/* Content area images CSS dimensions check */
.page-gdpr__content-area img,
.page-gdpr__card img {
    min-width: 200px;
    min-height: 200px;
}