/**
 * Nova — base stylesheet.
 *
 * Every colour, size and radius reads from a custom property that the options
 * panel writes. The values below are the fallbacks, so the theme is coherent
 * even before anything is configured.
 */

:root {
	--nova-accent: #2b6cff;
	--nova-accent-2: #12b886;
	--nova-body-bg: #fff;
	--nova-surface: #f6f7f9;
	--nova-text: #3c4453;
	--nova-heading: #141922;
	--nova-border: #e3e6eb;
	--nova-container: 1200px;
	--nova-gutter: 24px;
	--nova-radius: 3px;
	--nova-radius-btn: 3px;
	--nova-radius-lg: 4px;
	--nova-shadow: 0 1px 2px rgba(15, 23, 42, .07);
	--nova-shadow-sm: none;
	--nova-header-h: 86px;
	--nova-header-h-scrolled: 62px;
	--nova-header-bg: #fff;
	--nova-header-text: #141922;
	--nova-header-border: #e3e6eb;
	--nova-title-h: 260px;
	--nova-title-bg: #f6f7f9;
	--nova-title-color: #141922;
	--nova-footer-bg: #141922;
	--nova-footer-text: #aeb6c2;
	--nova-body-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--nova-body-size: 16px;
	--nova-body-line: 1.7;
	--nova-body-weight: 400;
}

/* ------------------------------------------------------------------- Reset */

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

body {
	margin: 0;
	background: var(--nova-body-bg);
	color: var(--nova-text);
	font-family: var(--nova-body-family);
	font-size: var(--nova-body-size);
	line-height: var(--nova-body-line);
	font-weight: var(--nova-body-weight);
	letter-spacing: var(--nova-body-spacing, normal);
	-webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--nova-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: color-mix(in srgb, var(--nova-accent) 78%, #000); }

:focus-visible { outline: 2px solid var(--nova-accent); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	color: var(--nova-heading);
	margin: 0 0 0.55em;
}

h1 { font-family: var(--nova-h1-family, inherit); font-size: var(--nova-h1-size, 2.75rem); font-weight: var(--nova-h1-weight, 700); line-height: var(--nova-h1-line, 1.15); letter-spacing: var(--nova-h1-spacing, normal); text-transform: var(--nova-h1-transform, none); }
h2 { font-family: var(--nova-h2-family, inherit); font-size: var(--nova-h2-size, 2.125rem); font-weight: var(--nova-h2-weight, 700); line-height: var(--nova-h2-line, 1.2);  letter-spacing: var(--nova-h2-spacing, normal); text-transform: var(--nova-h2-transform, none); }
h3 { font-family: var(--nova-h3-family, inherit); font-size: var(--nova-h3-size, 1.625rem); font-weight: var(--nova-h3-weight, 600); line-height: var(--nova-h3-line, 1.3);  letter-spacing: var(--nova-h3-spacing, normal); text-transform: var(--nova-h3-transform, none); }
h4 { font-family: var(--nova-h4-family, inherit); font-size: var(--nova-h4-size, 1.375rem); font-weight: var(--nova-h4-weight, 600); line-height: var(--nova-h4-line, 1.35); letter-spacing: var(--nova-h4-spacing, normal); text-transform: var(--nova-h4-transform, none); }
h5 { font-family: var(--nova-h5-family, inherit); font-size: var(--nova-h5-size, 1.125rem); font-weight: var(--nova-h5-weight, 600); line-height: var(--nova-h5-line, 1.4);  letter-spacing: var(--nova-h5-spacing, normal); text-transform: var(--nova-h5-transform, none); }
h6 { font-family: var(--nova-h6-family, inherit); font-size: var(--nova-h6-size, 0.9375rem); font-weight: var(--nova-h6-weight, 600); line-height: var(--nova-h6-line, 1.4); letter-spacing: var(--nova-h6-spacing, .08em); text-transform: var(--nova-h6-transform, uppercase); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

blockquote {
	margin: 1.8em 0;
	padding: 0.2em 0 0.2em 1.4em;
	border-left: 3px solid var(--nova-accent);
	font-size: 1.125rem;
}

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
pre { padding: 1.2em; overflow: auto; background: var(--nova-surface); border-radius: var(--nova-radius); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.7em 0.9em; border-bottom: 1px solid var(--nova-border); text-align: left; }

/* --------------------------------------------------------- Accessibility */

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 100000;
	width: auto; height: auto;
	clip: auto; clip-path: none;
	padding: 12px 18px;
	background: var(--nova-body-bg);
	border-radius: var(--nova-radius);
	box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* --------------------------------------------------------------- Layout */

.nova-container {
	width: 100%;
	max-width: var(--nova-container);
	margin-inline: auto;
	padding-inline: var(--nova-gutter);
}

.nova-main { display: block; }
.nova-container.nova-layout { display: flex; gap: 48px; align-items: flex-start; padding-block: 64px; }
.nova-layout__content { flex: 1 1 auto; min-width: 0; }
.nova-layout__sidebar { flex: 0 0 300px; }
.nova-layout__sidebar.is-sticky { position: sticky; top: calc(var(--nova-header-h-scrolled) + 24px); }

body.nova-sidebar-left .nova-container.nova-layout { flex-direction: row-reverse; }
body.nova-sidebar-none .nova-layout__sidebar { display: none; }

/* Builder pages bring their own widths, including full-bleed rows. */
.nova-builder-page { padding-block: 0; }

@media (max-width: 1000px) {
	.nova-container.nova-layout { flex-direction: column; gap: 40px; padding-block: 44px; }
	body.nova-sidebar-left .nova-container.nova-layout { flex-direction: column; }
	.nova-layout__sidebar { flex: 1 1 auto; width: 100%; position: static !important; }
}

/* --------------------------------------------------------------- Header */

.nova-header {
	position: relative;
	z-index: 100;
	background: var(--nova-header-bg);
	border-bottom: 1px solid var(--nova-header-border);
	transition: height .28s ease, background-color .28s ease, box-shadow .28s ease;
}

.nova-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--nova-header-h);
	max-width: var(--nova-container);
	margin-inline: auto;
	padding-inline: var(--nova-gutter);
	transition: height .28s ease;
}

.nova-header__inner.is-full { max-width: none; }

.nova-header__brand { flex: 0 0 auto; }

.nova-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--nova-header-text); }
.nova-logo--text { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; }
.nova-logo__img { height: var(--nova-logo-h, 40px); width: auto; transition: height .28s ease; }
.nova-logo__img--light { display: none; }

