/* Start Banner Section */
.banner {
    background-image: url(../../img/testimonial/banner-bg.webp);
    background-size: cover;
}

.banner .banner-container .breadcrumb li a {
    color: var(--black) !important;
}

.banner .breadcrumb li:first-child a {
    width: 18px;
    height: 18px;
}

/* End Banner Section */

/* Start NewsListing Section */
.newslisting .search {
    border: 1px solid var(--darkGreyColor);
    background-image: linear-gradient(270.16deg, var(--backgroundColor) 1.96%, var(--white) 96.42%);
    padding: 8px 12px 8px 10px;
}

.newslisting .search span {
    min-width: 42px;
    height: 42px;
    padding: 12px;
}

.news-head {
    border-bottom: 1px solid var(--darkGreyColor);
}

.news-head .search input {
    background-color: transparent;
    font-size: 14px;
    font-weight: 500;
}

.search .search-list,
.search p {
    top: 63px;
    z-index: 2;
    width: 360px;
}

.search .search-list {
    overflow-y: scroll;
    height: auto;
}

.search-list li {
    margin-top: 5px;
}

.search-list li a {
    color: var(--black);
}

.search-list li:first-child {
    margin-top: 0;
}


.news-item {
    margin-top: 2rem;
}

.item-info p {
    padding: 12px 24px;
    border-radius: 0 0 10px 10px;
    z-index: 2;
    margin-right: -8px;
    width: 180px;
}

.item-info p::before {
    content: "";
    background-image: url(../../img/resource/notepad.svg);
    background-size: 100% 100%;
    min-width: 15px;
    height: 18px;
    margin-right: 8px;
}

.item-info b {
    font-size: 22px;
    padding: 6px 9px 7px 17px;
    border-radius: 0 10px 10px 0;
    margin-right: -8px;
    z-index: 1;
    width: 60px;
    line-height: 15px;

}

.item-info strong {
    padding: 5px 6px 5px 18px;
    border-radius: 0 0 10px 0;
    width: 60px;
    line-height: 20px;
}

.news .news-list .news-item {
    border-radius: 15px;
    padding-bottom: 1.8rem;
}

.news .news-list .news-item:hover .btn-white,
.news .news-list .news-item:hover .btn-white {
    background-color: var(--primaryColor) !important;
    color: var(--white) !important;
    border: 1px solid transparent !important;
}

.btn-white:hover::after,
.btn-white:hover::before {
    display: none;
}

.news .news-list .news-item span {
    transition: 1s all;
}

.news .news-list .news-item:hover span img {
    filter: none;
}

.news .heading {
    width: fit-content;
}

.news .buttons .btn-blue {
    min-width: 120px;
}

.news .news-list .news-item .news-info {
    z-index: 1;
    padding: 0 10px;
}

.news .news-info .text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news .news-list .news-item span,
.news .news-list .news-item span img {
    border-radius: 15px;
}

.news .news-list .news-item span img {
    filter: brightness(0.8);
    transition: 1s all;
}

.news .news-list .news-item .btn-white {
    min-width: 126px;
    transition: 1s all;
}

.news .news-list .news-item .buttons::before {
    content: '';
    border-top: 1px solid var(--darkGreyColor);
    position: absolute;
    width: 80%;
}

.news .news-list .news-item:hover .buttons::before {
    border-color: var(--primaryColor);
    width: 100%;
    transition: 1s all;
}

.pagination {
    margin: 2rem auto 0;
}

.pagination .pagination-btn {
    width: 35px;
    height: 35px;
    color: var(--darkBlue);
}

.pagination .next {
    border-radius: 20px 5px 5px 20px;
}

.pagination .prev,
.pagination ul li:first-child.active a {
    border-radius: 5px 20px 20px 5px !important;
}

.pagination ul {
    width: 232px;
}

.pagination ul li a {
    color: var(--grey);
    border: 1px solid var(--darkGreyColor);
    transition: all 0.2s ease-in-out;
    width: 35px;
    height: 35px;
}

.pagination ul li.active a {
    color: var(--white);
    background-image: linear-gradient(90deg, var(--primaryColor) 0%, var(--greenColor) 100%);
    border: none;
    outline: none;
}

.pagination ul .dots {
    color: var(--grey);
}

/* End NewsListing Section */

@media screen and (min-width: 768px) {

    /* Start NewsListing Section */
    .news .news-list .news-item {
        width: 48%;
        margin-right: 1rem;
    }

    .news .buttons .btn-blue {
        min-width: 140px;
    }

    .newslisting .news-head .search {
        width: 53%;
    }

    .newslisting .news-head .heading {
        width: 40%;
    }

    .news .news-list .news-item:nth-child(2n) {
        margin-right: 0;
    }

    .news .news-list .news-item:last-child {
        margin-right: 0 !important;
    }


    .pagination ul {
        width: 362px;
    }

    /* End NewsListing Section */
}

@media screen and (min-width: 1024px) {

    /* Start Banner Section */
    .banner .banner-container h1::after {
        content: "";
        background-image: url(../../img/testimonial/arrow.webp);
        background-size: 100% 100%;
        min-width: 85px;
        height: 82px;
        margin-left: 8rem;
    }

    /* End Banner Section */

    /* Start NewsListing Section */
    .news .news-list .news-item {
        width: 32%;
    }

    .news .news-list .news-item:nth-child(2n) {
        margin-right: 1rem;
    }

    /* End NewsListing Section */
}

@media screen and (min-width: 1366px) {

    /* Start Banner Section */
    .banner {
        background-size: 100% 100%;
    }

    .banner .banner-container h1 {
        font-size: 50px;
    }

    /* End Banner Section */

    /* Start NewsListing Section */
    .news .news-list .news-item,
    .news .news-list .news-item:nth-child(2n) {
        margin-right: 1.5rem;
    }

    .news .news-list .news-item .news-info {
        border-top-left-radius: 15px;
    }

    .item-info b {
        font-size: 25px;
    }

    .item-info p {
        width: 200px;
    }

    /* End NewsListing Section */
}