.news {
    padding: 40px 7%;
}

.news .ctn-news {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 4% 0 4%;
}

.news .ctn-news.more {
    padding: 0 4% 300px 4%;
}

.ctn-news::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: gray;
    border-radius: 1px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
    box-shadow: 4px 12px 24px 0px rgba(69, 68, 70, 0.2);
}

.ctn-news.more::before{
    bottom: 130px;
}

.ctn-news.more::after{
    content: "";
    position: absolute;
    pointer-events: none;
    right: 0;
    bottom: 0;
    left: 0;
    height: 250px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
}

.new {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 460px;
    cursor: pointer;
    justify-self: center;
    box-shadow: 0 3px 8px 0 rgba(54,57,73,.05);
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    overflow: hidden;
    transition: opacity .2s ease-in-out;
}

.new.open{
    opacity: 1;  
    pointer-events: all;  
    height: fit-content;
    width: auto;
    transition: opacity .3s ease-in-out;
}

.new:hover{
    box-shadow: 0 3px 8px 0 rgba(54,57,73,.1);
    transition: box-shadow .3s ease-in-out;
}

.new.open.top{
    margin-top: 150px;
}

.ctn-news a:last-child{
    margin-bottom: 0;
}

.new .news-content{
    padding: 33px 30px 25px;
    border-radius: 0 4px;
}

.news-content p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}

.news-content p.date{
    margin-top: 4px;
}

.new .news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new .btn-default{
    margin-top: 12px;
    width: fit-content;
}

.ctn-news .btn-page{
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    opacity: 0.9;
    transition: opacity .2s ease-in-out;
}

.ctn-news.more .btn-page{
    display: flex;
    z-index: 2;
}

.ctn-news.more .btn-page:hover{
    opacity: 1;
    transition: opacity .5s ease-in-out;
}

.btn-page{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.btn-page a {
    text-decoration: none;
    border: 2px solid var(--color-label);
    padding: 15px;
    color: var(--bg-gray);
    position: relative;
    display: inline-block;
}

.btn-page span {
    position: relative;
    z-index: 3;
}

.btn-page a::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -3px;
    width: calc(100% + 6px);
    height: calc(100% - 10px);
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
    transform: scaleY(1);
}

.btn-page a:hover::before{
    transform: scaleY(0);
}

.btn-page a::after {
    content: "";
    position: absolute;
    left: 5px;
    top: -5px;
    width: calc(100% - 10px);
    height: calc(100% + 10px);
    background-color: #ffffff;
    transition: all 0.5s ease-in-out;
    transform: scaleX(1);
}

.btn-page a:hover::after {
    transform: scaleX(0);
}

/*------ENTRY_DETAIL-----*/

.header.entry-detail-header{
    min-height: 400px;
    max-height: 400px;
}

.header.entry-detail-header h1 {
    max-width: 80%;
    top: 70%;
    text-align: left;
}

.header.entry-detail-header img {
    object-position: top;
}

.entry-content {
    max-width: inherit;
    padding: 40px 7.32%;
    background-color: var(--color-white);
    z-index: 1;
    font-family: 'Lato';
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--color-label);
}

.entry-content ul{
    padding-left: 40px;
}

/*------ENTRY_DETAIL-----*/

@media screen and (max-width: 1500px) {

    .news {
        padding: 40px 4%;
    }

    .ctn-news .new{
        justify-self: start;
    }

    .ctn-news .new.top{
        justify-self: end;
    }

}

@media screen and (max-width: 1200px) {

    .news .ctn-news{
        padding: 0;
    }

}

@media screen and (max-width: 1080px) {

    .news .ctn-news{
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .ctn-news::before{
        display: none;
    }

    .news .ctn-news.more {
        padding: 0 4% 80px 4%;
    }

    .ctn-news .new.open {
        margin-bottom: 40px;
    }

    .new.open.top {
        margin-top: 0;
    }

    .ctn-news .btn-page {
        bottom: 0;
    }

    /*------ENTRY_DETAIL-----*/

        .entry-content ul{
            padding-left: 20px;
        }

    /*------ENTRY_DETAIL-----*/

}

@media screen and (max-width: 768px) {

    .new .news-content {
        padding: 20px 30px;
    }

    .news .ctn-news.more {
        padding: 0 0 40px 0;
    }

    .ctn-news.more::after {
        height: 200px;
    }

}

@media screen and (max-width: 360px) {

    .new .news-content {
        padding: 15px 20px;
    }

    .new.open{
        margin-bottom: 40px;
    }

    .ctn-news.more::after {
        height: 100px;
    }

    .news .ctn-news.more {
        padding: 0 0 80px 0;
    }

}