@charset "utf-8";

.np-view {
	padding-bottom: 0.5rem;
}

.np-view-header {
	padding: 0 0 1.5rem;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 2rem;
}

.np-view-title {
	margin: 0.75rem 0 1rem;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.4;
	color: #111;
}

.np-view-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	font-size: 0.9rem;
	color: #6b7280;
}

.np-view-list-btn {
	margin-left: auto;
	padding: 0.25rem 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.25rem;
	color: #374151;
	text-decoration: none;
	font-size: 0.85rem;
}

.np-view-list-btn:hover {
	border-color: #003c5e;
	color: #003c5e;
}

.np-view-body {
	padding: 0.25rem 0 2.25rem;
	font-size: 1.05rem;
	line-height: 1.85;
	color: #1f2937;
	min-height: 6rem;
}

.np-view-body h2,
.np-view-body h3 {
	margin: 1.25rem 0 0.65rem;
	line-height: 1.35;
	color: #003c5e;
}

.np-view-body table {
	width: 100%;
	margin: 1rem 0;
	border-collapse: collapse;
}

.np-view-body th,
.np-view-body td {
	padding: 0.55rem 0.7rem;
	border: 1px solid #e3e8ec;
	vertical-align: top;
}

.np-view-body blockquote {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	border-left: 4px solid #003c5e;
	background: #f8fafc;
}

.np-view-body img {
	max-width: 100%;
	height: auto;
}

.np-view-body pre {
	margin: 1rem 0;
	padding: 0.9rem 1rem;
	overflow: auto;
	background: #111827;
	color: #e5e7eb;
}

.np-view-attach {
	padding: 1rem 0;
	border-top: 1px solid #e5e7eb;
}

.np-view-attach a {
	color: #003c5e;
	text-decoration: none;
}

.np-view-admin {
	padding-top: 0.5rem;
	border-top: 1px dashed #e5e7eb;
}

/* Previous / Next list */
.np-nav {
	margin-top: 2.5rem;
	padding-top: 0;
}

.np-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid #003c5e;
}

.np-nav-link {
	display: grid;
	grid-template-columns: 5.5rem 6.5rem minmax(0, 1fr);
	gap: 1rem;
	align-items: center;
	padding: 1.15rem 0.25rem;
	border-bottom: 1px solid #e3e8ec;
	text-decoration: none;
	color: inherit;
	transition: background .2s ease, color .2s ease;
}

.np-nav-link:hover {
	background: #f4f7f9;
}

.np-nav-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #003c5e;
}

.np-nav-date {
	font-size: 0.9rem;
	color: #6b7280;
	font-variant-numeric: tabular-nums;
}

.np-nav-subject {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #1a1a1a;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.np-nav-link:hover .np-nav-subject {
	color: #003c5e;
}

@media (max-width: 767.98px) {
	.np-nav-link {
		grid-template-columns: 4.75rem minmax(0, 1fr);
		gap: 0.65rem 0.85rem;
		padding: 1rem 0;
	}

	.np-nav-date {
		grid-column: 1 / 2;
		font-size: 0.8rem;
	}

	.np-nav-subject {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
		white-space: normal;
		font-size: 0.95rem;
		align-self: center;
	}
}