/* Sticky and shrink. */

body.nova-sticky-header .nova-header { position: sticky; top: 0; }
.nova-header.is-scrolled { box-shadow: 0 2px 16px rgba(15, 23, 42, .09); }
.nova-header.is-shrunk .nova-header__inner { height: var(--nova-header-h-scrolled); }
.nova-header.is-shrunk .nova-logo__img { height: calc(var(--nova-logo-h, 40px) * .82); }

/* Transparent variant: the header floats over whatever is beneath it. */

body.nova-header-transparent .nova-header {
	position: absolute;
	inset-inline: 0;
	top: 0;
	background: transparent;
	border-bottom-color: transparent;
}

body.nova-header-transparent.nova-sticky-header .nova-header { position: fixed; }

body.nova-header-transparent .nova-title-area { padding-top: var(--nova-header-h); }

body.nova-header-transparent.nova-no-title-area .nova-main { padding-top: var(--nova-header-h); }

body.nova-header-scheme-light .nova-header:not(.is-scrolled) { --nova-header-text: #fff; }
body.nova-header-scheme-light .nova-header:not(.is-scrolled) .nova-logo__img--dark { display: none; }
body.nova-header-scheme-light .nova-header:not(.is-scrolled) .nova-logo__img--light { display: block; }

/* Once scrolled the transparent header solidifies, or it becomes unreadable. */
body.nova-header-transparent .nova-header.is-scrolled {
	background: var(--nova-header-bg);
	border-bottom-color: var(--nova-header-border);
}

/* ----------------------------------------------------------- Navigation */

.nova-nav { flex: 1 1 auto; }
.nova-nav ul { list-style: none; margin: 0; padding: 0; }

.nova-nav--primary > .nova-menu,
.nova-nav--primary > div > ul,
.nova-nav--primary > ul {
	display: flex;
	align-items: center;
	gap: 4px;
	justify-content: flex-end;
}

.nova-nav--left > ul, .nova-nav--left > .nova-menu { justify-content: flex-start; }

.nova-nav li { position: relative; }

.nova-nav a {
	display: block;
	padding: 10px 14px;
	color: var(--nova-header-text);
	text-decoration: none;
	font-family: var(--nova-nav-family, inherit);
	font-size: var(--nova-nav-size, 0.9375rem);
	font-weight: var(--nova-nav-weight, 600);
	letter-spacing: var(--nova-nav-spacing, normal);
	text-transform: var(--nova-nav-transform, none);
	transition: color .18s ease;
}

.nova-nav a:hover,
.nova-nav .current-menu-item > a,
.nova-nav .current_page_item > a,
.nova-nav .current-menu-ancestor > a { color: var(--nova-accent); }

/* Dropdowns. */

.nova-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px 0;
	background: var(--nova-body-bg);
	border: 1px solid var(--nova-border);
	border-radius: var(--nova-radius);
	box-shadow: 0 12px 34px rgba(15, 23, 42, .13);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 20;
}

