.cast-slider-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}
.mg-blog-cast-post.big-post {
    grid-row: span 2;
    grid-column: 1 / 3;
}
.grid-item {
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
.mg-blog-cast-post{
    background-color: #fff;
    display: block;
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.mg-blog-cast-post .post-form{
    bottom: 20px;
    left: 20px;
    top: unset;
}
.big-post .mg-blog-cast-img{
    height: 400px;
}
.mg-blog-cast-img{
    width: 100%;
    position: relative;
}
.mg-blog-cast-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mg-blog-cast-post .bottom{
    padding: 20px;
}
.mg-blog-cast-post .bottom p{
    margin-bottom: 0;
}
.mg-blog-cast-post.big-post .title a{
    color: inherit;
}
.mg-blog-cast-post.big-post .title a:hover{
    color: var(--pri-color);
}
.mg-blog-cast-post.big-post .title{
    margin: 1rem 0 0.25rem;
}
.mg-blog-cast-post .title{
    display: -webkit-box;
    max-height: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mg-blog-cast-post.small-post .mg-blog-cast-img{
    height: 221px;
}
.mg-blog-cast-post.small-post{
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .cast-slider-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));  
    }
}

@media (max-width: 480px) {
    .big-post .mg-blog-cast-img {
        height: 300px;
    }
    .mg-blog-cast-post.small-post .mg-blog-cast-img {
        height: 170px;
    }
    .mg-blog-cast-post.small-post .bottom{
        padding: 10px;
    }

}

/*---------------------------------------
	Heading           
-----------------------------------------*/
.mg-wid-title {
    font-weight: bold;
	border-width: 0 0 2px 0;
	border-style: solid;
	margin: 0px -20px 20px -20px;
	position: relative;
	padding: 0;
}
.mg-wid-title .wtitle {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
    padding: 2px 15px 0;
    position: relative;
    text-transform: capitalize;
    width: auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
/* Two */
.mg-wid-title .wtitle.two::before {
    position: absolute;
    top: -1px;
    content: "";
    width: 29px;
    height: 41px;
}
/* Footer Heading */
.mg-footer-widget-area .mg-wid-title {
    margin: 0;
    margin-bottom: 20px;
}
/* Section Heading */
.mg-sec-title {
  font-weight: bold;
  padding-bottom: 0;
  border-width: 0 0 2px 0;
  border-style: solid;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mg-sec-title .wtitle{
  	margin: 0px;
  	font-weight: 700;
	line-height: 40px;
	padding: 0 15px;
    width: auto;
    min-height: 40px;
    height: auto;
    display: inline-flex;
    align-items: center;
    position: relative;
    font-size: 18px;
}
.mg-sec-title .wtitle.two::before {
	position: absolute;
	top: -1px;
	content: "";
	width: 29px;
	height: 41px;
}
.mg-sec-title .wtitle.no::before {
	display: none;
}
.mg-sidebar .mg-sec-title { 
    margin: 0 -20px 20px -20px;
}