* {
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box; /* 全局添加，防止 padding 撑破宽度 */
}

.swiper {
    width: 100%;
    /* 移除固定高度，交由 JS 根据图片实际高度动态计算 */
    background: #CCCCCC;
}

.swiper-slide-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* height 将由 JS 动态计算并内联赋值 */
}

.swiper-slide-img {
    width: 100%;
    height: auto; /* 确保图片按比例缩放，从而产生正确的 offsetHeight */
    display: block;
    object-fit: cover;
}

.sp-title-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.sp-title-text {
    font-size: 18px;
    color: black;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    white-space: nowrap;
}

.sp-title-line {
    width: 40px;
    height: 4px;
    background: #02A7F0;
    display: inline-block;
    border-radius: 2px;
}

.skill-grid-view {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 10px;
}

.skill-grid-item {
    width: 100%;
    min-height: 80px; /* 改为最小高度，防止移动端文字换行溢出 */
    height: auto;
    background: #CEEEFC;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    padding: 10px;
}

.skill-grid-item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.skill-grid-item-img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

.profession-grid-view-center {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profession-grid-view {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    gap: 15px 10px;
}

.profession-grid-item {
    display: flex;
    flex-direction: column;
    width: 70px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profession-grid-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.profession-grid-item div {
    font-size: 14px;
    margin-top: 6px;
    text-align: center;
    color: #333;
}

.case-grid-view {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-top: 10px;
    gap: 15px;
    padding: 0 15px;
}

.case-grid-view-center {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-grid-item {
    width: calc(50% - 7.5px); /* 移动端两列布局，防止溢出 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: black;
}

.case-grid-item a {
    text-decoration: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-grid-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 180 / 108; /* 保持原有视觉比例 */
    object-fit: cover;
    border-radius: 8px;
}

.case-grid-item div {
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制最多显示两行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-view .btn {
    width: 140px;
    height: 40px;
    background: #169BD5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.footer {
    width: 100%;
    background: #1a1a1a;
    color: white;
    margin-top: 20px;
    box-sizing: border-box;
    padding: 20px 15px;
}

.contact-info-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.contact-info-vline {
    width: 1px;
    height: 40px;
    background: #555555;
    margin: 0 15px;
}

.contact-info-line {
    width: 100%;
    height: 1px;
    background: #555555;
    margin-top: 5px;
    margin-bottom: 5px;
}

.footer-div-line {
    width: 100%;
    height: 1px;
    background: #555555;
    margin-top: 15px;
    margin-bottom: 15px;
}

.copyright-view {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright-enterprise-name {
    font-size: 15px;
    color: #ccc;
}

.copyright-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    margin-top: 8px;
}

.addr-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    font-size: 14px;
    color: #999999;
}
.addr-view img {
    height: 18px;
    margin-right: 8px;
}


.contact-info-view {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.addr-view img {
    height: 18px;
    margin-right: 8px;
}

.ke-fu {
    width: 100%;
}

.ke-fu img {
    height: 42px;
}

/* ========== 微信二维码卡片样式 ========== */
.wechat-card-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.wechat-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding-top: 10px;
    width: 100%;
    max-width: 200px;
    color: #333;
}

.qrcode-box {
    /*border: 1px solid #e8e8e8;*/
    border-radius: 20px;
    padding: 15px 10px;
    text-align: center;
    /*margin-bottom:10px;*/
}

.qrcode-box img {
    width: 120px;
    height: 120px;
}

.text-title {
    font-size: 20px;
    color: #222;
    text-align: center;
    font-weight: 600;
    margin-bottom: 6px;
}

.text-desc {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.6;
}

.divider-line {
    border-bottom: 1px solid #eee;
    margin-bottom: 8px;
}

.id-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.label-tag {
    background-color: #f2f4f6;
    color: #666;
    font-size: 14px;
    padding: 2px 2px;
    border-radius: 6px;

}

.wechat-id-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.copy-btn {
    padding: 4px 4px;
    border: 1px solid #36c967;
    background-color: #f0fcf4;
    color: #22b859;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.copy-btn:active {
    background-color: #dcf7e8;
}
