/* W-14 태그·카테고리 필터 */
.dw-w14-page .dw-w14 {
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 24px 48px;
	box-sizing: border-box;
}

.dw-w14-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.dw-w14-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	letter-spacing: -0.4px;
}

.dw-w14-back {
	font-size: 13px;
	color: #666;
	text-decoration: none;
}

.dw-w14-back:hover {
	color: #2d5016;
}

.dw-w14-filters {
	display: grid;
	grid-template-columns: 1fr 220px;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}

.dw-w14-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	margin-bottom: 6px;
}

.dw-w14-input,
.dw-w14-select {
	width: 100%;
	font-size: 14px;
	padding: 10px 12px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	font-family: inherit;
	box-sizing: border-box;
}

.dw-w14-input:focus,
.dw-w14-select:focus {
	outline: none;
	border-color: #2d5016;
}

.dw-w14-tags-section {
	margin-bottom: 20px;
}

.dw-w14-sec-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 12px;
}

.dw-w14-hint {
	font-size: 12px;
	font-weight: 400;
	color: #999;
}

.dw-w14-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dw-w14-tag-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #e8e8e8;
	border-radius: 20px;
	background: #fff;
	color: #444;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.dw-w14-tag-btn--sm {
	font-size: 12px;
	padding: 6px 12px;
}

.dw-w14-tag-btn--md {
	font-size: 13px;
	padding: 7px 14px;
}

.dw-w14-tag-btn--lg {
	font-size: 14px;
	padding: 8px 16px;
	font-weight: 500;
}

.dw-w14-tag-btn:hover {
	border-color: #c0dd97;
	background: #f8fbf3;
}

.dw-w14-tag-btn.is-active {
	background: #eaf3de;
	border-color: #2d5016;
	color: #27500a;
	font-weight: 500;
}

.dw-w14-tag-count {
	font-size: 11px;
	color: #999;
	font-weight: 400;
}

.dw-w14-tag-btn.is-active .dw-w14-tag-count {
	color: #5a7a3a;
}

.dw-w14-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.dw-w14-result-count {
	font-size: 14px;
	color: #666;
	margin: 0;
}

.dw-w14-reset {
	font-size: 13px;
	padding: 8px 16px;
	border: 1px solid #ddd;
	border-radius: 20px;
	background: #fff;
	color: #555;
	cursor: pointer;
	font-family: inherit;
}

.dw-w14-reset:hover {
	border-color: #2d5016;
	color: #2d5016;
}

.dw-w14-grid.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

@media (max-width: 768px) {
	.dw-w14-page .dw-w14 {
		padding-left: 16px;
		padding-right: 16px;
	}

	.dw-w14-filters {
		grid-template-columns: 1fr;
	}

	.dw-w14-head {
		flex-direction: column;
		align-items: flex-start;
	}
}
