/* ============================================================
   index_sns_feed.css — index.php(トップページ)専用CSS
   No.203: 新着情報/放送情報に並べて、直近のSNS自動配信(遺産紐付き)を一覧表示する枠。

   方針(list_card.css / various_list_card.css と同じ作法):
   - style.css は一切編集しない。このファイルはindex.php専用に追加で読み込む。
   - 全セレクタに .snsfeed- プレフィックスを付与し、style.css の既存クラス(.ul_news等)とは
     独立させる(サムネイル付きリストという表示要件が.ul_newsの想定と異なるため流用しない)。
   - 配色は既存の新着情報/放送情報の見出しトーンに合わせ、新色は追加しない。
   ============================================================ */

.snsfeed-list {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 300px;
	overflow-y: scroll;
}

.snsfeed-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-bottom: 1px dotted #ccc;
	text-decoration: none;
	color: inherit;
}
.snsfeed-item:hover {
	background-color: #f7f9fa;
	text-decoration: none;
	color: inherit;
}

.snsfeed-item__thumb {
	flex: 0 0 auto;
	width: 64px;
	height: 48px;
	border-radius: 4px;
	overflow: hidden;
	background-color: #ddd;
}
.snsfeed-item__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.snsfeed-item__body {
	flex: 1 1 auto;
	min-width: 0;
}

.snsfeed-item__title {
	font-size: 15px;
	line-height: 1.4;
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.snsfeed-item__date {
	font-size: 12px;
	color: #999;
	margin-top: 2px;
}

.snsfeed-empty {
	padding: 20px 10px;
	color: #999;
	font-size: 14px;
}
