/* E! ニュース Sync
 * レイアウト・タイポ・コンテナ幅はテーマ(styles.css / add.css)に任せ、
 * ここはテーマに無い要素（動画埋め込み・関連記事リスト・CTA）だけを補完する。 */

/* 動画埋め込みはテーマの .box-detail__img .iframe-box（16:9対応済み）を使うので
 * ここでは何も定義しない。 */

/* ムビコレ本体の関連記事（本文フロー内）
 * 罫線はブロックの外枠に持たせる。各グループに上下線を付けると
 * グループが並んだとき「下線＋上線」で2本に見えるため。 */
.enews-related-block {
	margin: 32px 0;
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}
.enews-articles {
	padding: 20px 0 8px;
}
.enews-articles + .enews-articles {
	border-top: 1px solid #e5e5e5; /* グループ間の区切りは1本だけ */
}
.enews-articles__ttl {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 16px;
}
.enews-articles__more {
	margin: 0 0 4px;
	font-size: 14px;
	font-size: 1.4rem;
	text-align: right;
}
.enews-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.enews-article {
	margin: 0 0 16px;
}
.enews-article a {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	text-decoration: none;
	color: inherit;
}
.enews-article-thumb {
	flex: 0 0 128px;
	display: block;
	width: 128px;
}
.enews-article-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #eee;
}
.enews-article-text {
	flex: 1 1 auto;
	min-width: 0;
}
.enews-article-title {
	display: block;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	font-weight: 700;
}
.enews-article-excerpt {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.7;
	color: #666;
}

/* CTA */
.enews-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 8px;
}
.enews-cta a {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 16px;
	font-size: 1.6rem;
	text-decoration: none;
	color: #fff;
}
.enews-cta .btn-youtube {
	background: #ff0000;
}
.enews-cta .btn-subscribe {
	background: #111;
}

@media (max-width: 600px) {
	.enews-article-thumb {
		flex: 0 0 104px;
		width: 104px;
	}
	.enews-article-excerpt {
		display: none;
	}
}

/* 一覧のサムネ。レイアウトはテーマの .box-news .list-news01 に乗せ、
 * サムネ枠だけ自前で 16:9 にする。テーマの .crop はダミー画像で高さを作る機構で、
 * 独自メタ `img` 前提のため hotlink する enews は乗れない。
 * YouTube の hqdefault は 4:3（上下に黒帯）なので object-fit: cover で切る。 */
.box-news .list-news01 .item-news .enews-list-thumb {
	display: block;
	width: 100%;
}
.box-news .list-news01 .item-news .enews-list-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #eee;
}

/* トップページの E! NEWS コーナーのサムネ。
 * テーマの .crop（独自メタ img ＋ダミー画像で高さを作る機構）は hotlink に乗れず
 * 余白が崩れるため、ここは自前で 16:9・object-fit: cover にする。 */
.enews-top-thumb {
	display: block;
}
.enews-top-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #000;
}

/* 既存記事に埋め込んだ E! ニュース動画 */
.enews-embed {
	margin: 40px 0 0;
	padding-top: 24px;
	border-top: 1px solid #e5e5e5;
}
.enews-embed__ttl {
	font-size: 18px;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 8px;
}
.enews-embed__cap {
	font-size: 13px;
	font-size: 1.3rem;
	line-height: 1.6;
	color: #666;
	margin: 0 0 12px;
}
