/* 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 Resource Section */

.resource .resource-detail .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;
}

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

.resource .search .not-found,
.resource .search .search-list {
    top: 68px;
    padding: 1.5rem;
    width: calc(100% - 15px);
    z-index: 2;
}

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

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

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

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

.resource .resource-detail .resource-info > b {
    margin-top: 2rem;
}

.resource .resource-info .detail-item.active {
    border-color: var(--primaryColor);
    transition: 0.5s all;
}

.resource .detail-item span {
    width: 32px;
    height: 32px;
}

.resource .detail-item {
    border: 1px solid var(--darkGreyColor);
    padding: 10px 20px;
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    cursor: pointer;
}

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

.resource .resource-detail .category-item {
    box-shadow: var(--lightShadow);
    border: solid var(--darkGreyColor);
    border-width: 1px 0px;
    cursor: pointer;
}

.resource .resource-detail .category-item .selected::after {
    content: "";
    background-image: url(../../img/common/arrow.svg);
    background-size: 100% 100%;
    min-width: 14px;
    height: 14px;
    transition: 0.7s all;
    filter: opacity(0.5);
}

.resource .resource-detail .category-item.active .selected::after {
    transform: rotate(180deg);
}

.resource .resource-detail .category-item.active .select-options {
    display: flex;
}

.resource .resource-detail .category-item .selected,
.resource .resource-detail .category-item .select-options li {
    color: #888888;
}

.resource .resource-detail .category-item .select-options {
    top: 65px;
    display: none;
    border: 1px solid var(--darkGreyColor);
    z-index: 2;
}

.resource .resource-detail .category-item .select-options li {
    border-top: 1px solid var(--darkGreyColor);
}

.resource .resource-detail .category-item .select-options li:first-child {
    border-top: none;
}

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

/* Blog div */

.blog {
    margin-top: 3.7rem;
}

.resource .blog .heading {
    width: fit-content;
}

.blog .blog-list .blog-item span img {
    border-radius: 10px 10px 0px 0px;
    object-fit: scale-down;
}


.resource .blog .blog-info {
    margin-top: -13px;
    padding: 0 16px 20px;
}

.item-info {
    border-radius: 0 0 10px 10px;
    margin-top: -1px;
}

.item-info p {
    padding: 12px 24px;
    border-radius: 0 0 10px 10px;
    z-index: 2;
    margin-right: -8px;
    width: 180px;
    min-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;
}

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

.resource .blog .blog-info .buttons .btn-white {
    min-width: 126px;
}

/* News div */

.news {
    margin-top: 6.2rem;
}

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

.resource .blog .blog-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:hover span img {
    filter: none;
}

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

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

.news .news-list .news-item .news-info {
    margin-top: -3.5rem;
    z-index: 1;
    padding: 0 12px;
}

.news .news-list .news-item .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;
}

.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;
}

/* End Resource Section */

@media screen and (min-width: 768px) {
    /* Start Resource Section */

    .resource .resource-detail .detail-item {
        width: 48%;
    }


    .blog .blog-list .blog-item {
        width: 48%;
        margin-right: 1rem;
    }

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

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

    .news .news-list .news-item {
        width: 48%;
        margin-right: 1rem;
    }

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

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

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

    /* End Resource 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 Resource Section */

    .resource .resource-head .heading {
        width: 52%;
    }

    .resource .resource-head .search {
        width: 40%;
    }

    .resource .resource-info {
        width: 88%;
    }

    .resource .resource-info .category-item {
        width: 40% !important;
    }

    .resource .resource-detail .detail-item {
        width: 28%;
    }

    .blog .blog-item{
        width: 317px;
    }

    .blog .blog-list {
        width: calc(100% - 332px) !important;
    }

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

    .news .news-list .news-item {
        width: 32%;
    }

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

    /* End Resource 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 Resource Section */

    .blog::before {
        content: "";
        background-image: url(../../img/resource/line.webp);
        background-size: 100% 100%;
        height: 6px;
        position: absolute;
        width: 69%;
        right: 16%;
        top: 20px;
    }

    .resource .blog-list .blog-item {
        width: 66%;
        margin-right: 0 !important;
    }

    .resource .blog-outer>.blog-item:first-child .blog-info {
        width: 100%;
        border: 1px solid var(--darkGreyColor);
        margin: -13px 0 0;
    }

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

    .blog .blog-list .blog-item {
        width: 100%;
    }

    .blog .blog-item{
        width: 363px;
    }

    .blog .blog-list {
        width: calc(100% - 412px) !important;
    }

    .blog .blog-list .blog-item .blog-info p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .blog .blog-item:nth-child(2) span img,
    .blog .blog-item:last-child span img {
        border-radius: 10px 0px 0px 10px !important;
    }

    .resource .blog .blog-list .blog-info {
        width: calc(100% - 355px);
        margin-top: 0;
    }

    .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;
    }

    .news::before {
        content: "";
        background-image: url(../../img/resource/line.webp);
        background-size: 100% 100%;
        height: 6px;
        position: absolute;
        width: 72%;
        right: 13%;
        top: 20px;
    }

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

    .blog .blog-list .blog-item span{
        width: 355px;
    }

    /* .resource .blog-list .blog-item:first-child .blog-info {
          border
    } */

    /* End Resource Section */
}
