/**
 * 게시판 목록 한 줄 — notice / bulletin / priest / committee 아카이브 공용.
 * 넓은 화면에서는 제목과 메타를 한 줄에 좌우로 두어 훑기 쉽게 하고,
 * 좁아지면 메타를 제목 아래로 내린다.
 */
.board-list {
	border-top: 2px solid #111;
}

.board-list-item {
	border-bottom: 1px solid #f0f0ec;
}

.board-item-link {
	display: flex;
	align-items: baseline;
	gap: 1.5rem;
	padding: 1.05rem 0.75rem;
	color: inherit;
	text-decoration: none;
	border-radius: 8px;
	transition: background-color 0.15s ease;
}

.board-item-link:hover {
	background: #fafaf8;
}

.board-item-title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	font-size: 0.97rem;
	font-weight: 500;
	line-height: 1.5;
	color: #222;
	/* 제목이 길어도 한 줄로 잘라 행 높이를 고르게 둔다 */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.board-item-link:hover .board-item-title {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.board-item-meta {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8rem;
	color: #999;
	white-space: nowrap;
}

.board-item-author {
	min-width: 4em;
	text-align: right;
}

.board-item-date {
	font-variant-numeric: tabular-nums;
}

.board-item-hit {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	min-width: 3.5em;
	font-variant-numeric: tabular-nums;
}

.board-item-hit svg {
	color: #c4c4bc;
}

@media (max-width: 600px) {
	.board-item-link {
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
		padding: 0.9rem 0.5rem;
	}

	.board-item-title {
		white-space: normal;
		font-size: 0.94rem;
	}

	.board-item-meta {
		gap: 0.85rem;
		font-size: 0.76rem;
	}

	.board-item-author {
		min-width: 0;
		text-align: left;
	}
}

/* ------------------------------ 고정 배지 ------------------------------ */
.board-item-pin {
	flex-shrink: 0;
	align-self: center;
	padding: 0.15rem 0.45rem;
	border-radius: 5px;
	background: #111;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.board-list-item:has(.board-item-pin) {
	background: #fafaf8;
}

@media (max-width: 600px) {
	.board-item-pin {
		align-self: flex-start;
	}
}
