.newswire-main-container {
  padding: 0 var(--horizontal-spacing-desktop);
}

.newsfeed-newswire-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--horizontal-spacing-desktop);
}

.newswire-hero-character-img {
  position: absolute;
  height: 80%;
  bottom: -4%;
  right: 20%;
}

.tiktok-posts-container {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 15px;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
  margin-bottom: 50px;
}

.tiktok-post-item blockquote {
  width: 100% !important;
  min-width: 200px !important;
  aspect-ratio: 325/722 !important;
  max-width: 100% !important;
  height: auto;
  object-fit: contain;
}

.linkedin-posts-container {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 15px;
  white-space: nowrap;
  scroll-snap-type: x mandatory;
}

.linkedin-posts-container .linkedin-post-item {
  grid-column: span 1; /* Each item takes up one column */
  scroll-snap-align: start;
}

.linkedin-post-item {
  width: 100%;
  aspect-ratio: 30/70;
  /* overflow: hidden; */
}
.te_theme20_poweredBy {
  display: none !important;
}

.linkedin-post-item iframe {
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
}

.newswire-margin-bottom-l {
  margin: 50px 0px;
}

.newswire-margin-bottom-s {
  margin-bottom: 30px;
}

@media screen and (max-width: 1280px) {
  .newswire-main-container {
    padding: 0 var(--horizontal-spacing-tablet);
  }

  .newswire-hero-character-img {
    height: 60%;
    right: 20%;
  }

  .newsfeed-newswire-container {
    padding: 0 var(--horizontal-spacing-tablet);
  }
}

@media screen and (max-width: 576px) {
  .newswire-main-container {
    padding: 0 var(--horizontal-spacing-mobile);
  }

  .newsfeed-newswire-container {
    padding: 0 var(--horizontal-spacing-mobile);
  }

  .linkedin-post-item {
    width: 100vw; /* Full width for mobile */
  }
  .linkedin-posts-container {
    overflow-x: auto;
    overflow-y: hidden;
  }

  /* Optional: Hide scrollbar */
  .linkedin-posts-container-container::-webkit-scrollbar,
  .tiktok-posts-container::-webkit-scrollbar {
    display: none;
  }

  .newswire-hero-character-img {
    height: 40%;
    right: 20%;
  }

  .linkedin-posts-container {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .newsfeed-title-image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .newsfeed-title-image img {
    width: 75%;
  }
}

/* CSS for TikTok posts container */
.tiktok-posts-container {
  white-space: nowrap;
  overflow-x: auto;
}

/* CSS for TikTok post items */
.tiktok-post-item {
  display: inline-block;
  margin-right: 10px; /* Adjust the margin as needed */
}

/* Remove margin for the last item to prevent unnecessary space */
.tiktok-post-item:last-child {
  margin-right: 0;
}

/* Responsive CSS for smaller screens */
@media (max-width: 768px) {
  .tiktok-post-item {
    margin-right: 5px; /* Adjust the margin for smaller screens */
  }
}
