/* Instagram Reels Carousel v3.0.0 */

.igr-section {
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.igr-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.igr-ig-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.igr-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.igr-handle {
  font-size: 0.85rem;
  color: #888;
}

.igr-carousel-wrap {
  position: relative;
  padding: 0 14px;
}

.igr-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  align-items: flex-start;
}

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

/* Card */
.igr-card {
  flex: 0 0 320px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
}

/* iframe del reel — proporción 9:16 */
.igr-iframe {
  display: block;
  width: 320px;
  height: 568px;
  border: none;
  background: #f0f0f0;
}

/* Label */
.igr-card-label {
  background: linear-gradient(135deg, #f09433, #bc1888);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  text-align: center;
}

/* Footer */
.igr-card-footer {
  padding: 8px 12px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.igr-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: color 0.15s;
}

.igr-ig-link:hover {
  color: #bc1888;
  text-decoration: none;
}

/* Nav buttons */
.igr-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: #444;
  padding: 0;
  transition: background 0.15s;
}

.igr-btn:hover { background: #f5f5f5; }
.igr-btn--prev { left: -4px; }
.igr-btn--next { right: -4px; }

@media (max-width: 600px) {
  .igr-card   { flex: 0 0 260px; }
  .igr-iframe { width: 260px; height: 462px; }
}
