.focus {
    background: none;
    position: relative;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.focus .container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.focus .focus-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.focus .carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.focus .carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

.focus .carousel-slide {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.focus .carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.focus .carousel-slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.focus .carousel-prev, .focus .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.focus .carousel:hover .carousel-prev,
.focus .carousel:hover .carousel-next {
    opacity: 0.6;
}

.focus .carousel-prev:hover,
.focus .carousel-next:hover {
    opacity: 1 !important;
}

.focus .carousel-prev {
    left: 10px
}

.focus .carousel-next {
    right: 10px
}

.focus .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.focus .carousel:hover .carousel-indicators {
    opacity: 1;
}

.focus .carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.focus .carousel-indicators button.active {
    background-color: white;
    opacity: 1;
}

.intro {
    padding-top: 50px;
    background-image: url(../img/index-background.png);
    background-size: 100% 100%;
    padding-bottom: 110px;
}

.intro .intro-wrap {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between
}

.intro .intro-wrap .title {
    width: 100%;
    text-align: center
}

.intro .intro-wrap .title .title-line {
    border: none;
    height: 3px;
    margin: 15px auto 0;
    width: 60%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.3) 15%, white 40%, white 60%, rgba(255,255,255,0.3) 85%, transparent 100%)
}

.intro .intro-wrap .text {
    width: 37%
}

.intro .intro-wrap .image {
    width: 58%;
    padding: 30px;
}

.intro .intro-wrap .text {
    align-items: flex-start;
    display: flex;
    flex-direction: column
}

.intro .intro-wrap .text .summary {
    line-height: 1.9;
    margin-bottom: 30px;
    text-indent: 2em;
    color: #FFFFFF;
}

.intro .intro-wrap .text .btn {
    margin-bottom: 50px
}

.intro .intro-wrap .text .box {
    width: 100%;
    display: flex;
    justify-content: center
}

.intro .intro-wrap .text .box .box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: fit-content;
}

.intro .intro-wrap .text .box .box-grid img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -50px;
}

.news {
    background-color: #f6f6f6
}

.news .news-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 60px;
    padding-top: 40px
}

.news .news-wrap .trend {
    background-color: #fff;
    width: 740px
}

.news .news-wrap .sidebar {
    background-color: #fff;
    width: 380px
}

.news .news-wrap .trend .title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 25px 30px 15px;
}

.news .news-wrap .trend .title h2 {
    color: #45219d;
    font-size: 20px;
    font-weight: 700;
    min-width: 140px;
    position: relative
}

.news .news-wrap .trend .title h2:before {
    background-color: #42219a;
    content: "";
    display: inline-block;
    height: 8px;
    margin-right: 20px;
    position: relative;
    top: -4px;
    width: 8px
}

.news .news-wrap .trend .title .line {
    background-color: #42219a;
    display: block;
    height: 1px;
    width: 100%;
}

.news .news-wrap .trend .title a {
    color: #999;
    font-size: 12px;
    min-width: 60px;
    text-align: right;
}

.news .news-wrap .trend ul {
    padding: 0 30px 20px;
}

.news .news-wrap .trend ul li {
    align-items: flex-start;
    border-bottom: 1px dashed #42219a;
    display: flex;
    margin-top: 10px;
    padding-bottom: 10px
}

.news .news-wrap .trend ul li:first-child {
    margin-top: 0
}

.news .news-wrap .trend ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0
}

.news .news-wrap .trend ul li .thumb {
    height: 80px;
    margin-right: 14px;
    min-width: 120px;
    overflow: hidden;
    width: 120px
}

.news .news-wrap .trend ul li .thumb img {
    width: 100%
}

.news .news-wrap .trend ul li .msg h4 {
    -webkit-line-clamp: 1;
    color: #333;
    display: -webkit-box;
    font-size: 20px;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis
}

.news .news-wrap .trend ul li .msg time {
    color: #999;
    display: block;
    font-size: 12px;
    margin-bottom: 12px
}

.news .news-wrap .trend ul li .msg p {
    -webkit-line-clamp: 1;
    color: #666;
    display: -webkit-box;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis
}

