.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-terms-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-terms-conditions__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body padding-top handles header offset */
    padding-bottom: 40px;
    background-color: #F4F7FB; /* Background */
}

.page-terms-conditions__hero-content {
    max-width: 800px;
    margin-bottom: 30px;
    padding: 0 20px;
}

.page-terms-conditions__hero-section h1 {
    font-size: clamp(2em, 3.5vw, 3em); /* Responsive font size */
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Content Sections */
.page-terms-conditions__content-section {
    padding: 60px 0;
}

.page-terms-conditions__light-bg {
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

.page-terms-conditions__dark-section {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff; /* White text on dark background */
}

.page-terms-conditions__dark-section h2,
.page-terms-conditions__dark-section h3 {
    color: #ffffff;
}

.page-terms-conditions__content-section h2 {
    font-size: 2.2em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-terms-conditions__content-section h3 {
    font-size: 1.6em;
    color: #1F2D3D; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-terms-conditions__content-section p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    max-width: 800px; /* Example max width for content images */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.page-terms-conditions__btn-primary,
.page-terms-conditions__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;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Default desktop, will be overridden for mobile */
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-terms-conditions__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-terms-conditions__btn-secondary {
    background-color: #ffffff; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #2F6BFF;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-terms-conditions__faq-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
}

.page-terms-conditions__faq-section h2 {
    color: #ffffff;
}

.page-terms-conditions__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-terms-conditions__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on blue */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-terms-conditions__faq-item[open] {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    font-size: 1.1em;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}
.page-terms-conditions__faq-question::marker {
    display: none;
}

.page-terms-conditions__faq-qtext {
    flex-grow: 1;
}

.page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #A5C4FF; /* Glow */
}

.page-terms-conditions__faq-answer {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: #f0f0f0; /* Light gray for answer text */
}

/* General image styling for content sections */
.page-terms-conditions img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-terms-conditions__container {
        padding: 30px 20px;
    }

    .page-terms-conditions__hero-section h1 {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }

    .page-terms-conditions__content-section h2 {
        font-size: 1.8em;
    }

    .page-terms-conditions__content-section h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-terms-conditions__hero-section {
        padding-top: 10px !important; /* Small top padding, body padding-top handles header offset */
        padding-bottom: 30px;
    }
    .page-terms-conditions__hero-content {
        padding: 0 15px;
    }
    .page-terms-conditions__hero-section h1 {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-terms-conditions__hero-description {
        font-size: 1em;
    }
    .page-terms-conditions__hero-image-wrapper {
        border-radius: 0; /* Remove border-radius on mobile for full width */
    }

    /* 通用图片与容器 */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__container,
    .page-terms-conditions__content-section,
    .page-terms-conditions__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 按钮与按钮容器 */
    .page-terms-conditions__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px !important; /* Add padding to container */
    }

    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    /* 其他内容模块 */
    .page-terms-conditions__content-section h2 {
        font-size: 1.6em;
        margin-bottom: 30px;
    }
    .page-terms-conditions__content-section h3 {
        font-size: 1.3em;
        margin-top: 25px;
    }
    .page-terms-conditions__content-section p {
        font-size: 0.95em;
    }

    .page-terms-conditions__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-terms-conditions__faq-answer {
        padding: 0 15px 15px;
    }
    .page-terms-conditions__faq-toggle {
        font-size: 1.2em;
    }
}