.instagram-feed {
  padding: 20rem 0;
  background-color: var(--gray-light);
  text-align: center;
  margin: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  justify-content: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 10px;
}

  .grid-item {
    display: inline-block;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease;
    break-inside: avoid;
  }

  .grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
    cursor: pointer;
  }

  .media-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .media-wrapper img,
  .media-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .play-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    padding: 5px 10px;
    pointer-events: none;
  }

  .post-info {
    padding: 10px 12px 14px;
  }

  .post-description {
    font-size: 13px;
    line-height: 1.4;
    color: #262626;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .post-stats {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8e8e8e;
  }

  .likes::before {
    content: '❤️';
    margin-right: 4px;
  }


  
  /* Remove qualquer overflow forçado */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }