* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

/* Remove list styles */
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Remove default anchor styles */
a {
  text-decoration: none;
  color: inherit;
}

/* Reset heading margins */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}


.mediaContainer{
  padding-top: 24px;
}

.mediaContainer .newsItem{
  border-radius: 12px;
  width: 100%;
  height: 330px;
  cursor: pointer;
  box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 3%);
  position: relative;
  transition: all .3s ease;
}

.mediaContainer .newsItem .thumb, .mediaContainer .newsItem .thumb2{
  width: 100%;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.mediaContainer .newsItem .thumb2::after{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: linear-gradient(180deg, #000000ad 100%, rgba(255,255,255,0) 60%);
  border-radius: 12px;
}

.mediaContainer .newsItem .thumb2{
  position: absolute;
  top: 0;
  opacity: 0;
  transition: all .3s ease;
}

.mediaContainer .newsItem:hover .thumb2{
  display: flex;
  opacity: 1;
}

.mediaContainer .newsItem .thumb img, .mediaContainer .newsItem .thumb2 img{
  object-fit: cover;
  max-height: 180%;
  min-height: 100%;
  min-width: 100%;
  border-radius: 12px;
}

.mediaContainer .newsItem .newsTitle{
  color: #f0e4e4;
  font-size: 19px;
  line-height: 30px;
  font-weight: bold;
  padding: 20px 30px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all .3s ease;
  text-align: center;
  width: 100%;
}

.mediaContainer .newsItem:hover .newsTitle{
  opacity: 1;
}

.mediaContainer .newsItem .date{
  position: absolute;
  padding: 0.4rem;
  bottom: 0;
  left: 0;
  height: 15%;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.342) 100%, rgba(255, 255, 255, 0) 60%);
  border-radius: 0 12px 0 12px;
}

.mediaContainer .newsItem .date span{
  color: #f0e4e4;
}

.mediaContainer .newsItem .date span:first-child{
  margin-right: 4px;
}

.gridder-list:nth-child(n) {
margin-right: 0%;
}

.zoomedImgContainer{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.750);
z-index: 99;
display: flex;
align-items: center;
justify-content: center;
display: none;
}

.zoomedImgContainer div{
width: 600px;
height: 370px;
}

.zoomedImgContainer i{
position: absolute;
top: 24px;
right: 24px;
font-size: 32px;
color: white;
}

.zoomedImage{
z-index: 100000;
}

.zoomedImage img{
object-fit: cover;
height: 100%;
width: 100%;
}

.zoomedImage .owl-nav{
position: absolute;
top: 40%;
}

.zoomedImage .owl-prev, .zoomedImage .owl-next {
width: 80px;
height: 80px;
position: absolute;
background-color: rgba(141, 125, 125, 0.521) !important;
border-radius: 50%;
display: flex;
align-items: flex-start;
justify-content: center;
transition: all .3s ease;
}

.zoomedImage .owl-prev:hover, .zoomedImage .owl-next:hover{
background-color: rgb(141, 125, 125) !important;
}

.zoomedImage .owl-prev{
left: -200px;
}

.zoomedImage .owl-next{
right: -200px;
}

.zoomedImage .owl-prev span, .zoomedImage .owl-next span{
font-size: 48px;
}

.zoomedImage .owl-dots {
display: flex;
justify-content: center;
margin-top: 12px;
}

.zoomedImage .owl-dot {
height: 14px;
width: 14px;
background: rgba(190, 189, 189, 0.623) !important;
border-radius: 50%;
display: inline-block;
margin: 5px;
}

.zoomedImage .owl-dot.active {
background: white !important;
}

@media screen and (min-width: 10px) and (max-width: 768px) {
  .mediaContainer .newsItem{
      margin-bottom: 16px;
  }

  .zoomedImgContainer .zoomedImage{
    width: 90%;
    height: 300px;
    display: flex;
    justify-content: center;
  }

  .zoomedImage img{
    height: 100%;
    width: 100%;
    /* margin: 0 auto; */
  }

  .zoomedImage .owl-dots{
    display: none;
  }
}

@media screen and (min-width: 10px) and (max-width: 1000px) {
.zoomedImage .owl-nav{
  display: none;
}
}