.categories {
	--font-small: 13px;
    --font-medium: 14px;
    --font-title: 16px;
    --font-big: 32px;
}

.categories {
	margin-top: 60px;
}

.categories#td-outer-wrap {
	margin-top: 60px;
    padding: 0;
}

.categories .td-container {
    width: 1170px;
    margin-right: 0;
}

.category-container {
    display: flex;
}

.category-container .content-wrapper {
    flex-grow: 1;
}

.banner img {
	width: 100%;
}

.spotlight {
    margin: 40px 0;
    display: block;
}

.newest-posts,
.category-wrapper,
.categories-post,
.category-post-container {
    margin: 80px 0;
    display: block;
}

.category-header-content {
    display: flex;
    gap: 12px;
    align-items: center;
}

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

.chc-text {
    font-family: Montserrat SemiBold, Arial, sans-serif;
    color: #0065ff;
    font-size: var(--font-big);
}

.chc--cp {
    margin-bottom: 24px;
}

.chc-more {
    /* margin-bottom: 24px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Montserrat;
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 21px;
    text-align: left;
}

.cp-header {
    display: flex;
    justify-content: space-between;
}

/* Newest Post */

.newest-posts .category-header-content {
    margin-bottom: 24px;
}

.np-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.np-wrapper {
    display: flex;
    gap: 16px;
    width: 50%;
}

.np__thumbnail {
    height: 112px;
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.np__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 6px;
}

.np-container .row-wrapper {
    display: flex;
    gap: 30px;
}

.np__title {
    font-family: Montserrat;
    font-size: var(--font-medium);
    font-weight: 600;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: left;
    color: #172b4d;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.npm-item {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: Montserrat;
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: left;
    color: #172b4d;
}

/* ----------- */

/* ----------- */

.cp-container {
    width: 970px;
    padding: 0 35px;
	margin: 0 auto;
}

.cp-wrapper-1 {
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    margin: 8px 15px;
    color: rgba(23, 43, 77, 1);
}

.cp-content {
    padding: 16px;
}

.cp__title {
    font-family: Montserrat;
    font-size: var(--font-title);
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    color: #172b4d;
    margin-top: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.cp__metainfo {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cp-meta__item {
    display: flex;
    padding: 4px 0px;
    gap: 8px;
    flex-shrink: 0;
	color: #172b4d;
	font-size: var(--font-medium);
}

.cp__img {
    max-height: 152px;
    height: 152px;
    overflow: hidden;
    display: block;
}

.cp__img img {
    height: 100%;
    object-fit: cover;
    object-position: left;
}

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

.cp-author__name {
    font-family: Montserrat;
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: left;
    color: #172b4d;
    flex-shrink: inherit;
}

.cp-container .owl-prev {
    position: absolute;
    top: 50%;
    left: -4%;
    transform: translateY(-50%);
}

.cp-container .owl-next {
    position: absolute;
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
}

.cp-container .owl-theme .owl-nav [class*="owl-"]:hover {
    background-color: transparent;
}
.owl-theme .owl-nav .cpc-owl-ic {
    width: 24px;
    height: 24px;
    object-fit: none;
    color: #fff;
    font-size: var(--font-medium);
    margin: 0px;
    padding: 0;
    background: transparent;
    border-radius: 0px;
}
.relevant-post__expand a {
    font-family: Montserrat;
    font-size: var(--font-medium);
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: left;
    color: rgba(0, 101, 255, 1);
}

.relevant-post__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.categories-post .cp-meta__item img.cp-date__icon { 
	width: 16px;
	max-height: 19px;
}

.categories-post .cp-meta__item .cp-view__content img {
	width: 16px;
	height: 16px;
}

/* ----------- */

/* --------- */

.et-content {
    position: absolute;
    bottom: 0px;
    padding: 12px;
    font-family: Montserrat;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    color: white;
    font-weight: 400;
}

.et-content .et__title {
    /* font-weight: 500; */
    margin-bottom: 8px;
}

/* .category-header-content {
    margin-bottom: 24px;
} */

.et__expand {
    display: flex;
    gap: 8px;
}

.et__expand img {
    width: 16px;
    height: 16px;
}

/* ---------*/

a.np-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0065ff;
}

@media (max-width: 1170px) {
    .categories .td-container {
        width: auto;
		padding-left: 0;
		padding-right: 0;
    }

    .category-container {
        margin: 0 auto;
        /* width: 970px; */
		width: 100%;
		display: block;
    }
    .categories .td-ss-main-content {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

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

@media (max-width: 1024px) {
}

@media (max-width: 980px) {
    .categories {
        --font-medium: 13px;
        --font-title: 14px;
        --font-big: 24px;
    }

    .np-container .row-wrapper {
        flex-direction: column;
    }
    .np-wrapper {
        width: 100%;
    }

    .newest-posts,
    .category-wrapper,
    .categories-post,
    .category-post-container {
        margin: 40px 0;
    }
}

@media (min-width: 1040px) {
	.cp-container {
		width: 970px;
		padding: 0 35px;
	}
}


@media (min-width: 840px) {
	.cp-container {
		width: 770px;
		padding: 0 35px;
	}
}

@media (min-width: 980px) {
	.cp-container {
		width: 870px;
		padding: 0 15px;
	}
}

@media (max-width: 979px) {
	.cp-container {
		width: 100%;
		padding: 0;
	}
}

@media (max-width: 420px) {
    .np-wrapper {
        flex-wrap: wrap;
        background: linear-gradient(180deg, #ffffff 55.53%, #deebff 100%);
        border-radius: 6px;
    }
    .et-content {
        padding: 24px;
    }
    .et__img {
        padding: 0 12px;
    }

    .np__thumbnail {
        width: 100%;
        height: auto;
    }
    .np-left {
        width: 100%;
    }
    .np-right {
        padding: 0 12px 12px 12px;
    }
    .np__thumbnail img {
        border-radius: 6px 6px 0px 0px;
    }
    .newest-posts,
    .category-wrapper,
    .categories-post,
    .category-post-container {
        margin: 20px 0;
    }
}


