/* banner 轮播图  */
.index-swiper {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: all 0.5s ease;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-slide a:hover {
    background-size: 102% 102% !important;
}

.swiper-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    width: 100%;
    height: 42%;
    padding: 32px;
    line-height: 1.6em;
    background: linear-gradient(180deg, rgba(21, 27, 38, 0) 0%, rgba(21, 27, 38, 1) 100%);
    display: flex;
    flex-wrap: wrap;
    align-content: end;
}

.swiper-slide-title {
    margin-top: 12px;
    font-size: 24px;
    font-weight: bold;
    width: 100%;
}

.swiper-slide-desc {
    margin-top: 12px;
    font-size: 14px;
    width: 60%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
}

.swiper-pagination {
    bottom: 24px !important;
    text-align: right !important;
    padding-right: 36px;
}

.swiper-pagination-bullet {
    width: 20px !important;
    height: 5px !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
    transition: all 0.2s;
}

.swiper-pagination-bullet-active {
    width: 28px !important;
    background: rgba(255, 195, 0, 0.9) !important;
}

.index-cont {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 24px;
}

.index-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0; /* 防止 Grid 子项被内容撑开 */
}

.index-right {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 8px;
    gap: 24px;
    align-self: start;
    min-width: 0; /* 防止 Grid 子项被内容撑开 */
}


/* ==================== 最新资讯流卡片（全尺寸放大） ==================== */
.index_news_list {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.news-item-box {
    border-radius: 8px;
    padding: 24px; /* 加大卡片内边距 */
    display: flex;
    gap: 24px;
    width: 100%;
}

.news-item-box:hover {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}

.news-item-box:hover .news-img {
    transform: scale(1.05);
}

.news-img {
    width: 240px;
    height: 140px;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s ease;
}

.index_news_list_mini {
    margin: 0;
}

.index_news_list_mini .news-item-box {
    padding: 0;
    gap: 12px;
}

.index_news_list_mini .news-item-box:hover {
    box-shadow: none;
    background-color: transparent;
}

.index_news_list_mini .news-img {
    width: 120px;
    height: 80px;
}

.index_news_list_mini .news-info-right {
    padding: 0;
}

.index_news_list_mini .news-title-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: inherit;
    font-weight: inherit;
    font-size: 14px;
    width: 100%;
}

.tag_cont > a {
    width: 145px;
    padding: 6px 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-align: center;
}

.tag_detail01 {
    padding: 20px 32px;
    line-height: 1.8em;
    box-sizing: border-box;
    background: url('../images/index/a12.png') no-repeat center;
    background-size: cover;
}

.tag_detail02 {
    font-size: 24px;
    padding-bottom: 16px;
    padding-top: 4px;
}


/* 大模块标题通栏 */
.block-title-bar {
    border-bottom: 1px solid #DCDFE6;
    padding-bottom: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.block-title-bar a:hover {
    color: #FBB03B !important;
}

.block-title-bar h1, .block-title-bar h2 {
    font-size: 18px;
    font-weight: bold;
}

.news-info-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-width: 0;
    width: calc(100% - 288px);
    gap: 8px;
}

.news-tag-row {
    display: flex;
    gap: 8px;
}

.news-title-text {
    font-size: 16px;
    font-weight: bold;
    /*    white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: calc(100% - 128px);*/
}

.news-desc-text {
    font-size: 14px;
    color: #5C5F66;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 24px;
}

.info-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.info-list-keywords {
    display: flex;
    flex: 1 1 200px;
    flex-wrap: wrap;
    min-width: 0;
    gap: 8px;
}

.info-list-keywords a {
    padding: 2px 8px;
    border-radius: 4px;
    overflow-wrap: anywhere;
    background: #ececec;
    color: #666;
}

.info-list-keywords a:hover {
    background: #fff3c6;
    color: #795b1e;
}

.info-list-date {
    flex-shrink: 0;
    margin-left: auto;
    white-space: nowrap;
}