.nova-nav .sub-menu .sub-menu { top: 0; left: 100%; }

.nova-nav li:hover > .sub-menu,
.nova-nav li:focus-within > .sub-menu,
.nova-nav li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nova-nav .sub-menu a { color: var(--nova-text); padding: 9px 18px; font-weight: 500; }

body.nova-dropdown-minimal .nova-nav .sub-menu { box-shadow: none; border-radius: 0; }

body.nova-dropdown-wide .nova-header { position: relative; }
body.nova-dropdown-wide .nova-nav > ul > li > .sub-menu,
body.nova-dropdown-wide .nova-nav > .nova-menu > li > .sub-menu {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 40px;
	padding: 28px max(var(--nova-gutter), calc((100vw - var(--nova-container)) / 2));
	border-radius: 0;
	border-inline: 0;
}

.nova-submenu-toggle {
	display: none;
	appearance: none;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
	color: inherit;
}

.nova-submenu-toggle__icon {
	display: block;
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
}

/* Split layout: the menu is one list, halved by flex order around the logo. */

.nova-header--split .nova-header__inner { justify-content: center; }
.nova-header--split .nova-nav--split > ul,
.nova-header--split .nova-nav--split > .nova-menu { justify-content: center; width: 100%; }
.nova-header--split .nova-header__brand { order: 0; margin-inline: 32px; }
.nova-header--split .nova-nav--split { order: -1; }
.nova-header--split .nova-header__actions { order: 1; }

/* Centred and bottom-bar layouts stack two rows. */

.nova-header--centered .nova-header__inner,
.nova-header--bottom-bar .nova-header__inner {
	flex-direction: column;
	height: auto;
	gap: 0;
	padding-block: 14px;
}

.nova-header--centered .nova-header__top,
.nova-header--bottom-bar .nova-header__top {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	position: relative;
	min-height: calc(var(--nova-header-h) * .62);
}

.nova-header--centered .nova-header__top .nova-header__actions,
.nova-header--bottom-bar .nova-header__top .nova-header__actions {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.nova-header--centered .nova-header__bottom,
.nova-header--bottom-bar .nova-header__bar {
	width: 100%;
	display: flex;
	justify-content: center;
}

.nova-header--bottom-bar .nova-header__bar {
	border-top: 1px solid var(--nova-header-border);
	margin-top: 12px;
	padding-top: 4px;
}

.nova-header--centered .nova-nav--primary > ul,
.nova-header--centered .nova-nav--primary > .nova-menu,
.nova-header--bottom-bar .nova-nav--primary > ul,
.nova-header--bottom-bar .nova-nav--primary > .nova-menu { justify-content: center; }

/* ------------------------------------------------------ Header actions */

.nova-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; }

.nova-icon-btn, .nova-burger {
	appearance: none;
	background: none;
	border: 0;
	padding: 9px;
	cursor: pointer;
	color: var(--nova-header-text);
	display: inline-flex;
	align-items: center;
	border-radius: var(--nova-radius);
}