.news .news-wrap .sidebar {
    padding: 25px 30px 15px;
}

.news .news-wrap .sidebar .tab {
    display: none
}

.news .news-wrap .sidebar .tab.active {
    display: block
}

.news .news-wrap .sidebar ul {
    margin-top: 15px
}

.news .news-wrap .sidebar ul li {
    -webkit-line-clamp: 1;
    color: #666;
    display: -webkit-box;
    font-size: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis
}

.news .news-wrap .sidebar ul li:before {
    background-color: #999;
    content: "";
    display: inline-block;
    height: 6px;
    margin-right: 10px;
    vertical-align: middle;
    width: 6px
}

.news .news-wrap .sidebar .tabs-btn {
    border-bottom: 1px solid #45219d;
    padding-bottom: 10px
}

.news .news-wrap .sidebar .tabs-btn a {
    color: #999;
    display: inline-block;
    font-size: 20px;
    font-weight: 700
}

.news .news-wrap .sidebar .tabs-btn a:first-child {
    margin-right: 30px
}

.news .news-wrap .sidebar .tabs-btn a:first-child:after {
    background-color: #42219a;
    content: "";
    display: inline-block;
    height: 20px;
    left: 20px;
    position: relative;
    vertical-align: middle;
    width: 2px
}

.news .news-wrap .sidebar .tabs-btn a.active {
    color: #45219d
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 1140px
}

/* ==========================================================================
   移动端响应式适配
   ========================================================================== */
@media screen and (max-width: 992px) {
    /* 容器 */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* 轮播图区域 */
    .focus {
        aspect-ratio: 16 / 9;
    }

    .focus .carousel-prev,
    .focus .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .focus .carousel-indicators button {
        width: 10px;
        height: 10px;
    }

    /* 介绍区域 */
    .intro {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .intro .intro-wrap {
        flex-direction: column;
    }

    .intro .intro-wrap .title {
        width: 90% !important;
        margin-bottom: 20px !important;
    }

    .intro .intro-wrap .text {
        width: 100%;
        order: 2;
    }

    .intro .intro-wrap .text .summary {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    .intro .intro-wrap .text .box .box-grid {
        gap: 5px;
    }

    .intro .intro-wrap .text .box .box-grid img {
        margin-top: -30px;
    }

    .intro .intro-wrap .image {
        width: 100%;
        padding: 15px;
        order: 1;
    }

    /* 新闻区域 */
    .news .news-wrap {
        flex-direction: column;
        padding-bottom: 30px;
        padding-top: 20px;
    }

    .news .news-wrap .trend {
        width: 100%;
        margin-bottom: 20px;
    }

    .news .news-wrap .trend .title {
        padding: 15px 15px 10px;
    }

    .news .news-wrap .trend .title h2 {
        font-size: 16px;
        min-width: 110px;
    }

    .news .news-wrap .trend ul {
        padding: 0 15px 10px;
    }

    .news .news-wrap .trend ul li {
        margin-top: 8px;
        padding-bottom: 8px;
    }

    .news .news-wrap .trend ul li .thumb {
        height: 60px;
        min-width: 90px;
        width: 90px;
        margin-right: 10px;
    }

    .news .news-wrap .trend ul li .msg h4 {
        font-size: 14px;
        margin-bottom: 0;
    }

    /* 手机版隐藏新闻摘要 */
    .news .news-wrap .trend ul li .msg p {
        display: none;
    }

    .news .news-wrap .sidebar {
        width: 100%;
        padding: 15px;
    }

    .news .news-wrap .sidebar .tabs-btn a {
        font-size: 16px;
    }

    .news .news-wrap .sidebar ul li {
        font-size: 12px;
        margin-bottom: 12px;
    }
}

/* 超小屏幕适配 */
@media screen and (max-width: 576px) {
    .intro .intro-wrap .text .box .box-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news .news-wrap .trend ul li .thumb {
        height: 50px;
        min-width: 75px;
        width: 75px;
    }

    .news .news-wrap .trend ul li .msg h4 {
        font-size: 13px;
    }

    .news .news-wrap .trend ul li .msg p {
        font-size: 11px;
    }
}
