/* Contact Page Specific Styles */

/* Hero Banner Section */
.contact-hero-banner {
    position: relative;
    width: 100%;
    margin-top: 88px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-bottom: 0;
}

.contact-banner-container {
    width: 100%;
    max-width: 1920px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* contact_banner1.png*/
.contact-hero-image {
    width: 100%;
    max-width: 1920px;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Brand Intro Text - 思源宋体 18px 居中 */
.contact-intro-section {
    width: 100%;
    padding: 30px 20px;
    background: #fff;
    text-align: center;
}

.contact-intro-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Noto Serif SC', '思源宋体', serif;
    font-size: 20px;
    line-height: 2;
    color: #333;
}

.contact-intro-line1,
.contact-intro-line2,
.contact-intro-line3 {
    margin: 0;
    text-align: center;
}

/* 地图 + 说明 + 联系卡片：外层居中；内层同宽块保持地图与二维码左缘对齐后再整体居中 */
.contact-content-wrap {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-map-section,
.contact-map-desc,
.contact-card-section {
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Banner 2 / 3 / 4 Sections */
.contact-banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin-top: 0;
    margin-bottom: 0;
}

.contact-banner-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.contact-banner-img {
    width: 100%;
    max-width: 960px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 高德地图嵌入：与下方说明文字同为居中 */

.contact-map-section .contact-banner-wrap--map {
    justify-content: center;
}

.contact-map-embed {
    width: 60%;
    max-width: 80%;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.contact-amap,
#contact-amap {
    width: 100%;
    height: 400px;
    background: #e8e8e8;
}

/* 地图下方说明：20px 居中 */
.contact-map-desc {
    width: 100%;
    padding: 20px 0 8px;
    background: #fff;
    box-sizing: border-box;
}

.contact-map-desc__p {
    font-family: 'Noto Serif SC', 'Source Han Serif SC', '思源宋体', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.85;
    color: #000;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 14px;
}

.contact-map-desc__p:last-child {
    margin-bottom: 0;
}

/* 左图右文：左侧 contact_banner3，右侧文字垂直居中 */
.contact-card-section {
    width: 100%;
    padding: 28px 0 56px;
    background: #fff;
}

.contact-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.contact-card__media {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-card__media img {
    display: block;
    width: auto;
    max-width: min(240px, 42vw);
    height: auto;
    object-fit: contain;
    margin: 0;
}

.contact-card__text {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(100%, 520px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.contact-card__title {
    font-family: 'Noto Serif SC', 'Source Han Serif SC', '思源宋体', serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 0 0 14px;
    line-height: 1.45;
}

.contact-card__line {
    font-family: 'Noto Serif SC', 'Source Han Serif SC', '思源宋体', serif;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px;
    line-height: 1.6;
}

.contact-card__line:last-of-type {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 800px) {
    /* .contact-hero-banner {
        margin-top: 60px;
    } */

    .contact-intro-section {
        padding: 24px 15px;
    }

    .contact-intro-container {
        font-size: 17px;
    }

    .contact-content-wrap {
        padding: 0 16px;
    }

    .contact-map-desc {
        padding: 16px 0 8px;
    }

    .contact-map-embed {
        width: 100%;
        max-width: 100%;
    }

    .contact-amap,
    #contact-amap {
        height: 300px;
    }

    .contact-map-desc__p {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .contact-card-section {
        padding: 20px 0 40px;
    }

    .contact-card {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .contact-card__text {
        text-align: center;
        align-items: center;
    }

    .contact-card__title {
        font-size: 20px;
    }

    .contact-card__line {
        font-size: 17px;
    }

    .contact-card__media img {
        max-width: 260px;
    }
}
