.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
}

.page-about__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-about__hero-section {
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0; /* Light background for the whole section */
}

.page-about__hero-image-wrap {
    width: 100%;
    max-height: 675px; /* Maximum height for the hero image */
    overflow: hidden;
}

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

.page-about__hero-content {
    padding: 40px 20px;
    text-align: center;
    max-width: 900px;
    margin-top: 40px; /* Standard margin after the image */
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    width: calc(100% - 40px); /* Adjust width to account for padding */
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 100%;
}

.page-about__intro-text {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-about__btn,
.page-about a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-about__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-about__btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-about__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-about__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-about__btn-primary:hover {
    background-color: #005a2d;
    border-color: #005a2d;
}

.page-about__btn-secondary {
    background-color: #FFFFFF;
    color: #017439;
    border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
}

/* General Section Styles */
.page-about__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-about__section-title {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-about__image-figure {
    margin: 30px 0;
    text-align: center;
}

.page-about__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-about__image-caption {
    font-style: italic;
    color: #777777;
    margin-top: 10px;
    font-size: 0.9em;
}

.page-about__image-figure--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 50%;
}

.page-about__commitment .page-about__article-wrap::after {
    content: "";
    display: table;
    clear: both;
}

.page-about__link-inline {
    color: #017439;
    text-decoration: underline;
}

.page-about__link-inline:hover {
    color: #005a2d;
}

/* Feature Grid for Why Choose Us section */
.page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 5px solid #017439;
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
}

.page-about__feature-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__feature-description {
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
}

/* Join Us section specific */
.page-about__cta-buttons--center {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Contact section specific */
.page-about__contact-info {
    background-color: #f8f8f8;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    margin-top: 30px;
    text-align: center;
}

.page-about__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #333333;
}
.page-about__contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__image-figure--right {
        max-width: 100%;
        float: none;
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    /* 1. 顶区标题 + 双 CTA */
    .page-about__hero-section {
        padding-top: 10px !important;
        margin-bottom: 20px;
    }
    .page-about__hero-content {
        padding: 20px 15px;
        margin-top: 20px; /* Adjusted for mobile */
        width: calc(100% - 30px) !important; /* Full width minus padding */
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
        margin-bottom: 15px;
    }
    .page-about__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-about__cta-buttons {
        flex-direction: column !important;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
    }
    .page-about__btn,
    .page-about 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 !important;
        padding-right: 15px !important;
    }

    /* 2. 单栏长文容器 */
    .page-about__article-wrap {
        padding: 0 15px !important;
    }
    .page-about__section {
        padding: 40px 0 !important;
        margin-bottom: 10px;
    }
    .page-about__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.5em !important;
    }
    .page-about__text-block {
        font-size: 1em !important;
    }
    .page-about__feature-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .page-about__feature-card {
        padding: 20px;
    }
    .page-about__contact-info {
        padding: 20px;
    }
    .page-about__contact-info p {
        font-size: 1em;
    }
    .page-about__commitment .page-about__article-wrap::after {
        clear: both;
    }

    /* 3. 通用图片与 figure */
    .page-about img,
    .page-about__content-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .page-about__image-figure--right {
        float: none !important;
        margin: 20px auto !important;
        max-width: 100% !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 4. 按钮与按钮容器 - already covered in section 1's CTA buttons */

    /* 5. 注册教程与 FAQ 区块 - General text blocks are handled responsively */
}