.archive.category .td-header-wrap {
    padding-top: 0px;
}

.td-page-content {
    padding-top: 0;
}

.archive.category .td-main-content-wrap {
    padding-top: unset;
}

.home-page {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #172b4d;
}

.home-page a {
    color: #172b4d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.42857143;
}

.section-p {
    padding: 40px 0;
}

.ms-line-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
}

.ms-title,
.ms-title-text {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    color: #0065ff;
    font-size: 32px;
}

.ms-title {
    text-align: center;
}

.ms-line {
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background-color: #0065ff;
}

.hide-ic {
    display: none;
}

@media (min-width: 1200px) {
    .home-page .container {
        width: 1200px;
    }
}

@media (max-width: 979px) {
    .section-p {
        padding: 30px 0;
    }

    .ms-title,
    .ms-title-text {
        font-size: 24px;
    }

    .ms-line {
        height: 28px;
    }
}

@media (max-width: 767px) {
    .home-page {
        font-size: 14px;
    }
}

/*#region Banner */
.banner {
    background: url(/sites/images/knowledge-page/bg-banner.png) no-repeat center;
    background-size: cover;
}

.banner-title {
    font-family: Montserrat Bold, Arial, sans-serif;
    font-size: 40px;
    text-align: center;
    color: #fff;
}

