/*
Theme Name:        neatpencil
Template:          twentytwentyfive
Description:       Child theme of Twenty Twenty-Five for neatpencil.com: brand, header with mega menu, footer and page templates.
Author:            Zactonz Technologies
Version:           0.3.0
Requires at least: 6.5
Requires PHP:      8.1
License:           GPL-2.0-or-later
Text Domain:       neatpencil
*/

/* Shared shell ------------------------------------------------------- */
@font-face {
	font-family: 'NP Andika';
	src: url('../../plugins/neatpencil-maker/assets/fonts/Andika.ttf') format('truetype');
	font-display: swap;
}
:root {
	--np-ink: var(--wp--preset--color--contrast);
	--np-teal: var(--wp--preset--color--teal);
	--np-teal-text: var(--wp--preset--color--teal-text);
	--np-gray: var(--wp--preset--color--gray-text);
	--np-mist: var(--wp--preset--color--mist);
	--np-paper: var(--wp--preset--color--paper);
	--np-line: var(--wp--preset--color--line);
	--np-mango: var(--wp--preset--color--mango);
	--np-heading: var(--wp--preset--font-family--heading);
}
body {
	-webkit-font-smoothing: antialiased;
}
.np-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--wp--style--global--wide-size) + 40px);
	margin: 0 auto;
	padding: 0 20px;
}
:where(a, button, summary, input):focus-visible {
	outline: 3px solid var(--np-mango);
	outline-offset: 2px;
}
/* WordPress outlines every focused element, so a mouse click on the menu or a
   card left a ring. Clicks and taps draw none; keyboard focus keeps the mango
   ring above. */
:where(.wp-site-blocks) :focus:not(:focus-visible) {
	outline: none;
}
/* AVIF images come wrapped in <picture> with a WebP fallback; the wrapper
   takes no box, so block styles that size the <img> still apply. */
