/* Instagram feed — medya.html tasarımı */
.ig-feed-section {
  position: relative;
}

.ig-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.ig-profile-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.ig-profile-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #111;
}

.ig-profile-icon svg {
  width: 100%;
  height: 100%;
}

.ig-profile-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ig-handle {
  font-weight: 700;
  font-size: 1.15rem;
  color: #111;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.ig-handle:hover {
  color: #c9a227;
}

.ig-sub {
  font-size: 0.95rem;
  color: #666;
}

.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid #111;
  border-radius: 999px;
  color: #111;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ig-follow-btn svg {
  width: 18px;
  height: 18px;
}

.ig-follow-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 991px) {
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ig-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.ig-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f2f2;
  text-decoration: none;
}

.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ig-card:hover img {
  transform: scale(1.04);
}

.ig-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.ig-card-play svg {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.ig-bottom-cta {
  margin-top: 2.25rem;
  text-align: center;
}

.ig-bottom-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ig-bottom-cta a svg {
  width: 18px;
  height: 18px;
}

.ig-bottom-cta a:hover {
  color: #c9a227;
  border-bottom-color: #c9a227;
}

.ig-grid.is-empty::after {
  content: attr(data-empty);
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  padding: 2rem 1rem;
}
