/* =========================================================================
   DimensionNest Pro - inner pages
   -------------------------------------------------------------------------
   Posts, pages, the blog and category listings, author, search, 404 and
   sitemap. Loaded on every page except the homepage. Colour tokens come
   from :root in site.css.

   Alignment: every page header, section title and listing is centred, in a
   1440px container. Long-form text (articles and the legal pages) sits in a
   centred column but reads left-aligned, because centred paragraphs start
   each line at a different place and are hard to follow over several
   screens. To centre that text too, set --dnp-prose-align: center below.

   Kadence styles h1-h6 and links directly from its global palette, so every
   heading and link colour here is set on the element, never only inherited.
   ========================================================================= */

.dnp-page {
	--dnp-prose-align: left;
	--dnp-radius: 18px;
	--dnp-card-shadow: 0 1px 2px rgba(33, 42, 49, 0.04), 0 10px 28px -14px rgba(33, 42, 49, 0.16);
	--dnp-card-shadow-hover: 0 2px 4px rgba(33, 42, 49, 0.05), 0 22px 44px -18px rgba(33, 42, 49, 0.28);
	--dnp-sticky-top: calc(var(--dnp-header-h, 78px) + 24px);

	color: var(--dnp-body);
	background: var(--dnp-white);
	overflow-x: clip;
}

.dnp-page *,
.dnp-page *::before,
.dnp-page *::after {
	box-sizing: border-box;
}

.dnp-wrap {
	width: 100%;
	max-width: var(--dnp-shell, 1440px);
	margin-inline: auto;
	padding-inline: var(--dnp-gutter);
}

.dnp-page a:focus-visible,
.dnp-page button:focus-visible,
.dnp-page summary:focus-visible,
.dnp-page input:focus-visible {
	outline: 2px solid var(--dnp-teal);
	outline-offset: 3px;
}

.dnp-initials {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--dnp-teal), var(--dnp-ink));
	color: #fff;
	font-weight: 700;
	line-height: 1;
}

/* =========================================================================
   Header band
   ========================================================================= */

.dnp-hero {
	padding-block: clamp(36px, 6vw, 76px) clamp(40px, 6vw, 72px);
	background:
		radial-gradient(70% 120% at 50% 0%, rgba(18, 78, 102, 0.1) 0%, transparent 70%),
		var(--dnp-surface);
	border-bottom: 1px solid var(--dnp-line);
	text-align: center;
}

.dnp-page .dnp-hero__title {
	max-width: 22ch;
	margin: 0 auto;
	color: var(--dnp-ink);
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.dnp-page .dnp-hero__title--post {
	max-width: 26ch;
	font-size: clamp(1.9rem, 3.8vw, 2.9rem);
}

.dnp-hero__page {
	display: inline-block;
	margin-inline-start: 0.4em;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	background: var(--dnp-white);
	color: var(--dnp-muted);
	font-size: 0.42em;
	font-weight: 700;
	letter-spacing: 0.02em;
	vertical-align: middle;
}

.dnp-page .dnp-hero__text,
.dnp-page .dnp-hero__text p {
	max-width: 62ch;
	margin: 16px auto 0;
	color: var(--dnp-body);
	font-size: clamp(1rem, 1.5vw, 1.1rem);
	line-height: 1.7;
}

.dnp-page .dnp-hero__text p:first-child {
	margin-top: 0;
}

.dnp-page .dnp-hero__meta {
	margin: 16px 0 0;
	color: var(--dnp-muted);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dnp-page .dnp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--dnp-teal);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.dnp-page .dnp-kicker::before,
.dnp-page .dnp-kicker::after {
	content: "";
	width: 22px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.6;
}

/* --- Breadcrumbs ------------------------------------------------------ */

.dnp-crumbs {
	margin: 0 0 22px;
}

.dnp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
}

.dnp-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--dnp-muted);
}

.dnp-crumbs li + li::before {
	content: "";
	width: 6px;
	height: 6px;
	margin-inline-end: 4px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
}