.np-picture {
	display: contents;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.np-header-part,
.np-footer-part {
	margin: 0 !important;
}
.np-main {
	margin-top: 0 !important;
	padding-bottom: var(--wp--preset--spacing--60);
}

/* Header ---------------------------------------------------------------- */
.np-site-header {
	position: relative;
	z-index: 50;
	font-size: 1rem;
}
.np-utility {
	background: var(--np-ink);
	color: #e4e9f0;
	font-size: 0.875rem;
}
.np-utility .np-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 20px;
	min-height: 44px;
}
.np-utility p {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.np-utility p svg {
	color: var(--np-mango);
}
.np-region {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 8px;
	color: #e4e9f0;
	cursor: pointer;
}
.np-region select {
	appearance: none;
	-webkit-appearance: none;
	padding: 4px 22px 4px 0;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4e9f0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right center / 14px no-repeat;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.np-region select option {
	color: var(--np-ink);
}
/* The select draws no ring of its own (a rectangle inside the rounded picker);
   keyboard focus rings the whole picker in mango, and a mouse click, which
   Chrome counts as keyboard focus on a select, rings nothing. */
.np-region select:focus {
	outline: none;
}
.np-region:has(select:focus-visible:not([data-np-pointer])) {
	outline: 3px solid var(--np-mango);
	outline-offset: 2px;
}
.np-bar {
	background: #fff;
	border-bottom: 1px solid var(--np-line);
}
.np-bar > .np-wrap {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 78px;
}
.np-logo {
	flex: 0 0 auto;
	display: flex;
}
.np-logo img {
	display: block;
	height: 44px;
	width: auto;
}
.np-nav {
	flex: 1 1 auto;
	display: flex;
	align-items: stretch;
	align-self: stretch;
	gap: 4px;
	white-space: nowrap;
}
.np-nav > a,
.np-mega > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 14px;
	color: var(--np-ink);
	font-family: var(--np-heading);
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}
.np-nav > a:hover,
.np-mega > summary:hover {
	color: var(--np-teal-text);
}
.np-mega > summary::-webkit-details-marker,
.np-phone-menu > summary::-webkit-details-marker {
	display: none;
}
.np-mega {
	display: flex;
}
.np-mega[open] > summary,
.np-mega.is-current > summary,
.np-nav > a.is-current {
	position: relative;
	color: var(--np-teal-text);
}
.np-mega[open] > summary::after,
.np-mega.is-current > summary::after,
.np-nav > a.is-current::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--np-teal);
}
.np-mega[open] .np-chevron {
	transform: rotate(180deg);
}
.np-mega-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-bottom: 1px solid var(--np-line);
	box-shadow: 0 24px 48px rgb(31 41 51 / 0.14);
	white-space: normal;
}
.np-mega-grid {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
	gap: 24px 36px;
	padding-top: 28px;
	padding-bottom: 24px;
}
.np-mega-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 14px;
	padding-bottom: 16px;
	border-top: 1px solid var(--np-line);
	font-size: 0.9rem;
	color: var(--np-gray);
}
.np-mega-foot::before {
	content: none;
}
.np-mega-foot a {
	font-weight: 700;
	color: var(--np-teal-text);
}
.np-mega-promo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: var(--np-paper);
	color: var(--np-ink);
	text-decoration: none;
}
.np-mega-promo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
}
.np-mega-promo strong {
	font-family: var(--np-heading);
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.3;
}
.np-mega-promo span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--np-teal-text);
}
.np-mega-promo:hover strong {
	color: var(--np-teal-text);
}
.np-mega-label {
	margin: 0 0 8px 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--np-gray);
}
.np-mega-types,
.np-mega-styles,
.np-phone-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.np-mega-styles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 12px;
}
.np-mega-types a,
.np-mega-styles a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 10px;
	border-radius: 10px;
	color: var(--np-ink);
	text-decoration: none;
	line-height: 1.3;
}
.np-mega-types a:hover,
.np-mega-styles a:hover {
	background: var(--np-paper);
}
.np-mega-types a > span:last-child,
.np-mega-styles a > span {
	display: flex;
	flex-direction: column;
}
.np-mega-types strong,
.np-mega-styles strong {
	font-family: var(--np-heading);
	font-weight: 700;
}
.np-mega-types a span span,
.np-mega-styles a span span {
	font-size: 0.85rem;
	color: var(--np-gray);
}
.np-mega-icon {
	flex: 0 0 44px;
	height: 44px;
	border-radius: 10px;
	background: #f2f9f9;
	color: var(--np-teal-text);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'NP Andika', var(--np-heading);
	font-size: 18px;
}
.np-mega-sample {
	flex: 0 0 72px;
}
.np-mega-sample img {
	display: block;
	width: 72px;
	height: auto;
}
.np-search {
	position: relative;
	flex: 0 1 240px;
	min-width: 140px;
	display: flex;
	align-items: center;
}
.np-search svg {
	position: absolute;
	left: 12px;
	color: var(--np-gray);
	pointer-events: none;
}
.np-search input {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0 34px 0 38px;
	border: 1px solid #cbd2d9;
	border-radius: 10px;
	background: var(--np-paper);
	font: inherit;
	font-size: 0.95rem;
	color: var(--np-ink);
}
.np-kbd {
	position: absolute;
	right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 22px;
	border: 1px solid #cbd2d9;
	border-radius: 6px;
	background: #fff;
	font: 12px/1 var(--wp--preset--font-family--body);
	color: var(--np-gray);
	pointer-events: none;
}
.np-search input:focus ~ .np-kbd {
	display: none;
}
.np-cta {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 12px;
	background: var(--np-ink);
	color: #fff !important;
	font-family: var(--np-heading);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
}
.np-phone-search {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	color: var(--np-ink);
}
.np-cta:hover {
	background: #172b47;
}
.np-phone-menu {
	display: none;
	margin-left: auto;
}
.np-phone-menu > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	color: var(--np-ink);
	cursor: pointer;
	list-style: none;
}
.np-phone-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	padding: 16px 20px 24px;
	background: #fff;
	border-bottom: 1px solid var(--np-line);
	box-shadow: 0 24px 48px rgb(31 41 51 / 0.14);
}
.np-phone-panel .np-search {
	margin-bottom: 16px;
}
.np-phone-panel .np-mega-label {
	margin-top: 12px;
}
.np-phone-links a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0 10px;
	font-weight: 700;
	color: var(--np-ink);
	text-decoration: none;
}
@media (max-width: 1080px) {
	.np-bar .np-search {
		display: none;
	}
	.np-phone-panel .np-search {
		display: flex;
	}
}
@media (max-width: 860px) {
	.np-nav,
	.np-bar .np-cta,
	.np-region-word {
		display: none;
	}
	.np-phone-menu {
		display: block;
		margin-left: 0;
	}
	.np-phone-search {
		display: flex;
		margin-left: auto;
	}
	.np-bar > .np-wrap {
		min-height: 64px;
		gap: 12px;
	}
	.np-logo img {
		height: 36px;
	}
	.np-mega-grid {
		grid-template-columns: 1fr;
	}
}

/* Title bands, content and cards --------------------------------------- */
.np-band {
	background: var(--np-paper);
	border-bottom: 1px solid var(--np-line);
	padding-top: var(--wp--preset--spacing--50) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}
