.discover-banner {
    font-size: 0;
}


.tab-module {
    display: flex;
    gap: 40px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    margin: 60px auto;
    justify-content: flex-start;
}

.tab-module a {
    display: inline-block;
    margin-bottom: 0;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer;
    color: #333;
    text-decoration: none;
}

.tab-module a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;            /* 改成0 */
    width: 100%;
    height: 4px;
    background-color: #14DCDC;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.tab-module a.active::after {
    transform: scaleX(1);
}


.tab-content {
    display: block;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}


/* news tab */
.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 30px auto 80px auto;
}

.news-item {
    display: flex;
    gap: 60px;
    width: 100%;
    text-align: left;
    align-items: stretch;
}

.news-img {
    flex: 0 0 40%;
    box-sizing: border-box;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    flex: 0 0 60%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-content .news-title {
    font-size: 28px;
}

.news-content .news-description,
.news-content .news-date {
    font-size: 14px;
    margin: 10px 0;
}

.news-item .read-more {
    display: inline-block;
    background: #14DCDC;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    align-self: flex-start;
    margin-top: 60px;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {

    .banner-section .banner-img img{
        height: 50vh;
        object-fit: cover;
    }

    .tab-module {
        flex-direction: row;
        gap: 20px;
        font-size: 18px;
        margin: 30px auto;
        padding: 0;
    }

    .tab-module a {
        display: inline-block;
        padding: 15px 20px;
        background: #f8f9fa;
        border-radius: 8px;
        text-align: center;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        text-decoration: none;
        min-width: fit-content;
        position: relative;
        overflow: hidden;
        /* 移除所有阴影效果 */
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        /* 移除点击时的默认样式 */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .tab-module a:hover {
        background: #e9ecef;
        border-color: #14DCDC;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a.active {
        background: #14DCDC;
        color: #fff;
        border-color: #14DCDC;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a:focus {
        outline: none;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .tab-module a:active {
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    /* 完全隐藏移动端的下划线指示器 */
    .tab-module a::after {
        display: none !important;
    }

    /* 移动端内容布局调整 */
    .news-list {
        gap: 30px;
        padding: 0;
    }

    .news-item {
        flex-direction: column;
        gap: 20px;
    }

    .news-img {
        flex: unset;
    }

    .news-content {
        flex: unset;
    }

    .news-content .news-title {
        font-size: 20px;
        line-height: 1.2;
    }

    .news-content .news-description,
    .news-content .news-date {
        font-size: 14px;
        margin: 5px 0;
    }

    .news-item .read-more {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .tab-module {
        gap: 8px;
        font-size: 14px;
        margin: 20px auto;
    }

    .tab-module h2 {
        display: inline-block;
    }

    .tab-module a {
        padding: 6px 8px;
        min-width: fit-content;
    }

    /* 确保小屏幕下也不显示下划线 */
    .tab-module a::after {
        display: none !important;
    }

    .news-content .news-title {
        font-size: 18px;
    }
}