.dnp-page .dnp-crumbs a {
	color: var(--dnp-muted);
	text-decoration: none;
}

.dnp-page .dnp-crumbs a:hover {
	color: var(--dnp-teal);
}

.dnp-crumbs [aria-current] {
	color: var(--dnp-ink);
	font-weight: 600;
}

/* --- Chips (sub-categories, 404 links) ------------------------------- */

.dnp-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
}

.dnp-page a.dnp-chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 18px;
	border: 1px solid var(--dnp-line);
	border-radius: 999px;
	background: var(--dnp-white);
	color: var(--dnp-ink);
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s var(--dnp-ease), background-color 0.2s var(--dnp-ease), color 0.2s var(--dnp-ease);
}

.dnp-page a.dnp-chip:hover {
	border-color: var(--dnp-teal);
	color: var(--dnp-teal);
}

.dnp-page a.dnp-chip.is-current {
	border-color: var(--dnp-teal);
	background: var(--dnp-teal);
	color: #fff;
}

/* =========================================================================
   Sections, empty states, search
   ========================================================================= */

.dnp-section {
	padding-block: clamp(44px, 6vw, 84px);
}

.dnp-page .dnp-section__title {
	margin: 0 0 clamp(28px, 4vw, 44px);
	color: var(--dnp-ink);
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: center;
}

.dnp-empty {
	max-width: 620px;
	margin: 0 auto;
	padding: 48px 28px;
	border: 1px dashed var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-surface);
	text-align: center;
}

.dnp-page .dnp-empty h2 {
	margin: 0 0 10px;
	color: var(--dnp-ink);
	font-size: 1.4rem;
}

.dnp-page .dnp-empty p {
	margin: 0 0 18px;
	color: var(--dnp-body);
}

.dnp-empty__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
}

.dnp-page .dnp-empty__links a {
	color: var(--dnp-teal);
	font-weight: 700;
}

.dnp-searchbar {
	max-width: 620px;
	margin: 26px auto 0;
}

.dnp-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--dnp-line);
	border-radius: 999px;
	background: var(--dnp-white);
	box-shadow: var(--dnp-card-shadow);
}

.dnp-search__icon {
	flex: none;
	margin-inline-start: 12px;
	color: var(--dnp-muted);
}

.dnp-page .dnp-search__input,
.dnp-search__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 6px;
	border: 0;
	background: transparent;
	color: var(--dnp-ink);
	font: inherit;
	font-size: 1rem;
	box-shadow: none;
}

.dnp-search__input:focus {
	outline: none;
}

.dnp-search:focus-within {
	border-color: var(--dnp-teal);
	box-shadow: 0 0 0 3px rgba(18, 78, 102, 0.15);
}

.dnp-search__btn {
	flex: none;
	height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--dnp-teal);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s var(--dnp-ease);
}

.dnp-search__btn:hover {
	background: var(--dnp-teal-hi);
}

/* =========================================================================
   Post cards
   ========================================================================= */

.dnp-cards {
	display: grid;
	gap: clamp(20px, 2.4vw, 32px);
	grid-template-columns: 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnp-cards > li {
	margin: 0;
}

@media (min-width: 640px) {
	.dnp-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.dnp-cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.dnp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
	box-shadow: var(--dnp-card-shadow);
	transition:
		transform 0.28s var(--dnp-ease),
		box-shadow 0.28s var(--dnp-ease),
		border-color 0.28s var(--dnp-ease);
}

.dnp-card:hover {
	border-color: rgba(18, 78, 102, 0.45);
	box-shadow: var(--dnp-card-shadow-hover);
	transform: translateY(-4px);
}

.dnp-card:focus-within {
	outline: 2px solid var(--dnp-teal);
	outline-offset: 3px;
}

.dnp-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--dnp-surface);
}

.dnp-card__media img,
.dnp-page .dnp-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--dnp-ease);
}

.dnp-card:hover .dnp-card__media img {
	transform: scale(1.05);
}

