:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
}

.page-gdpr__section {
    padding: 60px 0;
    position: relative;
}

.page-gdpr__section--intro,
.page-gdpr__section--data-collection,
.page-gdpr__section--data-protection,
.page-gdpr__section--user-rights,
.page-gdpr__section--cookies,
.page-gdpr__section--dpo-contact,
.page-gdpr__section--updates,
.page-gdpr__section--faq {
    background-color: var(--deep-navy); /* Dark background for sections */
}


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

.page-gdpr__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-gdpr__subsection-title {
    font-size: clamp(22px, 2.5vw, 30px);
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr__content-block p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-gdpr__content-block a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-gdpr__content-block a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-gdpr__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-gdpr__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-gdpr__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
}

.page-gdpr__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* HERO Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy); /* Ensure hero background is dark */
}

.page-gdpr__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-gdpr__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-gdpr__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-gdpr__main-title {
    font-size: clamp(32px, 4vw, 56px);
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__hero-description {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-gdpr__last-updated {
    text-align: right;
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 40px;
    font-size: 14px;
}

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

details.page-gdpr__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-weight: 600;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
    display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
    background: rgba(var(--primary-color), 0.2);
}
.page-gdpr__faq-qtext {
    flex: 1;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
}
.page-gdpr__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
    padding: 0 25px 20px;
    background: var(--card-bg);
    border-radius: 0 0 8px 8px;
    color: var(--text-secondary);
}
details.page-gdpr__faq-item .page-gdpr__faq-answer p {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__section {
        padding: 50px 0;
    }
    .page-gdpr__section-title {
        font-size: clamp(26px, 4vw, 38px);
    }
    .page-gdpr__subsection-title {
        font-size: clamp(20px, 2.5vw, 28px);
    }
}

@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__hero-image {
        margin-bottom: 20px;
        border-radius: 4px;
    }
    .page-gdpr__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }
    .page-gdpr__hero-description {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 25px;
    }
    .page-gdpr__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
        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;
    }

    /* Images responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gdpr__faq-item {
        border-radius: 4px;
    }
    details.page-gdpr__faq-item summary.page-gdpr__faq-question {
        padding: 15px;
        font-size: 16px;
    }
    .page-gdpr__faq-qtext {
        font-size: 15px;
    }
    .page-gdpr__faq-toggle {
        font-size: 24px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-gdpr__faq-item .page-gdpr__faq-answer {
        padding: 0 15px 15px;
    }
    .page-gdpr__list li {
        padding-left: 20px;
    }
    .page-gdpr__list li::before {
        font-size: 14px;
    }
}