/* SPC Social Feeds — sidebar widget. All selectors are prefixed (.spc-sf*) to
   avoid bleeding into theme styles. */

.spc-sf {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	font-size: 13px;
	line-height: 1.4;
}

.spc-sf * {
	box-sizing: border-box;
}

.spc-sf__list {
	flex: 1 1 auto;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.spc-sf__item {
	border-bottom: 1px solid #f0f0f0;
}

.spc-sf__item:last-child {
	border-bottom: 0;
}

.spc-sf__link {
	display: block;
	padding: 10px;
	color: inherit;
	text-decoration: none;
}

.spc-sf__link:hover {
	background: #fafafa;
}

.spc-sf__thumb {
	display: block;
	margin-bottom: 6px;
}

.spc-sf__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.spc-sf__body {
	display: block;
}

.spc-sf__caption {
	display: block;
	margin-bottom: 6px;
	color: #222;
	word-wrap: break-word;
}

.spc-sf__meta {
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: #666;
}

.spc-sf__ico {
	margin-right: 2px;
}

.spc-sf__count--likes .spc-sf__ico {
	color: #e0245e;
}

.spc-sf__more {
	display: block;
	flex: 0 0 auto;
	padding: 10px;
	text-align: center;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: #1877f2; /* Facebook blue default */
}

.spc-sf--ig .spc-sf__more {
	background: #c13584; /* Instagram magenta */
}

.spc-sf__more:hover {
	opacity: 0.92;
	color: #fff;
}
