/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    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 */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-privacy-policy__dark-bg {
    background-color: #0a0a0a; /* Ensure dark background for this section */
    color: #ffffff; /* Light text for dark background */
}

.page-privacy-policy__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333; /* Dark text for white background */
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure image is behind content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, not color change */
}

.page-privacy-policy__hero-content {
    position: relative; /* Ensure content is above the image */
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text readability */
    border-radius: 8px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto;
}

.page-privacy-policy__content-area {
    padding: 60px 20px;
    color: #333333; /* Default text for light background section */
    background-color: #ffffff; /* White background for content area */
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #26A9E0; /* Brand color for titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.3;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333333; /* Dark text for paragraphs */
}

.page-privacy-policy__paragraph a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
}

.page-privacy-policy__paragraph a:hover {
    color: #1a7bbd; /* Slightly darker brand color on hover */
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333; /* Dark text for list items */
}

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

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
}

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333; /* Dark text for FAQ items */
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #26A9E0; /* Brand color for question */
    background-color: #eaf7fd; /* Light background for question */
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item summary:hover {
    background-color: #d8edf8;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

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

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
    font-size: 1rem;
    color: #333333; /* Dark text for answer */
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
    color: #333333;
}

.page-privacy-policy__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-privacy-policy__hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-privacy-policy__content-area {
        padding: 40px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }
}

@media (max-width: 768px) {
    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Mobile container padding */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body handles --header-offset */
        padding-bottom: 40px !important;
    }

    .page-privacy-policy__hero-content {
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.6); /* Slightly darker for mobile readability */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-privacy-policy__hero-description {
        font-size: clamp(0.875rem, 3.5vw, 1rem);
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95rem;
    }

    .page-privacy-policy__faq-item summary {
        padding: 15px;
        font-size: 1rem;
    }

    .page-privacy-policy__faq-answer {
        padding: 10px 15px;
    }

    /* Ensure content area images are at least 200px */
    .page-privacy-policy__content-area img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    /* Video responsiveness (if any, though none for this page) */
    .page-privacy-policy video,
    .page-privacy-policy__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    
    .page-privacy-policy__video-section {
      padding-top: 10px !important;
    }
    
    .page-privacy-policy__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Button responsiveness (if any) */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy 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;
        padding-right: 15px;
    }
    
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}