/* トップ：コラム・読みもの */

.yws-top-column {
	background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.yws-top-column-body {
	margin-top: 1.25em;
}

.yws-top-column-action {
	margin-top: 1.75em;
}

.yws-top-column #respond h3,
.yws-top-column .loopbox h3 {
	background: none;
	padding: 0;
	border-bottom: none;
}

.yws-top-column .loopbox h3 {
	clear: none;
	overflow: hidden;
	margin: 0 0 15px;
}

@media (max-width: 559px) {
	.yws-top-column .listpage_item_title h3 {
		font-size: 1.1em;
	}

	.yws-top-column .loopbox h3 {
		margin: 0 0 5px;
	}
}

@media (min-width: 560px) and (max-width: 959px) {
	.yws-top-column .listpage_item_title h3 {
		font-size: 1.4em;
	}
}

@media (min-width: 959px) {
	.yws-top-column .listpage_item_title h3 {
		font-size: 1.5em;
	}
}

/* サイドバー：新着コラム（投稿詳細） */
.yws-column-recent-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yws-column-recent-item + .yws-column-recent-item {
	margin-top: 10px;
}

.yws-column-recent-link {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px;
	border: 1px solid #dbe3ec;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease,
		background-color 0.18s ease;
}

.yws-column-recent-link:hover,
.yws-column-recent-link:focus {
	border-color: #c7d7ea;
	background: #f8fbff;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
	text-decoration: none;
	color: inherit;
}

.yws-column-recent-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 8px;
	background: #eef2f7;
}

.yws-column-recent-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yws-column-recent-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.yws-column-recent-title {
    font-size: 0.8em;
    font-weight: 700;
    line-height: 1.55;
	color: #0f172a;
	display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}

.yws-column-recent-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 0.78em;
	color: #64748b;
}

.yws-column-recent-cat {
	display: inline-flex;
	padding: 1px 7px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-weight: 600;
}
