/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: 0; /* body already handles padding-top for fixed header */
}

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

/* Section styling */
.page-gdpr__section {
    padding: 60px 0;
    text-align: center;
}

.page-gdpr__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast with #121212 body */
    color: #ffffff;
}

.page-gdpr__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure sufficient height */
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
}

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

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: #26A9E0; /* Brand color for H1 */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.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 {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

.page-gdpr__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Titles and text blocks */
.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from parent section */
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
    text-align: left;
}

.page-gdpr__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

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

.page-gdpr__link:hover {
    color: #1e87c0;
}

/* Images within content */
.page-gdpr__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-gdpr__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-gdpr__light-bg .page-gdpr__faq-item {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1); /* Darker on dark background */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-gdpr__light-bg .page-gdpr__faq-question {
    background-color: #f0f0f0;
}

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

.page-gdpr__light-bg .page-gdpr__faq-question:hover {
    background-color: #e8e8e8;
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: "−"; /* Unicode minus sign */
}

.page-gdpr__faq-answer {
    padding: 0 25px 18px;
    font-size: 1rem;
    line-height: 1.6;
    color: inherit;
}

/* Remove default marker for details/summary */
.page-gdpr__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-gdpr__faq-item summary {
    list-style: none;
}

/* Centered content utility */
.page-gdpr__centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__container {
        padding: 0 15px; /* Add horizontal padding for mobile */
    }

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

    .page-gdpr__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        width: 100% !important; /* Ensure container takes full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important; /* Force full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-gdpr__text-block,
    .page-gdpr__list-item,
    .page-gdpr__faq-answer p {
        font-size: 0.95rem;
    }

    .page-gdpr__list {
        padding-left: 20px;
    }

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

    /* All images responsive */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All image/video/button containers responsive */
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__video-section,
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper,
    .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;
      overflow: hidden !important; /* Ensure no overflow */
    }

    /* Video specific for mobile (if any) */
    .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 */
    }
}

/* Ensure desktop video container has width: 100% with max-width (if video section were present) */
.page-gdpr__video-container {
    width: 100%;
    max-width: 1200px; /* Example max-width */
    margin: 0 auto;
}