/* ATE Social Feed — cards grid + embed wrapper. */

/* ---------- Cards (theme-styled) ---------- */
.ate-social-feed-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	width: 100%;
}

@media (max-width: 1024px) {
	.ate-social-feed-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
	.ate-social-feed-cards { grid-template-columns: 1fr; }
}

.ate-sf-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eceef1;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.ate-sf-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgba(9, 30, 66, .10);
	border-color: transparent;
}

.ate-sf-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f5f7;
}

.ate-sf-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease;
}

.ate-sf-card:hover .ate-sf-card__media img {
	transform: scale(1.04);
}

.ate-sf-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 22px 24px;
	flex: 1;
}

.ate-sf-card__date {
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #8a94a6;
}

.ate-sf-card__text {
	font-size: 16px;
	line-height: 1.55;
	color: #232a35;
	margin: 0;
	flex: 1;
}

.ate-sf-card__link {
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	color: var(--e-global-color-accent, #1e73be);
}

.ate-sf-card__link:hover,
.ate-sf-card__link:focus {
	text-decoration: underline;
}

/* ---------- Embed fallback ---------- */
.ate-social-feed--embed {
	display: flex;
	justify-content: center;
	width: 100%;
}

.ate-social-feed--embed iframe {
	border-radius: 12px;
}

/* ---------- Admin hint (never shown to visitors) ---------- */
.ate-social-feed-admin-note {
	padding: 14px 18px;
	border: 1px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	color: #50575e;
	font-size: 13px;
}
