.iipmb-sf-feed {
	width: 100%;
}

.iipmb-sf-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.iipmb-sf-item {
	min-width: 0;
}

.iipmb-sf-item iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

/* Twitter / X */
.iipmb-sf-twitter .twitter-tweet,
.iipmb-sf-twitter .twitter-timeline {
	margin: 0 auto !important;
}

/* Facebook page plugin keeps its own min/max width (180-500px). */
.iipmb-sf-facebook .iipmb-sf-fb-page {
	display: flex;
}

/* Use the iframe's width attribute, but never overflow the column. */
.iipmb-sf-facebook .iipmb-sf-fb-page iframe {
	width: auto;
	max-width: 100%;
}

/* LinkedIn embeds are fixed-height iframes. */
.iipmb-sf-linkedin .iipmb-sf-item iframe {
	background: #fff;
}

/* Header */
.iipmb-sf-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.iipmb-sf-header__title {
	margin: 0;
}

.iipmb-sf-header__button {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.iipmb-sf-header__button:hover,
.iipmb-sf-header__button:focus {
	color: #fff;
	opacity: 0.85;
}

.iipmb-sf-header--twitter .iipmb-sf-header__button { background-color: #000; }
.iipmb-sf-header--facebook .iipmb-sf-header__button { background-color: #1877f2; }
.iipmb-sf-header--linkedin .iipmb-sf-header__button { background-color: #0a66c2; }

/* Editor-only placeholder */
.iipmb-sf-notice {
	padding: 24px;
	border: 2px dashed #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
	color: #50575e;
	font-size: 14px;
	text-align: center;
}