.np-band > :first-child {
	margin-top: 0;
}
.np-band p {
	color: var(--np-gray);
	font-size: var(--wp--preset--font-size--large);
}
/* Pages: titles and text start at the left edge of the wide column, text kept
   to a readable measure; makers and other wide blocks use the full width. */
.np-page-content.is-layout-constrained > :where(:not(.alignwide):not(.alignfull)) {
	max-width: 740px;
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
	margin-right: auto !important;
}
.np-content > .alignwide {
	margin-top: var(--wp--preset--spacing--40);
	margin-bottom: var(--wp--preset--spacing--50);
}
.np-main-wide {
	padding-bottom: 0;
}
.np-article-head {
	padding-top: var(--wp--preset--spacing--50);
}
.np-byline {
	gap: 6px;
	color: var(--np-gray);
	font-size: var(--wp--preset--font-size--small);
}
.np-byline p,
.np-byline .wp-block-post-date {
	margin: 0;
}
.np-eyebrow,
.np-eyebrow a {
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--np-teal-text);
	text-decoration: none;
}
.np-hero-image img {
	border-radius: 16px;
}
.np-content > h2 {
	margin-top: var(--wp--preset--spacing--50);
}
.np-more-guides {
	margin-top: var(--wp--preset--spacing--60);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--np-line);
}
.np-cards {
	gap: 24px !important;
}
.np-cards > li {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-bottom: 20px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}
.np-cards > li > *:not(.wp-block-post-featured-image) {
	margin: 0 20px !important;
}
.np-cards .wp-block-post-featured-image {
	margin: 0 0 6px !important;
}
.np-cards .wp-block-post-title {
	font-size: 1.2rem;
	line-height: 1.3;
}
.np-cards .wp-block-post-title a {
	color: var(--np-ink);
	text-decoration: none;
}
.np-cards .wp-block-post-title a:hover {
	color: var(--np-teal-text);
}
.np-cards .wp-block-post-excerpt {
	color: var(--np-gray);
	font-size: 1rem;
}
.np-cards .wp-block-post-excerpt__more-text {
	display: none;
}
.np-results > li {
	padding: 18px 0;
	border-bottom: 1px solid var(--np-line);
}
.np-results .wp-block-post-title {
	margin: 4px 0;
	font-size: 1.3rem;
}
.np-search-block .wp-block-search__input {
	min-height: 48px;
	border-radius: 10px;
	border: 1.5px solid #9aa5b1;
	padding: 0 14px;
}
.np-search-block .wp-block-search__button {
	border-radius: 10px;
}
@media (max-width: 781px) {
	.np-cards {
		grid-template-columns: 1fr !important;
	}
}

/* Closing call to action ------------------------------------------------ */
.np-cta-band {
	margin-top: var(--wp--preset--spacing--60);
	background: linear-gradient(to bottom, transparent 50%, var(--np-ink) 50%);
}
.np-cta-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 48px;
	padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px);
	border-radius: 24px;
	/* Faint ruled lines, like handwriting paper. */
	background: repeating-linear-gradient(to bottom, transparent 0 31px, rgb(255 255 255 / 0.08) 31px 32px), var(--np-teal);
	color: #fff;
	box-shadow: 0 24px 48px rgb(15 23 32 / 0.22);
}
.np-cta-text {
	flex: 1 1 380px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.np-cta-text h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	line-height: 1.15;
}
.np-cta-text p {
	margin: 0;
	font-size: 1.1rem;
}
.np-cta-eyebrow {
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.np-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}
.np-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 12px;
	background: #fff;
	color: var(--np-ink) !important;
	font-family: var(--np-heading);
	font-weight: 700;
	text-decoration: none;
}
.np-cta-outline {
	background: transparent;
	border: 1.5px solid rgb(255 255 255 / 0.6);
	color: #fff !important;
}
.np-cta-outline:hover {
	background: rgb(255 255 255 / 0.1);
}
.np-cta-sample {
	flex: 0 1 320px;
	padding: 6px;
	border-radius: 14px;
	background: #fff;
	transform: rotate(-2deg);
	box-shadow: 0 18px 36px rgb(15 23 32 / 0.3);
}
.np-cta-sample img {
	display: block;
	width: 100%;
	height: auto;
}

