/* 首页专用CSS */

/* 轮播图样式 */
.carousel {
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    height: 500px;
    /* background-color: var(--primary-color); */
}
.img-wrap {
    display: block;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移动端响应式样式 */
@media (max-width: 767px) {
    .carousel-item {
        height: 211px;
    }
}

/* 轮播图标题样式 */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.carousel-caption h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* 页面主体内容样式 */

/* 图片展示与新闻列表一体化组件 */
.integrated-section {
    background-color: #fff;
    overflow: hidden;
}
.integrated-section .carousel-item {
    height: auto;
}

/* 日期圆圈样式 */
.integrated-section .carousel-image {
    height: 408px;
    background: var(--primary-color);
    color: #fff;
}
.date-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient( 270deg, #E44221 0%, #D71020 100%);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 15px;
}

.date-number {
    font-size: 18px;
    line-height: 1;
}

.date-month {
    font-size: 12px;
    line-height: 1;
}
.img-info {
    height: 60px;
    position: relative;
    padding-left: 110px;
}
.img-title {
    font-weight: 600;
    font-size: 20px;
    color: #111111;
    line-height: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 轮播指示器样式 */
.integrated-section .carousel-indicators {
    bottom: 80px;
    right: 15px;
    justify-content: flex-end;
    margin: 0;
    padding-right: 10px;
}

.integrated-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    margin: 0 5px;
    
}

.integrated-section .carousel-indicators button.active {
    background-color: var(--primary-color);
}

/* 新闻标签样式 */
.news-tabs {
    margin-bottom: 15px;
    /* padding-bottom: 5px; */
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #DDDDDD;
}
.pl-36 {
    padding-left: 36px;
}
.news-tabs .tab-link {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    padding: 5px 0;
    font-size: 1.3vw;
    border-bottom: 2px solid transparent;

}

.news-tabs .tab-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.news-tabs .tab-icon {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: inline-block;
}

/* 新闻列表样式 */
.integrated-section .news-content {
    position: relative;
}
.integrated-section .news-content::after {
    position: absolute;
    content: '';
    top: 5%;
    left: 5px;
    width: 1px;
    height: 80%;
    background-color:  #DDDDDD;
    z-index: 1;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}

.news-dot {
    width: 12px;
    height: 12px;
    /* background-color: var(--primary-color); */
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
    border: 1px solid var(--primary-color);
    position: absolute;
    top: 16px;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.news-date {
    color: var(--primary-color);
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.news-title {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-bottom: 10px;
    padding-top: 6px;
    border-bottom: 1px dashed #ddd;
    width: 100%;
    display: block;
}
.news-list .active {
    color: var(--primary-color);
}
.news-list .active .news-dot {
    background: var(--primary-color);
}
.news-item:hover .news-title {
    color: var(--primary-color);
}
.news-item:hover .news-dot {
    background: var(--primary-color);
}

/* 更多链接样式 */
.more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
}
/* 响应式设计 */
@media (max-width: 992px) {
    .integrated-section .carousel-image {
        height: 325px;
    }
}

@media (max-width: 767px) {
    .img-info {
        height: 50px;
        padding-left: 90px;
    }
    .img-title {
        font-size: 15px;
        height: 50px;
        line-height: 50px;
    }
    .date-circle { 
        width: 64px;
        height: 64px;
        border-radius: 32px;
    }
    .integrated-section .col-lg-7,
    .integrated-section .col-lg-5 {
        padding: 0;
    }
    
    .integrated-section .col-lg-5 {
        padding: 15px;
        margin-top: -5px;
    }
    .integrated-section .carousel-image {
        height: 193px;
    }
    .news-tabs .tab-link {
        font-size: 16px;
    }
    .news-tabs .tab-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-top: -5px;
    }
}


/* 新闻标签样式 */
.news-tabs .nav-link {
    color: #333;
    border: none;
    border-bottom: 2px solid transparent;
}

.news-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 政策法规样式 */
.policy-section {
    margin-bottom: 50px;
}

.policy-header {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.policy-title {
    position: relative;
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    padding-left: 10px;
}

.policy-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    bottom: 0;
    width: 4px;
    height: 50%;
    background-color: var(--primary-color);
}
.policy-title::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    height: 50%;
    background-color: var(--active-color);
}