/* No featured image: a blueprint panel with the category initial. */
.dnp-card__ph {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 28px 28px,
		radial-gradient(120% 120% at 0% 0%, var(--dnp-slate) 0%, var(--dnp-ink) 70%);
}

.dnp-card__ph span {
	color: var(--dnp-steel);
	font-size: clamp(3rem, 6vw, 4.2rem);
	font-weight: 800;
	line-height: 1;
}

.dnp-card__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 0.5em 0.9em;
	border-radius: 999px;
	background: var(--dnp-white);
	box-shadow: 0 4px 14px -6px rgba(33, 42, 49, 0.45);
	color: var(--dnp-teal);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
}

.dnp-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(20px, 2vw, 26px);
}

.dnp-page .dnp-card__title {
	margin: 0;
	color: var(--dnp-ink);
	font-size: clamp(1.08rem, 1.5vw, 1.2rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.015em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

.dnp-page a.dnp-card__link,
.dnp-page a.dnp-card__link:visited {
	color: var(--dnp-ink);
	text-decoration: none;
}

.dnp-page a.dnp-card__link:hover {
	color: var(--dnp-teal);
}

.dnp-page a.dnp-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.dnp-page a.dnp-card__link:focus-visible {
	outline: none;
}

.dnp-page .dnp-card__excerpt {
	margin: 10px 0 20px;
	color: var(--dnp-body);
	font-size: 0.95rem;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.dnp-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--dnp-line);
}

.dnp-page .dnp-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45em;
	margin: 0;
	color: var(--dnp-muted);
	font-size: 0.83rem;
}

.dnp-card__more {
	flex: none;
	color: var(--dnp-teal);
	font-size: 0.86rem;
	font-weight: 700;
}

.dnp-card__arrow {
	display: inline-block;
	transition: transform 0.25s var(--dnp-ease);
}

.dnp-card:hover .dnp-card__arrow {
	transform: translateX(4px);
}

/* --- Pagination ------------------------------------------------------- */

.dnp-pagination {
	margin-top: clamp(36px, 5vw, 56px);
}

.dnp-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnp-pagination li {
	margin: 0;
}

.dnp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--dnp-line);
	border-radius: 12px;
	background: var(--dnp-white);
	color: var(--dnp-ink);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s var(--dnp-ease), color 0.2s var(--dnp-ease), background-color 0.2s var(--dnp-ease);
}

.dnp-pagination a.page-numbers:hover {
	border-color: var(--dnp-teal);
	color: var(--dnp-teal);
}

.dnp-pagination .page-numbers.current {
	border-color: var(--dnp-teal);
	background: var(--dnp-teal);
	color: #fff;
}

.dnp-pagination .page-numbers.dots {
	border: 0;
	background: transparent;
}

.dnp-pagelinks {
	margin: 28px 0 0;
	text-align: center;
}

/* =========================================================================
   Long-form text: articles and pages
   ========================================================================= */

.dnp-prose {
	color: var(--dnp-body);
	font-size: 1.08rem;
	line-height: 1.78;
	text-align: var(--dnp-prose-align);
	overflow-wrap: break-word;
}

.dnp-prose--page {
	max-width: 860px;
	margin-inline: auto;
}

.dnp-prose > *:first-child {
	margin-top: 0;
}

.dnp-prose p {
	margin: 0 0 1.15em;
}

.dnp-page .dnp-prose h2,
.dnp-page .dnp-prose h3,
.dnp-page .dnp-prose h4 {
	color: var(--dnp-ink);
	font-weight: 700;
	letter-spacing: -0.02em;
	scroll-margin-top: var(--dnp-sticky-top);
}

.dnp-page .dnp-prose h2 {
	margin: 1.9em 0 0.6em;
	font-size: clamp(1.42rem, 2.1vw, 1.75rem);
	line-height: 1.28;
}

.dnp-page .dnp-prose h3 {
	margin: 1.6em 0 0.5em;
	font-size: clamp(1.16rem, 1.6vw, 1.32rem);
	line-height: 1.35;
}

