/* === CENTERED WRAPPER === */
.social-wall__outer-wrapper {
  width: 100%;
  text-align: center;
}

/* === SCROLL CONTAINER === */
.social-wall__wrapper {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  overflow-x: auto;
  text-align: left;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.social-wall__wrapper::-webkit-scrollbar {
  display: none;
}

/* The List */
.social-wall__list {
  display: flex;
  gap: 20px;
  padding: 10px 5px;
  margin: 0;
  list-style: none;
  align-items: stretch; 
}

/* === CARD STYLES === */
.social-wall__item {
  flex: 0 0 auto;
  width: 325px; 
  max-width: 85vw;
  scroll-snap-align: center;
}

.social-wall__card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 550px; 
  display: flex;
  flex-direction: column;
  overflow: hidden; 
}

/* === EMBED CONTENT WRAPPER === */
.social-wall__embed-container {
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow-y: auto; 
  scrollbar-width: none; 
  -ms-overflow-style: none; 
  /* 🟢 FIX: Ensure text alignment doesn't force gaps */
  text-align: left; 
}

.social-wall__embed-container::-webkit-scrollbar {
  display: none;
}

/* 🟢 FIX: FORCE NO GAPS on Frames and Blockquotes */
.social-wall__embed-container iframe,
.social-wall__embed-container blockquote,
.social-wall__embed-container .tiktok-embed {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important; /* Allow shrinking to container */
  position: relative !important; 
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 100%; 
}

/* === PLACEHOLDER === */
.social-wall__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  background: #f9f9f9;
}

.social-wall__placeholder svg {
  width: 50px;
  height: 50px;
  fill: #ddd;
  margin-bottom: 10px;
}

/* === RESPONSIVE === */
@media screen and (min-width: 768px) {
  .social-wall__list {
    gap: 30px;
  }
}