.on-social-feed {
	margin: 40px auto;
	padding: 0 16px;
	max-width: 1200px;
}

.on-social-feed--admin-notice {
	background: #fffbe6;
	border: 1px dashed #d4a600;
	padding: 12px 16px;
	color: #5a4300;
	border-radius: 4px;
}

.on-social-feed__heading {
	text-align: center;
	margin: 0 0 24px;
	font-size: 28px;
}

.on-social-feed__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.on-social-feed__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.on-social-feed__grid {
		grid-template-columns: 1fr;
	}
}

.on-social-feed__card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e3e6eb;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.on-social-feed__card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.on-social-feed__card-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f2f4f7;
}

.on-social-feed__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.on-social-feed__card-body {
	padding: 14px 16px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.on-social-feed__card-date {
	margin: 0;
	font-size: 12px;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.on-social-feed__card-message {
	margin: 0;
	font-size: 15px;
	line-height: 1.45;
	color: #1f2937;
	flex: 1;
}

.on-social-feed__card-link {
	margin-top: 4px;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	color: #1877f2;
	align-self: flex-start;
}

.on-social-feed__card-link:hover {
	text-decoration: underline;
}
