@media (min-width: 1200px) and (max-width: 1400px) {
.tab-content.MD_des {
margin-left: 5% !important;
margin-right: 5% !important;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.MD_each h5 a {
font-size: 25px !important;
}
}
@media (min-width: 320px) and (max-width: 767px) {
.tab-content.MD_des {
margin-bottom: 50px !important;
}
.tab-content.MD_des ul {
grid-template-columns: auto !important;
}
.tab-content.MD_des ul li {
margin-top: 0 !important;
}
.MD_each h5 a {
font-size: 22px !important;
}
} .tab-content.MD_des {
margin: 50px 0 80px 0;
}
.tab-content.MD_des ul {
list-style: none;
padding: 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 20px;
width: 100%;
}
.tab-content.MD_des ul li {
width: 100%;
display: inline-block;
position: relative;
vertical-align: text-top;
}
.tab-content.MD_des ul li img {
width: 100%;
height: 70%;
transition: 0.3s;
-webkit-transition: 0.3s;
}
.tab-content.MD_des ul li figure {
max-height: 365px;
object-fit: cover;
position: relative;
outline: 1rem solid #fff;
width: 100%;
transition: 0.6s ease-in-out;
overflow: hidden;
transform-origin: center center;
}
.tab-content.MD_des ul li figure img {
transition: transform 0.3s ease;
display: block;
}
.tab-content.MD_des ul li figure:hover img {
transform: scale(1.05);
}
.tab-content.MD_des ul li .md_post_wrap {
display: flex;
justify-content: space-between;
padding: 10px 0;
}
.tab-content.MD_des ul li .md_post_wrap .md_post_meta h5 {
font-family: "ProximaNovaBold";
font-weight: 700;
font-size: 24px;
letter-spacing: 0;
vertical-align: middle;
text-transform: capitalize;
} .tab-content.MD_des ul li .md_post_wrap .md_post_meta .md_cat {
color: #7F7F7F;
transition: color 0.3s ease; }
.tab-content.MD_des ul li .md_post_wrap .md_date {
color: #1E1E1E;
transition: color 0.3s ease;
} .tab-content.MD_des ul li:hover .md_post_wrap .md_post_meta .md_cat,
.tab-content.MD_des ul li:hover .md_post_wrap .md_date {
color: #1b33cb;  
}
.tab-content.MD_des ul li .md_post_wrap .md_post_meta .md_cat {
font-family: "ProximaNovaRegular";
font-weight: 400;
font-size: 20px;
letter-spacing: 0;
vertical-align: middle;
text-transform: capitalize;
}
.tab-content.MD_des ul li .md_post_wrap .md_date {
margin-top: 10px;
font-family: "ProximaNovaRegular";
font-weight: 400;
font-size: 13px;
letter-spacing: 0;
vertical-align: middle;
text-transform: capitalize;
} .tab-content.MD_des ul li .md_excerpt {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
} .tab-content.MD_des ul li a {
text-decoration: none;
font-family: "ProximaNovaRegular";
font-weight: 400;
font-size: 20px;
color: #1E1E1E;
line-height: 28px;
letter-spacing: 0;
vertical-align: middle;
text-transform: capitalize;
}
.tab-content.MD_des ul a:hover {
color: #1b33cb;
} .MD_each {
position: absolute;
top: 20px;
left: 20px;
color: #fff;
}
.MD_each h5 {
margin-bottom: 0;
}
.MD_each h5 a {
color: #fff;
font-size: 28px;
font-family: "ProximaNovaBold";
text-decoration: none;
line-height: 1.5;
}
.MD_each h5 a span {
display: block;
font-size: 18px;
} .single-media .post-title {
font-family: "ProximaNovaBold", sans-serif;
font-weight: 700;
font-size: 48px;
line-height: 1.1;
vertical-align: middle;
text-transform: capitalize;
color: #1127C4;
margin-bottom: 16px;
}
.single-media .post-categories .category {
font-family: "ProximaNovaRegular", sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.33;
vertical-align: middle;
text-transform: capitalize;
color: #1127C4;
}
.single-media .post-wrapper {
display: flex;
justify-content: space-between;
margin-top: 30px;
gap: 5%;
}
.single-media .post-content {
width: 50%;
}
.single-media .post-image {
width: 45%;
}
.single-media .post-image img {
width: 100%;
height: auto;
display: block;
}
.single-media .post-content p {
font-family: "ProximaNovaRegular", sans-serif;
font-weight: 400;
font-size: 20px;
line-height: 1.4;
vertical-align: middle;
text-transform: capitalize;
color: #000;
margin-bottom: 1em;
}
.single-media .post-date {
display: flex;
justify-content: center;
font-family: "ProximaNovaRegular", sans-serif;
font-weight: 400;
font-size: 15px;
line-height: 2.13;
vertical-align: middle;
text-transform: capitalize;
color: #1E1E1E;
margin-top: 30px;
} @media screen and (max-width: 1024px) {
.single-media .post-wrapper {
flex-direction: column;
gap: 0;
}
.single-media .post-image {
order: -1;
width: 100%;
margin-bottom: 20px;
}
.single-media .post-content {
width: 100%;
}
} @media screen and (max-width: 768px) {
.single-media .post-title {
font-size: 36px;
}
.single-media .post-categories .category {
font-size: 20px;
}
.single-media .post-content p {
font-size: 18px;
line-height: 1.44;
}
.single-media .post-date {
font-size: 14px;
line-height: 2;
}
}