.social-content-post-card-wrap {
  width: 100%;
  height: auto;
  border: 1px solid #c4c4c4;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

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

.social-card-poster img,
.social-card-poster video {
  width: 100%;
  height: 100%;
}

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

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

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

.preview-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: none;
  width: 134px;
  height: 47px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: #000;
  z-index: 2;
  cursor: pointer;
  align-items: center;
}

.preview-button:hover {
  background-color: #f2f2f2;
}
.preview-icon {
  width: 16px;
  height: 16px;
}

.social-content-post-card-content {
  padding: 16px;
}

.slider-right-arrow,
.slider-left-arrow {
  position: absolute;
  top: 164px;
  cursor: pointer;
}

.slider-right-arrow {
  right: 10px;
}

.slider-left-arrow {
  left: 10px;
}

.slider-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  position: absolute;
  top: 340px;
  left: 50%;
  transform: translateX(-50%);
}
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* Add this line */
  cursor: pointer;
}

.dots {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* Set default background color */
}

.dots.active {
  background-color: #ffffff;
}

.social-content-platfor-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-content-section-wrapper {
  padding-top: 20px;
}
.social-content-platfor-icon {
  width: 24px;
  height: 24px;
}

.social-content-platform-icon {
  width: 16px;
  height: 16px;
}

.social-post-card-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default to 1 column */
  grid-gap: 20px;
  min-width: 0;
}
@media (min-width: 640px) {
  .social-post-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .social-post-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1440px) {
  .social-post-card-grid {
    gap: 40px;
  }
}

.social-post-card-wrapper {
  margin-top: 20px;
}

.content-post-wrapper {
  padding-top: 20px;
}

/* MEDIA QUERY  */

/* TAB SCREEN  */
@media (min-width: 768px) {
  .social-content-post-card-content {
    padding: 20px;
  }
  .social-content-platfor-icon {
    width: 24px;
    height: 24px;
  }
  .preview-icon {
    width: 20px;
    height: 14px;
  }
  .preview-button {
    width: 163px;
    height: 52px;
    font-size: 20px;
    line-height: 28px;
  }
  .social-content-platform-icon {
    width: 24px;
    height: 24px;
  }
  .content-post-wrapper {
    padding-top: 40px;
  }
  .social-content-section-wrapper {
    padding-top: 40px;
  }
}

/* DESKTOP SCREEEN */

@media (min-width: 1024px) {
  .slider-left-arrow {
    left: 10px;
  }
  .slider-right-arrow {
    right: 10px;
  }
  .preview-icon {
    width: 20px;
    height: 14px;
  }
  .preview-button {
    width: 163px;
    height: 52px;
    font-size: 20px;
    line-height: 28px;
  }
}