.banner-subtitle {
    font-family: Montserrat Bold, Arial, sans-serif;
    font-size: 20px;
    text-align: center;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.is-form-style::after {
    background: url(/sites/images/knowledge-page/ic-search.svg) no-repeat center;
    opacity: unset;
    height: 16px;
    width: 16px;
}

.is-form-style.is-form-style-3 input.is-search-input {
    border-radius: 6px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
    padding: 18px 40px 18px 40px;
    margin: 0 auto;
    max-width: unset;
}

.banner-search {
    padding: 36px 0 100px;
}

.banner-introduction {
    background-color: #FFF;
    display: flex;
    border-radius: 10px;
    max-width: 910px;
    margin: 0 auto;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
    position: absolute;
    bottom: -27%;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.bi-item {
    flex: 1;
    padding: 32px 24px;
    text-align: center;
    font-size: 18px;
}

a.bi-item {
    color: #444FDB;
    /* border-left: 1px solid #9AADE3;
    border-right: 1px solid #9AADE3; */
}

a.bi-item:hover {
    background-color: #9AADE3;
    color: #FFF;
}

/* .bi-item:first-child {
    border-left: none;
}

.bi-item:last-child {
    border-right: none;
} */

@media (max-width: 979px) {
    .banner-title {
        font-size: 28px;
    }

    .banner-search {
        padding-bottom: 100px;
    }
}

@media (max-width: 767px) {
    .banner-introduction {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .banner-search {
        padding-bottom: 30px;
    }

    .banner-title {
        font-size: 24px;
    }

    .banner-subtitle {
        display: none;
    }
}

/*#endregion Banner */

/*#region Feature Posts */
.feature-post {
    padding-top: 100px;
}

.fp-flex {
    display: flex;
    gap: 30px;
}

.fp-left,
.fp-right {
    flex: 1;
}

.fp-title {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-excerpt {
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}

.fp-thumbnail {
    display: block;
}

.fp-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.fp-left .fp-thumbnail {
    max-height: 320px;
    overflow: hidden;
}

.fp-thumbnail:hover img {
    transform: scale(1.08, 1.08);
    transition: transform 0.2s ease;
}

.fp-left .fp-item {
    border-radius: 6px;
    overflow: hidden;
}

.fp-left .fp-content {
    background-color: #deebff;
    padding: 16px;
}

.fp-right .fp-item {
    display: flex;
    gap: 16px;
}

.fp-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fp-right .fp-title {
    font-size: 14px;
}

.fp-right .fp-thumbnail {
    max-width: 258px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1.8;
}

.fp-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fpd-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fpd-text {
    font-size: 14px;
}

.fpd-text.author-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.home-page .td-post-views {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-page .td-post-views span {
    font-size: 14px;
    color: #172b4d;
    font-family: Montserrat, Arial, sans-serif;
}

.home-page .td-icon-views {
    background: url(/sites/images/knowledge-page/ic-view.svg) no-repeat center;
    width: 16px;
    height: 17px;
}

.home-page .td-icon-views::before {
    content: "";
}

@media (max-width: 979px) {
    .feature-post {
        padding-top: 60px;
    }

    .fp-flex {
        flex-direction: column;
    }

    .fp-left .fp-thumbnail {
        max-height: unset;
    }

    .fp-right {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .feature-post {
        padding-top: 30px;
    }

    .fp-right .fp-item {
        flex-direction: column;
        background-color: #deebff;
        border-radius: 6px;
        overflow: hidden;
    }

    .fp-right .fp-thumbnail {
        max-width: unset;
    }

    .fp-right,
    .fp-flex {
        gap: 24px;
    }

    .fp-content {
        padding: 16px 16px 24px;
    }

    .fp-right .fp-thumbnail {
        border-radius: 0;
    }


}

/*#endregion Feature Posts */

/*#region Library */
.li-total {
    padding: 24px;
}

.library-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px;
}

.library-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.16);
}

.li-thumbnail {
    max-height: 196px;
    overflow: hidden;
    display: block;
}

.li-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.li-thumbnail:hover img {
    transform: scale(1.08, 1.08);
    transition: transform 0.2s ease;
}

.li-content {
    padding: 16px 16px 24px;
}

.li-type {
    border-radius: 20px;
    padding: 2px 8px;
    background-color: #deebff;
    font-size: 12px;
    color: #0065ff;
    width: fit-content;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.li-title {
    font-family: Montserrat SemiBold, Arial, sans-serif;
}

@media (min-width: 1366px) {
    .library .container {
        width: 1248px;
    }
}

@media (max-width: 767px) {
    .library-item {
        margin: 24px 15px 15px;
    }

    .li-title {
        min-height: 63px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .li-thumbnail {
        max-height: 136px;
    }

    .library .owl-theme .owl-dots .owl-dot span {
        margin: 5px;
    }
}

/*#endregion Library */

/*#region Publications */
.publications {
    background: url(/sites/images/knowledge-page/bg-publications.png) no-repeat center;
    background-size: cover;
}

.publications-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0 24px;
}

.pt-text {
    font-family: Montserrat Medium, Arial, sans-serif;
    color: #0065ff;
    text-transform: uppercase;
    font-size: 20px;
}

.pub-title {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    padding-bottom: 16px;
}

.btn-more a {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    color: #0065ff;
    display: block;
    padding: 8px 24px;
    border: 1px solid #0065ff;
    border-radius: 6px;
    width: fit-content;
    margin: 16px 0;
}

.publications .owl-theme .owl-dots,
.owl-theme .owl-nav {
    text-align: left;
}

.pub-image {
    display: none;
    transform: translateX(100px);
    transition: transform ease 0.1s;
}

.pub-image.active {
    display: block;
    transform: translateX(0);
}

@media (min-width: 980px) {
    .publications-list {
        max-width: 670px;
    }
}

@media (max-width: 979px) {
    .pub-title {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .pt-text {
        font-size: 18px;
    }

    .pub-title {
        font-size: 16px;
    }
}

/*#endregion Publications */

/*#region Knowledge */
.knowledge {
    position: relative;
}

.knowledge .loading-posts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.knowledge .loading-posts span {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #0065ff;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ki-thumbnail {
    display: block;
    aspect-ratio: 696/487;
    margin-bottom: 20px;
    overflow: hidden;
}

.ki-thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.ki-thumbnail:hover img {
    transform: scale(1.1);
}

.ki-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Montserrat SemiBold, Arial, sans-serif;
    margin-bottom: 10px;
}

.ki-title:hover, .ki-title:active {
    color: #616CE6;
}

.ki-excerpt {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #767676;
}

@media (max-width: 979px) {
    .knowledge-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .knowledge-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/*#endregion Knowledge */

/*#region Pagination */
.pagination-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
    justify-content: center;
    margin-top: 30px;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-item,
.pagination-nav {
    width: 40px;
    height: 40px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pagination-nav {
    opacity: 0.5;
}

.pagination-nav.active {
    opacity: 1;
}

.pagination-nav img {
    width: 24px;
    height: 24px;
}

.pagination-item {
    color: #172B4D;
}

.pagination-item.active {
    background-color: #0065FF;
    color: #fff;
}
/*#endregion Pagination */

/*#region Custom owlCarousel */
.owl-theme .owl-dots .owl-dot:focus {
    outline: unset;
}

.owl-theme .owl-dots .owl-dot span {
    background: #dfe1e6;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #0065ff;
}

.owl-theme .owl-dots .owl-dot.active span {
    width: 36px;
}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 0;
}

/*#endregion Custom owlCarousel */


.mkt-banner {
    padding: 50px 0;
}

.mkt-banner-1 {
    padding: 50px 0;
    padding-top: 30px;
}

@media (max-width: 979px) {
    .mkt-banner {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .mkt-banner {
        padding: 20px 0;
    }
}
