﻿/*--------------------------------------------------------------
# News Two
--------------------------------------------------------------*/
.news-two {
    position: relative;
    display: block;
    padding: 150px 0 70px;
    margin-top: -50px;
}

.news-two-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 644px;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: cover;
}

.news-two-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 644px;
    width: 100%;
    content: "";
    background-color: rgba(var(--thm-black-rgb), .9);
}









.news-two-bg.jarallax div div {
    filter: grayscale(100%);
}

.news-two .section-title {
    position: relative;
    margin-bottom: 35px;
    z-index: 5;
}

.news-two .section-title__tagline {
    color: var(--thm-primary);
}

.news-two .section-title__title {
    color: #ffffff;
}

.news-two__single {
    position: relative;
    display: block;
    margin-bottom: 30px;
    border-radius: 5px;
}

.news-two__img-box {
    position: relative;
    display: block;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.news-two__img {
    position: relative;
    display: block;
    overflow: hidden;
}

    .news-two__img > img {
        position: relative;
        width: 100%;
        transition: transform 500ms ease;
        transform: scale(1);
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        height: 400px;
    }

.news-two__single:hover .news-two__img > img {
    transform: scale(1.05);
}

.news-two__img > a {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--thm-primary-rgb), 0.9);
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    color: #ffffff;
    transition: opacity 500ms ease, visibility 500ms ease, transform 500ms ease;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-30%);
}

    .news-two__img > a > i {
        color: #ffffff;
        transition: all 500ms ease;
    }

        .news-two__img > a > i:hover {
            color: #ffffff;
        }

.news-two__single:hover .news-two__img > a {
    visibility: visible;
    transform: translateY(0%);
    opacity: 1;
}

.news-two__date {
    position: absolute;
    bottom: -10px;
    right: 20px;
    background: var(--thm-primary);
    padding: 4px 20px;
    z-index: 2;
    border-radius: 5px;
}

    .news-two__date > p {
        font-size: 0.8rem;
        color: #ffffff;
        font-weight: 800;
        margin: 0;
    }

.news-two__content {
    position: relative;
    display: block;
    border: 1px solid #e5eeec;
    border-top: 0;
    padding: 30px 40px 30px;
    background: #ffffff;
    transition: all 500ms ease;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.news-two__single:hover .news-two__content {
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 10px 60px 0px rgb(0, 0, 0, .07);
}

.news-two__meta {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

    .news-two__meta li + li {
        margin-left: 12px;
    }

    .news-two__meta li a {
        font-size: 14px;
        color: var(--thm-gray);
        font-weight: 800;
    }

        .news-two__meta li a i {
            color: var(--thm-primary);
        }

.news-two__content h3 {
    font-size: 26px;
    font-weight: 900;
    line-height: 36px;
    margin-bottom: 11px;
}

    .news-two__content h3 a {
        color: var(--thm-black);
        transition: all 500ms ease;
    }

        .news-two__content h3 a:hover {
            color: var(--thm-primary);
        }

.news-two__text {
    font-size: 1rem;
    margin: 0;
    height: 200px;
}

.news-two__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--thm-black);
    height: 100px;
}

    .news-two__title a:hover {
        color: var(--thm-primary);
    }

.news-two__source {
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}
