.gj-fb-feed {
	/* Link color: Elementor ka global Primary color, na mile to theme ka link color */
	--gj-fb-blue: var(--e-global-color-primary, currentColor);
	--gj-fb-line: rgba(0, 0, 0, .12);
	--gj-fb-muted: rgba(0, 0, 0, .6);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 1.5em 0;
}

.gj-fb-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--gj-fb-line);
	border-radius: 8px;
	overflow: hidden;
}

.gj-fb-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #eef1f5;
}

.gj-fb-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gj-fb-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 14px 16px 16px;
}

.gj-fb-time {
	font-size: 13px;
	color: var(--gj-fb-muted);
}

.gj-fb-text {
	flex: 1;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: #1c1e21;
}

.gj-fb-link {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 600;
	color: var(--gj-fb-blue);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.gj-fb-link:hover,
.gj-fb-link:focus-visible {
	border-bottom-color: currentColor;
}

.gj-fb-link:focus-visible,
.gj-fb-media:focus-visible {
	outline: 2px solid var(--gj-fb-blue);
	outline-offset: 2px;
}

.gj-fb-note {
	padding: 12px 16px;
	border: 1px dashed var(--gj-fb-line);
	border-radius: 6px;
	color: var(--gj-fb-muted);
}

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

@media (max-width: 560px) {
	.gj-fb-feed { grid-template-columns: 1fr; }
}