/* Footer ---------------------------------------------------------------- */
.np-site-footer {
	background: var(--np-ink);
	color: #c5ced8;
	font-size: 1rem;
	padding: 64px 0 28px;
}
.np-cta-band + .np-footer-part .np-site-footer,
.np-cta-band + * .np-site-footer {
	padding-top: 64px;
}
.np-footer-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 36px 32px;
}
.np-footer-grid > * {
	flex: 1 1 150px;
	min-width: 0;
}
.np-footer-brand {
	flex: 2 1 280px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.np-footer-brand img {
	display: block;
	height: 44px;
	width: auto;
}
.np-footer-brand p {
	margin: 0;
	max-width: 360px;
}
.np-promises {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: #e4e9f0;
	font-size: 0.95rem;
}
.np-promises li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.np-promises li > span {
	flex: 0 0 24px;
	height: 24px;
	border-radius: 999px;
	background: #2d4c75;
	color: #83bec5;
	display: flex;
	align-items: center;
	justify-content: center;
}
.np-site-footer h2 {
	margin: 0 0 8px;
	font-family: var(--np-heading);
	font-size: 0.95rem;
	color: #fff;
}
.np-site-footer nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.np-site-footer nav a,
.np-footer-bottom a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #c5ced8;
	text-decoration: none;
}
.np-site-footer a:hover {
	color: #fff;
}
.np-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 22px;
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid #35537d;
	font-size: 0.9rem;
	color: #9aa5b1;
}

/* "Cookie settings" in the footer reopens the consent banner. */
.np-cookie-settings {
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #c5ced8;
	font: inherit;
	cursor: pointer;
}
.np-cookie-settings:hover {
	color: #fff;
}

/* Cookie consent banner, only while GA4 is switched on (inc/consent.php).
   Accept and Reject look the same on purpose: rejecting must be as easy. */
.np-consent {
	position: fixed;
	z-index: 1000;
	right: 16px;
	bottom: 16px;
	left: 16px;
	box-sizing: border-box;
	max-width: 440px;
	padding: 20px;
	border: 1px solid var(--np-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(32, 58, 95, 0.18);
	color: var(--np-ink);
	font-size: 0.95rem;
	line-height: 1.5;
}
.np-consent[hidden] {
	display: none;
}
.np-consent p {
	margin: 0 0 14px;
}
.np-consent a {
	color: var(--np-teal-text);
}
.np-consent-buttons {
	display: flex;
	gap: 10px;
}
.np-consent-buttons button {
	flex: 1;
	min-height: 46px;
	font-size: 1rem;
	cursor: pointer;
}

/* Home page hub ------------------------------------------------------------ */
.np-hub-hero {
	background: var(--np-paper);
	border-bottom: 1px solid var(--np-line);
	padding: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--60);
}
.np-hub-chips {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
}
.np-hub-chips li {
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--np-line);
}
.np-hub-hero h1 {
	margin: 0;
	max-width: 820px;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
	line-height: 1.08;
}
.np-hub-mark {
	box-shadow: inset 0 -0.32em 0 var(--np-mango);
}
.np-hub-intro {
	margin: 18px 0 36px;
	max-width: 680px;
	font-size: var(--wp--preset--font-size--large);
	color: var(--np-gray);
}
.np-hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.np-hub-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--np-line);
	box-shadow: 0 1px 2px rgb(31 41 51 / 0.05), 0 8px 24px rgb(31 41 51 / 0.06);
	color: var(--np-ink);
	text-decoration: none;
	transition: box-shadow 0.15s, transform 0.15s;
}
.np-hub-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgb(31 41 51 / 0.06), 0 14px 32px rgb(31 41 51 / 0.1);
}
.np-hub-sample {
	padding: 18px 18px 0;
}
.np-hub-sample img {
	display: block;
	width: 100%;
	height: auto;
}
.np-hub-card-text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 20px 20px;
	color: var(--np-gray);
	font-size: 1rem;
}
.np-hub-card-title {
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1.25;
	color: var(--np-ink);
}
.np-hub-card-go {
	margin-top: auto;
	padding-top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--np-teal-text);
}
/* Page sections (patterns shared by the home and name pages) --------------- */
.np-section {
	padding: var(--wp--preset--spacing--60) 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.np-section-tint {
	background: var(--np-paper);
	border-top: 1px solid var(--np-line);
	border-bottom: 1px solid var(--np-line);
}
.np-section-mist {
	background: var(--np-mist);
}
.np-section h2 {
	margin: 0 0 10px;
	font-size: var(--wp--preset--font-size--x-large);
}
.np-lead {
	margin: 0 0 28px;
	max-width: 620px;
	color: var(--np-gray);
}
.np-card-go,
.np-all-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: var(--np-teal-text);
}
.np-style-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}
.np-style-card {
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 18px 20px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: #fff;
	color: var(--np-ink);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.np-style-card:hover {
	border-color: var(--np-teal);
	box-shadow: 0 8px 24px rgb(31 41 51 / 0.08);
}
.np-style-region {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--np-gray);
}
.np-style-sample img {
	display: block;
	width: 100%;
	height: auto;
	margin: 4px 0 6px;
}
.np-style-title {
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1.25;
}
.np-style-meta {
	font-size: 0.92rem;
	color: var(--np-gray);
}
.np-style-card .np-card-go {
	margin-top: auto;
	padding-top: 12px;
}
.np-how {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.np-steps {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 22px;
}
.np-steps li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.np-steps li > span {
	flex: 0 0 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--np-teal);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.1rem;
}
.np-steps h3 {
	margin: 0 0 4px;
	font-size: 1.15rem;
}
.np-steps p {
	margin: 0;
	color: var(--np-gray);
}
.np-how-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgb(31 41 51 / 0.12);
}
.np-anatomy {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 56px;
	align-items: center;
}
.np-anatomy-sheet img {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
	box-shadow: 0 2px 4px rgb(31 41 51 / 0.06), 0 16px 40px rgb(31 41 51 / 0.12);
}
.np-anatomy-parts {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px 32px;
}
.np-anatomy-parts dt {
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.05rem;
}
.np-anatomy-parts dd {
	margin: 4px 0 0;
	color: var(--np-gray);
}
.np-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 4px;
}
.np-latest-guides .np-lead {
	margin-bottom: 20px;
}
.np-read-time {
	font-size: 0.88rem;
	color: var(--np-gray);
}
.np-privacy-band {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 40px;
	align-items: start;
}
.np-privacy-band p {
	margin: 0;
}
.np-privacy-band ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.np-privacy-band li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	border-radius: 14px;
	background: #fff;
	color: var(--np-gray);
}
.np-privacy-band strong {
	font-family: var(--np-heading);
	font-weight: 800;
	color: var(--np-ink);
}

