.mw-gallery {
  grid-column: span 8;
  grid-row: span 2;
  background-color: #19191c;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  gap: 20px;
  height: 430px;
}

.mw-gallery-header {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin: 40px 20px 10px;
  align-items: center;
}

.mw-gallery-header h3 {
  color: #fff;
  font-family: "NunitoSans-Black";
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
}

.mw-gallery-mobile {
  display: none;
}

.mw-gallery-header img {
  height: 30px;
  width: 30px;
}

.mw-gallery-main-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px 20px;
}
.mw-main-img:hover{
  transform: unset !important;
}
.mw-gallery-left {
  width: 49%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 100%;
  border-radius: 0.625rem;
  position: relative;
  overflow: hidden;
}

.mw-gallery-right {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: 100%;
  justify-content: center;
}
.mw-main-img {
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction: column;
  position: relative;
  border-radius: 0.625rem;
  height: 100%;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  overflow: hidden;
  margin-left: 9px;
}

.mw-chamada-gallery {
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  padding: 20px;
  font-family: "NunitoSans-Bold";
}

.main-shadow {
  margin-left: 19px;
}
@media (max-width:1024px){
  .main-shadow {
    margin-left: 0;
  }
}

.mw-gallery-title {
  width: 100%;
  position: absolute;
  bottom: 0;
  overflow: hidden;
  background: linear-gradient(to bottom, transparent, #000000d4);
  border-radius: 10px;
}

.galeriaCarousel {
  display: flex;
  flex-direction: column;
}

.galeriaCarousel .splide__pagination__page.is-active {
  background-color: #00529e;
}

.galeriaCarousel .splide__pagination {
  position: inherit;
  margin-top: 30px;
}

.galeriaCarousel .splide__pagination__page {
  height: 6px;
  width: 35px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.mw-img-side {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  border-radius: 0.625rem;
  width: 46%;
  height: 230px;
  overflow: hidden;
}

.mw-img-side img {
  background-size: cover;
  background-position: center;
  width: 40vw !important;
  object-fit: cover;
  height: inherit;
  cursor: pointer;
}

.mw-gallery-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 0 29px;
}

.overlay {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: stretch;
  z-index: 1;
}

.overlay figure {
  position: relative;
  width: 70vw;
  height: 70%;
  margin: 0 auto;
  position: relative;
  display: flex;
  overflow: hidden;
  border-radius: 20px 20px 0px 0px;
}

.overlay img {
  width: 70vw;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 20px 20px 0px 0px;
}

.overlay .closer {
  position: absolute;
  right: 0;
  padding: 10px 20px;
  cursor: pointer;
  color: #fff;
  font-size: 2rem;
}

.overlay-container {
  margin-left: 15%;
  margin-right: 15%;
  padding: 20px;
  background-color: #fff;
  border-radius: 0 0 20px 20px;
}

.overlay-container span {
  font-size: 16px;
  line-height: 20px;
  font-family: "NunitoSans-Bold";
}

.overlay-title-box {
  display: flex;
  column-gap: 20px;
  justify-content: center;
  align-items: center;
}

.overlay-title-box a {
  border: 2.5px solid #b7b7b7;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  color: #6c6c6c;
  opacity: 0.8;
  font-size: 17px;
  white-space: nowrap;
  padding: 10px 18px;
}
@media (max-width:1024px){
  .mw-gallery {
    grid-column: span 2;
  }
  .mw-gallery-header {
    margin: 20px 20px 0 20px;
}
.mw-gallery-left{
  width: 100%;
}
.mw-gallery-right {
  width: 100%;
}
.mw-main-img {
  margin-left: unset;
}
.mw-gallery-main-box {
  flex-direction: column;
  width: 100%;
  height: 87%;
  gap: 20px;
  margin: unset;
  padding: 0 10px;
}
.overlay-title-box {
  flex-direction: column;
  text-align: center;
}
.overlay figure {
  height: 40%;
}
}

@media (max-width:500px){
  .mw-img-side {
    width: 100%;
  }

  #galery-img {
    object-fit: cover !important;
    width: 100% !important;
  }

  .mw-img-side img {
    width: 100%;
  }

  .mw-gallery-mobile {
    display: flex;
  }
}