.syb-homepage {
    width: 100%
}

.syb-homepage__banner {
    width: 100%;
    height: 500px
}



.syb-homepage__banner img {
    width: 100%;
    height: 100%;
}

.syb-homepage__banner .layui-carousel-ind ul {
    background: transparent
}

.syb-homepage__banner .layui-carousel-ind ul li {
    width: 75px;
    height: 6px;
    border-radius: 3px;
    background-size: 300% 100%;
    background-position: 0 0;
    background-color: transparent;
    background-image: linear-gradient(90deg, #fff, #fff, #c6231d, #f5aa39);
    transition: all 0.4s ease
}

@media screen and (max-width:768px) {
    .syb-homepage__banner .layui-carousel-ind ul li {
        width: 15px;
        height: 3px;
    }
}

.syb-homepage__banner .layui-carousel-ind ul li.layui-this {
    background-position: 100% 0
}

.syb-homepage__banner_item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px
}

.syb-homepage__section {
    background: #fff;
    padding: 40px 0 0 0;
}

.mt40 {
    margin-top: 40px;
}

.pb40 {
    padding-bottom: 40px;
}

.syb-homepage__section--gray {
    background: #f6f6f6
}

.syb-homepage__title {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px
}

/* 新的产品中心标题样式 */
.syb-homepage__title-container {
    margin-bottom: 30px;
    position: relative;
}

.syb-homepage__title-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.syb-homepage__title-content {
    display: flex;
    flex-direction: column;
}

.syb-homepage__title-text {
    font-size: 22px;
    font-weight: bold;
    color: #c6231d;
    line-height: 1.2;
    margin-bottom: 2px;
}

.syb-homepage__title-english {
    font-size: 12px;
    color: #c6231d;
    font-weight: normal;
    text-transform: uppercase;
    line-height: 1;
}