/* Maker and style pages: hero, article and sidebar ------------------------- */
.np-hero {
	background: var(--np-paper);
	border-bottom: 1px solid var(--np-line);
	padding-top: var(--wp--preset--spacing--40) !important;
	padding-bottom: var(--wp--preset--spacing--50) !important;
	margin-top: 0 !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}
.np-hero > * {
	margin-top: 0;
}
.np-hero .wp-block-breadcrumbs {
	margin-bottom: 18px;
	font-size: 0.92rem;
}
.np-hero h1 {
	margin: 0 0 14px;
	max-width: 820px;
	font-size: clamp(2.1rem, 4vw, 3rem);
	line-height: 1.1;
}
.np-hero-intro {
	max-width: 640px;
	margin: 0 0 20px !important;
	font-size: var(--wp--preset--font-size--large);
	color: var(--np-gray);
}
.np-hero-split {
	gap: 40px !important;
	align-items: center !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.np-hero-sample {
	margin: 0 !important;
	padding: 20px;
	border: 1px solid var(--np-line);
	border-radius: 16px;
	background: #fff;
}
.np-hero-sample img {
	display: block;
	width: 100%;
	height: auto;
}
.np-hero-sample figcaption {
	margin-top: 10px;
	font-size: 0.9rem;
	color: var(--np-gray);
}
.wp-block-breadcrumbs li:not(:last-child)::after {
	margin: 0 0.4em;
	color: var(--np-gray);
}
.wp-block-breadcrumbs a {
	color: var(--np-teal-text);
}
.np-chips,
.np-toc {
	list-style: none;
	margin: 0 !important;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
}
.np-chips li,
.np-toc a {
	display: block;
	padding: 5px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--np-line);
}
.np-toc a {
	color: var(--np-ink);
	text-decoration: none;
}
.np-toc a:hover {
	border-color: var(--np-teal);
	color: var(--np-teal-text);
}
.np-split {
	gap: 48px !important;
	margin-top: var(--wp--preset--spacing--50) !important;
}
.np-split > .wp-block-column > :first-child {
	margin-top: 0;
}
.np-split h2 {
	margin-top: var(--wp--preset--spacing--50);
}
.np-side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
@media (min-width: 782px) {
	.np-side {
		align-self: flex-start;
		position: sticky;
		top: 24px;
	}
}
.np-side-card {
	padding: 20px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: #fff;
}
.np-side-card h2 {
	margin: 0 0 10px !important;
	font-size: 18px !important;
	font-weight: 700;
	line-height: 1.3;
}
.np-side-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-size: 0.98rem;
}
.np-side-makers a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
	color: var(--np-teal-text);
}
.np-side-makers a:hover {
	text-decoration: underline;
}
.np-faq {
	margin-top: 8px !important;
	border-top: 1px solid var(--np-line);
}
.np-faq .wp-block-details {
	margin: 0 !important;
	padding: 2px 0;
	border-bottom: 1px solid var(--np-line);
}
.np-faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.08rem;
}
.np-faq summary::-webkit-details-marker {
	display: none;
}
.np-faq summary::after {
	content: '';
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	margin-right: 4px;
	border-right: 2.5px solid currentColor;
	border-bottom: 2.5px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	transition: transform 0.15s;
}
.np-faq details[open] summary::after {
	transform: rotate(-135deg) translateX(-3px);
}
.np-faq details > :not(summary) {
	margin: 0 0 16px;
	color: var(--np-gray);
}
.np-figure-pair {
	gap: 16px !important;
}
.np-figure-pair figure {
	margin: 0;
	padding: 14px;
	border: 1px solid var(--np-line);
	border-radius: 12px;
}
.np-figure-pair img {
	display: block;
	width: 100%;
	height: auto;
}
.np-figure-pair figcaption {
	margin: 8px 0 0;
	font-size: 0.9rem;
	color: var(--np-gray);
	text-align: left;
}
.np-table table {
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--np-line);
	border-radius: 12px;
	overflow: hidden;
	font-size: 0.98rem;
}
.np-table th {
	background: var(--np-paper);
	text-align: left;
}
.np-table th,
.np-table td {
	padding: 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--np-line);
}
.np-table tr:last-child td {
	border-bottom: 0;
}
@media (max-width: 900px) {
	.np-how,
	.np-anatomy,
	.np-privacy-band {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.np-privacy-band ul {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.np-anatomy-parts {
		grid-template-columns: 1fr;
	}
}
.np-narrow > * {
	max-width: 800px;
}
.np-hero mark.np-mark {
	background: none;
	color: inherit;
	box-shadow: inset 0 -0.32em 0 var(--np-mango);
}
.np-hero .np-chips + .wp-block-heading {
	margin-top: 16px;
}
.np-place-label {
	margin: 0 0 8px !important;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--np-gray);
}
.np-place-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 700;
}
.np-place-links a {
	display: block;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1.5px solid var(--np-teal);
	color: var(--np-teal-text);
	text-decoration: none;
	background: #fff;
}
.np-place-links a:hover {
	background: #f2f9f9;
}
.np-region-pill {
	margin-left: auto;
	padding: 4px 12px;
	border: 1px solid #35537d;
	border-radius: 999px;
	color: #c5ced8;
}
.np-region-pill select {
	color: #e4e9f0;
	font-weight: 400;
}

