/**
 * Press List Top
 * Lightning のメインカラー（--vk-color-primary）を利用し、未定義時は既定色で表示。
 */
.plt {
	--plt-primary: var(--vk-color-primary, #337ab7);
	--plt-border: var(--vk-color-border-hr, #e5e5e5);
	--plt-text: var(--vk-color-text-body, #333);
	--plt-text-light: var(--vk-color-text-light, #666);
	--plt-thumb-width: 240px;
	--plt-thumb-bg: #e5e5e5; /* サムネイル余白の背景色 */
	margin: 0 0 2em;
}

.plt__list {
	border-top: 1px solid var(--plt-border);
}

.plt__status {
	margin: 0;
	padding: 2em 0;
	text-align: center;
	color: var(--plt-text-light);
}

.plt__status--error {
	color: #c00;
}

/* ---------- 帯パネル（PC） ---------- */
.plt-item {
	display: grid;
	grid-template-columns: var(--plt-thumb-width) minmax(0, 1fr);
	grid-template-areas:
		"thumb head"
		"thumb body";
	grid-template-rows: auto 1fr;
	column-gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid var(--plt-border);
}

.plt-item__thumb {
	grid-area: thumb;
	display: block;
	align-self: start;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--plt-thumb-bg);
}

.plt-item__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.plt-item__thumb:hover img {
	opacity: 0.8;
}

.plt-item__head {
	grid-area: head;
	min-width: 0;
}

.plt-item__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 6px;
	font-size: 0.875rem;
	line-height: 1.4;
}

.plt-item__date {
	color: var(--plt-text-light);
}

.plt-item__cat {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 2px;
	background: var(--plt-primary);
	color: #fff;
	font-size: 0.75rem;
}

/* Lightning の h3 装飾（下線等）を打ち消す */
.plt .plt-item__title {
	margin: 0 0 8px;
	padding: 0;
	border: none;
	background: none;
	font-size: 1.125rem;
	line-height: 1.5;
}

.plt .plt-item__title::before,
.plt .plt-item__title::after {
	content: none;
}

.plt-item__title a {
	color: var(--plt-text);
	text-decoration: none;
}

.plt-item__title a:hover {
	color: var(--plt-primary);
	text-decoration: underline;
}

.plt-item__body {
	grid-area: body;
	min-width: 0;
}

.plt-item__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--plt-text);
	overflow-wrap: anywhere;
}

.plt-item__more {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 14px;
	border: 1px solid var(--plt-primary);
	border-radius: 2px;
	color: var(--plt-primary);
	font-size: 0.8125rem;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.plt-item__more:hover,
.plt-item__more:focus-visible {
	background: var(--plt-primary);
	color: #fff;
}

/* ---------- 一覧ボタン ---------- */
.plt__footer {
	margin-top: 24px;
	text-align: center;
}

.plt__button {
	display: inline-block;
	min-width: 240px;
	padding: 12px 32px;
	border: 1px solid var(--plt-primary);
	border-radius: 2px;
	background: var(--plt-primary);
	color: #fff;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.2s;
}

.plt__button:hover,
.plt__button:focus-visible {
	color: #fff;
	opacity: 0.85;
}

/* ---------- タブレット ---------- */
@media (max-width: 767.98px) {
	.plt {
		--plt-thumb-width: 180px;
	}

	.plt-item {
		column-gap: 16px;
	}
}

/* ---------- スマホ（480px 未満）：本文を2行目の1カラムに配置 ---------- */
@media (max-width: 479.98px) {
	.plt {
		--plt-thumb-width: 110px;
	}

	.plt-item {
		grid-template-areas:
			"thumb head"
			"body  body";
		grid-template-rows: auto auto;
		column-gap: 12px;
		padding: 16px 0;
	}

	.plt-item__thumb {
		aspect-ratio: 1 / 1;
	}

	.plt-item__meta {
		font-size: 0.75rem;
		margin-bottom: 4px;
	}

	.plt .plt-item__title {
		margin-bottom: 0;
		font-size: 1rem;
	}

	.plt-item__body {
		margin-top: 12px;
	}

	.plt-item__excerpt {
		font-size: 0.875rem;
	}

	.plt__button {
		display: block;
		min-width: 0;
	}
}
