:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --background-color: #0D0E12; /* Body background */
    --text-main: #FFF3E6; /* Main text color */
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    background-color: var(--background-color);
    overflow: hidden; /* Ensure content does not overflow */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
}

.page-gdpr__description {
    font-size: 1.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

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

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 0 0 5px rgba(255, 140, 26, 0.3);
}

.page-gdpr__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-gdpr__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Buttons */
.page-gdpr__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-gdpr__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.page-gdpr__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-gdpr__inline-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__inline-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Sections */
.page-gdpr__intro-section,
.page-gdpr__rights-section,
.page-gdpr__contact-section,
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-gdpr__principles-section,
.page-gdpr__security-section,
.page-gdpr__cta-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* Darker background for contrast */
}

/* Image and Text Layout */
.page-gdpr__image-and-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-gdpr__image-and-text--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-gdpr__list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-gdpr__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background for list items */
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1em;
    color: var(--text-main);
}

.page-gdpr__list-item strong {
    color: var(--secondary-color);
}

/* Contact List */
.page-gdpr__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-gdpr__contact-item strong {
    color: var(--secondary-color);
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-question {
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--secondary-color);
    line-height: 1;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Changes to minus when open */
}

.page-gdpr__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--text-main);
}

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

/* Details element specific styling for FAQ */
.page-gdpr__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for WebKit browsers */
}

/* CTA Section */
.page-gdpr__cta-content {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__image-and-text {
        flex-direction: column;
    }

    .page-gdpr__image-and-text--reverse {
        flex-direction: column; /* Also stack normally */
    }

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

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 4.5vw, 2.2em);
    }
}

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

    .page-gdpr__hero-section {
        padding: 10px 15px 40px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em) !important;
        margin-bottom: 15px;
    }

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

    .page-gdpr__section-title {
        font-size: clamp(1.3em, 5.5vw, 2em) !important;
        margin-bottom: 25px;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-gdpr__container {
        padding: 0 15px;
    }

    .page-gdpr__intro-section,
    .page-gdpr__rights-section,
    .page-gdpr__contact-section,
    .page-gdpr__faq-section,
    .page-gdpr__principles-section,
    .page-gdpr__security-section,
    .page-gdpr__cta-section {
        padding: 40px 0;
    }

    /* Images responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__image-wrapper,
    .page-gdpr__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Ensure all containing sections/divs for images/buttons/videos are responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__cta-buttons,
    .page-gdpr__image-and-text {
        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 */
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

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

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