/* 自定义样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}
a{
    text-decoration: none;
}
.box-container {
    width: 1200px;
    margin: 0 auto;
}

.box-height-1 {
    height: 370px;
}

.box-height-2 {
    height: 280px;
}

.header-title {
    font-size: 18px;
    font-weight: 700;
    color: rgba(2, 117, 213, 1);
    text-align: left;
}

/* 轮播图样式 */
.swiper-top {
    width: 100%;
    height: 310px;
    position: relative;
}

.swiper-article {
    width: 100%;
    height: 297px;
    position: relative;
}

.swiper-article-text {
    width: 100%;
    height: 33px;
    position: absolute;
}

.swiper-article-b {
    height: 33px;
    background: rgba(2, 117, 213, 1);
    position: relative;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.swiper-article-b-text {
    width: 251px;
    font-size: 14px;
    font-weight: 500;
    line-height: 33px;
    color: rgba(255, 255, 255, 1);

    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper-pagination2 {
    flex: 1;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* 轮播图分页器样式 */
.swiper-article-b .swiper-pagination-bullet {
    height: 8px;
    width: 8px;
    background: rgba(255, 255, 255, 0.5);
    text-align: right;
}

.swiper-article-b .swiper-pagination-bullet-active {
    height: 8px;
    width: 8px;
    background: rgba(255, 255, 255, 1);
    text-align: right;
}

.swiper-top .swiper-pagination-bullet {
    height: 8px;
    width: 6.47px;
    background-image: url('../image/page-no.png');
    background-size: contain;
    /* 按比例缩放并完整显示 */
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    background-color: unset;
}

.swiper-top .swiper-pagination-bullet-active {
    height: 8px;
    width: 6.47px;
    background-image: url('../image/page-yes.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    background-color: unset;
}

.swiper-image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 35px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 新闻列表样式 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.news-list li {
    /* padding: 10px 0; */
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 10px;
}

.news-list .a-text-l {
    flex: 1;


    height: 21px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: rgba(51, 51, 51, 1);
    text-align: left;

    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.news-list .a-text-l:hover {
    color: rgba(2, 117, 213, 1);
}


.news-list .news-date {
    height: 21px;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: rgba(166, 166, 166, 1);
    width: 100px;
    display: inline-block;
}


/* 导航栏样式 */
.navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    color: rgba(51, 51, 51, 1);
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-nav .nav-item.active .nav-link {
    color: #007bff;
    font-weight: 500;
}

/* 下拉菜单样式 */
.navbar-nav .dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1.5rem;
    /* transition: background-color 0.3s ease, color 0.3s ease; */
}

.navbar-nav .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.navbar-nav .dropdown-item:active {
    background-color: #e9ecef;
    color: #007bff;
}

/* 下拉菜单切换按钮样式 - 移除箭头 */
.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* 导航项悬停效果 */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-item:hover::after,
.navbar-nav .nav-item.active::after {
    width: 100%;
}

/* 头部样式 */
header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 公司名称样式 */
header h1 {
    font-weight: 600;
}

/* 响应式导航栏调整 */
@media (max-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.25rem;
    }
}

/* 底部样式 */
footer {
    background-color: #343a40;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #adb5bd;
    text-decoration: none;
}





/* 搜索组件 */
.search-container {
    position: relative;
    display: inline-block;
}

.search-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 0;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.search-wrapper.show {
    width: 280px;
    opacity: 1;
}

.search-input {
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 1rem;
    background: transparent;
    height: 100%;
    flex: 1;
}

.search-toggle {
    margin-left: 10px;
}

.search-icon {
    width: 20px;
    height: 20px;
}

.box-bg-d {
    background-color: #fff;
    padding: 20px 50px;
    border-radius: 10px;
}

.box-bg-d img {
    width: 40px;
    height: 40px;
}

.box-title-red {
    font-size: 24px;
    line-height: 24px;
    font-weight: bold;
    letter-spacing: 0px;
    color: rgba(205, 25, 39, 1);
}

.box-title-desc {
    font-size: 12px;
    font-weight: 500;
    color: rgba(128, 128, 128, 1);
}

.box-title-link {
    color: rgba(166, 166, 166, 1);
    text-decoration: none;
}

.box-card {
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 10px;
}



.box-card-top {
    border-bottom: 1px solid rgba(2, 117, 213, 1);
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 5px;
}

.box-card-top-title {
    width: 50%;
    text-align: center;
    font-size: 16px;
    line-height: 45px;
    /* font-weight: bold; */
    color: black;
}

.box-card-top-title.active {
    color: #fff !important;
    background: rgba(2, 117, 213, 1);
}

.box-card-top-title-link {
    color: rgba(166, 166, 166, 1);
    width: 50%;
    text-align: right;
    text-decoration: none;
}

.box-model-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    padding-top: 10px;
    column-gap: 20px;
    row-gap: 10px;
}

.box-model-list-item {
    width: calc(50% - 10px);

    text-align: center;

    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0px;
    color: rgba(2, 117, 213, 1);

    line-height: 40px;
    height: 40px;
    background: rgba(244, 249, 255, 1);


}

.box-notice-left {
    background: rgba(244, 249, 255, 1);
    height: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-notice-left-t {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    color: rgba(166, 166, 166, 1);

    height: 21px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20.27px21px;
    color: rgba(166, 166, 166, 1);
}

.box-notice-left-b {

    height: 29px;
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    color: rgba(2, 117, 213, 1);

}

.box-notice-left-r {

    font-size: 14px;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);

    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 限制为 2 行 */
    -webkit-box-orient: vertical;
    /* 设置垂直排列 */
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown .dropdown-menu {
        display: block !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.2s, transform 0.2s;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        transform: translateY(0);
    }
}


.friend-link {
    height: 60px;
    opacity: 1;
    background: rgba(255, 255, 255, 1);
}

.friend-link-l {
font-size: 16px;
font-weight: 400;
color: rgba(51, 51, 51, 1);
}

.friend-link .friend-link-item {
    font-size: 16px;
    font-weight: 400;
    color: rgba(51, 51, 51, 1);
    text-decoration: none;
}

.friend-link .friend-link-item:not(:last-child)::after {
    content: '|';
    margin-left: 10px;
    margin-right: 10px;
}

.custom-btn:active {
    border-color: transparent !important;
}