/* style/privacy-policy.css */

/* Base Styles for the page content */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Use shared background variable, fallback to white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 450px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #FFFFFF; /* White text for dark background */
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2; /* Subtle background image */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFFFFF;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand primary color for section titles */
    margin-bottom: 25px;
    margin-top: 40px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
}

.page-privacy-policy__highlight {
    color: #26A9E0; /* Highlight brand keyword */
    font-weight: bold;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

.page-privacy-policy__link:hover {
    color: #1a7bb7; /* Darker shade on hover */
}

.page-privacy-policy__image-content {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding doesn't affect width calculation */
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-privacy-policy__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
    margin-top: 20px;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a7bb7;
    border-color: #1a7bb7;
}

.page-privacy-policy__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
    margin-top: 20px;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #f0f0f0;
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333333;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    background-color: #fefefe;
    border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question::marker {
    display: none;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: #26A9E0; /* FAQ question text in brand color */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: #555555;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.4em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-privacy-policy__hero-section {
        min-height: 350px;
        padding: 40px 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 40px 0;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-answer {
        font-size: 1em;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__image-content {
        margin: 20px auto;
    }

    /* Buttons responsiveness */
    .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; /* Add some padding for text within buttons */
        padding-right: 15px;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    /* If multiple buttons are in a flex container, make them stack */
    .page-privacy-policy__hero-content > .page-privacy-policy__btn-primary {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
    .page-privacy-policy__contact-list + .page-privacy-policy__btn-primary {
      display: block;
      margin-left: auto;
      margin-right: auto;
    }
}

/* Ensure content images are not small */
.page-privacy-policy__content-area img,
.page-privacy-policy__faq-answer img {
    min-width: 200px;
    min-height: 200px;
}
/* Specific override for any potential small images in content sections */
.page-privacy-policy__content-area img,
.page-privacy-policy__text-block img,
.page-privacy-policy__card img {
  width: auto;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .page-privacy-policy__content-area img,
  .page-privacy-policy__text-block img,
  .page-privacy-policy__card img {
    min-width: unset !important;
    min-height: unset !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Color Contrast Fixes (proactive selection should prevent most issues) */
.page-privacy-policy__dark-bg {
    color: #ffffff; /* Dark background with light text */
}

.page-privacy-policy__light-bg {
    color: #333333; /* Light background with dark text */
}