/* style/privacy-policy.css */

/* Base styles for the page content */
.page-privacy-policy {
    background-color: var(--body-bg, #08160F); /* Fallback to custom background color */
    color: var(--text-main, #F2FFF6); /* Main text color for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Adjust padding as needed, small top padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--card-bg, #11271B); /* Card background for content */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border, #2E7A4E);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    color: var(--gold, #F2C14E); /* Gold color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.6);
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8); /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Primary Button */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background, #08160F); /* Page background */
    color: var(--text-main, #F2FFF6); /* Main text color */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--glow, #57E38D); /* Glow color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--divider, #1E3A2A);
    padding-bottom: 10px;
    font-weight: 600;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--gold, #F2C14E); /* Gold color for sub-section titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6); /* Main text color */
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6); /* Main text color */
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: var(--text-secondary, #A7D9B8); /* Secondary text color for list items */
}

.page-privacy-policy__list-item-title {
    color: var(--gold, #F2C14E); /* Gold color for list item titles */
}

.page-privacy-policy__inline-link {
    color: var(--glow, #57E38D); /* Glow color for inline links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__inline-link:hover {
    color: var(--gold, #F2C14E); /* Gold color on hover */
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border, #2E7A4E);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--card-bg, #11271B); /* Card background for FAQ */
    border-radius: 10px;
    border: 1px solid var(--border, #2E7A4E);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--divider, #1E3A2A);
    padding-bottom: 15px;
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6); /* Main text color for questions */
    padding: 10px 0;
    list-style: none; /* Hide default marker for details summary */
}

.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.5em;
    font-weight: normal;
    color: var(--gold, #F2C14E); /* Gold color for toggle icon */
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-privacy-policy__faq-answer {
    padding: 10px 0 5px 0;
    font-size: 1em;
    color: var(--text-secondary, #A7D9B8); /* Secondary text color for answers */
    line-height: 1.5;
}

/* Ensure content area images maintain minimum size if not full width, but still responsive */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* No CSS filters for images */
.page-privacy-policy img {
    filter: none !important;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 0px !important; /* Full width section */
        padding-top: 10px !important; /* body handles header offset, small top padding */
    }

    .page-privacy-policy__hero-image-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-content {
        padding: 20px !important; /* Keep original padding for card content */
        margin: 0 15px;
        max-width: calc(100% - 30px) !important; /* Adjust max-width for margin */
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
    }

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

    .page-privacy-policy__btn-primary {
        padding: 10px 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

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

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

    .page-privacy-policy__list {
        margin-left: 20px;
    }

    .page-privacy-policy__faq-section {
        padding: 20px 15px !important; /* Add padding for section itself */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__faq-question {
        font-size: 1.1em;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* No padding here, let parent .page-privacy-policy__content-area handle it */
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    
    /* Ensure all containers with images/content are properly constrained */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.3em, 7vw, 1.8em);
    }
    .page-privacy-policy__btn-primary {
        padding: 10px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
    }
}