/* Shared front-end/editor components. Colors and typography live in theme.json. */
*, *::before, *::after { box-sizing: border-box; }
:where(html) { scroll-behavior: smooth; scroll-padding-top: 2rem; }
:where(body) { margin: 0; -webkit-font-smoothing: antialiased; }
:where(img) { max-width: 100%; height: auto; }
:where(a, button, input) { -webkit-tap-highlight-color: transparent; }
:where(a) { text-underline-offset: .22em; }
:where(a:hover) { text-decoration-thickness: 2px; }
:where(:focus-visible) { outline: 3px solid #7B3FF2; outline-offset: 5px; }
:where(button, input) { font: inherit; }
:where(button, .wp-element-button) { transition: background .2s, transform .2s; }
:where(button:not(:disabled), .wp-element-button) { cursor: pointer; }
:where(button:disabled) { cursor: not-allowed; }
:where(.wp-site-blocks > *) { margin-block-start: 0; }
:where(.nzg-site-header) { position: relative; z-index: 5; background: #F7F7FA; padding-inline: clamp(20px,5vw,80px); }
:where(.nzg-header-inner) { max-width: 1240px; margin-inline: auto; min-height: 112px; justify-content: space-between; gap: 2rem; border-bottom: 1px solid #D7DAE2; }
:where(.nzg-brand) { display: inline-flex; width: 228px; flex: 0 0 auto; }
:where(.nzg-brand img, .nzg-brand svg) { display: block; width: 100%; height: auto; }


:where(.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open) { padding: 32px; background: #F7F7FA; color: #1C0030; }
:where(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

:where(.nzg-main) { min-height: 55vh; }
:where(.nzg-hero) { position: relative; isolation: isolate; overflow: hidden; min-height: min(730px, 78vh); display: flex; align-items: center; padding: 100px max(5vw, calc((100vw - 1240px) / 2)); }
:where(.nzg-hero)::before { content: ''; position: absolute; z-index: -2; width: min(660px, 53vw); aspect-ratio: 1; top: 50%; right: max(1vw, calc((100vw - 1380px) / 2)); transform: translateY(-50%) rotate(-7deg); background: url('../icon-master.svg') center/contain no-repeat; opacity: .075; }
:where(.nzg-hero)::after { content: ''; position: absolute; z-index: -1; width: 590px; height: 590px; border: 1px solid #5B2A8626; border-radius: 50%; right: -170px; top: 240px; box-shadow: 0 0 0 55px #5B2A8605, 0 0 0 110px #5B2A8604; animation: nzg-breathe 16s ease-in-out infinite; }
@keyframes nzg-breathe { 0%,100% { transform: translate(0, 0) scale(1); opacity: .65; } 50% { transform: translate(-18px, -12px) scale(1.045); opacity: 1; } }
:where(.nzg-hero-copy) { width: 100%; max-width: 1240px; margin: auto; }
:where(.nzg-hero-title) { font-size: clamp(3.3rem, 7.4vw, 7rem); line-height: 1.08; letter-spacing: -.065em; margin: 0; }
:where(.nzg-tagline) { color: #5B2A86; font-size: clamp(1.25rem, 2.6vw, 2rem); letter-spacing: -.035em; margin-top: 1.4rem; }
:where(.nzg-hero .wp-block-buttons) { margin-top: 3rem; }
:where(.nzg-hero .wp-block-button__link) { min-width: 158px; display: flex; justify-content: space-between; gap: 2.4rem; text-decoration: none; }
:where(.wp-block-button__link:hover, .nzg-button:not(:disabled):hover) { background: #442063; transform: translateY(-2px); }
:where(.nzg-newsletter) { padding: 88px max(5vw, calc((100vw - 1240px) / 2)); background: #241234; color: #F7F7FA; scroll-margin-top: 24px; }
:where(.nzg-newsletter-inner) { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; max-width: 1240px; margin: auto; }
:where(.nzg-newsletter h2) { color: #FBFBFD; font-size: clamp(2rem, 3.4vw, 3rem); margin: 1.15rem 0 1.5rem; letter-spacing: -.045em; }
:where(.nzg-eyebrow) { font-size: .7rem; line-height: 1.5; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: #5B2A86; }
:where(.nzg-newsletter .nzg-eyebrow) { color: #CFB6F3; }
:where(.nzg-newsletter-copy) { max-width: 360px; font-size: .95rem; color: #D7DAE2; }
:where(.nzg-newsletter-form-wrap) { margin: 0; }
:where(.nzg-signup label, .nzg-dialog label) { display: block; font-size: .8em; font-weight: 500; margin-bottom: .55rem; }
:where(.nzg-signup-row) { display: flex; gap: .65rem; }
:where(.nzg-signup input, .nzg-dialog input) { width: 100%; min-width: 0; border: 1px solid #D7DAE2; border-radius: 4px; padding: .95rem 1rem; background: #FBFBFD; color: #1C0030; font-size: .95em; }
:where(.nzg-signup input::placeholder, .nzg-dialog input::placeholder) { color: #696570; opacity: 1; }
:where(.nzg-button) { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 1.4rem; min-height: 52px; background: #5B2A86; color: #fff; border: 0; border-radius: 4px; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
:where(.nzg-newsletter .nzg-button) { background: #7546A0; }
:where(.nzg-button:disabled) { opacity: .75; }
:where(.nzg-fineprint) { margin: .85rem 0 0; font-size: .74em; line-height: 1.7; }
:where(.nzg-newsletter .nzg-fineprint) { color: #D7DAE2; }
:where(.nzg-newsletter a) { color: #F7F7FA; }
:where(.nzg-site-footer) { padding: 0; }
:where(.nzg-socials) { display: flex; align-items: center; justify-content: center; gap: 1rem; }
:where(.nzg-socials a, .nzg-socials > span) { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
:where(.nzg-socials a) { color: #5B2A86; transition: transform .2s, color .2s; }

:where(.nzg-social-unset) { color: #87818F; }
:where(.nzg-footer-meta) { justify-content: center; gap: .7rem 2rem; margin-top: 16px; font-size: .74rem; }
:where(.nzg-footer-meta p) { margin: 0; }
:where(.nzg-footer-meta a) { color: #4C4B4D; }
:where(.nzg-footer-meta .nzg-unconfigured) { font-size: .7rem; }
:where(.nzg-brand-panel) { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 150px) max(5vw, calc((100vw - 1240px) / 2)); min-height: 610px; }
:where(.nzg-brand-panel)::after { content: ''; position: absolute; inset: 4% 2% 4% 48%; z-index: -1; background: url('../icon-master.svg') center/contain no-repeat; opacity: .07; }
:where(.nzg-brand-panel > *) { margin-left: 0 !important; max-width: 640px; }
:where(.nzg-brand-panel h1) { font-size: clamp(3.5rem, 7vw, 6rem); margin-top: 1.5rem; }
:where(.nzg-placeholder) { font-size: .95rem; color: #62596B; }
:where(.nzg-about .nzg-placeholder) { margin-top: 2.4rem; max-width: 530px; }
:where(.nzg-contact-email) { font-size: clamp(1.1rem, 2.5vw, 1.8rem); overflow-wrap: anywhere; }
:where(.nzg-listing) { padding-block: 70px 80px; }
:where(.nzg-page-heading) { border-bottom: 1px solid #D7DAE2; padding-bottom: 40px; margin-bottom: 48px; }
:where(.nzg-page-heading > *) { margin-left: 0 !important; }
:where(.nzg-page-heading h1) { font-size: clamp(3rem, 6vw, 5rem); margin-top: 1rem; }
:where(.nzg-archive-link) { max-width: 1240px; margin: -24px auto 42px; font-size: .85rem; text-align: right; }
:where(.nzg-journal-grid .wp-block-post-template) { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 56px 30px; }
:where(.nzg-journal-grid .wp-block-post) { min-width: 0; }
:where(.nzg-post-visual) { display: block; aspect-ratio: 3/2; overflow: hidden; background: #E8EAF0; }
:where(.nzg-post-visual > img) { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
:where(.nzg-post-visual:hover > img) { transform: scale(1.025); }
:where(.nzg-post-fallback) { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(ellipse at 20% 10%, #E8DFF0, #F1F2F6 80%); }
:where(.nzg-post-fallback img) { width: 36%; opacity: .25; }
:where(.nzg-journal-grid .wp-block-post-date) { margin-top: 1.25rem; color: #62596B; }
:where(.nzg-journal-grid .wp-block-post-title) { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.35; margin-top: .6rem; }
:where(.wp-block-post-title a) { color: #1C0030; text-decoration: none; }
:where(.wp-block-post-title a:hover) { color: #5B2A86; text-decoration: underline; }
:where(.wp-block-query-pagination) { border-top: 1px solid #D7DAE2; padding-top: 28px; margin-top: 60px; font-size: .85rem; gap: 1rem; }
:where(.wp-block-query-pagination-numbers) { display: flex; gap: .5rem; }
:where(.page-numbers) { padding: .5rem .8rem; }
:where(.page-numbers.current) { background: #5B2A86; color: #fff; border-radius: 3px; }
:where(.nzg-archive-list .wp-block-post-title) { font-size: clamp(1.2rem, 2.4vw, 1.8rem); margin: 0; line-height: 1.4; }
:where(.nzg-archive-list .wp-block-post-date) { color: #62596B; }
:where(.nzg-resource) { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px,8vw,120px); padding: 30px 0 70px; border-bottom: 1px solid #D7DAE2; }
:where(.nzg-resource-copy) { padding-top: 32px; }
:where(.nzg-resource h1, .nzg-resource h2) { font-size: clamp(2rem, 3.5vw, 3rem); margin-top: 28px; }
:where(.nzg-resource-tagline) { color: #5B2A86; font-size: 1.2rem; font-weight: 500; margin-top: 20px; }
:where(.nzg-resource-description) { margin-top: 28px; }
:where(.nzg-resource-product) { text-align: center; }
:where(.nzg-resource-image) { min-height: 310px; display: grid; place-items: center; padding: 25px; background: #F1F2F6; }
:where(.nzg-resource-image > img) { width: auto; max-height: 360px; object-fit: contain; }
:where(.nzg-cover-placeholder) { width: 190px; min-height: 258px; background: #241234; color: #F7F7FA; padding: 24px 22px; box-shadow: 10px 12px 0 #D7DAE2; text-align: left; display: flex; flex-direction: column; justify-content: space-between; }
:where(.nzg-cover-placeholder img) { width: 46px; height: 46px; filter: brightness(0) invert(1); opacity: .7; }
:where(.nzg-cover-placeholder strong) { font-family: Merriweather, Georgia, serif; font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
:where(.nzg-cover-placeholder span) { font-size: .58rem; text-transform: uppercase; letter-spacing: .12em; color: #D7DAE2; }
:where(.nzg-price) { font-size: .8rem; letter-spacing: .13em; font-weight: 600; color: #5B2A86; margin: 25px 0 14px; }
:where(.nzg-resources .wp-block-post + .wp-block-post) { margin-top: 50px; }
:where(.nzg-single-resource) { padding: 70px max(5vw, calc((100vw - 1240px) / 2)); }
:where(.nzg-single-resource > .nzg-resource) { max-width: 1240px; }
:where(.nzg-dialog) { border: 1px solid #D7DAE2; border-radius: 8px; background: #FBFBFD; color: #4C4B4D; width: min(550px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: clamp(24px,5vw,48px); box-shadow: 0 24px 100px #1C003044; }
:where(.nzg-dialog::backdrop) { background: #1C003088; backdrop-filter: blur(4px); }
:where(body:has(.nzg-dialog[open])) { overflow: hidden; }
:where(.nzg-dialog h2) { font-family: Merriweather, Georgia, serif; color: #1C0030; font-weight: 400; font-size: 2rem; line-height: 1.25; }
:where(.nzg-dialog-close) { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; color: #5B2A86; font-size: 1.8rem; }
:where(#nzg-dialog-resource) { font-weight: 600; color: #5B2A86; }
:where(#nzg-dialog-notice) { font-size: .9rem; margin-bottom: 24px; }
:where(.nzg-dialog .nzg-button) { margin-top: 16px; width: 100%; }
:where(.nzg-article, .nzg-page-content) { padding-block: 80px; }
:where(.nzg-article-heading) { margin-bottom: 48px; }
:where(.nzg-article-heading .wp-block-post-terms) { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
:where(.nzg-article-heading .wp-block-post-date) { margin-top: 28px; }
:where(.nzg-article .wp-block-post-content) { font-size: 1.1rem; line-height: 1.9; }
:where(.nzg-article .wp-block-post-featured-image) { margin-bottom: 56px; }
:where(.wp-block-post-content h2, .wp-block-post-content h3) { margin-top: 2.5rem; }
:where(.nzg-hero h1, .nzg-newsletter h2) { margin-top: 0; }
:where(.nzg-article-navigation) { margin-top: 60px; padding-top: 28px; border-top: 1px solid #D7DAE2; font-size: .9rem; }
:where(.nzg-not-found) { text-align: center; padding-block: 50px 90px; }
:where(.nzg-zero) { font-family: Merriweather, Georgia, serif; font-size: clamp(9rem,22vw,17rem); line-height: 1; color: #5B2A86; margin: 0 auto 30px; }
:where(.nzg-not-found h1) { font-size: clamp(2rem,4vw,3rem); }
:where(.nzg-not-found .nzg-button) { margin-top: 2rem; }
:where(.nzg-empty) { padding: 40px 0; }
:where(.wp-block-search__input) { border: 1px solid #D7DAE2; border-radius: 4px; padding: .8rem; }
:where(.wp-block-search__button) { border: 0; background: #5B2A86; color: #fff; padding-inline: 1.5rem; border-radius: 4px; }
:where(.wp-block-post-content) { overflow-wrap: break-word; }
:where(.wp-block-table) { overflow-x: auto; }
@media (min-width: 1600px) { .nzg-hero::before { right: calc((100vw - 1300px) / 2); } }
@media (max-width: 900px) {
:where(.nzg-header-inner) { min-height: 94px; }
:where(.nzg-brand) { width: 195px; }
:where(.nzg-header-inner .wp-block-navigation) { --wp--style--block-gap: 1.3rem; }
:where(.nzg-hero) { min-height: 580px; padding-block: 90px; }
:where(.nzg-newsletter-inner) { grid-template-columns: 1fr; gap: 36px; }
:where(.nzg-newsletter-copy) { max-width: 540px; }
:where(.nzg-journal-grid .wp-block-post-template) { grid-template-columns: repeat(2,minmax(0,1fr)); }
:where(.nzg-resource) { gap: 40px; grid-template-columns: 1.1fr 1fr; }
}
@media (max-width: 600px) {
:where(.nzg-header-inner) { min-height: 84px; }
:where(.nzg-brand) { width: 184px; }
:where(.nzg-hero) { min-height: 560px; align-items: flex-start; padding: 92px 20px 140px; }
:where(.nzg-hero-title) { font-size: clamp(2.8rem,10.3vw,3.9rem); letter-spacing: -.065em; }
:where(.nzg-hero)::before { width: 320px; right: -60px; top: 68%; opacity: .055; }
:where(.nzg-hero)::after { width: 320px; height: 320px; right: -160px; top: 390px; }
:where(.nzg-tagline) { font-size: 1.25rem; }
:where(.nzg-hero .wp-block-buttons) { margin-top: 2.5rem; }
:where(.nzg-newsletter) { padding: 58px 20px; }
:where(.nzg-signup-row) { flex-direction: column; }
:where(.nzg-signup .nzg-button) { justify-content: center; }
:where(.nzg-site-footer .nzg-footer-inner) { padding-top: 30px; }
:where(.nzg-footer-meta) { flex-direction: column; gap: .5rem; }
:where(.nzg-brand-panel) { padding: 80px 20px; min-height: 530px; }
:where(.nzg-brand-panel)::after { inset: 30% -25% 0 35%; }
:where(.nzg-listing, .nzg-article, .nzg-page-content) { padding-block: 48px; }
:where(.nzg-page-heading) { padding-bottom: 28px; margin-bottom: 32px; }
:where(.nzg-journal-grid .wp-block-post-template) { grid-template-columns: 1fr; gap: 38px; }
:where(.nzg-journal-grid .wp-block-post-title) { font-size: 1.6rem; }
:where(.nzg-archive-link) { text-align: left; margin: 0 auto 32px; }
:where(.nzg-resource) { grid-template-columns: 1fr; padding-top: 0; }
:where(.nzg-resource-copy) { padding-top: 0; }
:where(.nzg-resource h2) { margin-top: 18px; }
:where(.nzg-resource-product) { max-width: 420px; width: 100%; margin: auto; }
:where(.nzg-single-resource) { padding: 48px 20px; }
:where(.wp-block-query-pagination) { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
:where(html) { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Keep decorative layers from intercepting editor or frontend clicks. */
:where(.nzg-hero)::before, :where(.nzg-hero)::after, :where(.nzg-brand-panel)::after { pointer-events: none; }
/* Layout corrections do not assign footer colors or navigation typography. */
.wp-site-blocks { padding-block: 0; min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1; width: 100%; }
.wp-site-blocks > .nzg-site-footer { margin-block: 0; width: 100%; }
.nzg-site-footer > .nzg-footer-inner { max-width: none; width: 100%; margin: 0; padding: 44px var(--wp--style--root--padding-right, 20px) 32px var(--wp--style--root--padding-left, 20px); }
:where(.nzg-site-header .wp-block-navigation-item__content) { transition: text-decoration-color .2s; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .4em; }
.nzg-site-header .wp-block-navigation-item__content:hover { text-decoration-color: #5B2A8680; }
.nzg-site-header .wp-block-navigation-item__content[aria-current] { text-decoration: underline; text-decoration-color: #5B2A86; text-decoration-thickness: 2px; text-underline-offset: .4em; }
.nzg-site-header .wp-block-navigation-item__content:focus-visible, .nzg-socials a:focus-visible { outline: 2px solid #5B2A86; outline-offset: 5px; }
:where(.nzg-socials .wp-social-link) { background: transparent; color: inherit; }
:where(.nzg-socials a) { transition: color .2s; }
.nzg-socials a:hover, .nzg-socials a:focus-visible { color: #5B2A86; }
.nzg-listing > .nzg-listing-intro { max-width: var(--wp--style--global--wide-size); text-align: left; margin-block: 0 2rem; }
.nzg-listing-intro > :first-child { margin-top: 0; }
.nzg-listing-intro > :last-child { margin-bottom: 0; }
:where(.nzg-listing:has(.nzg-listing-intro) .nzg-page-heading) { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
:where(.nzg-resource h1, .nzg-resource h2) { margin-block: 0 .5rem; }
:where(.nzg-resource-tagline) { margin-top: 0; }
:where(.nzg-resource-copy) { padding-top: 0; }
:where(.nzg-archive-link) { text-align: center; margin: 3rem auto 0; }
.nzg-journal-grid .wp-block-post-template { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; }
.nzg-journal-grid .wp-block-post { display: grid; grid-template-rows: auto minmax(1.4rem,auto) 1fr; align-content: start; }
.nzg-journal-grid .wp-block-post-title { margin-bottom: 0; }
@media (max-width: 900px) { .nzg-journal-grid .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .nzg-journal-grid .wp-block-post-template { grid-template-columns: 1fr; } .nzg-site-footer > .nzg-footer-inner { padding-top: 30px; } }
.nzg-journal-grid .wp-block-post-template { gap: 56px 30px; }
.nzg-journal-grid .wp-block-post { margin-block: 0; }
@media (max-width: 600px) { .nzg-journal-grid .wp-block-post-template { gap: 38px; } }
/* Contextual defaults: explicit block colors and link-color controls take priority. */
.nzg-newsletter h2:where(:not(.has-text-color)) { color: #FBFBFD; }
.nzg-newsletter :where(.has-text-color) h2:where(:not(.has-text-color)) { color: inherit; }
.nzg-newsletter a:where(:not(.has-text-color)):not(:where(.has-link-color a, [class*="wp-elements-"] a)) { color: var(--wp--style--color--link, #F7F7FA); }
.nzg-listing-heading .nzg-listing-intro { margin-block: 1rem 0; max-width: none; text-align: left; }
.nzg-listing-heading > h1 { margin-bottom: 0; }
.nzg-listing-heading { padding-bottom: 1.5rem; margin-bottom: 2rem; }
.nzg-journal-grid .wp-block-post { padding-bottom: 1.5rem; border-bottom: 1px solid #D7DAE2; }
.nzg-journal-grid .wp-block-post-title { margin-top: .65rem; }
.nzg-journal-grid .wp-block-post-date { margin-top: 1rem; }
.nzg-archive-link .wp-element-button:focus-visible { outline: 2px solid #5B2A86; outline-offset: 5px; }
/* Core icons inherit their configured color; blank destinations render as spans. */
:root .nzg-socials.is-style-logos-only .wp-social-link { color: #4C4B4D; }
.nzg-socials .wp-social-link a, .nzg-social-unconfigured { color: inherit; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; transition: color .2s; }
.nzg-social-unconfigured svg { width: 1em; height: 1em; fill: currentColor; }
.nzg-socials .wp-social-link a:hover, .nzg-socials .wp-social-link a:focus-visible, .nzg-social-unconfigured:hover { color: #5B2A86; }
.nzg-journal-grid .wp-block-post-template { display: grid; }
.nzg-archive-link .wp-element-button:hover { box-shadow: 0 0 0 2px #5B2A8640; }

.nzg-newsletter .nzg-signup.has-text-color .nzg-fineprint { color: inherit; }

/* Archive rows use editable core Groups; these defaults allow native layout controls. */
:where(.nzg-archive-row > .wp-block-post-date) { flex-basis: 150px; }
:where(.nzg-archive-row > .wp-block-post-title) { flex: 1; min-width: min(100%, 240px); margin: 0; }
.nzg-archive-list .nzg-highlighted-article { border-inline-start: 3px solid #5B2A86; padding-inline-start: 1rem; }
:where(.nzg-archive-highlight-label) { display: block; font-family: var(--wp--preset--font-family--inter); font-size: .75rem; font-weight: 600; margin-bottom: .35rem; color: #5B2A86; }
/* Preserve native Social Icons size presets and any saved inline font size. */
.wp-block-social-links.nzg-socials:where(:not([class*="-icon-size"])) { font-size: 40px; }
.nzg-socials .wp-social-link svg { width: 1em; height: 1em; }
:where(.nzg-dialog-preview) { position: relative; margin: 0; }
.nzg-dialog.has-text-color h2, .nzg-dialog.has-text-color #nzg-dialog-resource { color: inherit; }
@media (max-width: 600px) { :where(.nzg-archive-row > .wp-block-post-date) { flex-basis: 100%; } }

/* Keep adjacent-article links in their own columns, even at either end of the archive. */
.nzg-article-navigation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 2rem; }
.nzg-article-navigation > .wp-block-post-terms { grid-column: 1 / -1; }
.nzg-article-navigation > .post-navigation-link-previous { grid-column: 1; text-align: left; }
.nzg-article-navigation > .post-navigation-link-next { grid-column: 2; text-align: right; }
.nzg-article-navigation > .wp-block-post-navigation-link { margin: 0; max-width: none; width: 100%; overflow-wrap: anywhere; }
.nzg-journal-pagination > .wp-block-query-pagination-next { margin-left: auto; }
@media (max-width: 600px) {
  .nzg-article-navigation { grid-template-columns: minmax(0, 1fr); }
  .nzg-article-navigation > .post-navigation-link-next { grid-column: 1; text-align: left; }
}

/* Homepage-only ambient arc. Existing hero artwork and its animation stay intact. */
.home .nzg-hero .nzg-hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -110px;
  left: -90px;
  width: clamp(240px, 27vw, 380px);
  aspect-ratio: 1;
  border: 28px solid rgb(91 42 134 / 1.8%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(91 42 134 / 3.5%);
  pointer-events: none;
  animation: nzg-ambient-drift 44s ease-in-out infinite;
}
@keyframes nzg-ambient-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(22px, 14px); }
}
@media (max-width: 600px), (prefers-reduced-motion: reduce) {
  .home .nzg-hero .nzg-hero-copy::before { display: none; animation: none; }
}

/* Remove the global block gap only at the homepage hero/newsletter boundary. */
.home .wp-block-post-content > .nzg-hero + .nzg-newsletter { margin-block-start: 0; }

/* Native 404 button: retain the existing proportions and accessible states. */
.nzg-not-found .nzg-404-home .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 52px;
  max-width: 100%;
  transition: filter .2s;
}
.nzg-not-found .nzg-404-home .wp-block-button__link:hover { filter: brightness(.94); transform: none; }
.nzg-not-found .nzg-404-home .wp-block-button__link:focus-visible { outline: 3px solid #5B2A86; outline-offset: 5px; }
