@charset "UTF-8";

.yn-lead--archive {
	text-align: center;
	padding-bottom: 8px;
}

.yn-archive__label {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--yn-brand);
	line-height: 1.6;
}

.yn-archive__title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--yn-text-strong);
}

.yn-archive__desc {
	margin: 20px auto 0;
	max-width: 640px;
	font-size: 15px;
	line-height: 1.9;
	color: #666666;
}

.yn-archive__desc p {
	margin: 0 0 12px;
}

.yn-archive__desc p:last-child {
	margin-bottom: 0;
}

.yn-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 30px;
	margin: 0;
	padding: 44px 0 0;
}

.yn-post,
.yn-post:link,
.yn-post:visited {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 5px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;

	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s, transform 0.2s;
}

.yn-post:hover {
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.yn-post__pic {
	display: block;
	width: 100%;
	aspect-ratio: var(--yn-thumb-ratio, 73 / 45);
	background: var(--yn-bg-sub);
	overflow: hidden;
}

.yn-post__pic img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.2s;
}

.yn-post:hover .yn-post__pic img {
	opacity: 0.88;
}

.yn-post__pic-empty {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--yn-bg-sub);
}

.yn-post__body {
	display: block;
	flex: 1 1 auto;
	padding: 16px 18px 20px;
}

.yn-post__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.yn-post__author {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
}

.yn-post__avatar {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--yn-bg-sub);
}

.yn-post__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 6px;
}

.yn-post__avatar .yn-meta__initial {
	font-size: 11px;
}

.yn-post__name {
	font-size: 12px;
	color: #666666;
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.yn-post__date {
	flex: 0 0 auto;
	font-size: 11px;
	color: var(--yn-text-mute);
	line-height: 1.5;
}

.yn-post__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 0.01em;
	color: var(--yn-text-strong);
}

.yn-post:hover .yn-post__title {
	color: var(--yn-brand);
}

.yb-pagination {
	margin: 64px 0 0;
	padding: 0;
}

.yb-pagination ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yb-pagination li {
	margin: 0;
}

.yb-pagination a,
.yb-pagination a:link,
.yb-pagination a:visited,
.yb-pagination span,
.yb-pagination .current,
.yb-pagination .dots {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--yn-line);
	border-radius: 3px;
	background: #ffffff;
	font-size: 14px;
	line-height: 1;
	color: var(--yn-text);
	text-decoration: none;
}

.yb-pagination a:hover {
	border-color: var(--yn-brand);
	color: var(--yn-brand);
}

.yb-pagination .current {
	background: var(--yn-brand);
	border-color: var(--yn-brand);
	color: #ffffff;
}

.yb-pagination .dots {
	border-color: transparent;
	background: none;
	color: var(--yn-text-mute);
}

.yn-catlist {
	margin: 72px 0 0;
	padding: 36px 0 0;
	border-top: 1px solid var(--yn-line);
}

.yn-catlist__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 20px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--yn-text-strong);
}

.yn-catlist__title span {
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--yn-text-mute);
}

.yn-catlist__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.yn-catlist__list a,
.yn-catlist__list a:link,
.yn-catlist__list a:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--yn-line);
	border-radius: 999px;
	background: #ffffff;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--yn-text);
	text-decoration: none;
}

.yn-catlist__list a:hover {
	border-color: var(--yn-brand);
	color: var(--yn-brand);
}

.yn-catlist__list a[aria-current="page"] {
	background: var(--yn-bg-sub);
	border-color: var(--yn-border-strong, #d5d5d5);
	color: var(--yn-text-strong);
	font-weight: 700;
}

.yn-catlist__count {
	font-size: 11px;
	color: var(--yn-text-mute);
}

.yn-empty {
	max-width: var(--yn-article-max);
	margin: 0 auto;
	padding: 40px 0 80px;
	font-size: 16px;
	line-height: 1.9;
	color: #555555;
}

.yn-cards + .yb-pagination,
.yn-cards {
	margin-bottom: 0;
}

main.yn-page > .yb-pagination:last-child,
main.yn-page > .yn-cards:last-child {
	padding-bottom: 100px;
}

main.yn-page > .yb-pagination {
	padding-bottom: 0;
}

main.yn-page > .yn-catlist:last-child {
	padding-bottom: 100px;
}

@media (max-width: 1040px) {
	.yn-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
	}
}

