/* Social Feed para Elementor */
.sfe-feed {
	--sfe-radius: 8px;
	width: 100%;
}

.sfe-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 24px;
	justify-items: center;
}

.sfe-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border-radius: var(--sfe-radius);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(16, 24, 40, 0.10);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sfe-card:hover {
	box-shadow: 0 6px 20px rgba(16, 24, 40, 0.16);
}

.sfe-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #eef1f4;
}

.sfe-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.sfe-zoom-yes .sfe-card:hover .sfe-media img {
	transform: scale(1.04);
}

.sfe-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 22px;
	height: 22px;
	color: #fff;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
	pointer-events: none;
}

.sfe-badge svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.sfe-body {
	padding: 12px 14px 16px;
	flex: 1 1 auto;
}

.sfe-head {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sfe-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	border: 1px solid #e5e7eb;
	background: #fff;
}

.sfe-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.sfe-username {
	font-size: 13px;
	font-weight: 700;
	color: #1f2937;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sfe-username:hover {
	text-decoration: underline;
}

.sfe-date {
	font-size: 11px;
	color: #8a94a3;
}

.sfe-caption {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #374151;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	overflow-wrap: anywhere;
}

/* Siga-nos */
.sfe-follow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.sfe-follow-label {
	font-size: 13px;
	color: #1f4e6b;
	margin-right: 4px;
}

.sfe-follow a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1f2937;
	font-size: 17px;
	line-height: 1;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.sfe-follow a:hover {
	opacity: 0.65;
}

.sfe-follow a svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

/* Avisos (só visíveis no editor / para administradores) */
.sfe-notice {
	padding: 12px 16px;
	border-left: 4px solid #d63638;
	background: #fcf0f1;
	color: #50575e;
	font-size: 14px;
	margin-bottom: 16px;
}

.sfe-notice--warn {
	border-color: #dba617;
	background: #fcf9e8;
}

@media (max-width: 1024px) {
	.sfe-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.sfe-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sfe-card,
	.sfe-media img {
		transition: none;
	}
}
