.elementor-widget-content-carousel .term-content {
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 1/1;
    min-height: 390px;
    width: 100%;
    position: relative;
    cursor: pointer;
    text-align: left;
    background-size: cover;
}
.term-content .term-description {
/*    display: none;*/
    font-family: Kanit;
	font-size: 16px;
	font-weight: 300;
	line-height: 26px;
	letter-spacing: 0em;
    color: #fff;
    transition: all .3s;
    padding-right: 10px;
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
}
.elementor-widget-content-carousel .term-content:hover .content-tag-img:after {
    content: "";
    width: 51px;
    height: 51px;
    background: url(../images/topic-icon.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    right: 15px;
    top: 15px;
    transition: all .3s;
}
/*.term-content:hover .term-title:after{
    background-image: url(../images/arr-hover.svg);
}*/
.term-content .term-title {
    font-family: kanit;
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00000000;
    padding-right: 28px;
    position: relative;
/*    transition: all .3s;*/
    margin-bottom: 10px;
    width: 100%;
}
.term-content .term-title span{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
}
.term-content .term-sub-title {
    font-family: Kanit;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 0em;
    color: #000000;
    transition: all .3s;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.elementor-widget-content-carousel .custom-nav {
	background: #d7f018;
	border-radius: 100px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: auto;
    padding: 5px;
    align-items: center;
    margin-top: 58px;
	float: left;
}
.articles-listing-slider .custom-nav {
    display: inline-flex;
}
.articles_listing .recent_post_content {
    justify-content: center;
}
.recent_post.articles_listing_add .pagination {
    display: none;
}
.articles_listing .recent_post_content .recent_post_item.no_post:hover {
    box-shadow: none !important;
}
.elementor-widget-content-carousel .swiper{
    text-align: center;
}
.custom-nav .swiper-button-next,
.custom-nav .swiper-button-prev{
    position: static;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #000;
    min-width: 36px;
    opacity: 1 !important;
    margin: 0;
    border: 2px solid #000000;
}
.custom-nav .swiper-button-next:hover,
.custom-nav .swiper-button-prev:hover{
    background: #E0FF01;
}
.custom-nav .swiper-button-next:hover svg path,
.custom-nav .swiper-button-prev:hover svg path{
    fill: #000000;
}
.custom-nav .swiper-button-next:after, .custom-nav .swiper-button-prev:after{
    display: none;
}
.custom-nav .swiper-button-next svg, .custom-nav .swiper-button-prev svg{
    width: 10px;
    height: 10px;
}
.custom-nav .swiper-pagination .swiper-pagination-bullet{
	width: 7px;
	height: 7px;
	background: #474747;
	border-radius: 50%;
    opacity: 1;
    margin: 0 4px !important;
    position: relative;
    cursor: pointer;
}
.custom-nav .swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 23px;
    padding: 0 1.5px;
}
.custom-nav .swiper-pagination .swiper-pagination-bullet-active{
	background: #000000;
}
.custom-nav .swiper-pagination .swiper-pagination-bullet:before {
    content: "";
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    border: 1px solid #000000;
    opacity: 0;
    border-radius: 50%;
    transition: all .3s;
}
.custom-nav .swiper-button-next svg path, 
.custom-nav .swiper-button-prev svg path{
	fill:#d1fa16;
}
.custom-nav .swiper-pagination .swiper-pagination-bullet-active:before {
    opacity: 1;
}
.elementor-widget-content-carousel .term-content .content-wrapper {
    padding: 27px 40px 18px;
    background: transparent;
    position: absolute;
    width: 100%;
    height: auto;
    bottom: auto; 
	
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.elementor-widget-content-carousel .term-content .content-heading{    
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;  
}
.term-content:hover .content-heading {
    height: auto !important;
}
.elementor-widget-content-carousel .term-content:hover .content-wrapper{
    background: transparent;
}
.elementor-widget-content-carousel .term-content:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: all .3s;
    background: #000000BF;
}
.elementor-widget-content-carousel .term-content:hover:before{
    height: 100%;
}
.term-content:hover .term-sub-title{
    color: #FFFFFF;
}
.term-content:hover .term-title{
    color: #E0FF01;
}
.term-content:hover .term-description{
    color: #FFFFFF;
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
    height: auto;
}
.elementor-widget-content-carousel .custom-nav.hide {
    display: none;
}

.content-tag{
	width: max-content;
    background-color: #d7f018;
    justify-self: right;
    padding: 10px 20px;
    margin: 15px;
    border-radius: 29px;
}
.content-tag span{
	font-size:16px;
	font-weight:bold;
	font-family:kanit;
	text-transform: uppercase;
}

.elementor-widget-content-carousel .term-content:hover .content-tag{
	display:none;
}

@media (min-width: 768px) {
    .elementor-widget-content-carousel .custom-nav.hide-tablet {
        display: none;
    }
}
@media (min-width: 1024px) {
    .elementor-widget-content-carousel .custom-nav.hide-desktop {
        display: none;
    }
}
@media (max-width: 1600px){
    .elementor-widget-content-carousel .term-content .content-wrapper{
        padding-left: 23px;
        padding-right: 37px;
        padding-bottom: 18px; 
        padding-top: 22px;
    }
/*     .term-content .term-title:after{
        top: -13px;
    } */
    .term-content .term-title{
        padding-right: 25px;
        margin-bottom: 6px;
    }
    .term-content .term-description{
        padding-right: 0;
    }
    .term-content:hover .term-description{        
        margin-top: 5px;
    }
    .custom-nav .swiper-pagination .swiper-pagination-bullet{
        width: 6.4px;
        height: 6.4px;
    }
    .custom-nav .swiper-button-next, .custom-nav .swiper-button-prev{
        width: 34px;
        height: 34px;
        min-width: 34px;
    }
    .elementor-widget-content-carousel .custom-nav{
        padding: 4px;
        margin-top: 55px;
    }
    .custom-nav .swiper-pagination{
        margin: 0 22px;
    }
/*     .term-content .term-title:after {
        width: 48px;
        height: 48px;
    } */
}
@media (max-width: 1199px){
    .term-content .term-title{
        padding-right: 40px;
    }
    .elementor-widget-content-carousel .term-content .content-wrapper{
        padding-left: 30px;
        padding-right: 30px;
    }
/*     .term-content .term-title:after{
        right: -18px;
    } */
}
@media (max-width: 767px){
    .custom-nav .swiper-button-next svg, 
    .custom-nav .swiper-button-prev svg {
        width: 6px;
        height: 9.5px;
    }
    .elementor-widget-content-carousel .swiper{
        overflow: visible;
    }
    .elementor-widget-content-carousel .custom-nav{
        margin-top: 36px;
    }
    .elementor-widget-content-carousel .term-content .content-wrapper {
       padding-left: 34px;
        padding-right: 34px;
        padding-top: 25px;
        padding-bottom: 14px;
    }
    .term-content .term-title {
        margin-bottom: 0;
    }
    .term-content:hover .term-description {
        margin-top: 5px;
    }
/*     .term-content .term-title:after{
        width: 44px;
        height: 44px;
        top: -15px;
        right: -24px;
    } */
    .term-content .term-title {
        padding-right: 30px;
    }
    .elementor-widget-content-carousel .term-content{
        min-height: 358px;
    }
}
@media (max-width: 420px){
    .elementor-widget-content-carousel .term-content .content-wrapper {
        padding-left: 20px;
    }
}