/* General styles for the GDPR page */
.page-gdpr {
    background-color: #B71C1C; /* Custom Background color */
    color: #FFF5E1; /* Custom Text Main color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-gdpr__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #B71C1C; /* Custom Background color */
}

.page-gdpr__hero-image {
    margin-bottom: 20px;
}

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

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

.page-gdpr__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: #FFD86A; /* Gold for prominence */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF5E1; /* Custom Text Main color */
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="button"],
.page-gdpr a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button gradient */
    color: #333333; /* Dark text for contrast on light gold */
    border: none;
}

.page-gdpr__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gdpr__btn-secondary {
    background: #D32F2F; /* Card BG for secondary button */
    color: #FFF5E1; /* Text Main color */
    border: 2px solid #F2B544; /* Custom Border color */
}

.page-gdpr__btn-secondary:hover {
    background: #7A0E0E; /* Deep Red on hover */
    border-color: #FFCC66; /* Glow color on hover */
    transform: translateY(-2px);
}

/* Content Sections */
.page-gdpr__content-section {
    padding: 40px 0;
}

.page-gdpr__dark-section {
    background-color: #D32F2F; /* Card BG color for dark sections */
    color: #FFF5E1; /* Text Main color */
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: #FFD86A; /* Gold for prominence */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-gdpr__sub-title {
    font-size: 1.8em;
    color: #F4D34D; /* Gold color for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main color */
}

.page-gdpr__text-block ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-gdpr__text-block li {
    margin-bottom: 10px;
    color: #FFF5E1; /* Text Main color */
}

.page-gdpr__text-link {
    color: #FFD86A; /* Gold for links */
    text-decoration: underline;
}

.page-gdpr__text-link:hover {
    color: #FFCC66; /* Glow color on hover */
    text-decoration: none;
}

/* Image Section */
.page-gdpr__image-section {
    padding: 20px 0;
    text-align: center;
    background-color: #B71C1C; /* Background color */
}

.page-gdpr__content-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px; /* Max width for content images */
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 40px 0;
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
}

.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-gdpr__faq-item {
    background-color: #7A0E0E; /* Deep Red for FAQ item background */
    border: 1px solid #F2B544; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #FFD86A; /* Gold for FAQ questions */
    list-style: none; /* Remove default marker for details summary */
}

.page-gdpr__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-gdpr__faq-question::marker {
    display: none; /* Hide default marker for other browsers */
}

.page-gdpr__faq-qtext {
    flex-grow: 1;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
    color: #FFD86A; /* Gold for FAQ toggle */
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or similar */
}

.page-gdpr__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
    color: #FFF5E1; /* Text Main color */
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .page-gdpr {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-gdpr__container,
    .page-gdpr__hero-section,
    .page-gdpr__content-section,
    .page-gdpr__image-section,
    .page-gdpr__faq-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Smaller H1 on mobile */
        margin-bottom: 15px;
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .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;
        padding: 12px 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

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

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