body.category,
body.blog,
body.search,
body.author {
	background: #0b0b0d;
}

body.category #content,
body.blog #content,
body.search #content,
body.author #content {
	background: #0b0b0d;
}

.njhd-cat {
	color: #ffffff;
	padding-bottom: 96px;
}

.njhd-cat-wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 28px 20px 8px;
}

.njhd-kicker {
	margin: 0 0 6px;
	color: #ff3385;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.njhd-cat-head h1 {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 32px;
	font-weight: 800;
	line-height: 1.2;
}

.njhd-desc {
	max-width: 720px;
	margin: 0 0 8px;
	color: #c8c8d0;
	font-size: 15px;
	line-height: 1.6;
}

.njhd-desc p {
	margin: 0;
}

.njhd-count {
	margin: 0 0 4px;
	color: #9a9aa3;
	font-size: 14px;
}

.njhd-cat .njavhd-category-intro {
	width: 100%;
	margin: 4px 0 12px;
	padding: 0;
}

.njhd-cat .njavhd-category-intro-inner {
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.6;
}

.njhd-cat .njavhd-category-intro-inner h1,
.njhd-cat .njavhd-category-intro-inner h2,
.njhd-cat .njavhd-category-intro-inner h3 {
	margin: 0 0 6px;
	color: #222222;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.35;
}

.njhd-cat .njavhd-category-intro-inner p {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.6;
}

.njhd-grid > .njavhd-category-intro {
	grid-column: 1 / -1;
}

.njhd-search {
	display: flex;
	gap: 10px;
	margin: 0 0 22px;
}

.njhd-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 18px;
	border: 1px solid #2a2a30;
	border-radius: 999px;
	background: #141418;
	color: #ffffff;
	font-size: 16px;
}

.njhd-search input[type="search"]:focus {
	outline: none;
	border-color: #ff3385;
}

.njhd-search button {
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: #ff3385;
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
}

.njhd-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 18px;
}

.njhd-toolbar a {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid #2a2a30;
	border-radius: 999px;
	background: #141418;
	color: #dddddd;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.njhd-toolbar a.is-on {
	border-color: #ff3385;
	background: #ff3385;
	color: #ffffff;
}

.njhd-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.njhd-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #232329;
	border-radius: 14px;
	background: #141418;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.njhd-card:hover {
	border-color: #ff3385;
	transform: translateY(-2px);
}

.njhd-media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 4;
	background: #1a1a1e;
}

.njhd-media img,
.njhd-thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.njhd-media.is-jacket img,
.njhd-media.is-jacket .njhd-thumb {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	max-width: none;
	height: 100%;
	object-fit: fill;
	transform: scaleX(1.18);
	transform-origin: right center;
}

.njhd-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #ff3385;
	font-size: 18px;
	font-weight: 800;
}

.njhd-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 7px;
	border-radius: 6px;
	background: #ff3385;
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.njhd-body {
	padding: 12px 12px 14px;
}

.njhd-title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.njhd-title a {
	display: -webkit-box;
	overflow: hidden;
	color: #ffffff;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.njhd-meta {
	margin: 0;
	color: #9a9aa3;
	font-size: 12px;
}

.njhd-meta .code {
	color: #ff8ab5;
	font-weight: 700;
}

.njhd-meta .dot {
	margin: 0 4px;
}

.njhd-views {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	color: #b5b5be;
	font-size: 12px;
}

.njhd-views svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.njhd-empty {
	margin: 24px 0;
	color: #c8c8d0;
}

.njhd-pager {
	margin-top: 28px;
}

.njhd-pager .navigation.pagination {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 14px 28px;
	background: #ff2d82;
	border-radius: 999px;
	box-shadow:
		0 0 18px rgba(255, 45, 130, 0.85),
		0 0 42px rgba(255, 45, 130, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.njhd-pager .pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
}

.njhd-pager .pagination .page-numbers:not(.dots) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: #111114;
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transform: none;
}

.njhd-pager .pagination .page-numbers:not(.dots)::after {
	content: none;
	display: none;
}

.njhd-pager .pagination .nav-links .page-numbers.current {
	background: #ff7eb8;
	color: #ffffff;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
}

.njhd-pager .pagination .page-numbers.dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 36px;
	margin: 0;
	padding: 0 12px 6px;
	border-radius: 999px;
	background: #111114;
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1px;
}

.njhd-pager .pagination .page-numbers.next,
.njhd-pager .pagination .page-numbers.prev {
	gap: 6px;
	padding: 0 16px;
	background: #111114;
	color: #ffffff;
}

.njhd-pager .pagination .page-numbers.next::after {
	content: ">";
	display: inline;
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	border: 0;
	font-size: 14px;
	line-height: 1;
}

.njhd-pager .pagination .page-numbers.prev::before {
	content: "<";
	margin-right: 6px;
	font-size: 14px;
	line-height: 1;
}

.njhd-pager .pagination .page-numbers.next:hover,
.njhd-pager .pagination .page-numbers.next:focus,
.njhd-pager .pagination .page-numbers.prev:hover,
.njhd-pager .pagination .page-numbers.prev:focus,
.njhd-pager .pagination .nav-links a:hover,
.njhd-pager .pagination .nav-links a:focus {
	background: #111114;
	color: #ffffff;
	transform: none;
}

@media (max-width: 1100px) {
	.njhd-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.njhd-cat-head h1 {
		font-size: 26px;
	}

	.njhd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.njhd-title {
		font-size: 13px;
	}

	.njhd-pager .navigation.pagination {
		padding: 10px 12px;
	}
}