/* Shared buttons ----------------------------------------------------------- */
.np-button-dark,
.np-button-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 12px;
	font-family: var(--np-heading);
	font-weight: 700;
	text-decoration: none;
}
.np-button-dark {
	background: var(--np-ink);
	color: #fff !important;
}
.np-button-dark:hover {
	background: #172b47;
}
.np-button-outline {
	border: 1.5px solid var(--np-teal);
	color: var(--np-teal-text) !important;
	background: #fff;
}
.np-button-outline:hover {
	background: #f2f9f9;
}

/* Title bands: left-aligned (topics, search) and centred (pages) ----------- */
.np-band .wp-block-breadcrumbs {
	margin-bottom: 14px;
	font-size: 0.94rem;
}
.np-band h1 {
	margin-top: 4px;
}
.np-band-lead,
.np-band .wp-block-term-description {
	margin-top: 12px;
	max-width: 680px;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--np-gray);
}
.np-band .np-eyebrow {
	margin: 0;
}
.np-listing {
	margin-top: var(--wp--preset--spacing--50);
}
.np-page-content {
	font-size: 1.1875rem;
	line-height: 1.7;
}
.np-band-center + .np-page-content.is-layout-constrained > :where(:not(.alignwide):not(.alignfull)) {
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Pagination ----------------------------------------------------------------- */
.np-pagination {
	margin-top: var(--wp--preset--spacing--50);
	gap: 8px;
}
.np-pagination .page-numbers,
.np-pagination .wp-block-query-pagination-previous,
.np-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid #cbd2d9;
	border-radius: 10px;
	color: var(--np-ink);
	font-weight: 700;
	text-decoration: none;
}
.np-pagination .page-numbers.current {
	background: var(--np-teal);
	border-color: var(--np-teal);
	color: #fff;
}
.np-pagination .page-numbers.dots {
	border: 0;
}

