.slideshow {
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: cover;
}

/* 案例正文视频：自适应宽度、居中，播放条与画面同宽 */
.content video,
.content .edui-video-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000;
    border-radius: 6px;
}

/* 案例卡片封面：16:9，避免上下裁切过多 */
.card-img-150 {
    height: auto;
    aspect-ratio: 16 / 9;
}
.card-img-150 a,
.card-img-150 a img {
    display: block;
    width: 100%;
    height: 100%;
}
/* 案例卡片标题文字居中 */
.card .card-body,
.card .card-title,
.card .card-title a,
.figure .figure-caption,
.figure .figure-caption a {
    text-align: center;
}
.card-img-150 a img {
    object-fit: cover;
}

/* 列表/详情页顶部横幅：粉色渐变文字配色 */
.page-top-text h1 { color: #6d2438; font-weight: 700; }
.page-top-text p { color: #8a4658; }

/* 关于我们页地图截图 */
.about-map {
    max-width: 900px;
    margin: 1.75rem auto 0;
}
.about-map img {
    width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
}

/* 首页联系我们横条 */
.home-contact {
    background: #f7f2f3;
    border-bottom: 1px solid #eee;
}
.home-contact .hc-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.15rem 1rem;
}
.home-contact .hc-left { justify-content: flex-start; }
.home-contact .hc-mid,
.home-contact .hc-right { justify-content: center; }
.home-contact .hc-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #E0316E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: none;
}
.home-contact .hc-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2b2b2b;
    letter-spacing: .05em;
}
.home-contact .hc-sub {
    font-size: .72rem;
    color: #999;
    letter-spacing: .08em;
}
.home-contact .hc-phone {
    font-size: 1.35rem;
    font-weight: 700;
    color: #E0316E;
    line-height: 1.2;
}
.home-contact .hc-addr {
    color: #555;
    font-size: .95rem;
    line-height: 1.5;
}
.hc-navs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .4rem;
}
.hc-nav {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .85rem;
    border: 1px solid #E0316E;
    border-radius: 999px;
    color: #E0316E;
    font-size: .85rem;
    text-decoration: none;
}
.hc-nav:hover { background: #E0316E; color: #fff; }
.hc-nav-baidu { border-color: #4a90d9; color: #4a90d9; }
.hc-nav-baidu:hover { background: #4a90d9; color: #fff; }
@media (min-width: 768px) {
    .home-contact .hc-item + .hc-item { border-left: 1px solid #ecdee1; }
}
@media (max-width: 767.98px) {
    .home-contact .hc-item { justify-content: center; text-align: center; }
    .home-contact .hc-mid,
    .home-contact .hc-right { border-top: 1px solid #eee; }
}

/* 看图器：相框边框与显眼关闭按钮 */
.viewer-button { display: none !important; }
.viewer-canvas > img {
    border: 6px solid #fff;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .65);
    background: #000;
}
.viewer-custom-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #E0316E;
    color: #fff;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}
.viewer-custom-close:hover { background: #c7255c; }
.viewer-custom-close:focus { outline: none; box-shadow: 0 0 0 3px rgba(224, 49, 110, .4); }

/* 页脚微信二维码 */
.footer-weixin {
    width: 120px;
    height: auto;
    margin-top: .75rem;
    border: 1px solid #eee;
    border-radius: 6px;
}

/* 首页最新资讯：左视频 + 右文案 */
.home-news {
    padding: 1.75rem 0;
    background: #fff;
}
.news-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.news-video-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-tag {
    display: inline-block;
    color: #E0316E;
    font-size: .8rem;
    letter-spacing: .15em;
    margin-bottom: .6rem;
}
.news-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.news-title a {
    color: #2b2b2b;
    text-decoration: none;
}
.news-title a:hover { color: #E0316E; }
.news-desc {
    color: #666;
    line-height: 1.9;
    margin: 1rem 0;
}
.news-meta {
    color: #999;
    font-size: .85rem;
    margin-bottom: 1.2rem;
}
.news-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1.1rem;
    border: 1px solid #E0316E;
    border-radius: 999px;
    color: #E0316E;
    font-size: .9rem;
    text-decoration: none;
}
.news-more:hover { background: #E0316E; color: #fff; }
@media (max-width: 991.98px) {
    .news-copy { margin-top: 1.25rem; text-align: center; }
    .news-desc { text-align: center; }
}
