:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey/Black */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #1A1A1A;
    --border-color: #e0e0e0;
}

.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Light text on dark body background */
    background-color: var(--bg-dark); /* Ensure consistency if body background is not inherited */
}

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

/* HERO Banner */
.page-gdpr__hero-banner {
    position: relative;
    padding: 80px 0; /* Adjust as needed, but header offset handled by body */
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
    padding-top: 0; /* Important: shared.css already sets body padding-top */
    margin-top: 0;
}

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

.page-gdpr__main-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-gdpr__intro-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* General Section Styling */
.page-gdpr__principles-section,
.page-gdpr__rights-section,
.page-gdpr__data-processing-section,
.page-gdpr__cookies-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--bg-dark); /* Ensure sections have dark background */
}

.page-gdpr__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-gdpr__section-description {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-gdpr__text-block {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Principles Section */
.page-gdpr__principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__principle-card {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-gdpr__principle-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.1);
}

.page-gdpr__principle-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
}

.page-gdpr__principle-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__principle-text {
    font-size: 15px;
    color: var(--text-light);
}

/* Rights Section */
.page-gdpr__rights-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.page-gdpr__right-item {
    background: rgba(255, 255, 255, 0.08);
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-gdpr__right-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__right-text {
    font-size: 15px;
    color: var(--text-light);
}

.page-gdpr__cta-box {
    background: var(--primary-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 60px;
    color: var(--text-dark); /* Dark text on gold background */
}

.page-gdpr__cta-text {
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--text-dark);
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    border: 2px solid transparent;
}

.page-gdpr__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-gdpr__btn-primary:hover {
    background: #000000;
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Data Processing Section */
.page-gdpr__data-processing-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-gdpr__data-point {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.05);
}

.page-gdpr__data-point-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-gdpr__data-point-text {
    font-size: 15px;
    color: var(--text-light);
}

.page-gdpr__data-processing-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Cookies Section */
.page-gdpr__cookie-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-gdpr__cookie-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-gdpr__cookie-list strong {
    color: var(--primary-color);
}

.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-gdpr__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Contact Section */
.page-gdpr__contact-info {
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
}

.page-gdpr__contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-info a:hover {
    text-decoration: underline;
}

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

.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-gdpr__faq-question:hover {
    background: rgba(255, 215, 0, 0.1);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: var(--primary-color);
}

.page-gdpr__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    color: var(--text-light);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.03);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    border-radius: 0 0 5px 5px;
}

.page-gdpr__faq-answer p a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-gdpr__faq-answer p a:hover {
    text-decoration: underline;
}

/* Global image styles */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Global button styles */
.page-gdpr__cta-button,
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="button"],
.page-gdpr a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Global button container styles */
.page-gdpr__cta-buttons,
.page-gdpr__button-group,
.page-gdpr__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}


/* --- Responsive Styles --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 40px;
    }

    .page-gdpr__section-title {
        font-size: 30px;
    }

    .page-gdpr__principles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

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

    .page-gdpr__data-processing-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* HERO Section */
    .page-gdpr__hero-banner {
        padding: 40px 0;
        padding-top: 0 !important; /* Ensure no double padding from shared.css */
    }

    .page-gdpr__hero-content {
        padding: 0 15px;
    }

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

    .page-gdpr__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Section titles and descriptions */
    .page-gdpr__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-gdpr__section-description {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__data-processing-section,
    .page-gdpr__cookies-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        padding: 40px 0;
    }

    /* Principles Grid */
    .page-gdpr__principles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__principle-card {
        padding: 20px;
    }

    .page-gdpr__principle-title {
        font-size: 20px;
    }

    .page-gdpr__principle-text {
        font-size: 14px;
    }

    /* Rights List */
    .page-gdpr__rights-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-gdpr__right-item {
        padding: 20px;
    }

    .page-gdpr__right-title {
        font-size: 18px;
    }

    .page-gdpr__right-text {
        font-size: 14px;
    }

    /* CTA Box */
    .page-gdpr__cta-box {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .page-gdpr__cta-text {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Data Processing */
    .page-gdpr__data-processing-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__data-point-title {
        font-size: 18px;
    }

    .page-gdpr__data-point-text {
        font-size: 14px;
    }

    .page-gdpr__data-processing-image {
        margin-top: 30px;
    }

    /* Cookies Section */
    .page-gdpr__cookie-list {
        padding-left: 20px;
        font-size: 14px;
    }

    .page-gdpr__cookie-list li {
        font-size: 14px;
    }

    .page-gdpr__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Contact Section */
    .page-gdpr__contact-info {
        font-size: 14px;
    }

    /* FAQ Section */
    .page-gdpr__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-gdpr__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-gdpr__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

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

    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px !important;
    }

    /* General responsive image styles */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Responsive for any container that holds images or could overflow */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__principles-section,
    .page-gdpr__rights-section,
    .page-gdpr__data-processing-section,
    .page-gdpr__cookies-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section {
        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 */
    }

    /* Mobile buttons */
    .page-gdpr__cta-button,
    .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__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}