/* Cards: a wide first card on topic pages, compact cards under guides ---------- */
.np-cards .np-card-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 0 20px;
}
.np-cards .np-card-text > * {
	margin: 0 !important;
}
.np-cards .wp-block-post-title {
	font-weight: 700;
	font-size: 1.25rem;
}
.np-cards-compact .wp-block-post-title {
	font-size: 1.15rem;
}
@media (min-width: 782px) {
	.np-cards-lead > li:first-child {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
		align-items: center;
		gap: 0 32px;
		padding-bottom: 0;
	}
	.np-cards-lead > li:first-child .wp-block-post-featured-image {
		margin: 0 !important;
	}
	.np-cards-lead > li:first-child .np-card-text {
		padding: 24px 28px 24px 0;
	}
	.np-cards-lead > li:first-child .wp-block-post-title {
		font-size: 1.9rem;
		line-height: 1.2;
	}
}
.np-styles-band {
	margin-top: var(--wp--preset--spacing--60) !important;
}

/* Guides ------------------------------------------------------------------- */
.np-main-guide {
	padding-bottom: 0;
}
.np-guide {
	padding-top: var(--wp--preset--spacing--40);
}
.np-guide > .np-guide-head {
	max-width: 820px;
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
}
.np-guide-head > * {
	margin-top: 0;
	margin-bottom: 0;
}
.np-guide-head .wp-block-breadcrumbs {
	margin-bottom: 18px;
	font-size: 0.94rem;
}
.np-pill a {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--np-mist);
	color: var(--np-teal-text);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}
.np-guide-head h1 {
	margin-top: 14px !important;
	font-size: clamp(2.3rem, 4vw, 3rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.np-standfirst {
	margin: 14px 0 0 !important;
	font-size: 1.375rem;
	line-height: 1.5;
	color: var(--np-gray);
}
.np-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 20px 0 0 !important;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--np-line);
	font-size: 0.95rem;
	color: var(--np-gray);
}
.np-byline a {
	color: var(--np-ink);
	font-weight: 600;
	text-decoration: none;
}
.np-byline a:hover {
	text-decoration: underline;
}
.np-guide-image {
	margin-top: var(--wp--preset--spacing--40) !important;
}
.np-guide-image img {
	max-height: 560px;
	object-fit: cover;
	border-radius: 16px;
}
.np-guide-cols {
	gap: 56px !important;
	margin-top: var(--wp--preset--spacing--50) !important;
}
.np-guide-body {
	max-width: 720px;
	min-width: 0;
}
.np-guide-content {
	font-size: 1.1875rem;
	line-height: 1.7;
}
.np-guide-content > * {
	margin-top: 0;
	margin-bottom: 1.1em;
}
.np-guide-content h2 {
	margin-top: 40px;
	margin-bottom: 12px;
	scroll-margin-top: 24px;
}
.np-guide-content h3 {
	margin-top: 28px;
	margin-bottom: 8px;
}
.np-guide-content figure img {
	border-radius: 12px;
}
.np-toc-card ol {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 16px;
	line-height: 1.4;
}
.np-toc-card li::marker {
	color: var(--np-gray);
}
.np-toc-card a {
	color: var(--np-teal-text);
	text-decoration: underline;
}
.np-toc-card a:hover {
	text-decoration: none;
}
.np-keep-reading {
	margin-top: var(--wp--preset--spacing--60) !important;
}
.np-maker-card {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	align-items: center;
	gap: 24px;
	margin: 2em 0;
	padding: 24px;
	border: 1px solid var(--np-line);
	border-radius: 16px;
	background: var(--np-paper);
}
.np-maker-card img {
	display: block;
	width: 100%;
	height: auto;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 10px;
	background: #fff;
}
.np-maker-card p {
	margin: 0 0 12px;
	font-size: 1rem;
	color: var(--np-gray);
}
.np-maker-card .np-maker-card-title {
	margin-bottom: 4px;
	font-family: var(--np-heading);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--np-ink);
}
@media (max-width: 600px) {
	.np-maker-card {
		grid-template-columns: 1fr;
	}
}