.nova-icon-btn:hover, .nova-burger:hover { color: var(--nova-accent); }

.nova-burger { display: none; }

.nova-burger__bars, .nova-burger__bars::before, .nova-burger__bars::after {
	display: block;
	width: 22px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform .25s ease, opacity .25s ease;
}

.nova-burger__bars { position: relative; }
.nova-burger__bars::before, .nova-burger__bars::after { content: ""; position: absolute; left: 0; }
.nova-burger__bars::before { top: -7px; }
.nova-burger__bars::after { top: 7px; }

.nova-burger[aria-expanded="true"] .nova-burger__bars { background: transparent; }
.nova-burger[aria-expanded="true"] .nova-burger__bars::before { transform: translateY(7px) rotate(45deg); }
.nova-burger[aria-expanded="true"] .nova-burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nova-header-search {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: var(--nova-body-bg);
	border-bottom: 1px solid var(--nova-border);
	padding: 18px var(--nova-gutter);
	box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
}

.nova-header-search .nova-search-form { max-width: var(--nova-container); margin-inline: auto; }

/* ----------------------------------------------- Mobile menu / off-canvas */

.nova-mobile-panel, .nova-offcanvas { position: fixed; inset: 0; z-index: 200; }
.nova-mobile-panel[hidden], .nova-offcanvas[hidden] { display: none; }

.nova-mobile-panel__backdrop, .nova-offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 14, 20, .55);
	opacity: 0;
	transition: opacity .28s ease;
}

.nova-mobile-panel.is-open .nova-mobile-panel__backdrop,
.nova-offcanvas.is-open .nova-offcanvas__backdrop { opacity: 1; }

.nova-mobile-panel__inner, .nova-offcanvas__inner {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: min(360px, 86vw);
	padding: 72px 28px 32px;
	background: var(--nova-body-bg);
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}

.nova-mobile-panel.is-open .nova-mobile-panel__inner,
.nova-offcanvas.is-open .nova-offcanvas__inner { transform: none; }

body.nova-mobile-fullscreen .nova-mobile-panel__inner {
	width: 100%;
	transform: none;
	opacity: 0;
	transition: opacity .28s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	padding-inline: 10vw;
}

body.nova-mobile-fullscreen .nova-mobile-panel.is-open .nova-mobile-panel__inner { opacity: 1; }
body.nova-mobile-fullscreen .nova-nav--mobile a { font-size: 1.5rem; }

body.nova-mobile-dropdown .nova-mobile-panel__inner {
	top: var(--nova-header-h);
	right: 0; left: 0;
	width: 100%;
	height: auto;
	max-height: calc(100vh - var(--nova-header-h));
	padding: 20px var(--nova-gutter);
	transform: translateY(-8px);
	opacity: 0;
	transition: transform .25s ease, opacity .25s ease;
	border-bottom: 1px solid var(--nova-border);
}

body.nova-mobile-dropdown .nova-mobile-panel.is-open .nova-mobile-panel__inner { transform: none; opacity: 1; }
body.nova-mobile-dropdown .nova-mobile-panel__backdrop { background: transparent; }

.nova-mobile-panel__close, .nova-offcanvas__close {
	position: absolute;
	top: 18px; right: 20px;
	appearance: none;
	background: none;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	color: var(--nova-heading);
}

.nova-nav--mobile ul { display: block; }
.nova-nav--mobile a { padding: 12px 0; color: var(--nova-heading); font-size: 1.0625rem; border-bottom: 1px solid var(--nova-border); }
.nova-nav--mobile .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	transform: none;
	border: 0;
	box-shadow: none;
	padding: 0 0 0 16px;
	display: none;
}
.nova-nav--mobile li.is-open > .sub-menu { display: block; }
.nova-nav--mobile .nova-submenu-toggle { display: block; position: absolute; top: 2px; right: 0; }
.nova-nav--mobile li.is-open > .nova-submenu-toggle .nova-submenu-toggle__icon { transform: rotate(-135deg) translate(-2px, -2px); }
.nova-mobile-panel__search { margin-top: 22px; }

/* ---------------------------------------------------------- Title area */

