@import url("/DesktopModules/EasyDNNSocialStream/Assets/Css/Settings/font-awesome/css/all.min.css");

.eds_socialStream.tsd-social-stream {
  --tsd-social-gold: var(--accent-color, #f1bc60);
  --tsd-social-ink: #111110;
  --tsd-social-muted: #65655e;
  --tsd-social-border: #deded8;
  min-width: 0;
  max-width: 100%;
  padding-block: 20px;
  container-type: inline-size;
  color: var(--tsd-social-ink);
  font-family: var(--family, "Manrope"), "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.tsd-social-stream *,
.tsd-social-stream *::before,
.tsd-social-stream *::after { box-sizing: border-box; }

.tsd-social-stream a { color: inherit; text-decoration: none; }
.tsd-social-stream a:focus-visible,
.tsd-social-stream button:focus-visible,
.tsd-social-stream [tabindex]:focus-visible {
  outline: 2px solid var(--tsd-social-ink);
  outline-offset: 3px;
}

.tsd-social-stream .edSocialStream_menuWrapper { margin-bottom: 24px; }
.tsd-social-stream .edSocialStream_menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tsd-social-stream .tsd-social-filter { margin: 0; padding: 0; list-style: none; }
.tsd-social-stream .edSocialStream_menuItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--tsd-social-border);
  border-radius: 0;
  background: #fff;
  color: var(--tsd-social-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.tsd-social-stream .edSocialStream_menuItem:hover { border-color: var(--tsd-social-ink); }
.tsd-social-stream .edSocialStream_menuItem.edSocialStream_active {
  background: var(--tsd-social-ink);
  border-color: var(--tsd-social-ink);
  color: var(--tsd-social-gold);
}

/* The module writes masonry dimensions and item coordinates after every load.
   These overrides keep its loader intact while CSS lays out one scrolling row. */
.tsd-social-stream .tsd-social-carousel { position: relative; }
.tsd-social-stream .tsd-social-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  min-height: 0;
  max-width: 100%;
  margin: 0;
  padding: 4px 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
}
.tsd-social-stream .tsd-social-track::-webkit-scrollbar { display: none; }
.tsd-social-stream .edSocialStream_streamList {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  width: max-content !important;
  height: auto !important;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.tsd-social-stream .tsd-social-nav {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--tsd-social-gold);
  border-radius: 0;
  background: var(--tsd-social-ink);
  color: var(--tsd-social-gold);
  font-family: inherit;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.tsd-social-stream .tsd-social-nav[hidden] { display: none; }
.tsd-social-stream .tsd-social-prev { left: 10px; }
.tsd-social-stream .tsd-social-next { right: 10px; }
.tsd-social-stream .tsd-social-nav:hover { background: var(--tsd-social-gold); color: var(--tsd-social-ink); }
.tsd-social-stream .edSocialStream_streamItem {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: calc(100cqi - 28px);
  margin: 0;
  border: 1px solid var(--tsd-social-border);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  scroll-snap-align: start;
  text-align: left;
}
.tsd-social-stream .edSocialStream_streamItem:hover { border-color: #9e9e94; }
.tsd-social-stream .edSocialStream_itemThumbnail {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1;
  background: #f3f3ee;
  overflow: hidden;
}
.tsd-social-stream .edSocialStream_itemThumbnail > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.tsd-social-stream .edSocialStream_itemThumbnail > a:focus-visible { outline-offset: -4px; }
.tsd-social-stream .edSocialStream_itemThumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center 20%;
}
.tsd-social-stream .tsd-social-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--tsd-social-muted);
  font-size: 13px;
}
.tsd-social-stream .edSocialStream_badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 5px 9px;
  background: var(--tsd-social-ink);
  color: var(--tsd-social-gold);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.tsd-social-stream .edSocialStream_streamItemContent {
  flex: 0 0 auto;
  padding: 18px 18px 16px;
  color: #45453f;
  font-size: 14px;
  line-height: 1.6;
}
.tsd-social-stream .tsd-social-caption {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  height: 4.8em;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.tsd-social-stream .tsd-social-caption p { display: inline; margin: 0; }
.tsd-social-stream .tsd-social-caption a { color: #815512; text-decoration: underline; text-underline-offset: 2px; }
.tsd-social-stream .edSocialStream_streamItemSource {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid var(--tsd-social-border);
}
.tsd-social-stream .edSocialStream_sourceIcon { flex: 0 0 34px; }
.tsd-social-stream .edSocialStream_sourceIcon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--tsd-social-ink);
  color: var(--tsd-social-gold);
}
.tsd-social-stream .edSocialStream_sourceIcon svg { display: block; width: 21px; height: 21px; }
.tsd-social-stream .edSocialStream_sourceIcon img { display: block; width: 34px; height: 34px; margin: 0; object-fit: cover; }
.tsd-social-stream .edSocialStream_sourceDetails { flex: 1; min-width: 0; }
.tsd-social-stream .edSocialStream_sourceTitle {
  overflow: hidden;
  margin: 0;
  padding: 0;
  color: var(--tsd-social-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tsd-social-stream .edSocialStream_postDetails { color: var(--tsd-social-muted); font-size: 11px; line-height: 1.5; }
.tsd-social-stream .edSocialStream_streamItemFooter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 60px;
  padding: 4px 18px 10px;
  color: var(--tsd-social-muted);
  font-size: 12px;
}
.tsd-social-stream .edSocialStream_itemActions { display: flex; align-items: center; gap: 10px; }
.tsd-social-stream .edSocialStream_flexRight { margin-left: auto; }
.tsd-social-stream .tsd-social-editor { flex: 0 0 100%; justify-content: flex-end; border-top: 1px solid var(--tsd-social-border); }
.tsd-social-stream .edSocialStream_itemAction { display: inline-flex; align-items: center; gap: 4px; }
.tsd-social-stream .tsd-social-post-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--tsd-social-ink);
  font-size: 12px;
  font-weight: 700;
}
.tsd-social-stream .tsd-social-post-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.tsd-social-stream .tsd-social-post-link i { color: #815512; font-size: 11px; }
.tsd-social-stream .edSocialStream_iconAction { position: relative; }
.tsd-social-stream .edSocialStream_iconAction input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tsd-social-stream .edSocialStream_iconAction label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-height: 44px;
  padding: 0;
  margin: 0;
  color: var(--tsd-social-muted);
  font-size: 0;
  cursor: pointer;
}
.tsd-social-stream .edSocialStream_iconAction label::before { font: 900 14px/1 "Font Awesome 6 Free"; }
.tsd-social-stream .edSocialStream_iconAction input:focus-visible + label { outline: 2px solid var(--tsd-social-ink); }
.tsd-social-stream .edSocialStream_visibilityCheckbox label::before { content: "\f070"; }
.tsd-social-stream .edSocialStream_visibilityCheckbox input:checked + label::before { content: "\f06e"; }
.tsd-social-stream .edSocialStream_pinnedCheckbox label::before { content: "\f08d"; }
.tsd-social-stream .edSocialStream_pinnedCheckbox input:checked + label { color: #815512; }
.tsd-social-stream .edSocialStream_deleteButton label::before { content: "\f2ed"; }
.tsd-social-stream .edSocialStream_deleteButton:hover label { color: #a72222; }
.tsd-social-stream .edSocialStream__notVisible { opacity: .45; }
.tsd-social-stream .edSocialStream__deleted { border-color: #a72222; }
.tsd-social-stream .edSocialStream__deleted > div { filter: grayscale(1); }
.tsd-social-stream .edSocialStream__deleted::after {
  content: "Deleted";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background: #ffffffdb;
  color: #a72222;
  font-size: 18px;
  font-weight: 700;
  pointer-events: none;
}
.tsd-social-stream .edssm__loadMoreTriggerWrapper {
  display: flex;
  flex: 0 0 160px;
  width: 160px;
  margin: 0;
  scroll-snap-align: end;
  text-align: center;
}
.tsd-social-stream .edssm__loadMorePosts {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 180px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--tsd-social-border);
  border-radius: 0;
  background: #f6f6f1;
  color: var(--tsd-social-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
}
.tsd-social-stream .edssm__loadMorePosts .actionTextContainer { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tsd-social-stream .tsd-social-load-icon { display: grid; place-content: center; width: 48px; height: 48px; background: var(--tsd-social-ink); color: var(--tsd-social-gold); font-size: 26px; font-weight: 400; }
.tsd-social-stream .edssm__loadMorePosts:hover { background: var(--tsd-social-gold); color: var(--tsd-social-ink); }
.tsd-social-stream .edssm__loadMorePosts .loadingOverlay { display: none; }
.tsd-social-stream .edssm__loadMorePosts.loading .actionTextContainer { visibility: hidden; }
.tsd-social-stream .edssm__loadMorePosts.loading .loadingOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tsd-social-ink);
  color: var(--tsd-social-gold);
}
@media (max-width: 575.98px) {
  .tsd-social-stream .edSocialStream_streamList,
  .tsd-social-stream .tsd-social-track { gap: 16px; }
}