.more-btn-wrap {
    text-align: center;
    margin: 24px auto;
    background-color: #ffffff;
    border: 1px solid #dcdfe6;
    color: #4a5160;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    width: 200px;
    cursor: pointer;
    display: block;
}

.more-btn-wrap:hover {
    border-color: #ff9900;
    color: #ff9900;
}

.topics-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 8px;
}

.topic-inner-card {
    background-color: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.topic-top-banner {
    height: 120px;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    color: #ffffff !important;
    font-weight: bold;
    font-size: 16px;
    border-radius: 0 0 8px 8px;
    background-size: 100%;
    background-image: url("../images/index/a02.png");
}

.topics-layout .topic-inner-card:nth-child(1) .topic-top-banner {
    background-image: url("../images/index/a02.png");
}

.topics-layout .topic-inner-card:nth-child(2) .topic-top-banner {
    background-image: url("../images/index/a03.png");
}

.topics-layout .topic-inner-card:nth-child(3) .topic-top-banner {
    background-image: url("../images/index/a04.png");
}

.topics-layout .topic-inner-card:nth-child(4) .topic-top-banner {
    background-image: url("../images/index/a05.png");
}

.topic-top-banner-max {
    height: 240px;
}

.topic-content-list {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-friend-card {
    padding: 20px 24px;
}

.info-friend-title {
    margin-bottom: 14px;
    color: #1F2329;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

.info-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.info-friend-links a {
    color: #5C5F66;
    font-size: 14px;
    line-height: 24px;
}

.info-friend-links a:hover {
    color: #FBB03B;
}

.topic-list-link {
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.topic-list-link:before {
    content: "";
    position: relative;
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #FF9900;
    top: -2px;
    margin-right: 6px;
}

/* ==================== 热门工具 Tab 组与大规格方砖 ==================== */
.tools-nav-bar {
    display: flex;
    gap: 4px;
    background-color: #EDEDED;
    padding: 3px;
    border-radius: 8px;
    margin-left: 24px;
}

.tools-nav-bar span {
    padding: 0 16px;
    line-height: 26px;
    font-size: 14px;
    color: #4a5160;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
}

.tools-nav-bar span.on {
    background-color: #ffffff;
    color: #111111;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.tools-card-grid {
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 8px;
    display: none;
}

.tools-card-grid:nth-child(1) {
    display: grid;
}

.tool-single-card {
    border-radius: 8px;
    padding: 24px 16px;
    text-align: center;
}

.tool-single-card:hover {
    background-color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

.tool-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 22px;
}

.tool-card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.tool-card-desc {
    color: #91949C;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotspot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 8px;
}

.hotspot-inner-card {
    border-radius: 8px;
    padding: 20px 16px;
}

.hotspot-inner-card:hover {
    background-color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.10);
}

.hotspot-inner-title {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 45px;
}

.hotspot-inner-desc {
    color: #91949C;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 68px;
}

.hotspot-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #5C5F66;
    padding-top: 8px;
}


.rank-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.rank-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.rank-item {
    margin-top: 24px;
}

.rank-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.rank-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.echarts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.side-block-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
}

.index-tool-01{
    background: url("../images/product/a18.png") no-repeat center;
    background-size: cover;
    padding: 16px;
    border-radius: 8px;
    grid-template-columns: 1fr 2.2fr;
    gap: 12px;
}
.side-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.side-card-header svg {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.side-card-header a:hover{
    color: #FBB03B !important;
}

.recommend-empty {
    padding: 20px;
    color: #999;
    text-align: center;
}

.side-card-title-text {
    font-size: 20px;
    font-weight: bold;
    color: #111111;
}

.side-card-tag-cont .tag {
    display: inline-block;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.side-card-tag-cont{
    overflow: hidden;
    max-height: 182px;
}
.hot-news-link-row {
    display: flex;
    gap: 8px;
    padding: 10px 0;
}

.hot-news-link-row label {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #3e4555;
    padding: 11px 0 11px 16px;
    position: relative;
}

.notice-link-row::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #999;
    margin-right: 8px;
    position: absolute;
    left: 0;
}

.notice-link-row.on .notice-link-text {
    color: #3e4555 !important;
}

.notice-link-row.on::before {
    background-color: #FBB03B;
}

.notice-link-row:hover .notice-link-text,
.notice-link-row:hover .notice-link-date {
    color: #FBB03B !important;
}
.notice-link-row:hover::before {
    background: #FBB03B !important;
}

.notice-link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.notice-link-date {
    color: #9aa1b0;
    font-size: 14px;
    width: 85px;
    text-align: right;
}

.help-item-a {
    padding: 8px 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}

.help-phone-flex {
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 8px;
    background: url("../images/index/a11.png") no-repeat center;
    background-size: cover;
}

.help-phone-flex p {
    font-size: 24px;
    font-weight: 700;
    padding-top: 8px;
}


.prod-item-flex-row {
    padding: 12px 14px;
    border-radius: 8px;
}

.prod-item-flex-row:hover {
    background: #fff5d1 !important;
    color: #f8a82c;
}

.info-topic-link.is-current,
.info-topic-link.is-current:hover {
    background: #fff7d6 !important;
    color: #8b5e17;
}

.prod-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-item-left svg, .prod-item-left img {
    width: 36px;
    height: 36px;
}

.prod-desc-p {
    color: #8c92a4;
    margin-top: 4px;
}

.mini-tools-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 8px;
}

.mini-tools-grid-layout > a {
    text-align: center;
    padding: 16px;
    font-size: 16px;
    color: #91949C;
}

.mini-tools-grid-layout > a svg {
    width: 38px;
    height: 38px;
}

.mini-tools-grid-layout > a p {
    padding-top: 8px;
}

.mini-tools-grid-layout > a:hover {
    color: #333;
    border-radius: 8px;
    background: #F7F8F9;
}

.side-block-img a, .side-block-img img {
    width: 100%;
    border-radius: 8px;
}


.news_info {
    text-align: center;
    border-radius: 8px;
    background: #fff;
    padding: 32px 40px;
    font-size: 16px;
}

.news_info > h1 {
    font-size: 24px;
    color: #333;
    padding-top: 8px;
}

.news_info_msg {
    text-align: center;
    font-size: 14px;
    color: #999;
    padding: 24px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.news_cont {
    background: #fff;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    line-height: 28px;
    color: #555;
}

.news_cont p {
    font-size: 16px;
    color: #555;
    line-height: 30px;
    text-align: left;
    margin: 0 0 10px 0;
}

.news_cont p a {
    color: #3773F5;
    text-decoration: underline;
}

.news_cont img {
    margin: 24px auto;
    max-width: 90%;
}

.news_cont ul, .news_cont ol {
    padding-left: 32px;
    margin: 16px 0;
}

.news_cont ul li {
    list-style: initial;
}

.news_cont ol li {
    list-style: auto;
}


.news_tag {
    display: flex;
    line-height: 30px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.news_tag > span {
    display: inline-block;
    width: 88px;
    text-align: left;
}

.news_tag_goods, .news_tag_key {
    display: flex;
    flex-wrap: wrap;
    line-height: 30px;
    gap: 8px;
}

.news_tag_goods a, .news_tag_key a {
    display: block;
    line-height: 30px;
    padding: 0 12px;
    color: #151B26;
    background: #F3F6FB;
    font-size: 14px;
    border-radius: 4px;
}
.news_tag_key a:hover {
    background: #fff7d6 !important;
    color: #8b5e17;
}

.news_tag_goods a:nth-child(1) {
    background-color: #ff535d;
}

.news_tag_goods a:nth-child(2) {
    background-color: #567cf9;
}

.news_tag_goods a:nth-child(3) {
    background-color: #d67801;
}

.news_tag_goods a:nth-child(4) {
    background-color: #36c995;
}

.news_tag_goods a:nth-child(5) {
    background-color: #4eb7f1;
}

.news_tag_goods a:nth-child(6) {
    background-color: #3adf00;
}

.news_tag_goods a:nth-child(7) {
    background-color: #fb40d8;
}

.news_tag_goods a:nth-child(8) {
    background-color: #c4d107;
}


.help_box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1.5fr);
    gap: 24px;
}

.help_nav_item {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 20px 0;
}

.help_nav_title {
    font-size: 16px;
    position: relative;
    line-height: 2em;
    margin-bottom: 8px;
    color: #303133;
    transition: color 0.2s ease;
    display: block;
}

.help_nav_item a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 32px;
    border-radius: 4px;
    padding: 0 10px;
    align-items: center;
    color: #5C5F66;
}

