/* ========== 联系我们页面样式 ========== */

/* 微信公众号 banner */
.wechat-banner {
    text-align: center;
    margin-top: 12px;
}

.wechat-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 联系信息 */
.contact-info {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
}

.contact-info li {
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 14px;
    flex-shrink: 0;
}

/* 诚聘英才 */
.recruit-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
}

.recruit-list li {
    font-size: 1em;
    color: #333;
    padding-left: 18px;
    margin-bottom: 8px;
    position: relative;
    line-height: 1.6;
}

.recruit-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a9af5;
    font-size: 18px;
    line-height: 1.5;
}

.recruit-note {
    margin-top: 10px;
    color: #1a73e8;
    font-size: 0.95em;
}

/* 公司地址：左侧信息竖排，右侧联动地图 */
.address-layout {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.address-info-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s, padding 0.2s;
}

.address-item:hover,
.address-item.active {
    border-color: #1a73e8;
    background: #f5f9ff;
    border:1px solide #1a73e8;
}

.address-logo {
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.address-detail {
    flex: 1;
    min-width: 0;
}

.address-detail p {
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 2px;
}

.address-company {
    font-weight: 700;
    color: #1a73e8;
}

/* 右侧地图列：堆叠，按 active 切换显示 */
.address-map-col {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.address-map-img {
    width: 95%;
    height: auto;
    display: none;
    border-radius: 6px;
    border: 1px solid #e8e8e8;
}

.address-map-img.active {
    display: block;
}

@media (max-width: 768px) {
    .services-row {
        flex-direction: column;
    }

    .address-layout {
        flex-direction: column;
    }

    .contact-info,
    .recruit-list {
        grid-template-columns: 1fr;
    }

    /* 小屏隐藏右侧地图 */
    .address-map-col {
        display: none;
    }

    /* 地址卡片：图片单独一行，文字内容置于图片下方 */
    .address-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .address-logo {
        width: 100%;
        height: auto;
    }

    .address-detail {
        width: 100%;
    }
}
