/* 产品手册内容一直显示，不需要hover */
.vlt-post--masonry .vlt-post-content {
    opacity: 1 !important;
}

/* 业务范围部分样式 */
.business-scope-header {
    padding: 20px 0;
}

.business-scope-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
}

.business-scope-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.business-scope-contact {
    font-size: 1.2rem;
    color: #ff6b6b;
    font-weight: 500;
}

/* 优势容器样式 */
.advantages-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0;
    min-height: 0;
}

/* 优势样式 - 无容器设计 */
.advantage-item {
    transition: all 0.3s ease;
    margin: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.advantage-item:hover {
    padding-left: 5px;
}

/* 确保优势容器占满父容器高度 */
.col-xl-4:last-child {
    display: flex;
    flex-direction: column;
}

.col-xl-4:last-child .advantages-container {
    flex: 1;
    min-height: 0;
}

/* 确保优势项内的 vlt-animated-block 也占满高度并均分，并吸顶 */
.col-xl-4:last-child .advantages-container .vlt-animated-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0 !important;
    min-height: 0;
    padding-top: 0;
}

/* 确保第三列内容紧贴底部，没有额外边距 */
.col-xl-4:last-child {
    padding-bottom: 0 !important;
}

.col-xl-4:last-child .vlt-animated-block {
    margin-bottom: 0 !important;
}

.col-xl-4:last-child .vlt-animated-block:last-child {
    margin-bottom: 0 !important;
}

.col-xl-4:last-child .advantage-item p {
    margin-bottom: 0 !important;
}

.col-xl-4:last-child .vlt-animated-block:last-child .advantage-item {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.col-xl-4:last-child .vlt-animated-block:last-child .advantage-item p:last-child {
    margin-bottom: 0 !important;
}

.advantage-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    align-items: center;
}

.advantage-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.advantage-feature:hover {
    color: #fff;
    transform: translateX(5px);
}

.advantage-feature i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 10px;
}

.advantage-feature span {
    line-height: 1.6;
}

/* 业务范围标签云样式 */
.business-bubbles-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    clip-path: inset(0 0 0 0);
}

.tagcloud {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    clip-path: inset(0 0 0 0);
}

/* 确保标签云内的所有元素都被裁剪 */
.tagcloud * {
    max-width: 100%;
    box-sizing: border-box;
}

.tagcloud a {
    color: #fff !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, font-size 0.3s ease;
    display: inline-block;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    will-change: color, transform, font-size;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.tagcloud a:hover {
    color: #ff6b6b !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateZ(0) scale(1.3) !important;
    -webkit-transform: translateZ(0) scale(1.3) !important;
    font-size: 1.3em !important;
}

.tagcloud a:active {
    color: #ff6b6b !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
}

/* 覆盖标签云库可能添加的背景色、边框、阴影 */
.tagcloud span a,
.tagcloud a span,
.tagcloud span,
.tagcloud * {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 防止标签云在 hover 时闪烁 */
.tagcloud a:hover,
.tagcloud span:hover,
.tagcloud *:hover {
    animation: none !important;
    -webkit-animation: none !important;
    transition: color 0.3s ease !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .business-scope-title {
        font-size: 1.8rem;
    }
    
    .business-scope-subtitle {
        font-size: 1.1rem;
    }
    
    .advantage-card {
        margin-bottom: 20px;
    }
    
    .business-bubble-item {
        padding: 0;
    }
    
    .business-bubbles-container {
        min-height: 400px;
    }
    
    .business-bubble {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 10px;
        display: inline-block;
    }
}

/* 微信二维码弹窗样式 */
.wechat-trigger {
    position: relative;
}

.wechat-qrcode-popup {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
    text-align: center;
    pointer-events: none;
}

.wechat-qrcode-popup::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-100%, -50%);
    border: 8px solid transparent;
    border-right-color: #fff;
    border-top-color: transparent;
}

.wechat-qrcode-popup img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    border-radius: 4px;
}

.wechat-qrcode-popup p {
    margin: 0;
    font-size: 0.9rem;
    color: #333;
}

.wechat-trigger:hover .wechat-qrcode-popup,
.wechat-trigger.active .wechat-qrcode-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 环保项目：2列布局，左边内容40%，右边图片60% */
.vlt-project-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: flex-start;
}

