@import "./common.css";

.top-image .image {
    width: 100%;
    object-fit: cover;
    /*min-height: 240px;
    max-height: 800px;*/
}

.divider {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    margin: 26px 0;
    border-radius: 1px;
}

.carousel-module-header {
    margin: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel-module-header .carousel-module-header__title {
    position: relative;
    font-size: 20px;
    line-height: 20px;
    font-weight: 500;
    color: var(--color-primary);
    padding-left: 10px;
}

.carousel-module-header .carousel-module-header__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
}

.carousel-module-header .carousel-module-header__control .carousel-module-header__control_button {
    display: inline-block;
    line-height: 0;
}

.carousel-module-header .carousel-module-header__control .carousel-module-header__control_button.prev {
    opacity: .5;
    margin-right: 5px;
}

.carousel-module-header .carousel-module-header__control .carousel-module-header__control_button .iconfont {
    font-size: 26px;
    line-height: 26px;
}

.home .nav {
    position: relative;
    background: #FFF;
    box-shadow: 0 3px 8px 2px rgba(0, 0, 0, .15);
    margin-top: -20px;
    border-radius: 8px;
    padding: 12px;
}

.home .nav .nav-item {
    text-align: center;
    padding: 12px;
}

.home .nav .nav-item__link {
    color: #333;
    font-size: 18px;
}

.home .nav .nav-item__link.active, .home .nav .nav-item__link:hover {
    color: var(--color-primary);
}

.home .nav .nav-item .iconfont {
    font-size: 20px;
    margin-right: 8px;
    vertical-align: bottom;
}

.home .news-container .news-top-box {
    margin-top: 20px;
}

.home .news-container .news-top-box .title {
    font-size: 26px;
    font-weight: 500;
    color: #333;
    padding: 34px 0 28px;
    text-align: center;
}

.home .news-container .news-top-box .intro {
    font-size: 18px;
    line-height: 1.5em;
    color: #444;
    text-align: justify;
}

.home .news-container .news-video-box {
    width: 100%;
}

.home .news-container .news-video-box .news-video {
    width: 100%;
    height: 100%;
}

.home .news-container .news-desc-box .nes-desc-top {
    padding: 10px 16px;
    font-size: 16px;
    color: #FFF;
    display: inline-block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: var(--color-primary);
}

.home .news-container .news-desc-box .news-desc-content {
    padding: 16px;
    display: flex;
    flex-flow: row;
    align-items: center;
    border-top: 1px solid var(--color-primary);
}

.home .news-container .news-desc-box .news-desc-content .news-desc-content__icon {
    background-color: var(--color-primary);
    border-radius: 5px;
    width: 80px;
    height: 80px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.home .news-container .news-desc-box .news-desc-content .news-desc-content__icon .iconfont {
    font-size: 50px;
    color: #FFF;
}

.home .news-container .news-desc-box .news-desc-content .news-desc-content__title {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.home .news-container .news-desc-box .news-desc-content .news-desc-content__title .text {
    margin-bottom: 0;
}

.home .news-container .news-desc-box .news-desc-content:hover .news-desc-content__title {
    color: var(--color-primary);
}

@media screen and (max-width: 768px) {
    .home .news-container .news-top-box .title {
        padding: 28px 0 22px;
        font-size: 22px;
    }

    .home .news-container .news-top-box .intro {
        font-size: 16px;
    }
}

.rumor-case-box {
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 320px;
}

.rumor-case-box .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.30s ease-in-out;
}

.rumor-case-box .title-box {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9;
    font-size: 14px;
    color: #FFF;
    padding: 12px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .6));
    text-align: center;
}

@media screen and (max-width: 992px) {
    .rumor-case-box {
        height: 240px;
    }
}

.rumor-case-box:hover .image {
    transform: scale(1.1);
}

.footer {
    background-color: var(--color-primary);
    color: #FFF;
    margin-top: 30px;
    padding: 24px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, .2);
}

.footer .footer-info {
    font-size: 14px;
    text-align: center;
    line-height: 1.6em;
}

.article-detail .article-header {
    margin: 30px 0 10px;
    text-align: center;
}

.article-detail .article-header .title {
    font-size: 22px;
    line-height: 1.4em;
    color: #333;
}

.article-detail .article-header .sub-title {
    margin-top: 12px;
    font-size: 18px;
    line-height: 1.3em;
    color: #555;
}

.article-detail .article-video-box {
    margin-top: 30px;
    text-align: center;
}

.article-detail .article-video-box .video {
    max-width: 1000px;
    height: auto;
}

@media screen and (max-width: 1000px) {
    .article-detail .article-video-box .video {
        max-width: 70%;
        width: 70%;
    }
}

@media screen and (max-width: 767px) {
    .article-detail .article-video-box .video {
        max-width: 100%;
        width: 100%;
    }
}

.article-detail .article-body {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.5em;
    color: #444;
}
