/* 
    =========================================================
        For Homepage
    =========================================================
*/

.featured-top{
    display: flex;
    flex: 1;
    border-radius: 10px;
    padding: 20px 12px 5px 12px;
}
.featured-top .top-left{
    display: flex;
    flex-direction: row;
    background: var(--navbar_color);
    padding: 0px;
    margin-right: 0px;
    border-radius: 0 10px 10px 0;
    border: 1px solid #eef3f3;
    
}
@media(min-width: 992px){
    .featured-top .top-left{
        height: 460px;
    }
}
@media(max-width: 576px){
    .featured-top .top-left{
        display: flex;
        flex-direction: column;
    }
}

.top-left .image-div {
    height: 100%;
    transition: .3s ease-out;
}
.top-left .image-div img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.image-div:hover img{
    transform: scale(1.01);
    transition: .3s ease-in-out;
}
.top-left .title-div{
    height:90%;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.top-left .title-div h2{
    font-size: var(--large_font);
    font-weight: 600;
    margin: 0;
    padding: 5px 10px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical
}
.top-left .title-div a{
    text-decoration: none;

}
.top-left .title-div a:hover{
    color: var(--hover_color);
}
.top-left .title-div p{
    font-size: var(--medium_font);
    margin: 0;
    padding: 5px 10px;
    font-weight: 400;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical
}
.title-div h2{
    font-size: var(--big_font);
    font-weight: 600;
}


.top-right{
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.top-right .author-meta{
    font-size: var(--small_font);
    font-weight: 700;
    color: var(--content_font_color);
    text-align: right;
}

.top-right .author-meta a{
    text-decoration: none;
    font-size: var(--small_font);
    font-weight: 700;
    color: var(--content_font_color);
    text-transform: capitalize;
}
.top-right .author-meta a:hover{
    color: var(--hover_color);
}

.featured-top .top-right .title-div h2{
    font-size: var(--big_font);
    font-weight: 600;
    padding: 0 5px;
	display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical
}
.top-right .title-div a{
    text-decoration: none;
}
.top-right .title-div a:hover{
    color: var(--hover_color);
}

.featured-top .top-right .image-div{
    width: 100%;
}

.featured-top .top-right .image-div img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

@media(max-width: 768px){
    .top-right{
        margin-top: 20px;
        padding: 0px;
    }
    .featured-top .top-right .image-div img{
        height: 100%;
    }
    .featured-bottom .image-div img{
        height: 400px;
    }
}

@media(max-width: 576px){
    .top-right{
        padding: 0px;
        margin-top: 15px;
    }
}

@media(max-width: 992px){
    .featured-top .top-left{
        display: flex;
        flex-direction: column;
    }
    .top-left .image-div {
        width: 100%;
        height: auto;
    }
    
    .top-right{
        flex-direction: column;
    }
    .title-div .author{
        text-align: right;
        font-weight: 600;
    }
    .title-div .author a{
        color: var(--content_font_color);
        text-decoration: none;
        font-weight: 600;
    }
}

.featured-bottom{
    display: flex;
    margin-top: 10px;
    border-radius: 10px;
}

.featured-bottom .single-item{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-bottom .single-item .title-div h2{
    font-size: var(--big_font);
    font-weight: 700;
	display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}
.featured-bottom .title-div a{
    text-decoration: none;
}
.featured-bottom .title-div a:hover{
    color: var(--hover_color);
}

.featured-bottom .image-div img{
    width: 100%;
    height: 220px;
    border-radius: 10px;
    object-fit: cover;
    object-position: top;
}


.display-wrap .heading{
    padding: 25px 25px 0 25px;
    color: var(--content_font_color);
    font-size: var(--big_font);
    font-weight: 700;
}
.display{
    padding: 0px 25px 25px 25px;
}

.display-item{
    background: #fff;
    height: 500px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
 
}
.display-item .image-div{
    display: flex;
    align-items: center;
    justify-content: center;
}
.display-item .image-div img{
    width: 100%;
    height: 250px;
}
.display-item .description-div{
    flex: 1;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.display-item .description-div .title{
    font-size: var(--medium_font);
    font-weight: 600;
	display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}
.display-item .description-div a{
    text-decoration: none;

}
.display-item .description-div .action{
    text-align: center;
}

/* ==============================================
        Bottom Section
   ==============================================
*/

.related-post-wrap{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-left: 10px;
}

@media(max-width: 576px){
    .related-post-wrap{
        padding: 25px 10px;
    }
}

.related-post{
    border: 1px solid #ededf5;
    border-radius: 10px;
    box-shadow: 6px 6px var(--navbar_color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-articles-section .related-post-heading{
    font-size: var(--large_font);
    font-weight: 600;
}

.related-post .image-div{
    width: 100%;
    height: 220px;
}

@media(max-width: 576px){
    .related-post .image-div{
        width: 100%;
        height: 250px;
    }
}

.related-post .image-div img{
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
    object-position: top;
}

.related-post .description-div{
    flex: 1;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-post a{
    text-decoration: none;
}
.related-post a:hover{
    color: var(--hover_color);
}
  
.related-post .description-div .category a{
    text-transform: uppercase;
    font-size: var(--small_font);
    font-weight: 700;
    color: var(--theme_color);
   
}
.related-post .description-div .category a:hover{
    color: var(--hover_color);
}

.related-post .description-div .title{
    font-size: var(--big_font);
    font-weight: 600;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical
}
.related-post .description-div .author{
    font-size: var(--small_font);
    color: var(--content_font_color);
    font-weight: 600;
    text-align: right;
    text-transform: capitalize;
}
.related-post .description-div .author a{
    color: var(--theme_color) !important;
}
.related-post .description-div .author a:hover{
    color: var(--hover_color) !important;
}