/* 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 Blog Section */
.blog .blog-detail .search {
    border: 1px solid var(--darkGreyColor);
    background-image: linear-gradient(270.16deg, var(--backgroundColor) 1.96%, var(--white) 96.42%);
    padding: 10px;
}

.blog .blog-detail .search span {
    min-width: 32px;
    height: 32px;
    padding: 10px;
}

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

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

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

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

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

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

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

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

.blog .blog-detail .topic-item,
.blog .blog-detail .filter-item,
.blog .blog-detail .detail-info .clear {
    border: 1px solid var(--darkGreyColor);
    cursor: pointer;
}

.blog .blog-detail .detail-info .clear {
    padding: 15px 20px;
}

.blog .blog-detail .filter-item {
    border: solid var(--darkGreyColor);
    border-width: 1px 0px;
}

.blog .blog-detail .topic-item .selected::after,
.blog .blog-detail .filter-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);
}

.blog .blog-detail .topic-item.active .selected::after,
.blog .blog-detail .filter-item.active .selected::after {
    transform: rotate(180deg);
}

.blog .blog-detail .topic-item.active .select-options,
.blog .blog-detail .filter-item.active .select-options {
    display: flex;
}

.blog .blog-detail .topic-item .selected,
.blog .blog-detail .topic-item .select-options li,
.blog .blog-detail .filter-item .selected,
.blog .blog-detail .filter-item .select-options li,
.blog .blog-detail .detail-info .clear {
    color: #888888;
}


.blog .blog-detail .topic-item .select-options,
.blog .blog-detail .filter-item .select-options {
    top: 65px;
    left: 0;
    right: 0;
    background-color: var(--white);
    display: none;
    margin: 0;
    border: 1px solid var(--darkGreyColor);
    z-index: 2;
}

.blog .blog-detail .topic-item .select-options li,
.blog .blog-detail .filter-item .select-options li {
    border-top: 1px solid var(--darkGreyColor);
}

.blog .blog-detail .topic-item .select-options li:first-child,
.blog .blog-detail .filter-item .select-options li:first-child {
    border-top: none;
}

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

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

.blog .blog-info {
    margin-top: -13px;
    padding: 0 16px 20px;
    border: 1px solid #D7D7D7;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}

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

.blog .blog-info .item-info {
    margin-top: -1px;
}

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

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

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

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

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

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

.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 Blog Section */

/* Start Guide Section */

.guide {
    padding: 1rem 1.5rem;
}

.guide .guide-content .buttons .btn-blue {
    box-shadow: 0px 4px 15px 0px rgba(255, 255, 255, 0.10);
}

.guide .guide-content .buttons .btn-blue img {
    height: 12px;
    width: 12px;
    filter: brightness(10);
    transform: rotate(90deg);
}

.guide .guide-info {
    background-color: rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
}

.guide .guide-info h3 {
    line-height: 25px !important;
}

.guide .guide-info ul li {
    line-height: 27px;
}

.guide .guide-info ul li::before {
    content: "";
    background-image: url(../../img/resource/white-element.svg);
    background-size: 100% 100%;
    height: 15px;
    min-width: 15px;
    margin: 5px 5px 0 0;
    animation: rotation 2s linear infinite;
}

/* End Guide Section */

/* Start Fact Section */
.fact .fact-content strong {
    color: var(--darkBlue);
    font-size: 22px;
}

.fact .fact-item p {
    font-size: 15px;
}

.fact .fact-item {
    width: 150px;
}

/* End Fact Section */

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

    /* Start Blog Section */
    .blog .blog-head .heading {
        width: 40%;
    }

    .blog .blog-head .search {
        width: 53%;
    }

    .blog .detail-info .topic-item {
        width: 35%;
    }

    .blog .detail-info .filter-item {
        width: 40%;
    }

    .blog .detail-info .clear {
        width: 140px;
    }

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

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

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

    .pagination ul {
        width: 362px;
    }


    /* End Blog Section */

    /* Start Guide Section */
    .guide .guide-content {
        width: 50%;
    }

    .guide .guide-info {
        width: 275px;
    }

    .guide .guide-info {
        transform: rotate(5deg) translateX(-8px);
        border-radius: 8px 0 0 8px !important;
        padding: 1.5rem 0.7rem 2.3rem 1.4rem !important;
    }

    .guide .guide-info::before,
    .guide .guide-info::after {
        content: "";
        background-size: 100% 100%;
        position: absolute;
        transform: rotate(-5deg);
    }

    .guide .guide-info::before {
        background-image: url(../../img/resource/bar-chart.svg);
        width: 36px;
        height: 33px;
        top: -22px;
        left: 10px;
    }

    .guide .guide-info::after {
        background-image: url(../../img/resource/pie-chart.svg);
        width: 115px;
        height: 115px;
        bottom: -43px;
        left: -48px;
    }

    /* End Guide 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 Blog Section */
    .blog .blog-head .heading {
        width: 32%;
    }

    .blog .blog-detail .detail-info {
        width: 85%;
    }

    .blog .detail-info .topic-item {
        width: 50%;
    }

    .blog .detail-info .filter-item {
        width: 30%;
    }

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

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

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

    /* End Blog Section */

    /* Start Guide Section */
    .guide .guide-container {
        background-image: url(../../img/resource/net.webp);
        background-size: 44% 100%;
        background-repeat: no-repeat;
        padding: 2.5rem 0 2.5rem 2.5rem !important;
    }

    .guide .guide-content {
        width: 62%;
    }

    /* End Guide Section */

    /* Start Fact Section */
    .fact {
        background-image: url(../../img/resource/fact-bg.webp);
        background-size: 100% 100%;
    }

    .fact .fact-container {
        width: 88%;
    }

    .fact .fact-item {
        width: 182px;
    }

    /* End Fact 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 Blog Section */
    .blog .blog-detail .detail-info {
        width: 67%;
    }

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

    .blog .blog-list .blog-item {
        width: 31%;
        margin-right: 2.3rem !important;
    }

    /* End Blog Section */

    /* Start Guide Section */
    .guide .guide-content {
        width: 65%;
    }

    /* End Guide Section */

    /* Start Fact Section */
    .fact {
        background-size: 1100px 296px;
        background-repeat: no-repeat;
        background-position: center top;
        padding-bottom: 5rem;
    }

    .fact .fact-content strong {
        font-size: 35px;
    }

    /* End Fact Section */

}