.syb-homepage__product {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.syb-homepage__product_item {
    height: 208px;
    border-radius: 10px;
    background: #f6f6f6;
    margin-bottom: 24px;
    border: 1px solid #f6f6f6;
    box-sizing: border-box;
    cursor: pointer;
    transition: all ease 0.3s;
    position: relative;
    overflow: hidden;
}

.syb-homepage__product_item:hover {
    border-color: #c6231d
}

.syb-homepage__product_item:hover a {
    color: #c6231d
}

.syb-homepage__product_item a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.syb-homepage__product_item .product-image-container {
    width: 100%;
    height: calc(100% - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.syb-homepage__product_item .product-image-container img {
    max-width: 100%;
    object-fit: contain;
}

.syb-homepage__product_item .product-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #c6231d;
    color: white;
    text-align: center;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: bold;
}

.syb-homepage__product_item h3 {
    text-align: center;
    margin: 10px 0;
    font-size: 18px
}

.syb-homepage__newproduct {
    width: 100%;
    height: 50px;
    background-color: #e9e9e9;
    border-radius: 25px;
    margin-top: 10px;
    display: flex
}

.syb-homepage__newproduct_icon {
    flex: 0 0 130px;
    font-size: 20px;
    color: #c6231d;
    line-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.syb-homepage__newproduct_icon i {
    font-size: 26px;
    margin-right: 5px
}

.syb-homepage__newproduct_icon b {
    font-style: italic
}

.syb-homepage__newproduct_box {
    width: 1260px;
    overflow: hidden;
    font-size: 16px;
    position: relative
}

.syb-homepage__newproduct_box ul {
    display: flex;
    width: 99999px;
    height: 100%;
    align-items: center
}

.syb-homepage__newproduct_box li {
    margin-right: 70px
}

.syb-homepage__newproduct_box a {
    color: #333;
    transition: all ease 0.3s
}

.syb-homepage__newproduct_box a:hover {
    color: #c6231d;
    text-decoration: underline
}

.syb-homepage__activity {
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: space-between
}

.syb-homepage__activity_item {
    width: 175px;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    font-size: 30px;
    background: #bbb;
    position: relative
}

.syb-homepage__activity_item .mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    opacity: 1;
    text-align: center;
    line-height: 380px
}

.syb-homepage__activity_item img {
    width: 900px;
    height: 380px
}

.syb-homepage__activity_item--active {
    width: 900px
}

.syb-homepage__activity_item--active .mask {
    opacity: 0
}

.syb-homepage__activity_item .layui-carousel>[carousel-item]>* {
    background: #fbf1e8
}

.syb-homepage__activity_item .layui-carousel-ind {
    text-align: left;
    margin-left: 50px
}

.syb-homepage__activity_item .layui-carousel-ind ul {
    background: transparent
}

.syb-homepage__activity_item .layui-carousel-ind ul li {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    user-select: none;
    margin: 0 5px
}

.syb-homepage__activity_item .layui-carousel-ind ul li.layui-this {
    background: #fff
}

.syb-clear-integral-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 100;
    top: 0;
    left: 0
}

.syb-clear-integral-modal__main {
    width: 550px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    text-align: center;
    overflow: hidden
}

.syb-clear-integral-modal__main p {
    font-size: 18px;
    font-weight: bold;
    color: #666;
    padding: 55px 0 50px
}

.syb-clear-integral-modal__main p em {
    color: #c6231d
}

.syb-clear-integral-modal__main .btn {
    padding-right: 110px
}

.syb-clear-integral-modal__main .btn span {
    margin: 0 20px
}

.syb-clear-integral-modal__main::before {
    content: '';
    width: 71px;
    height: 97px;
    background: url("../img/deer-75087.png?v=78219de8e964");
    position: absolute;
    right: 30px;
    bottom: -5px
}

.syb-classroom-classify__section1 {
    width: 59.5%;
}

.syb-classroom-classify__section2 {
    width: 40.5%;
}

.home_jjfa {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

.home_sybkt {
    width: 37px;
    height: 37px;
    margin-right: 4px;
}

.home_xwzx {
    width: 40px;
    height: 23px;
    margin-right: 8px;
}

.home_cpzx {
    width: 40px;
    height: 40px;
    display: block;
    background-image: url("../../webimage/common/pcenterc.png");
}
/* .home-solution-pc{
    display: block;
}
.home-solution-mobile{
    display: none;
} */

@media screen and (max-width:820px) {
    /* .syb-classroom__swiper {
        display: none;
    } */
    .syb-button {
        padding: 0 15px;
    }
    .syb-classroom__list {
        width: calc(50% - 10px);
    }
    .syb-solution-swiper-dot .syb-button{
        margin:15px;
    }
    .syb-course__list {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .syb-courseitem {
        width: calc(50% - 10px);
    }

    .syb-courseitem__img img {
        width: 100%;
    }

    .syb-courseitem__img {
        width: 100%;
        height: auto;
    }

    .syb-courseitem {
        margin-right: 0;
    }

    .syb-homepage__title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .syb-homepage__section {
        padding-top: 20px;
    }

    .home_jjfa {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_sybkt {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_xwzx {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_cpzx {
        width: 26px;
        height: 26px;
        display: block;
    }
    .home-solution-pc{
        display: none;
    }
    .home-solution-mobile{
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    /* 移动端解决方案轮播样式 */
    #homepageSolutionSwiperMobile {
        position: relative;
        width: 100%;
        height: 42.6vw !important;
    }
    
    .syb-solution-mobile-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        z-index: 1;
    }
    
    .syb-solution-mobile-item.active {
        opacity: 1;
        z-index: 2;
    }
    
    .syb-solution-mobile-item a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        text-decoration: none;
        color: inherit;
    }
    
    .syb-solution-mobile-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .syb-solution-mobile-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: white;
        padding: 20px 15px 15px;
    }
    
    .syb-solution-mobile-title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .syb-solution-mobile-desc {
        font-size: 12px;
        line-height: 1.4;
        opacity: 0.9;
    }
}

/* 实验帮课堂标题样式 */
.syb-homepage__title-box-sybkt {
    position: relative;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}


.syb-homepage__title-content-sybkt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.syb-homepage__title-text-sybkt {
    font-size: 22px;
    font-weight: bold;
    color: #c6231d;
    line-height: 1.2;
    margin: 0;
}

.syb-homepage__title-english-sybkt {
    font-size: 12px;
    color: #c6231d;
    line-height: 1;
}

/* 新闻资讯标题样式 - 与实验帮课堂保持一致 */
.syb-homepage__title-text-news {
    font-size: 22px;
    font-weight: bold;
    color: #c6231d;
    line-height: 1.2;
    margin: 0;
}

.syb-homepage__title-english-news {
    font-size: 12px;
    color: #c6231d;
    line-height: 1;
}

.syb-homepage__newproduct {
    width: 100%;
    height: 50px;
    background-color: #e9e9e9;
    border-radius: 25px;
    margin-top: 10px;
    display: flex
}

.syb-homepage__newproduct_icon {
    flex: 0 0 130px;
    font-size: 20px;
    color: #c6231d;
    line-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center
}

.syb-homepage__newproduct_icon i {
    font-size: 26px;
    margin-right: 5px
}

.syb-homepage__newproduct_icon b {
    font-style: italic
}

.syb-homepage__newproduct_box {
    width: 1260px;
    overflow: hidden;
    font-size: 16px;
    position: relative
}

.syb-homepage__newproduct_box ul {
    display: flex;
    width: 99999px;
    height: 100%;
    align-items: center
}

.syb-homepage__newproduct_box li {
    margin-right: 70px
}

.syb-homepage__newproduct_box a {
    color: #333;
    transition: all ease 0.3s
}

.syb-homepage__newproduct_box a:hover {
    color: #c6231d;
    text-decoration: underline
}

.syb-homepage__activity {
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: space-between
}

.syb-homepage__activity_item {
    width: 175px;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    font-size: 30px;
    background: #bbb;
    position: relative
}

.syb-homepage__activity_item .mask {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    opacity: 1;
    text-align: center;
    line-height: 380px
}

.syb-homepage__activity_item img {
    width: 900px;
    height: 380px
}

.syb-homepage__activity_item--active {
    width: 900px
}

.syb-homepage__activity_item--active .mask {
    opacity: 0
}

.syb-homepage__activity_item .layui-carousel>[carousel-item]>* {
    background: #fbf1e8
}

.syb-homepage__activity_item .layui-carousel-ind {
    text-align: left;
    margin-left: 50px
}

.syb-homepage__activity_item .layui-carousel-ind ul {
    background: transparent
}

.syb-homepage__activity_item .layui-carousel-ind ul li {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    user-select: none;
    margin: 0 5px
}

.syb-homepage__activity_item .layui-carousel-ind ul li.layui-this {
    background: #fff
}

.syb-clear-integral-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 100;
    top: 0;
    left: 0
}

.syb-clear-integral-modal__main {
    width: 550px;
    height: 200px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    text-align: center;
    overflow: hidden
}

.syb-clear-integral-modal__main p {
    font-size: 18px;
    font-weight: bold;
    color: #666;
    padding: 55px 0 50px
}

.syb-clear-integral-modal__main p em {
    color: #c6231d
}

.syb-clear-integral-modal__main .btn {
    padding-right: 110px
}

.syb-clear-integral-modal__main .btn span {
    margin: 0 20px
}

.syb-clear-integral-modal__main::before {
    content: '';
    width: 71px;
    height: 97px;
    background: url("../img/deer-75087.png?v=78219de8e964");
    position: absolute;
    right: 30px;
    bottom: -5px
}

.syb-classroom-classify__section1 {
    width: 59.5%;
}

.syb-classroom-classify__section2 {
    width: 40.5%;
}

.home_jjfa {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

.home_sybkt {
    width: 37px;
    height: 37px;
    margin-right: 4px;
}

.home_xwzx {
     width: 67.9px;
    height: 40px;
    margin-right: 8px;
}

.home_cpzx {
    width: 40px;
    height: 40px;
    display: block;
    background-image: url("../../webimage/common/pcenterc.png");
}
/* .home-solution-pc{
    display: block;
}
.home-solution-mobile{
    display: none;
} */

@media screen and (max-width:820px) {
    /* .syb-classroom__swiper {
        display: none;
    } */
    .syb-button {
        padding: 0 15px;
    }
    .syb-classroom__list {
        width: calc(50% - 10px);
    }
    .syb-solution-swiper-dot .syb-button{
        margin:15px;
    }
    .syb-course__list {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .syb-courseitem {
        width: calc(50% - 10px);
    }

    .syb-courseitem__img img {
        width: 100%;
    }

    .syb-courseitem__img {
        width: 100%;
        height: auto;
    }

    .syb-courseitem {
        margin-right: 0;
    }

    .syb-homepage__title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .syb-homepage__section {
        padding-top: 20px;
    }

    .home_jjfa {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_sybkt {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_xwzx {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .home_cpzx {
        width: 26px;
        height: 26px;
        display: block;
    }
    .home-solution-pc{
        display: none;
    }
    .home-solution-mobile{
        display: block;
        position: relative;
        overflow: hidden;
    }
    
    /* 移动端解决方案轮播样式 */
    #homepageSolutionSwiperMobile {
        position: relative;
        width: 100%;
        height: 42.6vw !important;
    }
    
    .syb-solution-mobile-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        z-index: 1;
    }
    
    .syb-solution-mobile-item.active {
        opacity: 1;
        z-index: 2;
    }
    
    .syb-solution-mobile-item a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        text-decoration: none;
        color: inherit;
    }
    
    .syb-solution-mobile-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .syb-solution-mobile-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: white;
        padding: 20px 15px 15px;
    }
    
    .syb-solution-mobile-title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .syb-solution-mobile-desc {
        font-size: 12px;
        line-height: 1.4;
        opacity: 0.9;
    }
}

.news-carousel-container {
    position: relative;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 33.33%; /* 3:1 宽高比 */
    overflow: hidden;
}

.news-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.news-carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.news-carousel-item.active {
    opacity: 1;
}

.news-carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 20px 20px;
}

.news-carousel-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-carousel-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.news-carousel-controls:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-controls.prev {
    left: 15px;
}

.news-carousel-controls.next {
    right: 15px;
}

.news-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.news-carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

.news-carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-carousel {
        padding-bottom: 40%; /* 平板设备使用 2.5:1 宽高比 */
    }
    
    .news-carousel-content {
        padding: 30px 15px 15px;
    }
    
    .news-carousel-content h3 {
        font-size: 16px;
    }
    
    .news-carousel-content p {
        font-size: 12px;
    }
    
    .news-carousel-controls {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .news-carousel-controls.prev {
        left: 10px;
    }
    
    .news-carousel-controls.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .news-carousel {
        padding-bottom: 50%; /* 手机设备使用 2:1 宽高比 */
    }
    
    .news-carousel-content {
        padding: 20px 10px 10px;
    }
    
    .news-carousel-content h3 {
        font-size: 14px;
    }
    
    .news-carousel-content p {
        font-size: 11px;
    }
    
    .news-carousel-controls {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .news-carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}

/* 实验帮课堂查看更多按钮样式 */
.syb-classroom-section {
    position: relative;
}

/* 查看更多按钮容器 - 另起一行右对齐 */
.syb-classroom-more-container {
    text-align: right;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.syb-classroom-more-btn {
    display: inline-block;
    padding: 5px 25px;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.syb-classroom-more-btn:hover {
    background-color: #c82333;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
}

.syb-classroom-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

/* 新闻中心查看更多按钮样式 */
.syb-news-more-container {
    text-align: right;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.syb-news-more-btn {
    display: inline-block;
    padding: 5px 25px;
    background-color: #dc3545;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.syb-news-more-btn:hover {
    background-color: #c82333;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
    text-decoration: none;
}

.syb-news-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
}

.news-carousel-container {
    position: relative;
    margin: 20px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.news-carousel-item.active {
    opacity: 1;
}

.news-carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 20px 20px;
}

.news-carousel-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-carousel-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.news-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.news-carousel-controls:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.news-carousel-controls.prev {
    left: 15px;
}

.news-carousel-controls.next {
    right: 15px;
}

.news-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.news-carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-carousel-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}

.news-carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-carousel {
        height: 250px;
    }
    
    .news-carousel-content {
        padding: 30px 15px 15px;
    }
    
    .news-carousel-content h3 {
        font-size: 16px;
    }
    
    .news-carousel-content p {
        font-size: 12px;
    }
    
    .news-carousel-controls {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .news-carousel-controls.prev {
        left: 10px;
    }
    
    .news-carousel-controls.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .news-carousel {
        height: 200px;
    }
    
    .news-carousel-content {
        padding: 20px 10px 10px;
    }
    
    .news-carousel-content h3 {
        font-size: 14px;
    }
    
    .news-carousel-content p {
        font-size: 11px;
    }
    
    .news-carousel-controls {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .news-carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}
