.np-single-news {
	--np-blue: #1a4b8c;
	--np-blue-dark: #123566;
	--np-gold: #c9a227;
	--np-text: #1f2937;
	--np-muted: #6b7280;
	--np-border: #e5e7eb;
	--np-bg: #f8fafc;
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 24px 64px;
	color: var(--np-text);
	font-family: inherit;
	line-height: 1.65;
}

.np-single-news__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-bottom: 20px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--np-border);
}

.np-single-news__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--np-blue);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.np-single-news__back:hover,
.np-single-news__back:focus {
	color: var(--np-gold);
}

.np-single-news__back-icon {
	font-size: 1rem;
	line-height: 1;
}

.np-single-news__search {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(100%, 280px);
	padding: 10px 14px;
	border: 1px solid var(--np-border);
	border-radius: 999px;
	background: #fff;
}

.np-single-news__search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	color: var(--np-text);
	font: inherit;
	outline: none;
}

.np-single-news__search input[type="search"]::placeholder {
	color: #9ca3af;
}

.np-single-news__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--np-muted);
	cursor: pointer;
}

.np-single-news__search button:hover,
.np-single-news__search button:focus {
	color: var(--np-blue);
}

.np-single-news__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}

.np-single-news__article {
	min-width: 0;
}

.np-single-news__header {
	margin-bottom: 24px;
}

.np-single-news__title {
	margin: 0 0 18px;
	color: var(--np-blue-dark);
	font-size: clamp(1.85rem, 3vw, 2.65rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.np-single-news__byline {
	display: flex;
	align-items: center;
	gap: 12px;
}

.np-single-news__byline-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--np-muted);
	font-size: 0.92rem;
}

.np-single-news__category {
	color: var(--np-blue);
	font-weight: 500;
}

.np-single-news__dot {
	color: #cbd5e1;
}

.np-single-news__featured {
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--np-bg);
}

.np-single-news__featured img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 460px;
	object-fit: cover;
}

.np-single-news__content {
	font-size: 1.02rem;
}

.np-single-news__content > *:first-child {
	margin-top: 0;
}

.np-single-news__content > *:last-child {
	margin-bottom: 0;
}

.np-single-news__content p {
	margin: 0 0 1.25em;
}

.np-single-news__content h2,
.np-single-news__content h3,
.np-single-news__content h4 {
	margin: 1.75em 0 0.75em;
	color: var(--np-blue-dark);
	line-height: 1.3;
}

.np-single-news__content a {
	color: var(--np-blue);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.np-single-news__content a:hover,
.np-single-news__content a:focus {
	color: var(--np-gold);
}

.np-single-news__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.np-single-news__content ul,
.np-single-news__content ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.np-single-news__footer {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--np-border);
}

.np-single-news__stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	margin-bottom: 18px;
	color: var(--np-muted);
	font-size: 0.92rem;
}

.np-single-news__stat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.np-single-news__stat--link {
	color: var(--np-blue);
	font-weight: 600;
	text-decoration: none;
}

.np-single-news__stat--link:hover,
.np-single-news__stat--link:focus {
	color: var(--np-gold);
}

.np-single-news__comment-form {
	margin-top: 8px;
}

.np-comment-form {
	margin: 0;
}

.np-comment-form p {
	margin: 0;
}

.np-comment-form .comment-form-comment {
	position: relative;
}

.np-comment-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 14px 58px 14px 18px;
	border: 1px solid var(--np-border);
	border-radius: 999px;
	background: #fff;
	color: var(--np-text);
	font: inherit;
	resize: none;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.np-comment-form textarea:focus {
	border-color: #c7d4e6;
	box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.08);
}

.np-comment-form .form-submit {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	margin: 0;
}

.np-comment-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--np-blue);
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.np-comment-form__submit:hover,
.np-comment-form__submit:focus {
	background: var(--np-gold);
}

.np-single-news__sidebar {
	position: sticky;
	top: 24px;
	padding-left: 32px;
	border-left: 1px solid var(--np-border);
}

.np-single-news__panel + .np-single-news__panel {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--np-border);
}

.np-single-news__panel--highlight {
	animation: np-share-highlight 1.2s ease;
}

@keyframes np-share-highlight {
	0% { background: rgba(201, 162, 39, 0.16); }
	100% { background: transparent; }
}

.np-single-news__panel-title {
	margin: 0 0 18px;
	color: var(--np-blue-dark);
	font-size: 1.05rem;
	font-weight: 700;
}

.np-single-news__share {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.np-single-news__share-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--np-border);
	border-radius: 50%;
	background: #fff;
	color: var(--np-blue);
	text-decoration: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.np-single-news__share-link:hover,
.np-single-news__share-link:focus {
	border-color: var(--np-blue);
	background: var(--np-bg);
	color: var(--np-gold);
}

.np-single-news__related {
	list-style: none;
	margin: 0;
	padding: 0;
}

.np-single-news__related-item + .np-single-news__related-item {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--np-border);
}

.np-single-news__related-link {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	color: inherit;
	text-decoration: none;
}

.np-single-news__related-link:hover .np-single-news__related-title,
.np-single-news__related-link:focus .np-single-news__related-title {
	color: var(--np-blue);
}

.np-single-news__related-thumb {
	flex-shrink: 0;
	width: 88px;
	height: 64px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--np-bg);
}

.np-single-news__related-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.np-single-news__related-copy {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.np-single-news__related-title {
	color: var(--np-text);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.np-single-news__related-category {
	color: var(--np-muted);
	font-size: 0.82rem;
}

@media (max-width: 960px) {
	.np-single-news__layout {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.np-single-news__sidebar {
		position: static;
		padding-left: 0;
		border-left: 0;
		padding-top: 32px;
		border-top: 1px solid var(--np-border);
	}
}

@media (max-width: 640px) {
	.np-single-news {
		padding: 24px 16px 48px;
	}

	.np-single-news__toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.np-single-news__search {
		width: 100%;
	}

	.np-single-news__title {
		font-size: 1.75rem;
	}

	.np-single-news__featured img {
		max-height: 280px;
	}
}
