/* ========== 关于我们页特有样式 ========== */

/* 主内容区：左右布局 */
.main-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    min-height: calc(100vh - 180px);
}

.content-section {
    flex: 1;
    background: rgba(26, 31, 60, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(42, 50, 80, 0.6);
    line-height: 1.7;
    min-width: 0;
    max-width: 25%;
	
	
}
.contentr{max-height:280px;overflow: auto;}

.contentr::-webkit-scrollbar {
    width: 6px;
}

.contentr::-webkit-scrollbar-thumb {
    background: #4d8af0;
    border-radius: 3px;
}
.content-section h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #4d8af0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section p {
    margin-bottom: 12px;
    color: #c5c9e0;
    font-size: 16px;
}

/* 联系信息 */
.contact-info {
    background: rgba(30, 37, 58, 0.8);
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 4px solid #20c6b7;
}

.contact-info h3 {
    color: #20c6b7;
    margin-bottom: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 16px;
    color: #e0e0ff;
}

.contact-item i {
    color: #4d8af0;
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

/* 百度地图 */
#bmap {
    flex: 2;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(42, 50, 80, 0.6);
    min-width: 0;
    position: relative;
}

.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 31, 60, 0.9);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    z-index: 100;
    max-width: 300px;
}

.map-info h4 {
    color: #4d8af0;
    margin-bottom: 8px;
    font-size: 16px;
}

.map-info p {
    color: #e0e0ff;
    font-size: 14px;
    margin-bottom: 5px;
}

.map-info .nav-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: #4d8af0;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.map-info .nav-btn:hover {
    background: #3a7ae0;
}
.map-info-card {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
    z-index: 999;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 12px;
    background: linear-gradient(135deg, #4d8af0, #3a75d6);
    color: white;
}
.map-info-header i {
    font-size: 18px;
}
.map-info-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.map-info-body {
    padding: 16px;
    color: #333;
}
.map-info-body p {
    margin: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
}
.map-info-body i {
    color: #4d8af0;
    margin-top: 3px;
    min-width: 16px;
    text-align: center;
}

.phone-link {
    color: #4d8af0;
    text-decoration: none;
}
.phone-link:hover {
    text-decoration: underline;
}

.map-info-footer {
    padding: 0 16px 16px;
    text-align: center;
}
.nav-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    background: #4d8af0;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}
.nav-btn:hover {
    background: #3a75d6;
}
.nav-btn i {
    margin-right: 6px;
}

/* 响应式：小屏设备缩小宽度 */
@media (max-width: 480px) {
    .map-info-card {
        width: calc(100% - 32px);
        max-width: 320px;
        right: 16px;
        left: 16px;
    }
}

/* 腾讯地图信息窗口自定义样式 */
.tmap-info-window {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    padding: 12px;
    min-width: 220px;
    max-width: 280px;
}

.tmap-info-window .tmap-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.tmap-field {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
}

.tmap-field i {
    color: #4d8af0;
    margin-top: 3px;
    min-width: 16px;
    text-align: center;
}

.tmap-phone {
    color: #4d8af0;
    text-decoration: none;
}
.tmap-phone:hover {
    text-decoration: underline;
}

.tmap-action {
    margin-top: 12px;
    text-align: right;
}

.tmap-nav-link {
    display: inline-block;
    color: #f0ad4e;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.tmap-nav-link:hover {
    background-color: rgba(240, 173, 78, 0.1);
}
/* 响应式：小屏时上下堆叠 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }

    .content-section {
        max-width: 100%;
    }
    
    #bmap {
        min-height: 500px;
    }
	.content-section h2{font-size: 1.1rem;}
	.contact-info h3{font-size: 1rem;}
	.contact-item{font-size: 0.9rem;}
	.business-selector select{min-width: 180px !important;    max-width: 180px;}
	.contentr{font-size: 0.9rem;}
}

@media (max-width: 768px) {
    .content-section,
    #bmap {
        padding: 16px;
    }
    
    .map-info {
        max-width: 250px;
        bottom: 10px;
        left: 10px;
        padding: 10px;
    }
	.map-info-card{display: none;}
}