/* --Start banner--------------- */

.section-banner {
    margin-top: 56px;
    background: url(../img/news/page/banner.webp) no-repeat center center/ cover scroll;
    position: relative;
    display: block;
    height: 20vh;
}


.section-banner .title-item {
    /* width: 100%; */
    position: absolute;
    top: 60%;
    left: auto;
    transform: translateY(-50%);
}

.section-banner .title-item span {
    padding-left: 40px;
    display: inline-block;
    position: relative;
    color: #aaa;
    font-size: 12px;
}

.section-banner .title-item span::after {
    width: 30px;
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: #aaa;
}

.section-banner .title-item h2 {
    font-size: 20px;
    color: #460059;
    text-align: left;
    padding: 10px 0;
    border-bottom: none;
    font-weight: bolder;
}

@media (min-width: 1200px) {

    .section-banner {
        margin-top: 96px;
        height: 65vh;

    }

    .section-banner .title-item h2 {
        font-size: 40px;
    }

    .section-banner .title-item span {
        padding-left: 120px;
        font-size: 16px;
    }

    .section-banner .title-item span::after {
        width: 100px;
    }

    .section-banner .title-item {
        /* padding: 200px 0 50px; */
    }

}

/* --End banner--------------- */

/* --Start menu--------------- */
.section-menu {
    background: linear-gradient(to left, #1684c3, #60aad7, #add3ea);
}

.section-menu .category-link-item {
    text-align: center;
}

.section-menu .category-link-item .line-item {
    border: 1px solid #ffffff33;

}

.section-menu .category-link-item a {
    font-size: 14px;
    padding: 10px 0px;
    height: 100%;
    background: transparent;
    font-family: Lorin;
    color: #fff;
    font-weight: bolder;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    text-transform: uppernews;
    transition: all 0.2s ease-in-out;
}

.section-menu .category-link-item a.active {
    background: #ffffff2f;
}

.section-menu .category-link-item a:hover {
    background: #ffffff11;
}

@media (min-width: 992px) {

    .section-menu .category-link-item a {
        padding: 20px 0px;
        font-size: 16px;
        border-top: none;
        border-bottom: none;
    }

    .section-menu .category-link-item a+a {
        border-left: none;
    }
}


/* --End menu--------------- */
/* --Start news--------------- */
.section-news {
    padding: 40px 0;
}

.section-news .item {
    padding: 30px 5px 70px 5px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    display: block;
    position: relative;
}



.section-news .item .pic-item {
    position: relative;
    width: 100%;
    padding-bottom: 90%;
    overflow: hidden;
}

.section-news .item .pic-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease-in-out;
}

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

.section-news .item h3 {
    padding: 0px 0 0px 10px;
    color: #460059;
    font-size: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}


.section-news .item h3:after {
    content: '';
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #aaa;
    width: 1px;
    height: 70%;
}


.section-news .item .date-item {
    text-align: center;
    width: 100%;
    display: block;
    padding: 10px 0;
}

.section-news .item .date-item .date {
    display: inline-block;
    font-size: 16px;
    color: #460059;
    position: relative;
    padding-right: 3px;
}

.section-news .item .date-item .date::after {
    content: '.';
    position: absolute;
    bottom: 0;
    right: -1px;
    font-size: 16px;
    color: #333;
    display: block;
}

.section-news .item .date-item .m-year {
    color: #333;
}

.section-news .item .more-link {
    padding: 10px 10px;
    background: #000;
    color: #fff;
    display: flex;
    font-size: 14px;
    position: absolute;
    bottom: 10px;
    width: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    background: linear-gradient(160deg, #2e91cb 50%, #5f98cd 50%);
    transition: all 0.2s ease-in-out;
    opacity: 0.9;
    margin-top: 20px;
}

.section-news .item .more-link::before {
    right: 10px;
    width: 15px;
    content: '';
    position: absolute;
    top: 45%;
    height: 1px;
    transform: rotate(25deg);
    background-color: #fff;
}

.section-news .item .more-link:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 50%;
    height: 1px;
    background-color: #fff;
}

.section-news .item .more-link:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .section-news .item {
        padding: 30px 20px 70px 20px;
    }

    .section-news .item .more-link {
        width: calc(100% - 40px);
        padding: 15px 10px;

    }
}

@media (min-width: 992px) {
    .section-news {
        padding: 100px 0;
    }

    .section-news .item {
        padding: 30px 40px 70px 40px;

    }

    .section-news .item h3 {
        padding: 0px 0 0px 10px;
    }

    .section-news .item .more-link {
        padding: 15px;
        width: 70%;
        left: 40px;
        transform: translateX(0);
    }

    .section-news .item .more-link::before {
        right: 15px;
    }

    .section-news .item .more-link:after {
        right: 15px;
    }

    .section-news .item .date-item .date {
        display: block;
        font-size: 30px;
    }

    .section-news .item .date-item .date::after {
        display: none;
    }
}
.creator-item {
    border-top: 1px solid #dee2e6;
    padding-top: 30px;
    margin-top: 50px;
}

    .creator-item .creator-icon-item .title {
        margin-left: 20px;
        transition: all 0.2s ease-in-out;
    }

    .creator-item .creator-icon-item a {
        color: #787878;
        font-weight: bolder;
        margin-left: 20px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item a:hover .title {
            color: #460059;
        }

    .creator-item .pic-item {
        position: relative;
        width: 90px;
        padding-bottom: 90px;
        overflow: hidden;
        border-radius: 100%;
    }

        .creator-item .pic-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .creator-item .creator-icon-item a {
        position: relative;
    }

        .creator-item .creator-icon-item a + a {
            margin-left: 10px;
        }


    .creator-item .creator-icon-item img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 20px;
        transition: all 0.2s ease-in-out;
    }

        .creator-item .creator-icon-item img:nth-of-type(2) {
            visibility: hidden;
            opacity: 0;
        }

        .creator-item .creator-icon-item img:nth-of-type(1) {
            visibility: visible;
            opacity: 1;
        }

    .creator-item .creator-icon-item a:hover {
        color: #460059;
    }

        .creator-item .creator-icon-item a:hover img:nth-of-type(2) {
            visibility: visible;
            opacity: 1;
        }

        .creator-item .creator-icon-item a:hover img:nth-of-type(1) {
            visibility: hidden;
            opacity: 0;
        }

    .creator-item .text-item {
        padding: 10px 0;
        background: transparent;
    }

        .creator-item .text-item .content {
            padding: 15px 0;
        }

        .creator-item .text-item p {
            font-size: 15px;
            color: #666;
        }

/* --End content--------------- */
.ck-content .media {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

    .ck-content .media iframe,
    .ck-content .media object,
    .ck-content .media embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* --End content--------------- */
.ck-content img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

@media (min-width: 992px) {
    .ck-content img {
        width: auto;
    }
}
/* --End news--------------- */