/* 右边图片区域 - 与左边文字使用相同的动画效果，通过 .vlt-project > * 统一控制 */
.vlt-project-image {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

/* 图片样式 */
.vlt-project-image img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 响应式：页面宽度小时隐藏右边图片 */
@media only screen and (max-width: 1199px) {
    .vlt-project-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .vlt-project-image {
        display: none !important;
    }
}

/* 环保页面图片轮播样式 - 单图片模式 */
.vlt-gallery-swiper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vlt-gallery-swiper-container {
    position: relative;
    padding-bottom: 50px;
}

.vlt-gallery-swiper-container .swiper-slide {
    height: auto;
    min-height: 600px;
    cursor: pointer;
    opacity: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vlt-gallery-swiper-container .swiper-slide-active {
    opacity: 1 !important;
}

.vlt-gallery-swiper-container .swiper-slide a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vlt-gallery-swiper-container .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 4px;
}

.vlt-gallery-swiper-container .swiper-slide:hover img {
    opacity: 0.9;
}

/* 导航按钮样式 */
.vlt-gallery-swiper-container .swiper-button-next,
.vlt-gallery-swiper-container .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.vlt-gallery-swiper-container .swiper-button-next:hover,
.vlt-gallery-swiper-container .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.vlt-gallery-swiper-container .swiper-button-next::after,
.vlt-gallery-swiper-container .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* 分页器样式 */
.vlt-gallery-swiper-container .swiper-pagination {
    bottom: 0;
}

.vlt-gallery-swiper-container .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.vlt-gallery-swiper-container .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #cf000f;
}

/* 确保fancybox灯箱背景是纯黑色 */
.fancybox-bg,
.vp-fancybox .fancybox-bg {
    background-color: #000 !important;
}

.fancybox-is-open .fancybox-bg {
    background-color: #000 !important;
    opacity: 0.95 !important;
}

.fancybox-container {
    background-color: transparent;
}

.fancybox-stage {
    background-color: transparent;
}

/* 行业痛点样式 - 单列布局 */
.vlt-pain-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 3rem auto 0;
    max-width: 800px;
    text-align: center;
}

.vlt-pain-points p.large {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 痛点序号样式 */
.pain-point-number {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-right: 0.5rem;
}

/* 响应式：小屏幕保持单列 */
@media only screen and (max-width: 767px) {
    .vlt-pain-points {
        max-width: 100%;
        gap: 0.75rem;
    }
}

/* 设计思路内容样式 - 更宽的容器 */
.design-content-wrapper {
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.design-content-wrapper p {
    max-width: 100%;
}

/* 成果部分小型走马灯样式 */
.vlt-mini-swiper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.vlt-mini-swiper-container {
    position: relative;
    padding-bottom: 40px;
}

.vlt-mini-swiper-container .swiper-slide {
    height: auto;
    min-height: 300px;
    cursor: pointer;
    opacity: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vlt-mini-swiper-container .swiper-slide-active {
    opacity: 1 !important;
}

.vlt-mini-swiper-container .swiper-slide a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vlt-mini-swiper-container .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 4px;
}

.vlt-mini-swiper-container .swiper-slide:hover img {
    opacity: 0.9;
}

/* 小型轮播导航按钮样式 */
.vlt-mini-swiper-container .swiper-button-next,
.vlt-mini-swiper-container .swiper-button-prev {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.vlt-mini-swiper-container .swiper-button-next:hover,
.vlt-mini-swiper-container .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.vlt-mini-swiper-container .swiper-button-next::after,
.vlt-mini-swiper-container .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* 小型轮播分页器样式 */
.vlt-mini-swiper-container .swiper-pagination {
    bottom: 0;
}

.vlt-mini-swiper-container .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.vlt-mini-swiper-container .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #cf000f;
}

/* 分享按钮样式 - 使用与爱心按钮相同的样式 */
.vlt-share-button {
    display: inline-flex;
    width: 7.5rem;
    height: 7.5rem;
    color: #fff;
    border-radius: 50%;
    background-color: #2b2b2b;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vlt-share-button svg {
    height: 3.5rem;
    width: 3.5rem;
}

.vlt-share-button:hover {
    color: #fff;
    background-color: #3b3b3b;
    transform: scale(1.1);
}

.vlt-share-button:hover svg {
    transform: rotate(15deg);
    transition: transform 0.3s ease;
}

/* 首页"达拉科技"标题样式 */
/* 桌面端：不换行 */
#Home .vlt-large-heading {
    white-space: nowrap;
}

/* 移动端：允许换行并适当调整字体 */
@media only screen and (max-width: 767px) {
    /* 移除不换行限制，允许标题换行 */
    #Home .vlt-large-heading {
        white-space: normal !important;
        word-break: break-word;
        font-size: 3.5rem !important;
        line-height: 1.2;
    }
    
    /* 如果屏幕更小，适当减小 */
    @media only screen and (max-width: 480px) {
        #Home .vlt-large-heading {
            font-size: 3rem !important;
        }
    }
}

