/* style/gdpr.css */

/* Base styles for the GDPR page content */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #0a0a0a (dark), so text must be light */
    background-color: #0a0a0a; /* Ensure the main content block has a background if needed, though body handles it */
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding: 10px 0 60px; /* Small top padding, body handles header offset */
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no overflow issues */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

.page-gdpr__hero-content {
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.page-gdpr__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding/border included in width */
    max-width: 300px; /* Limit individual button width */
    width: 100%; /* Make buttons take full width of their container on small screens */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

/* Content Area */
.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #0a0a0a; /* Dark background, consistent with body */
    color: #ffffff; /* Light text for dark background */
}

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

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-gdpr p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

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

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

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.page-gdpr__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__contact-info {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for contact box */
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.page-gdpr__contact-info p {
    margin-bottom: 10px;
}

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

.page-gdpr__closing-statement {
    font-style: italic;
    text-align: center;
    margin-top: 50px;
    font-size: 1.1rem;
    color: #f0f0f0;
}

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

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly darker for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

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

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

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

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    color: #ffffff;
}

.page-gdpr__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
}

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

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

/* Ensure all images maintain original color */
.page-gdpr img {
    filter: none; /* No CSS filters to change image colors */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding: 10px 15px 40px; /* Adjust padding for mobile, small top padding */
    }

    .page-gdpr__main-title {
        font-size: 2rem;
    }

    .page-gdpr__description {
        font-size: 1rem;
    }

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

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

    .page-gdpr__section-title {
        font-size: 1.8rem;
    }

    .page-gdpr__sub-title {
        font-size: 1.3rem;
    }

    .page-gdpr p,
    .page-gdpr__list li,
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
    }

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

    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container,
    .page-gdpr__hero-image-wrapper,
    .page-gdpr__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* Ensure content area images adhere to min-size requirements */
.page-gdpr__content-area img {
    min-width: 200px;
    min-height: 200px;
}
/* For images that are not full width, ensure they are also responsive */
.page-gdpr img:not(.page-gdpr__hero-image) {
    max-width: 100%;
    height: auto;
    display: block;
}