/**
 * Press List All
 * press-list-top と同一レイアウト。Lightning のメインカラー（--vk-color-primary）を利用し、未定義時は既定色で表示。
 */
.pla {
	--pla-primary: var(--vk-color-primary, #337ab7);
	--pla-border: var(--vk-color-border-hr, #e5e5e5);
	--pla-text: var(--vk-color-text-body, #333);
	--pla-text-light: var(--vk-color-text-light, #666);
	--pla-thumb-width: 240px;
	--pla-thumb-bg: #e5e5e5; /* サムネイル余白の背景色 */
	margin: 0 0 2em;
	/* ページ送り時のスクロール位置（固定ヘッダー分の余白） */
	scroll-margin-top: 100px;
}

.pla__list {
	border-top: 1px solid var(--pla-border);
	transition: opacity 0.2s;
}

.pla.is-loading .pla__list {
	opacity: 0.5;
}

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

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

/* ---------- 帯パネル（PC） ---------- */
.pla-item {
	display: grid;
	grid-template-columns: var(--pla-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(--pla-border);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ---------- ページネーション ---------- */
.pla-pager {
	margin-top: 32px;
}

.pla-pager[hidden] {
	display: none;
}

.pla .pla-pager__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pla .pla-pager__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pla .pla-pager__item::before {
	content: none;
}

.pla-pager__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--pla-border);
	border-radius: 2px;
	background: #fff;
	color: var(--pla-text);
	font-size: 0.875rem;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

a.pla-pager__link:hover,
a.pla-pager__link:focus-visible {
	border-color: var(--pla-primary);
	color: var(--pla-primary);
}

.pla-pager__link--current {
	border-color: var(--pla-primary);
	background: var(--pla-primary);
	color: #fff;
	font-weight: bold;
}

.pla-pager__dots {
	display: inline-block;
	min-width: 20px;
	text-align: center;
	color: var(--pla-text-light);
}

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

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

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

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

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

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

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

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

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

	.pla-pager__link {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
	}
}
