/* Main Learning Section Styling */
@import url('https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap');

.learning-section {
    border-radius: 20px;
    border: 1px solid #1018280f;
    box-shadow: 0px 1px 2px 0px #1018280F, 0px 1px 3px 0px #1018281A;
    padding: 20px 0;
    overflow: visible;
    position: relative;
    /*margin: 0 auto;*/
    margin: 10px 0;
    z-index: 1;
    position: relative;
    background-color:#fff;
}

.course-link-redirection {
    cursor: pointer !important;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 500 !important;
    letter-spacing: -0.02em;
    color: #00359E !important;
    margin: 0;
}

.section-header h2 a {
    color: #00359E !important;
}

.view-all-link i {
    margin-left: 10px;
}


.section-header .view-all-link {
    font-size: 14px;
    color: #344054;
    font-weight: 500;
    font-family: 'Filson Pro', sans-serif;
}

/* Carousel Container */
.course-card-carousel-container {
    position: relative;
    /*overflow: hidden;*/
    width: 100%;
    padding: 0 0 0 20px;
}

.course-card-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    transform: translateX(0);
}


.course-card-carousel-control.next5 {
    right: 1px;
}

.course-card-carousel-control.prev5 {
    left: 1px;
}

.course-card-carousel-inner,
.top-courses-container {
    display: flex;
    transition: transform 0.5s ease;
    /* Set a starting offset to reveal half of the last card */
    transform: translateX(0);
    height: 320px;
}


.top-courses-card {
    min-width: 280px;
    overflow: hidden;
    box-shadow: 6px 6px 4px -2px #1018280F;
    border: 1px solid #EAECF0;
    background-color: #fff;
    padding: 15px;
    border-radius: 24px;
    margin-right: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;

}

.course-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 15px;
}

.img-tile {
    border: 4px solid #033DE7;
    width: 60%;
    height: 186px;
    background-color: white;
    position: absolute;
    z-index: 2;
    Right: 12px;
    border-radius: 12px;
    box-shadow: -8px 0 13px rgb(47, 82, 164, .35);
    top: 24px;
}


.new-card-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-rank {
    position: absolute;
    top: 35%;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    pointer-events: none;
    -webkit-text-stroke: 3px #033DE7;
    font-family: Fustat, sans-serif;
    font-size: 12rem;
    font-weight: 800;

}

.slick-carousel .top-courses-card {
    text-align: center;
    margin: 15px;
}

.img-tile img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.slick-prev,
.slick-next {
    font-size: 18px;
    color: #333;
    background: none;
    border: none;
}

.slick-dots li button:before {
    font-size: 12px;
    color: #333;
}

.top-courses-card {
    position: relative;
}

.slick-slide.top-courses-card {
    min-height: 310px;
}

.top-courses-area .new-card-section {
    min-width: auto;
    width: 257px !important;
    height: 275px;
    overflow: hidden;
}

.new-card-section .top-course-name {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 85px;

}

.top-course-name h3 {

    font-family: 'Filson Pro', Sans-Serif;
    font-size: 16px;
    font-weight: 500 !important;
    color: #1D2939 !important;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    line-height: 26px;
    letter-spacing: 0;

}

.top-courses-area .new-card-section .img-tile img {
    height: 100%;
}

.top-courses-card.new-card-section.top-course-large.slick-slide {
    min-width: 315px !important;
}

.top-courses-card.new-card-section.top-course-large.slick-slide .img-tile {
    width: 160px;
}

.top-course-large .top-rank {
    letter-spacing: -62px;
}

.top-rank-new {
    position: absolute;
    top: 0;
    left: 4px;
    width: 150px;
    height: 200px;
}





.course-tooltip.slick-slide {
    display: none;
}

@media (max-width:540px){
	.top-courses-area .new-card-section{
    	min-width:257px;
    }  

}
@media (max-width:768px){	
    .course-card-carousel-control.next5 {
        right: 1px;
    }
}
@media (max-width:1024px){	
    .course-card-carousel-control.next5 {
        right: 1px;
    }
}

@media (min-width: 768px) {
    .elementor-widget-learndash_top_courses .course-card-carousel-container.less-than-4 .slick-track {
        width: auto !important;
    }
    
}


.top-courses-area .new-card-section:first-child .top-rank-new {
    left: -4px;
}
.top-courses-area .new-card-section:nth-child(4) .top-rank-new {
    left: 1px;
}