:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-color); /* Assuming shared body bg is light */
}

/* Fixed header offset - applies to the first content section */
.page-gdpr__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-gdpr__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-gdpr__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-gdpr__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 5%;
    min-height: 600px;
    gap: 40px;
}

.page-gdpr__hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.page-gdpr__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-gdpr__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-gdpr__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.page-gdpr__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-gdpr__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
    padding-top: 60px;
}

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

.page-gdpr__intro-section, 
.page-gdpr__rights-section, 
.page-gdpr__responsible-gambling-section, 
.page-gdpr__faq-section {
    padding: 80px 0;
}

.page-gdpr__principles-section, 
.page-gdpr__data-security-section, 
.page-gdpr__contact-section, 
.page-gdpr__cta-section {
    padding: 80px 0;
}

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

.page-gdpr__card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__dark-bg .page-gdpr__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-gdpr__card-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: inherit;
}

.page-gdpr__card-description {
    font-size: 1em;
    line-height: 1.5;
}

.page-gdpr__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.page-gdpr__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__list-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
}

.page-gdpr__dark-bg .page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-left-color: var(--secondary-color);
}

.page-gdpr__contact-info {
    text-align: center;
    margin: 30px 0;
    font-size: 1.1em;
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
}

.page-gdpr__contact-info a,
.page-gdpr__resources-list a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-gdpr__light-bg .page-gdpr__contact-info a,
.page-gdpr__light-bg .page-gdpr__resources-list a {
    color: var(--primary-color);
}

.page-gdpr__resources-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.page-gdpr__resources-list .page-gdpr__list-item {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 10px 20px;
    border: 1px solid var(--secondary-color);
    background-color: transparent;
    border-radius: 20px;
    font-size: 0.95em;
    color: var(--text-light);
}

.page-gdpr__light-bg .page-gdpr__resources-list .page-gdpr__list-item {
    border-color: var(--primary-color);
    color: var(--text-dark);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: #f5f5f5;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fcfcfc;
    color: var(--text-dark);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

.page-gdpr__btn-primary {
    display: inline-block;
    background-color: var(--register-color); /* Custom color for register/login buttons */
    color: var(--register-login-font-color); /* Custom font color */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-gdpr__btn-primary:hover {
    background-color: #a60707; /* Darken on hover */
}

.page-gdpr__cta-section {
    text-align: center;
    padding: 100px 20px;
}

.page-gdpr__cta-container {
    max-width: 800px;
}

.page-gdpr__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-gdpr__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-light);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-title {
        font-size: 3em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    .page-gdpr__hero-content {
        max-width: 100%;
        text-align: center;
    }
    .page-gdpr__hero-image-wrapper {
        margin-top: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Mobile image adaptation */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video adaptation (if any) */
    .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;
    }
    
    /* Fixed header offset for video section on mobile */
    .page-gdpr__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button adaptation */
    .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;
    }
    
    .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;
    }

    .page-gdpr__hero-section {
        padding: 40px 15px;
        min-height: auto;
    }
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-gdpr__grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card,
    .page-gdpr__list-item {
        padding: 15px;
    }
    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        padding: 0 15px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px;
    }
    .page-gdpr__cta-title {
        font-size: 2em;
    }
    .page-gdpr__cta-description {
        font-size: 1em;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__resources-list .page-gdpr__list-item {
        display: block;
        margin: 10px auto;
    }
}

/* Ensure no filter is used on images */
.page-gdpr img {
    filter: none; /* Explicitly remove any potential filter */
}

/* Content area images must be at least 200px wide/high */
.page-gdpr__content-area img,
.page-gdpr__card-image,
.page-gdpr__hero-image {
    min-width: 200px;
    min-height: 200px;
    /* Ensure display size is not smaller than 200px on mobile */
    @media (max-width: 768px) {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
}