/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--Text-Main, #F3F8FF); /* Default to Text Main for the page body */
    background-color: var(--Deep-Navy, #08162B); /* Match body background from shared.css */
    padding-bottom: 50px; /* Add some padding at the bottom */
}

/* Container for content */
.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;
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    margin-bottom: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%; /* Take full height of its container */
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, will be changed to contain on mobile */
    display: block;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    text-align: center;
    color: var(--Text-Main, #F3F8FF);
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--Text-Main, #F3F8FF);
}

.page-privacy-policy__intro-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--Text-Secondary, #AFC4E8);
}

.page-privacy-policy__intro-description a {
    color: var(--Gold, #F2C14E);
    text-decoration: underline;
}

/* CTA Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Prevent overflow */
    box-sizing: border-box;
    overflow: hidden;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--Text-Main, #F3F8FF);
    border: 2px solid var(--Gold, #F2C14E);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--Gold, #F2C14E);
    color: var(--Deep-Navy, #08162B);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 40px 0;
    color: var(--Text-Secondary, #AFC4E8); /* Main text in content area */
    background-color: var(--Deep-Navy, #08162B);
}

.page-privacy-policy__article-body {
    max-width: 1000px; /* Constrain width for readability */
    margin: 0 auto;
    padding: 20px;
    background-color: var(--Card-B-G, #10233F); /* Darker background for content card */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--Text-Main, #F3F8FF);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid var(--Divider, #1B3357);
    padding-bottom: 15px;
}

.page-privacy-policy__section-title:first-of-type {
    margin-top: 0;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--Text-Main, #F3F8FF);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__article-body p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--Text-Secondary, #AFC4E8);
}

.page-privacy-policy__article-body p a,
.page-privacy-policy__article-body li a {
    color: var(--Gold, #F2C14E);
    text-decoration: underline;
}

.page-privacy-policy__article-body ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-privacy-policy__article-body li {
    margin-bottom: 8px;
    font-size: 1.05em;
    color: var(--Text-Secondary, #AFC4E8);
}

.page-privacy-policy__article-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover; /* Ensure image covers its area */
    min-width: 200px;
    min-height: 200px;
}

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

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--Border, #244D84);
    overflow: hidden;
    background: var(--Card-B-G, #10233F);
    color: var(--Text-Secondary, #AFC4E8);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--Text-Main, #F3F8FF);
    font-weight: 600;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: var(--Deep-Navy, #08162B);
}
.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: left;
    color: var(--Text-Main, #F3F8FF); /* Ensure question text is main color */
}
.page-privacy-policy__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--Gold, #F2C14E);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    background: var(--Deep-Navy, #08162B); /* Slightly different background for answer */
    border-radius: 0 0 10px 10px;
    color: var(--Text-Secondary, #AFC4E8);
}
.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
    color: var(--Text-Secondary, #AFC4E8);
}
.page-privacy-policy__faq-answer p a {
    color: var(--Gold, #F2C14E);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 80px 0;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2.2em, 4.5vw, 3em);
    }
    .page-privacy-policy__intro-description {
        font-size: 1em;
        max-width: 700px;
    }
    .page-privacy-policy__article-body {
        padding: 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-privacy-policy__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 30px;
    }
    .page-privacy-policy__hero-image img {
        object-fit: contain !important; /* Prevent cropping on mobile */
        aspect-ratio: unset !important; /* Allow natural aspect ratio */
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}