.policy-divider {
    flex: 1;
    height: 1px;
    background-color: #ddd;
    margin: 0 15px;
    position: relative;
}
.policy-divider::after {
    content: '';
    position: absolute;
    left: 5%;
    top: -6px;
    bottom: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.policy-more {
    padding: 5px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 16px;
}

.policy-more:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}
.ky-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-item {
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary-color);
    text-align: center;
    cursor: pointer;
    color: var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-item:hover {
    background-color: var(--primary-color);
    color: white;
}
/* 政策卡片样式 */
.policy-card {
    border: 1px solid #ddd;
    padding: 15px;
    height: 148px;
    margin-bottom: 20px;
    position: relative;
    background-color: white;
    box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.policy-card:hover {
    border: 1px solid var(--primary-color);
}

.policy-date {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-right: 6px;
}

.date-number {
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    display: block;
    width: 100%;
    height: 50%;
    text-align: center;
}

.date-year {
    font-size: 12px;
    line-height: 1;
    background: #fff;
    display: block;
    width: 100%;
    height: 50%;
    color: var(--primary-color);
    text-align: center;
    line-height: 35px;
    border: 1px solid var(--primary-color);
}
.policy-info {
    flex: 1;
}
.policy-category {
    font-size: 16px;
    font-weight: bold;
    color: var(--active-color);
    margin-bottom: 10px;
}

.policy-content {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 46px;
}

/* 银龄风采 */
.yinling-area {
    position: relative;
    padding-bottom: 2vw;
    margin-bottom: 2vw;
}
.yinling-area::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 18vw;
    background-color: #eee;
}
.yinling-wrap {
    position: relative;
    z-index: 2;
}
.yinling-wrap .carousel-wrap {
    overflow: hidden;
    height: 25vw;
}
.yinling-wrap .slide-wrap {
    /* overflow: hidden; */
    height: 100%;
    display: block;
    position: relative;

}
.yinling-wrap .slide-wrap img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    position: absolute;
    bottom: -10%;
    left: 0;
}
/* .yinling-wrap .swiper-slide-prev img {
    transform: scale(0.8) translateX(-20%);
} */
.yinling-wrap .swiper-slide-active img {
    transform: scale(0.8) translateX(-20%);
}
.yinling-wrap .swiper-slide-next img {
    transform: scale(0.8) translateX(-40%);
}

.yinling-wrap .swiper-slide-next + .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2) translateX(-22%);
}

.yinling-carousel {
    height: 25vw;
    width: 110%;
    margin-left: -10%;
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}
.yinling-info {
    padding-top: 0;
    background-size: 60%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.yinling-header {
    background: #fff;
    padding: 10px;
    padding-bottom: 0;
    height: 9vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.yinling-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 16vw;
    background: #eee;
    padding: 10px;
    box-sizing: border-box;
}
.yinling-info h4 {
    color: var(--primary-color);
    font-size: 1.5vw;
    margin-bottom: 20px;
    position: relative;
    font-weight: 600;
}
.yinling-info h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 1px;
    background-color: var(--primary-color);
}
.yinling-position {
    font-weight: 600;
    font-size: 1vw;
    color: #333333;
}