@media (max-width: 767px) {
	.yn-lead--archive {
		padding-bottom: 4px;
	}

	.yn-archive__label {
		margin-bottom: 8px;
		font-size: 11px;
	}

	.yn-archive__title {
		font-size: 22px;
	}

	.yn-archive__desc {
		margin-top: 14px;
		font-size: 14px;
	}

	.yn-cards {
		grid-template-columns: 1fr;
		gap: 22px;
		padding-top: 26px;
	}

	.yn-post__body {
		padding: 14px 16px 18px;
	}

	.yn-post__title {
		font-size: 15px;
	}

	.yb-pagination {
		margin-top: 44px;
	}

	main.yn-page > .yb-pagination {
		padding-bottom: 0;
	}

	.yn-catlist {
		margin-top: 48px;
		padding-top: 28px;
	}

	main.yn-page > .yn-catlist:last-child {
		padding-bottom: 64px;
	}

	.yn-catlist__title {
		font-size: 15px;
		margin-bottom: 16px;
	}

	.yn-catlist__list a {
		padding: 7px 14px;
		font-size: 12.5px;
	}

	.yb-pagination a,
	.yb-pagination span,
	.yb-pagination .current,
	.yb-pagination .dots {
		min-width: 34px;
		height: 34px;
		padding: 0 10px;
		font-size: 13px;
	}
}

.yn-empty__lead {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--yn-text-strong);
}

.yn-empty__note {
	margin: 0 0 24px;
	font-size: 14.5px;
	color: var(--yn-text-mute);
}

.yn-empty__form {
	max-width: 480px;
}

.yn-empty__form form {
	display: flex;
	gap: 8px;
}

.yn-empty__form input[type="search"],
.yn-empty__form input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--yn-line);
	border-radius: 4px;
	background: #ffffff;
	font-size: 15px;
	line-height: 1.5;
}

.yn-empty__form input[type="submit"],
.yn-empty__form button {
	flex: 0 0 auto;
	padding: 11px 20px;
	border: 1.5px solid var(--yn-cta-line);
	border-radius: 4px;
	background: var(--yn-cta);
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
}

.yn-404recent {
	margin-top: 8px;
}

.yn-404recent .yn-catlist__title {
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	.yn-empty__lead {
		font-size: 15px;
	}

	.yn-empty__note {
		font-size: 13.5px;
	}

	.yn-empty__form form {
		flex-direction: column;
	}
}

.yn-authorhead {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 10px;
}

.yn-authorhead__avatar {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 6px;
	overflow: hidden;
	background: #ffffff;
}

.yn-authorhead__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.yn-authorhead__avatar .yn-meta__initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 24px;
	font-weight: 700;
	color: var(--yn-text-mute);
}

.yn-authorhead__body {
	min-width: 0;
}

.yn-lead--author .yn-archive__title {
	margin: 0;
}

.yn-authorhead__role {
	margin: 4px 0 0;
	font-size: 13.5px;
	color: var(--yn-text-mute);
}

@media (max-width: 767px) {
	.yn-authorhead {
		gap: 12px;
	}

	.yn-authorhead__avatar {
		width: 52px;
		height: 52px;
	}

	.yn-authorhead__role {
		font-size: 12.5px;
	}
}

.yn-authorhead__stat {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--yn-text-mute);
}

.yn-authorhead {
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
	text-align: center;
}

.yn-authorhead__avatar {
	width: 84px;
	height: 84px;
}

.yn-authorhead__role {
	margin: 0;
}

.yn-lead--author .yn-archive__desc,
.yn-authorhead__stat {
	justify-content: center;
	text-align: center;
}

@media (max-width: 767px) {
	.yn-authorhead__avatar {
		width: 68px;
		height: 68px;
	}
}
