.news-section {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

.homenews {
    position: relative;
    z-index: 1;
}

.homenews__thumb {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    & > .relative {
        height: 100%;
    }
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.homenews__sectiontitle.section-title-bg {
    margin-bottom: 40px;
}

.homenews__latests {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    margin-bottom: 40px;
}

.homenews__title {
    margin-bottom: 0;
    margin-top: 0;
    font-size: 1.438rem;
    transition: color .25s ease-in;
}

.homenews__date {
    font-size: 1.125rem;
    margin-bottom: 10px;
    transition: color .25s ease-in;
}

.homenews__page {
    display: flex;
    justify-content: center;
}

.homenews__page.default__button {
    a {
        display: flex;
        flex-direction: row;
        span.title {
            width: auto;
            background-color: transparent;
            height: auto;
        }
    }
}

.homenews__item {
    background-color: var(--wp--preset--color--accent-2);
    padding: 15px 15px 35px;
    border-radius: 15px;
    box-shadow: 0px 0px 80px 0px rgba(0,0,0,0.08);
    -webkit-box-shadow: 0px 0px 80px 0px rgba(0,0,0,0.08);
    -moz-box-shadow: 0px 0px 80px 0px rgba(0,0,0,0.08);
    transition: background-color .25s ease;
    &:hover {
        background-color: var(--wp--preset--color--accent-1);
    }
}

.homenews__item-link {
    &:hover {
        .homenews__date,
        .homenews__title {
            color: var(--wp--preset--color--accent-2);
        }
    }
}

@media (max-width: 639px) {
    .homenews__thumb {
        height: 210px;
    }
}


@media (min-width: 1024px) {
    .homenews__latests {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 0;
        column-gap: 20px;
        margin-bottom: 30px;
    }
    .news-section {
        &:before {
            background-image: url('../../images/section-bg-02.svg');
            background-repeat: no-repeat;
            background-size: auto 420px;
            background-position: right bottom;
            content:" ";
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: .14;
            z-index: 0;
        }
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

@media (min-width: 1280px) {
    .news-section {
        &:before {
            background-image: url('../../images/section-bg-02.svg');
            background-repeat: no-repeat;
            background-size: auto 420px;
            background-position: right bottom;
            content:" ";
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: .04;
            z-index: 0;
        }
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

@media (min-width: 1536px) {

    .homenews__latests {
        margin-bottom: 50px;
    }
    .news-section {
        &:before {
            background-image: url('../../images/section-bg-02.svg');
            background-repeat: no-repeat;
            background-size: auto 420px;
            background-position: right bottom;
            content:" ";
            position: absolute;
            right: 0;
            top: 0;
            width: 100%;
            height: 100%;
            opacity: .04;
            z-index: 0;
        }
        padding-top: 100px;
        padding-bottom: 100px;
    }
}
