/* 사이트 공통 디자인 톤(kr-market-forecast 참고): border-radius 6px, Astra 테마 기본값에
   맞춘 회색조(#3a3a3a 계열) 텍스트 계층 + 기본 시스템 폰트 스택. 다른 설치된 플러그인들과
   시각적으로 통일감을 유지한다. */

.nbf-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	max-width: 960px;
}

@media (max-width: 782px) {
	.nbf-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.nbf-grid {
		grid-template-columns: 1fr;
	}
}

.nbf-item {
	display: block;
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Malgun Gothic", sans-serif;
	color: inherit;
	text-decoration: none;
	border: 1px solid #e1e1e1;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.15s ease;
}

.nbf-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nbf-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
	background: #f3f3f3;
}

.nbf-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	color: #03c75a;
	background: #eafaf1;
}

.nbf-body {
	padding: 10px 12px 12px;
}

.nbf-title {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #3a3a3a;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nbf-date {
	margin: 0 0 4px;
	font-size: 12px;
	color: #999999;
}

.nbf-summary {
	margin: 0;
	font-size: 12px;
	color: #545454;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nbf-error,
.nbf-empty {
	color: #767676;
	font-size: 14px;
}