.yinling-content {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.yinling-info .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
    padding: 8px 24px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 0;
    height: 40px;
}
.yinling-btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}
.yinling-nav {
    display: flex;
    align-items: center;
    height: 40px;
    justify-content: center;
}
.yinling-nav .btn-item {
    width: 30px;
    height: 30px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    margin-right: 10px;
    border-radius: 0;
    border: none;
    line-height: 30px;
    margin-left: 0px;
}
/* .yinling-nav .btn-item:hover {
    color: var(--primary-color);
} */
/* 银龄风采移动端 */
.yinling-mobile  {
    overflow: hidden;
}
.yinling-mobile-img {
    width: 180px;
    height: 226px;
    margin: 0 auto;
}
.yinling-mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.yinling-mobile-name {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
.yinling-mobile-position {
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    text-align: center;
    margin-bottom: 10px;
}
.yinling-mobile-content {
    font-size: 16px;
    color: #666666;
    height: 60px;
    /* 超过三行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}
.yinling-mobile-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.yinling-mobile-btn .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
    padding: 8px 24px;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 0;
    height: 40px;
    margin-bottom: 10px;
}
@media screen and (max-width: 992px) {
    .yinling-area::after {
        height: 40vw;
    }
}
@media screen and (max-width: 768px) {
    .yinling-area::after {
        height: 80vw;
    }
}
/* 为老服务 */
.service-section {
    background: url('./service-bg.jpg') no-repeat;
    background-size: cover;
    background-position: 0px 40px;
}

/* 老年科研 */
.laonian-keyan {
    position: relative;
    z-index: 1;
}
.laonian-keyan::after {
    content: '';
    position: absolute;
    left: 0;
    top: 2.5vw;
    width: 100%;
    height: 20vw;
    background: linear-gradient( 270deg, #E44221 0%, #D71020 100%);
    z-index: 1;
}
.laonian-keyan-pc {
    position: relative;
    z-index: 2;
}
.laonian-keyan-pc .ky-left {
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.laonian-keyan-pc .ky-right-carousel {
    overflow: hidden;
}
.laonian-keyan-pc .keyan-info {
    height: 10vw;
    padding-top: 2vw;
}
.laonian-keyan-pc .keyan-title {
    font-size: 1.2vw;
    font-weight: 600;
    color: #fff;
    position: relative;
    margin-bottom: 20px;
}
.laonian-keyan-pc .keyan-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 32px;
    height: 3px;
    background-color: #fff;
}
.laonian-keyan-pc .keyan-content {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    height: 45px;
    /* 超过三行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.laonian-keyan-pc .ky-right-book {
   width: 100%;
   height: 29vw;
}
.laonian-keyan-pc .ky-carousel .ky-book-item {
    height: 15.85vw;
    /* box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.2); */
}
.laonian-keyan-pc .ky-carousel .ky-book-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2); */
}
.laonian-keyan-pc .ky-right-book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.laonian-keyan-pc .ky-right-book-info {
    height: 0;
    overflow: hidden;
    opacity: 0;
}
/* 老年科研移动端 */
.laonian-keyan-mobile {
    position: relative;
    z-index: 2;
}
.ky-mobile-main-info {
    width: 100%;
}
.ky-mobile-swiper-wrapper {
    width: 100%;
    padding: 0 40px;
    position: relative;
}
.ky-mobile-books-swiper {
    overflow: hidden;
    width: 100%;
}
.ky-mobile-books-swiper .ky-mobile-main-info {
    height: 0;
    width: 100%;
    opacity: 0;
}
.ky-mobile-content {
    width: 100%;
    background: linear-gradient( 270deg, #E44221 0%, #D71020 100%);
    padding: 20px 15px;
}
.ky-mobile-book-item{
    height: 25vw;
}
.ky-mobile-book-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.ky-mobile-books-controls .carousel-prev {
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: 10;
}
.ky-mobile-books-controls .carousel-next {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    z-index: 10;
}
.ky-mobile-main-header {
    display: flex;
    justify-content: space-between;
    position: relative;
}
.ky-mobile-main-header .ky-mobile-main-img {
    width: 30vw;
    height: 40vw;
    margin-right: 10px;
    object-fit: cover;
    position: absolute;
    top: -12vw;
    right: 0px;
    z-index: 10;
}
.ky-mobile-main-title-wrapper{
    /* padding: 50px; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* padding-bottom: 50px; */
    box-sizing: border-box;
    width: 70%;
    padding-right: 20px;
    height: 30vw;
    padding-bottom: 20px;
}
.ky-mobile-main-title {
    height: auto;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    position: relative;
}
.ky-mobile-main-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 32px;
    height: 3px;
    background-color: #fff;
}
.ky-mobile-main-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    height: 68px;
    /* 超过三行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
@media screen and (max-width: 992px) {
    .laonian-keyan::after {
        content: '';
        display: none;
    }
    .ky-mobile-swiper-wrapper {
        width: 100%;
        padding: 0 20px;
        position: relative;
    }
}

/* 作品展示 */
.works-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.works-carousel .swiper-slide {
    width: 70vw;
    height: 30vw;
}
.works-item {
    width: 70vw;
    height: 30vw;
    position: relative;
}
.works-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-carousel .swiper-slide .works-info {
    position: absolute;
    bottom: 5vw;
    right: 5vw;
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.7);
    /* 磨砂效果 */
    backdrop-filter: blur(8px);
    padding: 2vw;
    
}
.works-img {
    width: 100%;
    height: 100%;
}
.works-info-title {
    font-weight: 600;
    font-size: 20px;
    color: #111111;
    height: 24px;
    /* 一行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.works-info-meta {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding-left: 20px;
    border-left: 1px solid var(--primary-color);
    color: #333333;
    margin: 16px;
}
.works-info-content {
    font-size: 15px;
    color: #666666;
    height: 64px;
    /* 三行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.works-controls .carousel-prev {
    position: absolute;
    left: 5vw;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    border: 0;
    background: rgba(255,255,255,0.6);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.works-controls .carousel-next {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    border: 0;
    background: rgba(255,255,255,0.6);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}
.works-controls .btn-item:hover {
    color: var(--primary-color);
}
@media screen and (max-width: 992px) {
    .works-carousel .swiper-slide {
        width: 70vw;
        height: 45vw;
    }
    .works-item {
        width: 70vw;
        height: 45vw;
        position: relative;
    }
    .works-carousel .swiper-slide .works-info {
        width: 80%;
        right: 2px;
    }
    .works-info-title {
        font-size: 16px;
        height: 20px;
    }
    .works-info-meta {
        font-size: 12px;
        padding-left: 5px;
        margin: 0;
        margin-bottom: 5px;
    }
    .works-info-content {
        font-size: 16px;
        height: 40px;
        -webkit-line-clamp: 2;
    }
}

/* 院所动态 */
.dynamic-section .news-main-img {
    width: 100%;
    height: 15.5vw;
}
.dynamic-section .news-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dynamic-item {
    padding: 1.1vw 0;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}
.dynamic-item .dynamic-item-date {
    font-size: 16px;
    color: #666;
}
.dynamic-item .news-item-date {
    font-size: 16px;
    color: #666;
}
.dynamic-item .news-item-title {
    font-size: 18px;
    color: #111111;
    height: 50px;
    /* 两行省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.dynamic-item:hover  {
    border-bottom: 1px solid var(--active-color);
}
.dynamic-item:hover .news-item-title {
    color: var(--active-color);
}
.dynamic-item:hover .news-item-date {
    color: var(--active-color);
}
@media screen and (max-width: 992px) {
    .dynamic-section .news-main-img {
        height: 46.5vw;
    }
}

/* 为老服务侧边栏 */
.service-sidebar {
    background-color: #fff;
    padding: 15px 0;
}
.service-sidebar .nav-item {
    margin: 0;
    padding: 0 30px;
    width: 100%;
}
.service-sidebar-m .nav-item {
    padding: 0 15px;
}
.service-sidebar .nav-link {
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    height: 60px;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-sidebar-m .nav-item .nav-link {
    padding: 0px;
    height: 44px;
    font-size: 16px;
}
.service-sidebar .nav-link span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 16px;
    flex: 1;
    width: 80%;
}
.service-sidebar .active {
    background-color: var(--primary-color);
    color: #fff;
    width: 100%;
    position: relative;
    z-index: 1;
}
.service-sidebar .active::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 0;
    border-bottom: 30px solid transparent;
    border-top: 30px solid transparent;
    border-left: 30px solid var(--primary-color);
}
.service-sidebar .active .nav-link {
    color: #fff;
     border-bottom: 1px solid var(--primary-color);
}
/* 为老服务轮播样式 */
#serviceCarousel {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.service-carousel-item {
    width: 100%;
    height: 520px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
.service-carousel-item::after{
    content: '→';
    position: absolute;
    right: -84px;
    bottom: -84px;
    width: 168px;
    height: 168px;
    background-color: var(--active-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    line-height: 100px;
    font-size: 24px;
    padding-left: 40px;
    cursor: pointer;
}
@media (max-width: 992px) {
    #serviceCarousel {
        height: 188px;
    }
    #serviceCarousel .carousel-item {
        height: 188px;
    }
    #serviceCarousel .service-carousel-item {
        height: 188px;
    }
    .service-sidebar .active::after {
        display: none;
    }
}
