/* ACONTEINNER — Nos acompanhe (local / SBI feed) */
.ac-ig-feed {
  width: 100%;
  max-width: 1100px;
  margin: 1.25rem auto 0.5rem;
}

.ac-ig-feed .ac-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1024px) {
  .ac-ig-feed .ac-ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ac-ig-feed .ac-ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.ac-ig-feed .ac-ig-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0f1720;
  box-shadow: 0 4px 18px rgba(15, 23, 32, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ac-ig-feed .ac-ig-item:hover,
.ac-ig-feed .ac-ig-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 23, 32, 0.18);
}

.ac-ig-feed .ac-ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ac-ig-feed .ac-ig-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(15, 23, 32, 0.35) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ac-ig-feed .ac-ig-item:hover::after,
.ac-ig-feed .ac-ig-item:focus-visible::after {
  opacity: 1;
}

.ac-ig-feed .ac-ig-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(87, 196, 105, 0.92);
  padding: 4px 8px;
  border-radius: 999px;
}

.ac-ig-feed--sbi .sbi {
  margin: 0 auto !important;
}

.ac-ig-feed--sbi .sbi_photo {
  border-radius: 12px !important;
  overflow: hidden;
}

.ac-ig-feed--sbi #sbi_load .sbi_load_btn {
  border-radius: 999px;
  background-color: #57c469 !important;
  border-color: #57c469 !important;
}

.ac-ig-feed__cta {
  text-align: center;
  margin-top: 1rem;
}

.ac-ig-feed__cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #57c469;
  text-decoration: none;
}

.ac-ig-feed__cta a:hover {
  text-decoration: underline;
}
