/* 轮播图样式 */
.carousel-section {
    width: 100%;
    position: relative;
    overflow: visible;
}

.carousel-container {
    width: 100%;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 37.4rem;
    overflow: visible;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 4rem;
    margin-right: 30%;
    margin-bottom: 3%;
}

/* 全局统一搜索框，覆盖在所有轮播图之上 */
.global-search {
    position: absolute;
    top: 50%;
    left: 31.5%;
    transform: translate(-50%, -30%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* 让容器不拦截事件 */
}

.global-search .search-container {
    pointer-events: auto;
    /* 只让搜索框可交互 */
}

/* 搜索容器样式 */
.search-container {
    display: flex;
    align-items: center;
    /* margin: 1.5rem 0; */
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 2.5rem;
    width: 53rem;
    position: relative;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    background: transparent;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    border: none !important;
}

/* 搜索按钮样式 */
.search-btn {
    background: #007bff;
    /* 蓝色背景 */
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 1rem;
}

.search-btn:hover {
    background: #0056b3;
}

/* 搜索按钮内的图标样式 */
.search-btn .iconfont.icon-search {
    color: white;
    /* 白色字体 */
    font-size: 1.8rem;
    position: relative;
}

/* 搜索建议样式 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    margin-top: 2px;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f5f5f5;
    color: #007bff;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* 使用CSS创建搜索图标 */
.search-btn .iconfont.icon-search:before {
    content: "";
    position: absolute;
    width: 1.4rem;
    height: 1.4rem;
    border: 0.2rem solid white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-btn .iconfont.icon-search:after {
    content: "";
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    margin-left: 0.6rem;
    margin-top: 0.6rem;
}

/* 兼容旧的图标样式 */
.search-btn i {
    color: white;
    font-size: 1.8rem;
}

/* 关键词容器样式 */
.keywords-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 8rem;
}

.keyword-label {
    color: white;
    font-size: 1.6rem;
    font-weight: 500;
    margin-right: 1rem;
}

.keyword-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword-tag {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);

    padding: 0.6rem 1.2rem;
    border-radius: 2rem;

    cursor: pointer;
    transition: all 0.3s ease;
}

.keyword-tag a {
    color: white;
    font-size: 1.4rem;
}

.slide-title {
    font-size: 6.8rem;
    font-weight: bold;
    /* margin: 0; */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* line-height: 1.1; */
}

.slide-title:first-child {
    margin-bottom: 1rem;
}

.slide-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
    border-radius: 2.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-btn:hover {
    background-color: #0056b3;
}

/* 轮播图指示器样式 - 覆盖Bootstrap样式 */
.carousel-section .carousel-indicators {
    position: absolute !important;
    bottom: 3rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    gap: 1rem !important;
    z-index: 10 !important;
    width: auto !important;
    margin-left: 0 !important;
    padding: 0.5rem !important;
    border-radius: 1rem !important;
    text-align: left !important;
    list-style: none !important;
}

.carousel-section .carousel-indicators .indicator {
    width: 1.2rem !important;
    height: 1.2rem !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 0.2rem solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.3) !important;
    margin: 0 !important;
    text-indent: 0 !important;
    display: inline-block !important;
}

.carousel-section .carousel-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1) !important;
}