.help_nav_item a span {
    height: 20px;
    line-height: 20px;
    border-radius: 10px;
    background: #EDEDED;
    text-align: center;
    color: #5C5F66;
    padding: 0 6px;
    font-size: 12px;
}

.help_nav_item a:hover {
    background: #FFF4F0;
}

.help_nav_item a:hover span {
    background: #FBB03B;
    color: #fff;
}

.help_nav_item a.on {
    color: #FBB03B;
}

.help-search-hit {
    color: #FBB03B;
}

.help-search-side {
    position: sticky;
    top: 8px;
    align-self: start;
}

.help-search-key a {
    padding: 2px 8px;
}

.help-search-key a:hover {
    border-radius: 4px;
    background: #fff;
    color: #151B26 !important;
}

.kefu_cont {
    background: url("../images/index/a13.png") no-repeat center;
    background-size: cover;
    padding: 20px;
    border-radius: 16px;
}

.help_nav_title:before {
    content: '';
    width: 3px;
    height: 16px;
    display: block;
    background: #FBB03B;
    position: absolute;
    left: -20px;
    top: 8px;
}


/*新版首页*/
.home-tool-item {
    padding: 16px;
    border-radius: 12px;
    background: #F6F7F9;
    border: 1px solid #F6F7F9;
}

