.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 Detail */
/* 新闻详情 + 相关新闻外层布局 */
.news-container {
    display: flex;
    gap: 40px;
}

/* 左边新闻详情 */
.news-detail-wrapper {
    flex: 3;
    text-align: left;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 标题 */
main.page-content .news-detail-wrapper h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #222;
}

/* 标签 + 日期 */
.news-meta {
    display: flex;
    justify-content: space-between;
    /* 左右分布 */
    align-items: center;
    /* 垂直居中 */
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.news-meta .tags {
    flex: 1;
}

.news-meta .date {
    white-space: nowrap;
    /* 避免日期换行 */
}

/* 正文内容 */
.news-content {
    margin-top: 60px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.news-content h2 {
    margin-top: 25px;
    font-size: 20px;
}

.related-news {
    flex: 1;
    padding: 0 15px;
}

.related-news h3 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: bold;
    padding-bottom: 5px;
}

.related-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-news li {
    margin-bottom: 15px;
}

.related-news .news-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-bottom: 40px;
}

.related-news .news-img {
    flex: 0 0 80px;
}

.related-news .news-img img {
    object-fit: cover;
    border-radius: 4px;
}

.related-news .news-content {
    flex: 1;
    margin-top: 20px;
}

.related-news .news-title {
    font-weight: bold;
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-news .news-title:hover {
    color: #14DCDC;
}

.related-news .news-date {
    font-size: 12px;
    color: #888;
}


/* 响应式布局：小屏幕改为上下排列 */
/* @media (max-width: 768px) {
    .news-container {
        flex-direction: column;
    }

    .related-news {
        border-left: none;
    }

    .related-news .news-img {
        flex: 0 0 60px;
    }

    .related-news .news-img img {
        width: 60px;
        height: 45px;
    }
} */

@media (max-width: 768px) {

    .tab-warpper{
        padding: 0 2%;
    }

    .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-container {
        flex-direction: column;
    }

    /* 移动端内容布局调整 */
    .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;
    }

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

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

    .related-news h3{
        font-size: 32px;
    }

    .news-content,.news-meta{
        font-size: 14px;
    }

    .related-news{
        padding: 0;
    }

    .related-news .news-item{
        margin-bottom: 20px;
    }
}

@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;
    }
}