.dnp-page .dnp-prose h4 {
	margin: 1.4em 0 0.45em;
	font-size: 1.06rem;
}

.dnp-prose ul,
.dnp-prose ol {
	margin: 0 0 1.15em;
	padding-left: 1.35em;
}

.dnp-prose li {
	margin-bottom: 0.5em;
}

.dnp-prose li::marker {
	color: var(--dnp-teal);
}

.dnp-page .dnp-prose a {
	color: var(--dnp-teal);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.dnp-page .dnp-prose a:hover {
	color: var(--dnp-teal-hi);
	text-decoration-thickness: 2px;
}

.dnp-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.dnp-prose figure {
	margin: 1.6em 0;
}

.dnp-prose figcaption {
	margin-top: 8px;
	color: var(--dnp-muted);
	font-size: 0.88rem;
	text-align: center;
}

.dnp-prose blockquote {
	margin: 1.6em 0;
	padding: 16px 22px;
	border-left: 4px solid var(--dnp-teal);
	border-radius: 0 12px 12px 0;
	background: var(--dnp-surface);
}

.dnp-prose blockquote p:last-child {
	margin-bottom: 0;
}

.dnp-prose table {
	display: block;
	width: 100%;
	margin: 1.6em 0;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.98rem;
}

.dnp-prose th,
.dnp-prose td {
	padding: 11px 14px;
	border: 1px solid var(--dnp-line);
	text-align: left;
}

.dnp-prose th {
	background: var(--dnp-surface);
	color: var(--dnp-ink);
	font-weight: 700;
}

.dnp-prose tr:nth-child(even) td {
	background: #fafbfa;
}

.dnp-prose code {
	padding: 2px 6px;
	border-radius: 5px;
	background: var(--dnp-surface);
	font-size: 0.92em;
}

.dnp-prose hr {
	margin: 2.2em 0;
	border: 0;
	border-top: 1px solid var(--dnp-line);
}

/* Legal pages: a little tighter, and a rule above each section. */
.dnp-page--legal .dnp-prose {
	font-size: 1.02rem;
}

.dnp-page.dnp-page--legal .dnp-prose h2 {
	padding-top: 1.1em;
	border-top: 1px solid var(--dnp-line);
	font-size: clamp(1.25rem, 1.9vw, 1.5rem);
}

/* --- Contact Form 7 ---------------------------------------------------- */

.dnp-page--form .dnp-prose--page {
	max-width: 680px;
}

.dnp-page .wpcf7 form {
	padding: clamp(22px, 3vw, 36px);
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
	box-shadow: var(--dnp-card-shadow);
}

.dnp-page .wpcf7 label {
	display: block;
	color: var(--dnp-ink);
	font-weight: 600;
	font-size: 0.95rem;
}

.dnp-page .wpcf7 p {
	margin: 0 0 18px;
}

.dnp-page .wpcf7 input[type="text"],
.dnp-page .wpcf7 input[type="email"],
.dnp-page .wpcf7 input[type="tel"],
.dnp-page .wpcf7 input[type="url"],
.dnp-page .wpcf7 textarea,
.dnp-page .wpcf7 select {
	width: 100%;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid var(--dnp-line);
	border-radius: 12px;
	background: #fafbfa;
	color: var(--dnp-ink);
	font: inherit;
	font-weight: 400;
	transition: border-color 0.2s var(--dnp-ease), box-shadow 0.2s var(--dnp-ease);
}

.dnp-page .wpcf7 textarea {
	min-height: 150px;
	resize: vertical;
}

.dnp-page .wpcf7 input:focus,
.dnp-page .wpcf7 textarea:focus,
.dnp-page .wpcf7 select:focus {
	outline: none;
	border-color: var(--dnp-teal);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(18, 78, 102, 0.15);
}

.dnp-page .wpcf7 input[type="submit"] {
	min-height: 50px;
	padding: 0 32px;
	border: 0;
	border-radius: 999px;
	background: var(--dnp-teal);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s var(--dnp-ease);
}

.dnp-page .wpcf7 input[type="submit"]:hover {
	background: var(--dnp-teal-hi);
}

.dnp-page .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 0.86rem;
}