.nova-title-area {
	display: flex;
	align-items: center;
	min-height: var(--nova-title-h);
	padding-block: 40px;
	background-color: var(--nova-title-bg);
	background-size: cover;
	background-position: center;
	color: var(--nova-title-color);
	position: relative;
}

.nova-title-area.has-image { color: #fff; }
.nova-title-area.has-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(12, 16, 24, .5);
}

.nova-title-area__inner {
	position: relative;
	width: 100%;
	max-width: var(--nova-container);
	margin-inline: auto;
	padding-inline: var(--nova-gutter);
}

.nova-title-area.is-center .nova-title-area__inner { text-align: center; }
.nova-title-area__title { margin: 0; color: inherit; }
.nova-title-area__subtitle { margin: 0.6em 0 0; opacity: .8; font-size: 1.0625rem; }

.nova-breadcrumbs { margin-top: 1rem; font-size: 0.875rem; opacity: .78; display: flex; flex-wrap: wrap; gap: 6px; }
.nova-breadcrumbs a { color: inherit; }
.nova-title-area.is-center .nova-breadcrumbs { justify-content: center; }

/* ------------------------------------------------------------- Buttons */

.nova-btn, .wp-block-button__link, input[type="submit"], button.nova-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .9em 1.9em;
	border: 2px solid var(--nova-accent);
	border-radius: var(--nova-radius-btn);
	background: var(--nova-accent);
	color: #fff;
	font-family: var(--nova-button-family, inherit);
	font-weight: var(--nova-button-weight, 600);
	font-size: var(--nova-button-size, 0.9375rem);
	letter-spacing: var(--nova-button-spacing, normal);
	text-transform: var(--nova-button-transform, none);
	text-decoration: none;
	line-height: 1;
	cursor: pointer;
	transition: filter .18s ease, transform .18s ease;
}

.nova-btn:hover, input[type="submit"]:hover { filter: brightness(.92); color: #fff; transform: translateY(-1px); }

/* --------------------------------------------------------------- Forms */

input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="search"], input[type="password"], textarea, select {
	width: 100%;
	padding: .72em .9em;
	border: 1px solid var(--nova-border);
	border-radius: var(--nova-radius);
	background: var(--nova-body-bg);
	color: inherit;
	font: inherit;
	transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--nova-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--nova-accent) 22%, transparent);
}

.nova-search-form { display: flex; gap: 8px; }
.nova-search-form__submit {
	flex: 0 0 auto;
	padding: 0 16px;
	border: 0;
	border-radius: var(--nova-radius);
	background: var(--nova-accent);
	color: #fff;
	cursor: pointer;
}

/* --------------------------------------------------------- Post cards */

.nova-posts { display: grid; grid-template-columns: repeat(var(--nova-cols, 3), minmax(0, 1fr)); gap: 36px; }
.nova-posts--list { grid-template-columns: 1fr; gap: 44px; }
.nova-posts--list .nova-card { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.nova-posts--masonry { display: block; column-count: var(--nova-cols, 3); column-gap: 36px; }
.nova-posts--masonry .nova-card { break-inside: avoid; margin-bottom: 36px; }

.nova-card { min-width: 0; }
.nova-card__thumb { display: block; overflow: hidden; border-radius: var(--nova-radius-lg); margin-bottom: 1.1rem; }
.nova-card__thumb img { width: 100%; transition: transform .45s ease; }
.nova-card:hover .nova-card__thumb img { transform: scale(1.05); }
.nova-card__meta, .nova-card__date { font-size: .8125rem; opacity: .65; }
.nova-card__title { margin: .35em 0 .45em; font-size: 1.3125rem; }
.nova-card__title a { color: var(--nova-heading); text-decoration: none; }
.nova-card__title a:hover { color: var(--nova-accent); }
.nova-card__excerpt { margin: 0 0 .8em; }
.nova-card__more { font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
	.nova-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nova-posts--masonry { column-count: 2; }
	.nova-posts--list .nova-card { grid-template-columns: 1fr; }
}

@media (max-width: 690px) {
	.nova-posts { grid-template-columns: 1fr; }
	.nova-posts--masonry { column-count: 1; }
}

/* ---------------------------------------------------------- Single post */

.nova-entry__title { margin-bottom: .4em; }
.nova-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; opacity: .7; margin-bottom: 1.6rem; }
.nova-entry__media { margin: 0 0 2rem; border-radius: var(--nova-radius-lg); overflow: hidden; }
.nova-entry__content > :first-child { margin-top: 0; }
.nova-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 8px; }
.nova-tags a { font-size: .8125rem; padding: 5px 12px; border-radius: 999px; background: var(--nova-surface); text-decoration: none; }

