.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

.page-about__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, assuming body has shared.css padding */
    padding-bottom: 40px;
    text-align: center;
    background-color: #0D0E12; /* Background */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Match width of image */
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
}

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

.page-about__hero-content {
    max-width: 800px;
    margin-bottom: 30px;
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-about__hero-description {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: #FFF3E6; /* Text Main */
}

.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure container takes full width for responsive buttons */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Add padding to prevent buttons from touching edges */
}

.page-about__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-about__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-about__btn--secondary {
    background: #17191F; /* Card B G */
    color: #FFA53A; /* Auxiliary color */
    border: 2px solid #FFA53A; /* Auxiliary color border */
    box-shadow: 0 2px 10px rgba(255, 165, 58, 0.2);
}

.page-about__btn--secondary:hover {
    background: #FFA53A;
    color: #17191F;
    transform: translateY(-2px);
}

.page-about__section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
    border-top: 1px solid rgba(168, 79, 12, 0.2); /* Border with transparency */
}

.page-about__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF3E6; /* Text Main */
}

.page-about__sub-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FFA53A; /* Auxiliary color */
}

.page-about__content-block {
    margin-bottom: 30px;
}

.page-about p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
}

.page-about__image-wrapper {
    width: 100%;
    max-width: 800px; /* Max width for content images */
    margin: 30px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__join-us-content {
    text-align: center;
}

.page-about__join-us-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 15px;
}

/* --- Responsive Styles --- */

/* Tablet: @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 30px;
    }

    .page-about__main-title {
        font-size: 3rem;
    }

    .page-about__section-title {
        font-size: 2.25rem;
    }

    .page-about__sub-title {
        font-size: 1.6rem;
    }

    .page-about__hero-cta-buttons,
    .page-about__join-us-cta-buttons {
        gap: 15px;
        max-width: 500px;
    }
}

/* Mobile: @media (max-width: 768px) */
@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. 顶区标题 + 双 CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-about__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__hero-cta-buttons,
    .page-about__join-us-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    /* 4. 按钮与按钮容器 */
    .page-about__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. 单栏长文容器 */
    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 1.5rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-about p {
        font-size: 0.95rem;
    }

    /* 3. 通用图片与 figure */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
    }

    .page-about__hero-image-wrapper,
    .page-about__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* 5. 注册教程与 FAQ 区块 - General text readability for any lists/steps */
    .page-about ul,
    .page-about ol {
        padding-left: 20px;
    }
    .page-about li {
        margin-bottom: 8px;
    }
}