/* Instagram feed – ana sayfa */
#instagram-feed.instagram-feed-area {
	background: #f8fbfc;
}

#instagram-feed .instagram-feed__label {
	display: inline-block;
	color: #e1306c;
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 15px;
}

#instagram-feed .instagram-feed__label i {
	margin-right: 6px;
}

#instagram-feed .instagram-feed__status {
	color: #5a6a75;
	font-size: 15px;
	margin-bottom: 24px;
}

#instagram-feed .instagram-feed__status.is-error {
	color: #d64550;
}

#instagram-feed .instagram-feed__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	min-height: 120px;
}

#instagram-feed .instagram-feed__item {
	display: block;
	margin: 0;
	padding: 0;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 57, 79, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#instagram-feed .instagram-feed__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 57, 79, 0.12);
}

#instagram-feed .instagram-feed__link {
	display: block;
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	overflow: hidden;
	background: #e8eef2;
	text-decoration: none;
}

#instagram-feed .instagram-feed__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	transition: transform 0.35s ease;
}

#instagram-feed .instagram-feed__link:hover .instagram-feed__img {
	transform: scale(1.06);
}

#instagram-feed .instagram-feed__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 57, 79, 0.45);
	color: #fff;
	font-size: 36px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

#instagram-feed .instagram-feed__link:hover .instagram-feed__overlay,
#instagram-feed .instagram-feed__link:focus-visible .instagram-feed__overlay {
	opacity: 1;
}

#instagram-feed .instagram-feed__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
}

#instagram-feed .instagram-feed__caption {
	margin: 0;
	padding: 12px 14px 16px;
	font-size: 14px;
	line-height: 1.5;
	color: #4d5d68;
	word-break: break-word;
}

#instagram-feed .instagram-feed__fallback {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 57, 79, 0.08);
}

#instagram-feed .instagram-feed__fallback-icon {
	display: block;
	font-size: 48px;
	color: #e1306c;
	margin: 0 auto 16px;
}

#instagram-feed .instagram-feed__fallback p {
	margin-bottom: 20px;
	color: #4d5d68;
}

#instagram-feed.is-loaded .instagram-feed__status {
	display: none;
}

@media (max-width: 991px) {
	#instagram-feed .instagram-feed__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}
}

@media (max-width: 575px) {
	#instagram-feed .instagram-feed__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