.nova-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--nova-border); }
.nova-share__label { font-weight: 600; }
.nova-share__link { font-size: .875rem; text-decoration: none; }

.nova-related { margin-top: 3.5rem; }
.nova-related__title { font-size: 1.375rem; }
.nova-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }

@media (max-width: 690px) { .nova-related__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Widgets */

.widget { margin-bottom: 2.4rem; }
.widget-title { font-size: 1rem; margin-bottom: .9em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: .45em 0; border-bottom: 1px solid var(--nova-border); }
.widget a { text-decoration: none; }

/* -------------------------------------------------------------- Footer */

.nova-footer { background: var(--nova-footer-bg); color: var(--nova-footer-text); }
.nova-footer a { color: inherit; }
.nova-footer a:hover { color: #fff; }
.nova-footer .widget-title { color: #fff; }
.nova-footer .widget li { border-bottom-color: rgba(255,255,255,.09); }

.nova-footer__widgets { padding-block: 58px; }
.nova-footer__grid { display: grid; grid-template-columns: repeat(var(--nova-footer-cols, 3), minmax(0, 1fr)); gap: 40px; }

.nova-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.nova-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 22px; font-size: .875rem; }
.nova-footer__menu { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nova-footer__menu a { text-decoration: none; }

@media (max-width: 800px) {
	.nova-footer__grid { grid-template-columns: 1fr; }
	.nova-footer__bar-inner { justify-content: center; text-align: center; }
}

/* Reveal effect: the page scrolls away to expose a pinned footer. */

body.nova-footer-reveal .nova-page { position: relative; z-index: 2; background: var(--nova-body-bg); }
body.nova-footer-reveal .nova-footer { position: fixed; bottom: 0; inset-inline: 0; z-index: 1; }

@media (max-width: 1000px) {
	body.nova-footer-reveal .nova-footer { position: static; }
}

/* ------------------------------------------------------------- Comments */

.nova-comments { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--nova-border); }
.nova-comments__list, .nova-comments__list ol { list-style: none; margin: 0; padding: 0; }
.nova-comments__list .children { padding-left: 32px; }
.nova-comments__list li { padding: 1.2rem 0; border-bottom: 1px solid var(--nova-border); }

/* ------------------------------------------------------------------ 404 */

.nova-404 { padding-block: 90px; text-align: center; max-width: 620px; }
.nova-404__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin: 0; color: var(--nova-accent); opacity: .18; }
.nova-404__title { margin-top: -.3em; }
.nova-404 .nova-search-form { margin: 1.6rem 0; }

.nova-none { padding-block: 30px; }

/* ------------------------------------------------------------ To top */

.nova-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 150;
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--nova-radius-btn);
	background: var(--nova-accent);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(15, 23, 42, .22);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease;
}

.nova-to-top.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------- Page load fade */

body.nova-page-fade .nova-page { opacity: 0; transition: opacity .45s ease; }
body.nova-page-fade.is-loaded .nova-page { opacity: 1; }

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

.pagination, .comments-pagination { margin-top: 2.6rem; }
.pagination .nav-links, .comments-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers, .comments-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid var(--nova-border);
	border-radius: var(--nova-radius);
	text-decoration: none;
	color: inherit;
}
.pagination .page-numbers.current { background: var(--nova-accent); border-color: var(--nova-accent); color: #fff; }

/* ---------------------------------------------------- Reduced motion */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.nova-card:hover .nova-card__thumb img { transform: none; }
}

/* ---------------------------------------------------------- Project nav */

.nova-project-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nova-border);
	font-weight: 600;
}

.nova-project-nav a { text-decoration: none; }
