.page-faq {
    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-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding-top: 0; /* Assuming shared.css sets body padding-top */
    padding-bottom: 80px;
    text-align: center;
    overflow: hidden;
    background-color: #0a0a0a; /* Ensure dark background for contrast */
    color: #ffffff;
}

.page-faq__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-faq__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Added for mobile responsiveness */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* General Buttons */
.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-faq__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-faq__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

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

/* Content Area */
.page-faq__content-area {
    padding: 60px 0;
    background-color: #ffffff; /* Light background for FAQ content */
    color: #333333; /* Dark text for light background */
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 50px;
}

/* FAQ List */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333333;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}

.page-faq__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333333;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #ffffff;
    color: #555555;
}

.page-faq__faq-answer p,
.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-bottom: 15px;
    color: #555555;
}

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    padding-left: 20px;
}

.page-faq__faq-answer h4 {
    color: #26A9E0;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Active FAQ Item */
.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 25px !important;
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

.page-faq__faq-item.active .page-faq__faq-question {
    background-color: #e0e0e0;
    border-bottom: 1px solid #c0c0c0;
}

/* CTA Section */
.page-faq__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Primary color background */
    color: #ffffff;
}

.page-faq__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-faq__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* For mobile responsiveness */
}

/* General link styling within content */
.page-faq__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    color: #1e87c0;
}

/* Image styling for content area */
.page-faq__content-area img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* --- Responsive Styles (Desktop First, then Mobile overrides) --- */

/* Mobile Responsive */
@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-faq__hero-section {
        padding-top: 0 !important; /* Assuming shared.css sets body padding-top */
        padding-bottom: 40px;
    }

    .page-faq__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-faq__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-faq__hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-faq__hero-actions .page-faq__btn-primary,
    .page-faq__hero-actions .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-faq__hero-image {
        width: calc(100% - 30px) !important; /* Adjust for padding */
        max-width: 100% !important;
        height: auto !important;
        margin: 0 15px;
    }

    /* 其他内容模块 - 通用 padding 和字体大小 */
    .page-faq__container {
        padding: 0 15px;
    }

    .page-faq__content-area {
        padding: 40px 0;
    }

    .page-faq__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
    }

    .page-faq__faq-question h3 {
        font-size: 1em;
    }

    .page-faq__faq-answer {
        padding: 0 20px;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 20px !important;
    }

    .page-faq__cta-section {
        padding: 50px 0;
    }

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

    .page-faq__cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-faq__cta-actions {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-faq__cta-actions .page-faq__btn-primary,
    .page-faq__cta-actions .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    /* 通用图片与容器 */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-faq__cta-button,
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq 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-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__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;
      display: flex;
      flex-direction: column; /* Stack buttons vertically */
    }
}