.sig-feed {
  --sig-card: #222c3c;
  --sig-text: #e4e8ee;
  --sig-muted: #9aa6b8;
  --sig-accent: #e1306c;
  --sig-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.sig-feed *,
.sig-feed *::before,
.sig-feed *::after {
  box-sizing: border-box;
}

/* Masonry por colunas CSS */
.sig-grid {
  column-count: var(--sig-cols, 3);
  column-gap: var(--sig-gap);
}

.sig-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 var(--sig-gap);
  background: var(--sig-card);
  color: var(--sig-text);
  border-radius: 6px;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

/* Mídia */
.sig-media {
  position: relative;
  background: #151b26;
}

.sig-slide {
  display: block;
  flex: 0 0 100%;
  scroll-snap-align: start;
  line-height: 0;
}

.sig-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.sig-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.sig-track::-webkit-scrollbar {
  display: none;
}

.sig-track:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Setas do carrossel */
.sig-nav {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 20px;
  line-height: 26px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.sig-prev { left: 10px; }
.sig-next { right: 10px; }

.sig-media:hover .sig-nav,
.sig-nav:focus-visible {
  opacity: 1;
}

.sig-nav[disabled] {
  display: none;
}

@media (hover: none) {
  .sig-nav { opacity: 1; }
}

/* Pontos do carrossel */
.sig-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.sig-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: auto;
  cursor: pointer;
}

.sig-dot.is-active {
  background: #2f80ed;
}

/* Selo de vídeo */
.sig-play {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.sig-play::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  border-left: 8px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* Corpo */
.sig-body {
  padding: 14px 16px 18px;
}

.sig-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sig-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sig-who strong {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sig-when {
  font-size: 11px;
  color: var(--sig-muted);
}

.sig-ig {
  flex: none;
  display: inline-flex;
  color: var(--sig-accent);
  line-height: 0;
}

.sig-ig:hover,
.sig-ig:focus-visible {
  color: #fff;
}

.sig-caption {
  font-size: 12px;
  line-height: 1.6;
  color: var(--sig-text);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

.sig-caption.is-open {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.sig-more {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sig-more[hidden] {
  display: none;
}

.sig-notice {
  padding: 12px 16px;
  border: 1px dashed #b32d2e;
  color: #b32d2e;
  font-size: 14px;
}

/* Responsivo */
@media (max-width: 991px) {
  .sig-grid { column-count: min(var(--sig-cols, 3), 2); }
}

@media (max-width: 575px) {
  .sig-grid { column-count: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .sig-track { scroll-behavior: auto; }
  .sig-nav { transition: none; }
}
