.knowledge-category {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #172b4d;
    margin-top: 40px;
}

.knowledge-category 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: Inter SemiBold, Arial, sans-serif;
    color: #01b58a;
    font-size: 32px;
}

.ms-title {
    text-align: center;
}

.ms-line {
    width: 4px;
    height: 32px;
    border-radius: 4px;
    background-color: #01b58a;
}

.hide-ic {
    display: none;
}

.ms-view-all {
    display: flex;
    gap: 8px;
}

.ms-view-all-text {
    flex-shrink: 0;
    color: #0065FF;
}

@media (min-width: 1200px) {
    .knowledge-category .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) {
    .knowledge-category {
        font-size: 14px;
    }

    .ms-title, .ms-title-text {
        font-size: 20px;
    }
}

/*#region Banner */
.banner {
    background: url(/emis-kindergarten/sites/category/images/knowledge/bg-banner.png) no-repeat center;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.banner-title {
    font-family: Inter Bold, Arial, sans-serif;
    font-size: 40px;
    text-align: center;
    color: #fff;
    padding-bottom: 24px;
}

.is-form-style::after {
    background: url(/emis-kindergarten/sites/category/images/knowledge/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;
}

@media (max-width: 979px) {
    .banner-title {
        font-size: 28px;
    }

    .banner-search {
        padding-bottom: 100px;
    }
}

@media (max-width: 767px) {
    .banner-title {
        font-size: 24px;
    }
}
/*#endregion Banner */

/*#region Feature Posts */
.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    gap: 12px;
}

.feature-header .ms-line-title {
    padding-bottom: 0;
}

.fp-flex {
    display: flex;
    gap: 30px;
}

.fp-left,
.fp-right {
    flex: 1;
}

.fp-title {
    font-family: Inter 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;
    gap: 16px;
}

.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: Inter, Arial, sans-serif;
}

.home-page .td-icon-views {
    background: url(/emis-kindergarten/sites/category/images/knowledge/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: 90px;
    }

    .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 */