.dnp-page .wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
}

/* =========================================================================
   Single post
   ========================================================================= */

.dnp-page a.dnp-pill {
	display: inline-flex;
	align-items: center;
	margin: 0 0 18px;
	padding: 7px 16px;
	border: 1px solid rgba(18, 78, 102, 0.25);
	border-radius: 999px;
	background: var(--dnp-white);
	color: var(--dnp-teal);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.dnp-page a.dnp-pill:hover {
	border-color: var(--dnp-teal);
}

.dnp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 18px;
	margin-top: 22px;
	color: var(--dnp-muted);
	font-size: 0.92rem;
}

.dnp-meta__author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.dnp-page a.dnp-meta__who {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--dnp-ink);
	text-decoration: none;
}

.dnp-page a.dnp-meta__who:hover b {
	color: var(--dnp-teal);
}

.dnp-meta__photo {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px var(--dnp-white), 0 0 0 3px rgba(18, 78, 102, 0.3);
}

.dnp-meta__who b {
	font-weight: 700;
	transition: color 0.2s var(--dnp-ease);
}

/* LinkedIn badge: 26px circle, with a 44px tap area. */
.dnp-page a.dnp-meta__li {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #0a66c2;
	color: #fff;
}

.dnp-meta__li::before {
	content: "";
	position: absolute;
	inset: -9px;
	border-radius: 50%;
}

.dnp-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.dnp-meta__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--dnp-steel);
	opacity: 0.6;
}

/* --- Three columns ---------------------------------------------------- */

.dnp-post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
	gap: clamp(28px, 3vw, 44px);
	align-items: start;
	padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px);
}

@media (max-width: 1199px) {
	.dnp-post-grid {
		grid-template-columns: minmax(0, 28fr) minmax(0, 72fr);
	}

	.dnp-side {
		grid-column: 1 / -1;
	}
}

@media (max-width: 899px) {
	.dnp-post-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}
}

/* --- Table of contents ------------------------------------------------ */

.dnp-toc {
	position: sticky;
	top: var(--dnp-sticky-top);
	align-self: start;
}

.dnp-toc__box {
	padding: 18px 6px 18px 18px;
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
}

.dnp-page .dnp-toc__title {
	margin: 0 0 12px;
	padding-right: 12px;
	color: var(--dnp-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.dnp-toc__list {
	max-height: calc(100vh - var(--dnp-sticky-top) - 110px);
	margin: 0;
	padding: 0 12px 0 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--dnp-mist) transparent;
}

.dnp-toc__list li {
	margin: 0;
}

.dnp-page .dnp-toc__list a {
	display: block;
	padding: 7px 10px;
	border-left: 2px solid transparent;
	border-radius: 8px;
	color: var(--dnp-body);
	font-size: 0.88rem;
	line-height: 1.45;
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.dnp-page .dnp-toc__list a:hover {
	background: var(--dnp-surface);
	color: var(--dnp-teal);
}

.dnp-toc__list .lv3 a {
	padding-left: 22px;
	font-size: 0.84rem;
}

.dnp-page .dnp-toc__list a.is-on {
	border-left-color: var(--dnp-teal);
	background: var(--dnp-surface);
	color: var(--dnp-teal);
	font-weight: 700;
}

/* Desktop shows the plain list; phones get the fold-out version. */
.dnp-toc__mobile {
	display: none;
}

@media (max-width: 899px) {
	.dnp-toc {
		position: static;
	}

	.dnp-toc__box {
		padding: 0;
		border: 0;
		background: transparent;
	}

	.dnp-page .dnp-toc__title,
	.dnp-toc__list--desktop {
		display: none;
	}

	.dnp-toc__mobile {
		display: block;
		overflow: hidden;
		border: 1px solid var(--dnp-line);
		border-radius: 14px;
		background: var(--dnp-white);
	}

	.dnp-toc__mobile > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		min-height: 52px;
		padding: 14px 18px;
		color: var(--dnp-ink);
		font-weight: 700;
		list-style: none;
		cursor: pointer;
	}

	.dnp-toc__mobile > summary::-webkit-details-marker {
		display: none;
	}

	.dnp-toc__mobile > summary svg {
		transition: transform 0.22s var(--dnp-ease);
	}

	.dnp-toc__mobile[open] > summary svg {
		transform: rotate(180deg);
	}

	.dnp-toc__mobile .dnp-toc__list {
		max-height: 52vh;
		padding: 0 12px 14px;
		border-top: 1px solid var(--dnp-line);
	}
}

/* --- Article ---------------------------------------------------------- */

.dnp-article {
	min-width: 0;
}

.dnp-article__figure {
	margin: 0 0 32px;
	overflow: hidden;
	border-radius: var(--dnp-radius);
	background: var(--dnp-surface);
}

.dnp-article__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.dnp-article__figure figcaption {
	padding: 10px 14px;
	background: var(--dnp-white);
	color: var(--dnp-muted);
	font-size: 0.86rem;
	text-align: center;
}

.dnp-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin: 40px 0;
	padding: 26px 28px;
	border-radius: var(--dnp-radius);
	background:
		radial-gradient(520px 260px at 12% 0%, rgba(18, 78, 102, 0.75), transparent 62%),
		var(--dnp-ink);
	color: rgba(211, 217, 212, 0.88);
}

