.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    background-color: #26A9E0;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-gdpr__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-gdpr__intro {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__principles {
    background-color: #f8f8f8;
    color: #333333;
}

.page-gdpr__rights {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__security {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__gaming-compliance {
    background-color: #f8f8f8;
    color: #333333;
}

.page-gdpr__faq {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-gdpr__contact {
    background-color: #ffffff;
    color: #333333;
}

.page-gdpr__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-gdpr__rights .page-gdpr__section-title,
.page-gdpr__faq .page-gdpr__section-title {
    color: #FFFFFF;
}

.page-gdpr__rights .page-gdpr__section-title::after,
.page-gdpr__faq .page-gdpr__section-title::after {
    background-color: #FFFFFF;
}

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

.page-gdpr__rights .page-gdpr__text-block,
.page-gdpr__faq-answer .page-gdpr__text-block {
    color: #e0e0e0;
}

.page-gdpr__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Principles Section */
.page-gdpr__principles .page-gdpr__text-block {
    text-align: center;
}

.page-gdpr__principle-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #26A9E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__principle-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__principle-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* Rights Section */
.page-gdpr__rights .page-gdpr__text-block {
    text-align: center;
}

.page-gdpr__rights-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr__rights-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.page-gdpr__rights-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr__rights-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.page-gdpr__rights-description {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Security Section */
.page-gdpr__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-gdpr__security-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.page-gdpr__security-item:hover {
    background-color: #e6e6e6;
}

.page-gdpr__security-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-gdpr__security-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* Gaming Compliance Section */
.page-gdpr__gaming-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr__gaming-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid #26A9E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-gdpr__gaming-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-gdpr__gaming-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    color: #FFFFFF;
    font-weight: bold;
}

.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 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 20px;
}

/* Contact Section */
.page-gdpr__contact .page-gdpr__text-block {
    text-align: center;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    margin: 20px 10px; /* Add margin for spacing between buttons */
}

.page-gdpr__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
    box-shadow: 0 4px 10px rgba(234, 124, 7, 0.3);
}

.page-gdpr__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(234, 124, 7, 0.4);
}

.page-gdpr__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.2);
}

.page-gdpr__btn-secondary:hover {
    background-color: #e0f4ff;
    color: #1e87b6;
    border-color: #1e87b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.3);
}

.page-gdpr__contact-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__hero-title {
        font-size: 2.2em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__rights-list,
    .page-gdpr__gaming-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-gdpr__hero-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-gdpr__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

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

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

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

    /* Images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-gdpr__container,
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__principle-item,
    .page-gdpr__rights-item,
    .page-gdpr__security-item,
    .page-gdpr__gaming-item,
    .page-gdpr__faq-item,
    .page-gdpr__faq-list,
    .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;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsive */
    .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;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }
    
    .page-gdpr__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons */
        align-items: center;
        gap: 10px;
    }

    .page-gdpr__principle-item,
    .page-gdpr__rights-item,
    .page-gdpr__security-item,
    .page-gdpr__gaming-item {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-gdpr__principle-title,
    .page-gdpr__rights-title,
    .page-gdpr__security-title,
    .page-gdpr__gaming-title {
        font-size: 1.3em;
    }

    .page-gdpr__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px 20px;
    }
    .page-gdpr__faq-answer .page-gdpr__text-block {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-gdpr__hero-title {
        font-size: 1.5em;
    }
    .page-gdpr__section-title {
        font-size: 1.4em;
    }
    .page-gdpr__principle-title,
    .page-gdpr__rights-title,
    .page-gdpr__security-title,
    .page-gdpr__gaming-title {
        font-size: 1.2em;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}