/* Feed do Instagram - seção Eventos realizados */
.ig-feed {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
@media (max-width: 991px) {
	.ig-feed { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
	.ig-feed { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

.ig-post {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #1e1e1e;
}
.ig-post img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.ig-post:hover img,
.ig-post:focus-visible img { transform: scale(1.06); }

.ig-post-info {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding: 16px;
	color: #fff;
	background: linear-gradient(to top, rgba(228, 22, 69, .92), rgba(41, 41, 41, .35));
	opacity: 0;
	transition: opacity .3s ease;
}
.ig-post:hover .ig-post-info,
.ig-post:focus-visible .ig-post-info { opacity: 1; }
.ig-post-info i { font-size: 1.4rem; }
.ig-post-info p {
	margin: 0;
	color: #fff;
	font-size: .85rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ig-post-tipo {
	position: absolute;
	top: 10px;
	right: 10px;
	color: #fff;
	font-size: 1rem;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}

.ig-feed-carregando .ig-post {
	animation: ig-pulso 1.2s ease-in-out infinite alternate;
}
@keyframes ig-pulso {
	from { opacity: .35; }
	to { opacity: .7; }
}

@media (prefers-reduced-motion: reduce) {
	.ig-post img, .ig-post-info { transition: none; }
	.ig-feed-carregando .ig-post { animation: none; }
}