.dnp-page .dnp-cta p {
	flex: 1 1 280px;
	margin: 0;
	color: rgba(211, 217, 212, 0.88);
	font-size: 0.98rem;
	line-height: 1.6;
}

.dnp-cta strong {
	display: block;
	margin-bottom: 4px;
	color: #fff;
	font-size: 1.12rem;
}

.dnp-page a.dnp-cta__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--dnp-mist);
	color: var(--dnp-ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s var(--dnp-ease), transform 0.2s var(--dnp-ease);
}

.dnp-page a.dnp-cta__btn:hover {
	background: #fff;
	transform: translateY(-2px);
}

.dnp-prevnext {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 40px;
}

@media (max-width: 599px) {
	.dnp-prevnext {
		grid-template-columns: 1fr;
	}
}

.dnp-page a.dnp-prevnext__a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 17px 19px;
	border: 1px solid var(--dnp-line);
	border-radius: 14px;
	background: var(--dnp-white);
	color: var(--dnp-ink);
	text-decoration: none;
	transition: border-color 0.2s var(--dnp-ease), transform 0.2s var(--dnp-ease), box-shadow 0.2s var(--dnp-ease);
}

.dnp-page a.dnp-prevnext__a:hover {
	border-color: rgba(18, 78, 102, 0.45);
	box-shadow: var(--dnp-card-shadow-hover);
	transform: translateY(-2px);
}

.dnp-prevnext__a--next {
	flex-direction: row-reverse;
	text-align: right;
}

.dnp-prevnext__ico {
	display: flex;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--dnp-surface);
	color: var(--dnp-teal);
	font-weight: 700;
}