.carousel-section .carousel-indicators .indicator.active {
    background-color: #666 !important;
    border-color: #666 !important;
    transform: scale(1.2) !important;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 25rem;
    }

    .slide-content {
        padding: 2rem;
        max-width: 90%;
    }

    .slide-title {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }

    .slide-description {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

    .slide-btn {
        padding: 1rem 2rem;
        font-size: 1.4rem;
    }

    .slide-title {
        font-size: 3.2rem;
    }

    .search-container {
        /* margin: 1.5rem 0; */
        margin-bottom: 1.5rem;
        padding: 0.3rem;
    }

    .search-input {
        padding: 1rem 1.5rem;
        font-size: 1.4rem;
    }

    .search-btn {
        width: 3.5rem;
        height: 3.5rem;
    }

    .keywords-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .keyword-tags {
        justify-content: center;
    }

    .keyword-tag {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    .carousel-section .carousel-indicators {
        bottom: 1.5rem !important;
        gap: 0.8rem !important;
    }

    .carousel-section .carousel-indicators .indicator {
        width: 1rem !important;
        height: 1rem !important;
    }
}

/* 内容区域样式 */
.content-section {
    width: 100%;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.content-container {
    max-width: 140rem;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.content-block {
    width: 50%;
    height: 21.4rem;
    display: flex;
    overflow: hidden;
    position: relative;
}

.block-visual {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    position: relative;
    overflow: hidden;
}

/* Video.js播放器样式 */
.block-visual .video-js {
    width: 100% !important;
    height: 100% !important;
    background-color: #000;
}

.block-visual .video-js .vjs-tech {
    object-fit: cover;
}

/* 确保播放器控件可见 */
.block-visual .video-js .vjs-control-bar {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.block-visual img {
    width: 32.1rem;
    height: 21.4rem;
}

.block-content {
    flex: 1;
    height: 100%;
    padding: 1rem 3rem 0 2.8rem;
    display: flex;
    flex-direction: column;
}

.block-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1473E6;
    margin: 0 0 1.2rem 0;
}

.block-subtitle {
    font-size: 1.6rem;
    color: #6c6c6c;
    margin: 0 0 1.5rem 0;
}

.news-list {
    display: flex;
    flex-direction: column;
    height: 10rem;
}

.news-itemt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2.5rem;
}

.news-itemt:last-child {
    border-bottom: none;
}

.news-text a {
    font-size: 1.4rem;
    color: #6c6c6c;
    flex: 1;
}


.news-date {
    font-size: 1.2rem;
    color: #6c6c6c;
    margin-left: 1rem;
    min-width: 3.2rem;
}

.learn-more-link {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 1rem;
    align-self: flex-end;
    color: #6c6c6c;
}

/* 图标样式 */
.globe-icon,
.chart-icon {
    width: 8rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 123, 255, 0.3);
}

.globe-icon i,
.chart-icon i {
    font-size: 4rem;
    color: white;
}


/* 响应式设计 */
/* @media (max-width: 1600px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .content-block {
        width: 100%;
        max-width: 710px;
    }
} */

@media (max-width: 768px) {
    .content-section {
        padding: 2rem 0;
    }

    .content-container {
        padding: 0 1.5rem;
    }

    .content-block {
        height: auto;
        min-height: 21.4rem;
        flex-direction: column;
    }

    .block-visual {
        width: 100%;
        height: 12rem;
    }

    .block-content {
        width: 100%;
        padding: 2rem;
    }

    .block-title {
        font-size: 2rem;
    }

    .news-itemt {
        padding: 0.6rem 0;
    }

    .news-text {
        font-size: 1.3rem;
    }
}

/* RTV模块样式 */
.rtv-container {
    width: 140rem;
    height: 54rem;
    margin: 0 auto;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.rtv-content {
    color: rgba(255, 255, 255, 1);
    text-align: center;
    position: absolute;
    left: 50%;
    bottom: 15rem;
    transform: translate(-50%, -50%);
    min-width: 50rem;
}

.rtv-content h3 {
    font-size: 6.4rem;
    text-align: center;
    font-weight: bold;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.application-categories {
    margin: 0 0 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
}

.gap-8 {
    gap: 8px !important;
}

.color-66ABFF {
    color: #66ABFF !important;
}

.Fumed-Silica-content .category {
    font-size: 1.4rem;
}

.Fumed-Silica-content .separator {
    font-size: 1.4rem;
}

.Fumed-Silica-content .grade-text {
    font-size: 14px;
}

.color-053566 {
    color: #053566 !important
}

.category {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 500;
}

.separator {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0.4rem;
}

.grade-specifications {
    margin: 0 0 2.5rem 0;
}

.grade-text {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 400;
}

.rtv-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.line-two .rtv-buttons {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}


.learn-more-btn {
    background-color: #0059C4;

    border: none;

    border-radius: 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 9.6rem;
    height: 4rem;
}

a.learn-more-btn {
    color: white;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 4rem;
}

a.learn-more-btn-lintwo {
    width: 9rem;
    height: 3.6rem;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1.4rem;
    line-height: 3.6rem;
    border-radius: 4rem;
}


.line-two {
    max-width: 140rem;
    height: 35.7rem;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: space-between;
}

.Fumed-Silica-container {
    width: 71rem;
    height: 35.7rem;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.Fumed-Silica-content {
    color: rgba(255, 255, 255, 1);
    text-align: center;
    position: relative;
    left: 50%;
    bottom: 15rem;
    transform: translate(-50%, -50%);
    min-width: 50rem;
}

.Fumed-Silica-content h3 {
    font-size: 4.8rem;
    text-align: center;
    font-weight: bold;
    margin: 0 0 2rem 0;
    line-height: 1.2;
}

.line-two-buttons {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    top: 8.8rem;
}

.line-two-learn-more-btn {
    width: 10rem;
    height: 3.6rem;
    border-radius: 2.5rem;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 0;
    text-align: center;
    background-color: rgb(20, 115, 230);
    color: #fff;
    border: none;
}

.line-two-buy-btn {
    width: 6rem;
    height: 3.6rem;
    margin-left: 4.4rem;
    color: rgba(20, 115, 230, 1);
    font-size: 18px;
    text-align: center;
    border: 0.2rem solid rgba(20, 115, 230, 1);
    cursor: pointer;
    padding: 0;
    border-radius: 2.5rem;
    font-weight: bold;
    font-family: HarmonyOS_Sans_SC-bold;
}

.Silicone-Sealant-container {
    width: 71.4rem;
    height: 35.7rem;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('images/SiliconeSealant.png');
}

.Fumed-Silica-content {
    color: rgba(255, 255, 255, 1);
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    top: 4.4rem;
    height: 6.8rem;
    width: 100%;
}

.Fumed-Silica-content h2 {
    font-size: 4.8rem;
    font-family: HarmonyOS_Sans_SC-bold;
    line-height: 6.8rem;
    text-align: center;
    margin: 0;
}

.line-four {
    max-width: 140rem;
    height: 23.4rem;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.line-four-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.line-four-slider-track {
    display: flex;
    width: calc(200% + 14rem);
    /* 8个容器的宽度 + 7个间隔（20px * 7 = 140px） */
    height: 100%;
    /* 动画由JavaScript控制，移除CSS动画 */
    gap: 2rem;
}

.line-four-slider-track .lin-four-container {
    width: 35.1rem;
    /* 固定宽度 */
    flex-shrink: 0;
}

/* CSS动画已移除，改用JavaScript控制实现真正的无缝循环 */

.lin-four-container {
    width: 35.1rem;
    height: 23.4rem;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.ibc-content {
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.ibc-t {
    position: absolute;
    left: -0.4rem;
    bottom: 0.7rem;
    height: 2.4rem;
    display: flex;
    justify-content: flex-end;
}

.ibc-t h3 {
    margin-bottom: 0rem !important;
    margin-top: 0rem !important;
}