/* Search ------------------------------------------------------------------- */
.np-search-big {
	display: flex;
	gap: 10px;
	margin-top: 18px;
}
.np-search-big .wp-block-search__inside-wrapper {
	gap: 10px;
}
.np-search-big .wp-block-search__input,
.np-search-big input[type='search'] {
	min-height: 56px;
	border-radius: 12px;
	font-size: 1.25rem;
}
.np-search-big .wp-block-search__button,
.np-search-big button {
	min-height: 56px;
	padding: 0 24px;
	border: 0;
	border-radius: 12px;
	background: var(--np-ink);
	color: #fff;
	font-family: var(--np-heading);
	font-weight: 700;
	font-size: 1.1rem;
	cursor: pointer;
}
.np-search-results {
	margin-top: var(--wp--preset--spacing--40);
}
.np-search-results h2 {
	margin: var(--wp--preset--spacing--40) 0 14px;
	font-size: 1.5rem;
}
.np-search-status {
	margin: 0 0 14px;
	color: var(--np-gray);
}
.np-result-chips a {
	color: var(--np-ink);
	text-decoration: none;
}
.np-result-makers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.np-result-makers a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	color: var(--np-ink);
	text-decoration: none;
}
.np-result-makers a:hover {
	border-color: var(--np-teal);
}
.np-result-makers img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 6px;
}
.np-result-makers strong {
	font-family: var(--np-heading);
	font-weight: 700;
	font-size: 1.1rem;
}
.np-result-makers span {
	font-size: 0.92rem;
	color: var(--np-gray);
}
.np-result-guides {
	list-style: none;
	margin: 0;
	padding: 0;
}
.np-result-guides li {
	padding: 16px 0;
	border-bottom: 1px solid var(--np-line);
}
.np-result-topic {
	display: block;
	font-size: 0.875rem;
	color: var(--np-gray);
}
.np-result-guides a {
	font-family: var(--np-heading);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--np-teal-text);
}
.np-result-guides p {
	margin: 4px 0 0;
	color: var(--np-gray);
}
.np-search-results mark {
	background: #ffe7a3;
	color: inherit;
	padding: 0 2px;
	border-radius: 3px;
}
.np-suggest {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 24px;
	margin-top: var(--wp--preset--spacing--50);
	padding: 22px 24px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: var(--np-paper);
}
.np-suggest p {
	margin: 0;
}

/* 404 ------------------------------------------------------------------------ */
.np-main-404 {
	padding-top: var(--wp--preset--spacing--50);
}
.np-not-found {
	text-align: center;
}
.np-not-found > img {
	display: block;
	width: 300px;
	max-width: 80%;
	height: auto;
	margin: 0 auto 8px;
}
.np-not-found h1 {
	margin: 0 0 12px;
}
.np-not-found > p {
	color: var(--np-gray);
}
.np-not-found .np-search {
	max-width: 560px;
	margin: 24px auto;
}
.np-not-found .np-search svg {
	left: 16px;
}
.np-not-found .np-search input {
	padding-left: 46px;
	background: #fff;
	border: 1.5px solid #9aa5b1;
}
.np-not-found .np-place-links {
	justify-content: center;
	margin-bottom: 20px;
}
.np-not-found .np-mega-label {
	margin: 0 0 10px;
}

/* Phones: keep titles big, as on the phone artboards ------------------------- */
@media (max-width: 600px) {
	h1,
	.np-hero h1,
	.np-guide-head h1 {
		font-size: 2.4rem !important;
		line-height: 1.12;
	}
}
.np-promise-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}
.np-promise-grid > * {
	margin: 0 !important;
}
.np-promise {
	padding: 18px 20px;
	border: 1px solid var(--np-line);
	border-radius: 14px;
	background: var(--np-paper);
}
.np-promise h3 {
	margin: 0 0 6px;
}
.np-promise p {
	margin: 0;
	font-size: 1rem;
	color: var(--np-gray);
}
.np-get-in-touch {
	margin-top: var(--wp--preset--spacing--50) !important;
	padding: 28px;
	border-radius: 16px;
	background: var(--np-mist);
}
.np-get-in-touch h2 {
	margin-top: 0;
}
/* Region nudge: hidden until the region switcher says the visitor is elsewhere. */
.np-nudge {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 16px 0 0 !important;
	padding: 14px 16px;
	border: 1px solid var(--wp--preset--color--wood);
	border-radius: 12px;
	background: #fff4e3;
	max-width: 760px;
}
:root[data-np-region='au'] .np-nudge[data-for='au'],
:root[data-np-region='nz'] .np-nudge[data-for='nz'],
:root[data-np-region='uk'] .np-nudge[data-for='uk'] {
	display: flex;
}
.np-nudge span {
	flex: 1 1 100%;
}
.np-nudge a {
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1.5px solid var(--np-teal);
	color: var(--np-teal-text);
	font-weight: 700;
	text-decoration: none;
}
@media (max-width: 600px) {
	.np-utility .np-wrap {
		flex-wrap: nowrap;
		font-size: 0.8rem;
	}
}
/* Left-aligned bands: a narrower lead line starts at the column edge, not centred. */
.np-band-left > .wp-block-term-description,
.np-band-left > .np-band-lead {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
}
.np-pagination .wp-block-query-pagination-next-arrow {
	margin-left: 6px;
}
.np-pagination .wp-block-query-pagination-previous-arrow {
	margin-right: 6px;
}