.dnp-prevnext__a small {
	display: block;
	margin-bottom: 3px;
	color: var(--dnp-muted);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dnp-prevnext__a > span:last-child {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

.dnp-comments {
	margin-top: 48px;
	padding-top: 34px;
	border-top: 1px solid var(--dnp-line);
}

/* --- Sidebar ---------------------------------------------------------- */

.dnp-side {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

@media (min-width: 900px) and (max-width: 1199px) {
	.dnp-side {
		flex-direction: row;
		align-items: flex-start;
	}

	.dnp-side > .dnp-box {
		flex: 1 1 0;
	}
}

.dnp-box {
	overflow: hidden;
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
}

.dnp-page .dnp-box__title {
	margin: 0;
	padding: 14px 20px;
	border-bottom: 1px solid var(--dnp-line);
	background: var(--dnp-surface);
	color: var(--dnp-muted);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.dnp-authorcard {
	padding: 24px 22px 22px;
	text-align: center;
}

.dnp-page a.dnp-authorcard__id {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 8px;
	color: var(--dnp-ink);
	text-decoration: none;
}

.dnp-authorcard__photo {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--dnp-white), 0 0 0 5px rgba(18, 78, 102, 0.3);
	transition: box-shadow 0.2s var(--dnp-ease), transform 0.2s var(--dnp-ease);
}

.dnp-authorcard__id:hover .dnp-authorcard__photo {
	box-shadow: 0 0 0 4px var(--dnp-white), 0 0 0 6px var(--dnp-teal);
	transform: translateY(-2px);
}

.dnp-authorcard__name {
	font-size: 1.12rem;
	font-weight: 700;
	transition: color 0.2s var(--dnp-ease);
}

.dnp-authorcard__id:hover .dnp-authorcard__name {
	color: var(--dnp-teal);
}

.dnp-authorcard__role {
	display: block;
	margin-bottom: 12px;
	color: var(--dnp-teal);
	font-size: 0.86rem;
	font-weight: 700;
}

.dnp-page .dnp-authorcard__bio {
	margin: 0 0 18px;
	color: var(--dnp-body);
	font-size: 0.92rem;
	line-height: 1.65;
}

.dnp-page a.dnp-btn-li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: #0a66c2;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.dnp-page a.dnp-btn-li:hover {
	color: #fff;
	box-shadow: 0 12px 24px -14px rgba(10, 102, 194, 0.9);
	transform: translateY(-2px);
}

.dnp-page a.dnp-btn-li--lg {
	min-height: 50px;
	padding: 0 24px;
	font-size: 1rem;
}

.dnp-page a.dnp-authorcard__more {
	display: block;
	margin-top: 14px;
	color: var(--dnp-teal);
	font-size: 0.88rem;
	font-weight: 700;
}

.dnp-latest {
	padding: 8px;
}

.dnp-page a.dnp-latest__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border-radius: 12px;
	color: var(--dnp-ink);
	text-decoration: none;
	transition: background-color 0.16s ease;
}

.dnp-page a.dnp-latest__item:hover {
	background: var(--dnp-surface);
}

.dnp-latest__item img,
.dnp-latest__ph {
	display: block;
	flex: 0 0 74px;
	width: 74px;
	height: 54px;
	border-radius: 9px;
	object-fit: cover;
}

.dnp-latest__ph {
	background: linear-gradient(135deg, var(--dnp-slate), var(--dnp-ink));
}

.dnp-latest__item span {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

/* =========================================================================
   Author page
   ========================================================================= */

.dnp-profile {
	max-width: 760px;
	margin: 0 auto;
}

.dnp-profile__photo {
	margin: 0 auto 22px;
	width: max-content;
}

.dnp-profile__img {
	display: block;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 6px var(--dnp-white), 0 0 0 8px var(--dnp-teal), 0 24px 50px -20px rgba(33, 42, 49, 0.55);
}

.dnp-page .dnp-profile__role {
	margin: 10px 0 0;
	color: var(--dnp-teal);
	font-size: 1.05rem;
	font-weight: 700;
}

.dnp-page .dnp-profile__bio {
	max-width: 64ch;
	margin: 16px auto 0;
	color: var(--dnp-body);
	font-size: 1.05rem;
	line-height: 1.75;
}

.dnp-profile__topics {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.dnp-profile__topics li {
	margin: 0;
	padding: 7px 14px;
	border: 1px solid var(--dnp-line);
	border-radius: 999px;
	background: var(--dnp-white);
	color: var(--dnp-ink);
	font-size: 0.86rem;
	font-weight: 600;
}

.dnp-profile__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 26px;
	margin-top: 28px;
}

.dnp-page .dnp-profile__stat {
	margin: 0;
	color: var(--dnp-muted);
	font-size: 0.95rem;
}

.dnp-profile__stat b {
	color: var(--dnp-ink);
	font-size: 1.2rem;
}

/* =========================================================================
   Sitemap
   ========================================================================= */

.dnp-map-top {
	display: grid;
	gap: clamp(18px, 2.4vw, 28px);
	grid-template-columns: 1fr;
	margin-bottom: clamp(44px, 6vw, 72px);
}

@media (min-width: 760px) {
	.dnp-map-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.dnp-mapcard {
	padding: clamp(22px, 2.4vw, 30px);
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
	box-shadow: var(--dnp-card-shadow);
}

.dnp-page .dnp-mapcard__title {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--dnp-teal);
	color: var(--dnp-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.dnp-maplist {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dnp-maplist li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
}

.dnp-page .dnp-maplist a {
	display: block;
	padding: 7px 0;
	color: var(--dnp-ink);
	line-height: 1.45;
	text-decoration: none;
}

.dnp-page .dnp-maplist a:hover {
	color: var(--dnp-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dnp-maplist__count {
	flex: none;
	min-width: 32px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--dnp-surface);
	color: var(--dnp-muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-align: center;
}

.dnp-mapgroup {
	margin-bottom: 18px;
	overflow: hidden;
	border: 1px solid var(--dnp-line);
	border-radius: var(--dnp-radius);
	background: var(--dnp-white);
}

.dnp-mapgroup > summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	background: var(--dnp-surface);
	cursor: pointer;
	list-style: none;
}

.dnp-mapgroup > summary::-webkit-details-marker {
	display: none;
}

.dnp-mapgroup__name {
	color: var(--dnp-ink);
	font-size: 1.1rem;
	font-weight: 700;
}

.dnp-mapgroup__chev {
	margin-inline-start: auto;
	color: var(--dnp-muted);
	transition: transform 0.22s var(--dnp-ease);
}

.dnp-mapgroup[open] .dnp-mapgroup__chev {
	transform: rotate(180deg);
}

.dnp-maplist--cols {
	display: block;
	padding: 14px 22px 6px;
	columns: 1;
	column-gap: 36px;
}

.dnp-maplist--cols li {
	break-inside: avoid;
}

@media (min-width: 760px) {
	.dnp-maplist--cols {
		columns: 2;
	}
}

@media (min-width: 1200px) {
	.dnp-maplist--cols {
		columns: 3;
	}
}

.dnp-page a.dnp-mapgroup__all {
	display: inline-flex;
	gap: 6px;
	margin: 0 22px 18px;
	color: var(--dnp-teal);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

/* =========================================================================
   404
   ========================================================================= */

.dnp-notfound {
	padding-block: clamp(64px, 10vw, 128px);
	background:
		radial-gradient(60% 90% at 50% 0%, rgba(18, 78, 102, 0.12) 0%, transparent 70%),
		var(--dnp-surface);
	text-align: center;
}

.dnp-notfound__code {
	margin: 0 0 8px;
	color: var(--dnp-teal);
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	opacity: 0.9;
}

/* =========================================================================
   Phones
   ========================================================================= */

@media (max-width: 599px) {
	/* The meta line wraps here, which would leave a separator dot dangling
	   at a line end; the gap alone separates the items. */
	.dnp-meta__dot {
		display: none;
	}

	.dnp-meta {
		gap: 10px 16px;
	}

	.dnp-search__btn {
		padding: 0 16px;
	}

	.dnp-search__icon {
		display: none;
	}

	.dnp-page .dnp-search__input {
		padding-left: 14px;
	}

	.dnp-cta {
		justify-content: center;
		padding: 22px 20px;
		text-align: center;
	}

	.dnp-page a.dnp-cta__btn {
		justify-content: center;
		width: 100%;
	}

	.dnp-prevnext__a,
	.dnp-prevnext__a--next {
		text-align: left;
	}

	.dnp-profile__img {
		width: 132px;
		height: 132px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dnp-page *,
	.dnp-page *::before,
	.dnp-page *::after {
		transition-duration: 0.001ms !important;
	}
}
