.modal-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.modal-wrapper {
  padding: 16px;
  padding-top: 52px;
}
.modal-container {
  position: relative;
}
.lef-side-wrapper {
  width: 100%;
  height: 275px;
}
.right-side-wrapper {
  width: 100%;
}

.lef-side-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.modal-description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-description-wrapper h2{
	margin-bottom: 0!important
}

.modal-content-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 38.4px;
  letter-spacing: normal;
  color: #000;
}
.modal-description {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22.4px;
  letter-spacing: normal;
  color: #000;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding-inline-start: 0;
  gap: 8px;
}
.tags li {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: normal;
  color: #0004ff;
}
.modal-button-wrapper {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.download-image-button {
  width: 100%;
  height: 52px;
  border-radius: 40px;
  background-color: #e9e9e9;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: normal;
  color: #000;
  border: 0;
  cursor: pointer;
  transition: background-color 0.5s, border-color 0.5s;
}
.download-image-button:hover {
  background-color: #d0d0d0;
}
.modal-outline-button {
  width: 100%;
  height: 52px;
  border-radius: 40px;
  background-color: transparent;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: normal;
  color: #000;
  border: 1px solid #000000;
  cursor: pointer;
  transition: background-color 0.5s, border-color 0.5s;
}
.modal-outline-button:hover {
  border: 1px solid #e9e9e9;
  background-color: #e9e9e9;
}
.share-post-wrapper {
  margin-top: 24px;
}
.share-post-title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 38.4px;
  letter-spacing: normal;
  color: #000;
}
.social-button-wrapper {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.social-buttons {
  width: 100%;
  height: 52px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: normal;
  color: white;
  border: 0;
  cursor: pointer;
}

.copy-button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.facebookButton {
  background-color: #316ff6;
}
.facebookButton:hover {
  background-color: #5a8fff;
}
.twitterButton {
  background-color: #1c1c1c;
}
.twitterButton:hover {
  background-color: #2e2e2e;
}
.instagramButton {
  background-color: #dd2a7b;
}
.instagramButton:hover {
  background-color: #e85c9b;
}
.copyLinkButton {
  background-color: #ffffff;
  color: #000;
  border: 1px solid #000000;
}
.copyLinkButton:hover {
  background-color: #f2f2f2;
}
.modal-close-icon {
  background-color: #ffffff;
  border-radius: 100%;
}
.modal-close-icon:hover {
  background-color: #f2f2f2;
  transition: background-color 0.5s, border-color 0.5s;
}

/* MEDIA QUERY  */
@media (min-width: 768px) {
  .lef-side-wrapper {
    height: 590px;

    display: flex;
    align-items: center;

  }
  .modal-wrapper {
    padding: 40px;
    padding-top: 40px;
  }
  .modal-content-wrapper {
    gap: 36px;
  }
  .modal-description-wrapper {
    gap: 24px;
  }
  .modal-description {
    font-weight: 500;
    font-size: 16px;
    line-height: 25.6px;
  }
  .tags li {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
  }
  .download-image-button {
    font-size: 20px;
    line-height: 28px;
  }
  .modal-button-wrapper {
    gap: 24px;
  }
  .copy-button-wrapper {
    flex-direction: row;
    gap: 10px;
    align-items: start;
  }
  .modal-outline-button {
    font-size: 20px;
    line-height: 28px;
  }
  .share-post-wrapper {
    margin-top: 40px;
  }
  .share-post-title {
    font-size: 32px;
    line-height: 44.8px;
  }
  .social-button-wrapper {
    margin-top: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .social-buttons {
    font-size: 20px;
    line-height: 28px;
  }
  .modal-close-icon {
    background-color: transparent;
    border-radius: 100%;
  }
}

/* desktop screen  */

@media (min-width: 1024px) {
  .right-side-wrapper {
    width: 50%;
  }
  .lef-side-wrapper {
    width: 50%;
  }
  .modal-content-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .modal-content-title {
    font-size: 32px;
    line-height: 44.8px;
  }
  .modal-description {
    font-size: 20px;
    line-height: 24px;
  }
  .share-post-wrapper {
    margin-top: 48px;
  }
  .social-button-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .social-button-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

.modal-slider-card-poster {
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
  position: relative;
}

.modal-slider-card-poster img,
.modal-slider-card-poster video {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.modal-slider-card-poster:hover img::before,
.modal-slider-card-poster:hover:not(.video-mode)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.modal-slider-card-poster:not(.video-mode):hover .preview-button {
  display: inline-block;
}

.modal-slider-card-poster .video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 1;
}

.modal-content-slideshow-container {
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.modal-slides {
  display: none;
}
.modal-slides img {
  height: 100%;
 
}

.modal-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.full-width-modal-content-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-slider-dots-wrapper {
  display: flex;
  position: absolute;
  bottom: 40px;
  left: 45%;
}


.modal-description h2,
.modal-description h2 span{
  font-size: 24px!important;
  margin-bottom: 20px
}
.modal-description span,
.modal-description{
  font-size: 20px!important
}

@media(max-width: 1024px){
    .lef-side-wrapper{
        height: unset!important;
    }
}