/**
 * sn-editorial.css — お知らせ(news)/業界記事(article)の一覧・詳細ページ用スタイル
 *
 * 自己完結CSS(sn.css には依存しない)。filemtime 版付けで enqueue する(functions.php)。
 * 見た目の作り込みは後の専用パスでまとめて行う方針のため、まずは読みやすい最小限に留める。
 */

/* ===== 共通の枠 ===== */
.sn-editorial {
	background: #fff;
}
.sn-editorial-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 48px 20px 80px;
}
.sn-editorial-wrap--narrow {
	max-width: 720px;
}

.sn-editorial-head {
	margin-bottom: 32px;
	border-bottom: 1px solid #ececec;
	padding-bottom: 20px;
}
.sn-editorial-eyebrow {
	margin: 0 0 4px;
	font-size: 12px;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #b08d57; /* 上質さを出す控えめなゴールド系 */
}
.sn-editorial-title {
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
}
.sn-editorial-empty {
	color: #777;
	padding: 40px 0;
	text-align: center;
}

/* ===== お知らせ 一覧 ===== */
.sn-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #ececec;
}
.sn-news-item {
	border-bottom: 1px solid #ececec;
}
.sn-news-item.is-important {
	background: #fbf7ef;
}
.sn-news-link {
	display: block;
	padding: 18px 8px;
	text-decoration: none;
	color: inherit;
	transition: background .15s ease;
}
.sn-news-link:hover {
	background: #f7f7f7;
}
.sn-news-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	flex-wrap: wrap;
}
.sn-news-date,
.sn-article-date {
	font-size: 13px;
	color: #999;
	font-variant-numeric: tabular-nums;
}
.sn-news-badge,
.sn-article-badge {
	display: inline-block;
	font-size: 11px;
	line-height: 1;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f0f0f0;
	color: #555;
}
.sn-news-badge.is-important {
	background: #c0392b;
	color: #fff;
}
.sn-news-headline {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #222;
}

/* ===== 記事 一覧(カードグリッド) ===== */
.sn-article-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}
.sn-article-card {
	border: 1px solid #ececec;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}
.sn-article-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}
.sn-article-card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}
.sn-article-thumb {
	aspect-ratio: 16 / 9;
	background: #f2f2f2;
	overflow: hidden;
}
.sn-article-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.sn-article-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f2f2f2, #e6e6e6);
}
.sn-article-card-body {
	padding: 16px 16px 20px;
}
.sn-article-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.sn-article-card-title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	color: #1a1a1a;
}
.sn-article-excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #666;
}

/* ===== 詳細(共通) ===== */
.sn-editorial-post-head {
	margin-bottom: 24px;
}
.sn-editorial-post-title {
	margin: 8px 0 0;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.45;
	color: #1a1a1a;
}
.sn-article-author {
	font-size: 13px;
	color: #777;
}
.sn-article-hero {
	margin: 0 0 28px;
	border-radius: 10px;
	overflow: hidden;
}
.sn-article-hero img {
	width: 100%;
	height: auto;
	display: block;
}
.sn-editorial-body {
	font-size: 16px;
	line-height: 1.9;
	color: #333;
}
.sn-editorial-body h2 {
	margin: 40px 0 16px;
	font-size: 21px;
	font-weight: 700;
	border-left: 4px solid #b08d57;
	padding-left: 12px;
}
.sn-editorial-body h3 {
	margin: 32px 0 12px;
	font-size: 18px;
	font-weight: 700;
}
.sn-editorial-body p {
	margin: 0 0 20px;
}
.sn-editorial-body img {
	max-width: 100%;
	height: auto;
}

/* ===== 詳細の付随情報(タグ/寄稿先/関連スタジオ) ===== */
.sn-article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 32px 0 0;
}
.sn-article-tag {
	font-size: 12px;
	color: #b08d57;
	text-decoration: none;
	padding: 4px 10px;
	border: 1px solid #e6ddcc;
	border-radius: 999px;
}
.sn-article-tag:hover {
	background: #faf6ee;
}
.sn-article-sub {
	margin: 40px 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #444;
}
.sn-article-sources ul,
.sn-article-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sn-article-sources li,
.sn-article-related-list li {
	padding: 8px 0;
	border-bottom: 1px dashed #ececec;
}
.sn-article-sources a,
.sn-article-related-list a {
	color: #2c6cb0;
	text-decoration: none;
}
.sn-article-sources a:hover,
.sn-article-related-list a:hover {
	text-decoration: underline;
}

/* ===== 一覧へ戻る ===== */
.sn-editorial-back {
	margin: 48px 0 0;
	padding-top: 24px;
	border-top: 1px solid #ececec;
}
.sn-editorial-back a {
	color: #555;
	text-decoration: none;
	font-size: 14px;
}
.sn-editorial-back a:hover {
	color: #1a1a1a;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
	.sn-editorial-wrap {
		padding: 32px 16px 60px;
	}
	.sn-editorial-title,
	.sn-editorial-post-title {
		font-size: 22px;
	}
	.sn-article-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}