.home-tool-item:hover {
    border: 1px solid #ffad32;
    background: #fffdfa;
}

.home-tool-item:hover .home-product-btn {
    border-color: rgba(255, 218, 35, 1);
    color: #333;
    background: linear-gradient(180deg, rgba(255, 218, 35, 1) 0%, rgba(255, 195, 0, 1) 100%);
}

.home-product-desc {
    height: 40px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-product-btn {
    width: 100%;
    border-radius: 18px;
    padding: 8px 16px;
}

.home-rank-box {
    min-width: 0;
    padding: 24px;
    border-radius: 12px;
    background: #F6F7F9;
}

.home-chart {
    height: 300px;
    display: flex;
    align-items: end;
    gap: 2px;
}

.home-chart-item {
    flex: 1;
    min-width: 0;
    text-align: center;
    line-height: 1em;
}

.home-chart-track {
    height: 250px;
    display: flex;
    align-items: end;
    border-radius: 6px 6px 0 0;
    background: #e9e9e9;
    margin: 0 6px;
}

.home-chart-bar {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: #FBB03B;
}

.home-resource-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 5px;
    background: #fff;
}

.home-resource-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.home-resource-desc {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-resource-foot {
    padding-top: 10px;
    border-top: 1px solid #dcdfe6;
}

.home-help-link {
    height: 60px;
    padding: 0 160px 0 20px;
    border-radius: 8px;
    background: #e9f1fe url('../images/index/a24.png') center right no-repeat;
}

.home-help-link:nth-child(2) {
    background: #e9f1fe url('../images/index/a22.png') center right no-repeat;
}

.home-help-link:nth-child(3) {
    background: #e9f1fe url('../images/index/a23.png') center right no-repeat;
}

.home-help-link:hover span {
    display: block;
}
.info_tool_item{
    background: #F3F6FB;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
}
.info_tool_item svg{
    width: 32px;
    height: 32px;
    margin-right: 16px;
}
.info_tool_item span{
    font-weight: bold;
}
.info_tool_item:hover{
    background: #fff5d1 !important;
    color: #f8a82c;
}
