/* style/gdpr.css */

/* Global styles for .page-gdpr scope */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: #1a1a2e; /* Match body background for consistency */
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-width: 100%;
    margin-bottom: 40px; /* Space between image and text */
}

.page-gdpr__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary,
.page-gdpr a[class*="button"],
.page-gdpr a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-gdpr__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-gdpr__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-gdpr__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1e87b7;
    border-color: #1e87b7;
}

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1a1a2e; /* Match body background for consistency */
    color: #ffffff;
}

.page-gdpr__dark-section {
    background-color: #1a1a2e; /* Ensure dark background for this section */
    color: #ffffff; /* Ensure light text for dark background */
}

.page-gdpr__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    margin-bottom: 30px;
    color: #26A9E0;
    text-align: center;
}

.page-gdpr__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-gdpr p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-gdpr__list li {
    margin-bottom: 0.5em;
    color: #f0f0f0;
}

.page-gdpr__list strong {
    color: #26A9E0; /* Highlight important terms */
}

.page-gdpr a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-gdpr a:hover {
    color: #1e87b7;
}

/* Images in content */
.page-gdpr img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none !important; /* Prohibit CSS filters */
}

.page-gdpr__image-content {
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1em;
    color: #26A9E0; /* Question text color */
    cursor: pointer;
    list-style: none; /* Hide default marker for summary */
}

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

.page-gdpr__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #ffffff;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Change toggle icon when open */
}

.page-gdpr__faq-answer {
    padding-top: 15px;
    color: #f0f0f0;
}

/* CTA Section at the bottom */
.page-gdpr__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #1a1a2e; /* Dark background */
    color: #ffffff;
}

/* Video container styles (if any video was present) */
.page-gdpr__video-section,
.page-gdpr__video-container,
.page-gdpr__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

    .page-gdpr__hero-section {
        padding: 10px 0 40px 0 !important; /* No horizontal padding here for full-width image */
    }

    .page-gdpr__hero-content {
        padding: 0 15px !important; /* Apply horizontal padding to content */
    }

    .page-gdpr__main-title {
        font-size: 1.8em !important;
    }

    .page-gdpr__description {
        font-size: 1em !important;
    }

    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 15px !important;
        padding: 0 15px !important;
    }
    
    .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 !important;
        padding-right: 15px !important;
    }

    .page-gdpr__content-area,
    .page-gdpr__cta-section {
        padding: 40px 15px !important;
    }

    .page-gdpr__section-title {
        font-size: 1.5em !important;
    }

    .page-gdpr__sub-title {
        font-size: 1.2em !important;
    }

    /* Ensure all images are responsive */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure all content containers are responsive */
    .page-gdpr__hero-section,
    .page-gdpr__content-area,
    .page-gdpr__cta-section,
    .page-gdpr__faq-list,
    .page-gdpr__faq-item,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Override specific sections where padding is handled internally or not desired */
    .page-gdpr__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-gdpr__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Adjust padding for the first section if it's the hero */
    .page-gdpr__hero-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Video specific mobile styles */
    .page-gdpr video,
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__video-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }
    
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}