/*!
Theme Name: Next Stage
Theme URI: https://www.brockledesign.co.uk/
Author: Brockle Design
Author URI: https://www.brockledesign.co.uk/
Description: Next Stage Theme by Brockle Design
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: next-stage
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Next Stage is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 768px) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
## Added by Brockle Design
--------------------------------------------------------------*/
/* Brand colours and typography - set these per project, then use the variables throughout */
:root {
	--color-primary: #73c92d;
	--color-primary-dark: #62b022;
	/* Darker green for small text on light backgrounds, where the brand green is too faint to read */
	--color-primary-text: #458516;
	--color-secondary: #73c92d;
	--color-text: #181f20;
	--color-heading: #0c1418;
	--color-light: #f9f9f9;
	--color-tint: #f4f8f0;
	--color-dark: #0c1418;
	--color-darkest: #091211;
	--color-footer: #0d1613;
	--color-white: #ffffff;

	--font-body: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-heading: var(--font-body);

	--header-background: var(--color-darkest);
	--transition: 0.3s ease;
	--radius-button: 10px;
	--radius-card: 20px;
	--shadow-card: 0 4px 14px rgba(12, 20, 24, 0.12);
	--shadow-card-hover: 0 14px 30px rgba(12, 20, 24, 0.18);
}
body,
button,
input,
select,
optgroup,
textarea {
	font-family: var(--font-body);
	color: var(--color-text);
}
html {
	/* Keeps in-page links (e.g. #our-process) clear of the sticky header */
	scroll-padding-top: 90px;
}
body {
	/* Stops Page Builder full-width rows causing a horizontal scrollbar. "clip" (unlike "hidden") keeps the sticky header working. */
	overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--color-heading);
	line-height: 1.2;
	font-weight: 500;
}
a,
a:visited {
	color: var(--color-primary-text);
	transition: color var(--transition);
}
a:hover,
a:focus,
a:active {
	color: var(--color-heading);
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}
.container {
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}
.align-vertical {
	display: flex;
	align-items: center;
}
/* Text Appearance */
span.next-stage-textappearance-bold {
	font-weight: 700;
}
span.next-stage-textappearance-italic {
	font-style: italic;
}
span.next-stage-textappearance-color {
	color: var(--color-primary);
}
/* Placeholder for content still to be added (e.g. the Trustindex shortcode) */
.next-stage-placeholder {
	padding: 40px 20px;
	text-align: center;
	background: var(--color-white);
	border: 2px dashed var(--color-primary);
	border-radius: var(--radius-card);
}
/* Button Link */
a.next-stage-button-link,
a.next-stage-button-link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 49px;
	white-space: nowrap;
	padding: 12px 42px;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 500;
	color: var(--color-heading);
	background: var(--color-primary);
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-button);
	transition: color var(--transition), background var(--transition), border var(--transition), transform var(--transition), box-shadow var(--transition);
}
a.next-stage-button-link i {
	transition: transform var(--transition);
}
a.next-stage-button-link:hover,
a.next-stage-button-link:focus {
	color: var(--color-heading);
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(115, 201, 45, 0.3);
}
a.next-stage-button-link:hover i,
a.next-stage-button-link:focus i {
	transform: translateX(5px);
}
/* Button Link - wire */
a.next-stage-button-link.next-stage-button-link-wire,
a.next-stage-button-link.next-stage-button-link-wire:visited {
	color: var(--color-heading);
	background: transparent;
	border-color: var(--color-primary);
}
a.next-stage-button-link.next-stage-button-link-wire:hover,
a.next-stage-button-link.next-stage-button-link-wire:focus {
	color: var(--color-heading);
	background: var(--color-primary);
	border-color: var(--color-primary);
}
/* Button Link - white (for dark backgrounds): the solid button stays green, the wire button has white text */
a.next-stage-button-link.next-stage-button-link-wire.next-stage-button-link-white,
a.next-stage-button-link.next-stage-button-link-wire.next-stage-button-link-white:visited {
	color: var(--color-white);
}
a.next-stage-button-link.next-stage-button-link-wire.next-stage-button-link-white:hover,
a.next-stage-button-link.next-stage-button-link-wire.next-stage-button-link-white:focus {
	color: var(--color-heading);
}
/* PAGE BANNER (template-parts/page-banner.php) */
.next-stage-page-banner {
	padding: 60px 0;
	color: var(--color-white);
	background: radial-gradient(ellipse at 85% 100%, #13261a 0%, transparent 65%), var(--color-darkest);
}
.next-stage-page-banner .next-stage-page-banner-toptext {
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-primary);
}
.next-stage-page-banner .next-stage-page-banner-title {
	margin: 0;
	max-width: 1000px;
	font-size: 46px;
	line-height: 1.05;
	font-weight: 700;
	color: var(--color-white);
}
.next-stage-page-banner .next-stage-page-banner-subtitle {
	max-width: 900px;
	margin-top: 18px;
	font-size: 16px;
	line-height: 1.42;
}
.next-stage-page-banner .next-stage-page-banner-subtitle p {
	margin: 0;
}
/* HEADER */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1030;
	background: var(--header-background);
}
/* Keep the sticky header below the WordPress admin bar when logged in (admin bar breakpoints) */
.admin-bar .site-header {
	top: 32px;
}
@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}
@media screen and (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}
.main-navigation .align-vertical {
	gap: 30px;
	padding: 14px 0;
	transition: padding var(--transition);
}
/* A fixed width, so the menu stays put when the logo shrinks on scroll */
.main-navigation .site-branding {
	flex: 0 0 254px;
}
.main-navigation .site-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
}
.main-navigation .site-title a {
	color: var(--color-white);
}
.main-navigation a.custom-logo-link {
	display: flex;
}
.main-navigation a.custom-logo-link img {
	width: 254px;
	max-width: 254px;
	height: auto;
	transition: max-width var(--transition);
}
.main-navigation .next-stage-main-menu {
	flex: 1;
	margin-left: clamp(0px, 6vw, 85px);
}
.main-navigation .next-stage-main-menu > ul {
	align-items: center;
}
.main-navigation .next-stage-main-menu > ul > li > a {
	white-space: nowrap;
}
.main-navigation .next-stage-main-menu ul li {
	margin: 0 24px;
}
.main-navigation .next-stage-main-menu ul li a {
	padding: 8px 0;
	font-size: 15px;
	color: var(--color-white);
	background: linear-gradient(var(--color-primary), var(--color-primary)) left bottom / 0 2px no-repeat;
	transition: color var(--transition), background-size var(--transition);
}
.main-navigation .next-stage-main-menu ul li a:hover,
.main-navigation .next-stage-main-menu ul li.focus > a,
.main-navigation .next-stage-main-menu ul li.current-menu-item > a,
.main-navigation .next-stage-main-menu ul li.current-menu-ancestor > a {
	background-size: 100% 2px;
}
/* Support Centre button: add the CSS class next-stage-menu-button to the menu item */
.main-navigation .next-stage-main-menu ul li.next-stage-menu-button {
	margin: 0 0 0 auto;
}
.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	font-weight: 500;
	white-space: nowrap;
	background: transparent;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-button);
	transition: color var(--transition), background var(--transition);
}
.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a:hover,
.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a:focus {
	color: var(--color-heading);
	background: var(--color-primary);
}
/* Keyboard users: open the dropdown while focus is anywhere inside it */
.main-navigation .next-stage-main-menu ul li:focus-within > ul {
	left: auto;
}
/* Submenu indicator + dropdown */
.main-navigation .next-stage-main-menu ul li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.main-navigation .next-stage-main-menu ul ul {
	flex-direction: column;
	align-items: stretch;
	background: var(--header-background);
	padding: 10px 0;
	border-radius: 0 0 var(--radius-button) var(--radius-button);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.main-navigation .next-stage-main-menu ul ul li {
	margin: 0;
}
.main-navigation .next-stage-main-menu ul ul li a {
	width: 280px;
	padding: 9px 22px;
	background: none;
	transition: color var(--transition), padding var(--transition);
}
.main-navigation .next-stage-main-menu ul ul li a:hover,
.main-navigation .next-stage-main-menu ul ul li.focus > a,
.main-navigation .next-stage-main-menu ul ul li.current-menu-item > a {
	padding-left: 28px;
	color: var(--color-primary);
	background: none;
}
.main-navigation .next-stage-mobile-menu {
	display: none;
}
/* HEADER - SCROLL */
.main-navigation.navbar-shrink .align-vertical {
	padding: 7px 0;
}
.main-navigation.navbar-shrink a.custom-logo-link img {
	max-width: 200px;
}
/* PAGE */
.site-main {
	padding: 60px 0;
}
.entry-header {
	text-align: center;
	margin-bottom: 40px;
}
h1.entry-title {
	margin: 0;
	font-size: 48px;
	line-height: 1.1;
}
.archive-description {
	margin-top: 15px;
}
.page article.page {
	margin-bottom: 0;
}
/* No Header template + front page: Page Builder content runs straight up to the header */
.page-template-page-noheader .site-main,
.home.page .site-main {
	padding: 0;
}
.page-template-page-noheader .entry-content,
.home.page .entry-content {
	margin-top: 0;
}
/* BLOG */
/* Blog - Listing */
.next-stage-post-archive-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 60px;
	margin-bottom: 60px;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-list-wrapper {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}
.no-sidebar .next-stage-post-archive-wrapper .next-stage-post-archive-list-wrapper {
	grid-template-columns: repeat(3, 1fr);
}
.next-stage-post-archive-wrapper .next-stage-post-archive-list-wrapper > .no-results {
	grid-column: 1 / -1;
}
/* Blog - Card (also used by the Posts Loop widget) */
article.next-stage-post-archive-item-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	background: var(--color-light);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition), box-shadow var(--transition);
}
article.next-stage-post-archive-item-wrapper:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-card-hover);
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-image {
	aspect-ratio: 425 / 145;
	overflow: hidden;
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
article.next-stage-post-archive-item-wrapper:hover .next-stage-post-archive-item-image img {
	transform: scale(1.05);
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-content-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 16px 23px 22px;
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-category {
	margin-bottom: 5px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-primary-text);
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-title a {
	text-decoration: none;
	color: var(--color-heading);
}
/* The whole card is clickable, through the title link */
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-excerpt {
	padding-right: 30px;
	font-size: 14px;
	line-height: 1.43;
}
article.next-stage-post-archive-item-wrapper .next-stage-post-archive-item-arrow {
	margin-top: auto;
	margin-left: auto;
	padding-top: 6px;
	font-size: 20px;
	color: var(--color-primary-text);
	transition: transform var(--transition);
}
article.next-stage-post-archive-item-wrapper:hover .next-stage-post-archive-item-arrow {
	transform: translateX(6px);
}
/* Blog - List - Sidebar */
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper {
	flex: 0 0 30%;
	background: var(--color-light);
	padding: 30px;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper .widget {
	margin-bottom: 40px;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper .widget:last-child {
	margin-bottom: 0;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper h2.widget-title {
	margin-top: 0;
	font-size: 24px;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper .widget ul li a {
	display: block;
	margin: 10px 0;
	text-decoration: none;
	color: var(--color-text);
}
.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper .widget ul li a:hover {
	color: var(--color-primary);
}
/* Blog - Single */
.next-stage-post-single-item-wrapper {
	max-width: 860px;
	margin: 0 auto;
}
.next-stage-post-single-item-wrapper .next-stage-post-single-item-image {
	margin-bottom: 40px;
}
.next-stage-post-single-item-wrapper .next-stage-post-single-item-image img {
	display: block;
	width: 100%;
	max-height: 450px;
	object-fit: cover;
	border-radius: var(--radius-card);
}
/* Content written in the editor (blog posts, legal pages, projects), not Page Builder pages */
body:not(.home):not(.page-template-page-noheader) .entry-content h2 {
	margin: 35px 0 12px;
	font-size: 26px;
	font-weight: 700;
}
body:not(.home):not(.page-template-page-noheader) .entry-content h3 {
	margin: 25px 0 10px;
	font-size: 20px;
	font-weight: 700;
}
body:not(.home):not(.page-template-page-noheader) .entry-content p,
body:not(.home):not(.page-template-page-noheader) .entry-content li {
	line-height: 1.6;
}
/* Text pages only. "body" matters: WordPress also puts the page class on the article, which would match every page. */
body.page:not(.page-template-page-noheader):not(.home) .entry-content {
	max-width: 860px;
	margin: 0 auto;
}
nav.post-navigation,
nav.posts-navigation {
	margin: 30px 0;
}
nav.post-navigation .nav-links a,
nav.posts-navigation .nav-links a {
	display: inline-block;
	text-decoration: none;
	color: var(--color-heading);
	background: var(--color-primary);
	border-radius: var(--radius-button);
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 500;
	transition: background var(--transition);
}
nav.post-navigation .nav-links a:hover,
nav.posts-navigation .nav-links a:hover {
	background: var(--color-primary-dark);
}
/* CONTACT FORM */
/* Wrap CF7 fields in <div class="next-stage-contactform-input-wrapper"><label>Name [text* your-name]</label>...</div> */
.wpcf7 .next-stage-contactform-input-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}
.wpcf7 .next-stage-contactform-input-wrapper label {
	flex: 1 1 calc(50% - 20px);
	font-weight: 500;
}
.wpcf7 .next-stage-contactform-input-wrapper label:last-child {
	flex-basis: 100%;
}
.wpcf7 .next-stage-contactform-input-wrapper label input,
.wpcf7 .next-stage-contactform-input-wrapper label textarea,
.wpcf7 .next-stage-contactform-input-wrapper label select {
	margin-top: 6px;
	width: 100%;
	padding: 14px 18px;
	color: var(--color-text);
	background: var(--color-light);
	font-size: 15px;
	border: 2px solid #e6e6e6;
	border-radius: var(--radius-button);
	transition: border-color var(--transition), background var(--transition);
}
.wpcf7 .next-stage-contactform-input-wrapper label input:focus,
.wpcf7 .next-stage-contactform-input-wrapper label textarea:focus,
.wpcf7 .next-stage-contactform-input-wrapper label select:focus {
	outline: none;
	background: var(--color-white);
	border-color: var(--color-primary);
}
.wpcf7 input[type="submit"] {
	min-height: 49px;
	padding: 12px 42px;
	color: var(--color-heading);
	background: var(--color-primary);
	border: 2px solid var(--color-primary);
	border-radius: var(--radius-button);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: background var(--transition), border var(--transition), transform var(--transition);
}
.wpcf7 input[type="submit"]:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	transform: translateY(-2px);
}
/* FOOTER */
/* Footer - Widgets */
.footer-widgets {
	background: var(--color-footer);
	color: var(--color-white);
	padding: 60px 0 60px;
	text-align: center;
}
.footer-widgets .container .widget-content {
	margin-bottom: 25px;
}
.footer-widgets .container .widget-content:last-child {
	margin-bottom: 0;
}
.footer-widgets .container .widget-content img {
	display: block;
	width: 254px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}
.footer-widgets .container .widget-content ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 48px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-widgets .container .widget-content ul li {
	margin: 0;
}
.footer-widgets .container .widget-content a {
	font-size: 15px;
	text-decoration: none;
	color: var(--color-white);
	transition: color var(--transition);
}
.footer-widgets .container .widget-content a:hover {
	color: var(--color-primary);
}
/* Social icons are larger than the footer's text links */
.footer-widgets .container .widget-content .next-stage-social-icons-item a {
	font-size: 25px;
}
.footer-widgets .next-stage-social-icons-wrapper {
	gap: 3px;
}
/* Footer - Site Info */
footer.site-footer {
	background: var(--color-footer);
	color: var(--color-white);
	text-align: center;
	font-size: 12px;
}
footer.site-footer .site-info {
	max-width: 847px;
	margin: 0 auto;
	padding: 18px 0 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.5);
}
footer.site-footer .next-stage-footer-additionalinfo {
	margin-bottom: 10px;
}
footer.site-footer .next-stage-footer-copyright {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 0;
}
footer.site-footer .next-stage-footer-copyright > * + *::before {
	content: "|";
	margin: 0 7px;
	color: var(--color-primary);
}
footer.site-footer .next-stage-footer-legal-menu ul {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
footer.site-footer .next-stage-footer-legal-menu li + li::before {
	content: "|";
	margin: 0 7px;
	color: var(--color-primary);
}
footer.site-footer a,
footer.site-footer a:visited {
	text-decoration: none;
	color: var(--color-white);
}
footer.site-footer a:hover {
	color: var(--color-primary);
}
/* ANIMATION */
/* .fade-on-scroll is only hidden once js/fade-on-scroll.js has run, so content stays visible without JavaScript */
.next-stage-fade-ready .fade-on-scroll {
	opacity: 0;
}
.next-stage-fade-ready .fade-on-scroll.fade-on-scroll-visible {
	opacity: 1;
	animation: next-stage-fade-in 0.8s ease both;
}
/* Cards in a row fade in one after another */
.next-stage-fade-ready .panel-grid-cell:nth-child(2) .fade-on-scroll.fade-on-scroll-visible,
.next-stage-fade-ready .next-stage-posts-loop-wrapper > :nth-child(2).fade-on-scroll-visible,
.next-stage-fade-ready .next-stage-projects-loop-items > :nth-child(2).fade-on-scroll-visible {
	animation-delay: 0.1s;
}
.next-stage-fade-ready .panel-grid-cell:nth-child(3) .fade-on-scroll.fade-on-scroll-visible,
.next-stage-fade-ready .next-stage-posts-loop-wrapper > :nth-child(3).fade-on-scroll-visible,
.next-stage-fade-ready .next-stage-projects-loop-items > :nth-child(3).fade-on-scroll-visible {
	animation-delay: 0.2s;
}
.next-stage-fade-ready .panel-grid-cell:nth-child(4) .fade-on-scroll.fade-on-scroll-visible,
.next-stage-fade-ready .next-stage-projects-loop-items > :nth-child(4).fade-on-scroll-visible {
	animation-delay: 0.3s;
}
.next-stage-fade-ready .panel-grid-cell:nth-child(5) .fade-on-scroll.fade-on-scroll-visible {
	animation-delay: 0.4s;
}
@keyframes next-stage-fade-in {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
/* CALL TO ACTION AREA (blog and portfolio pages) */
.next-stage-cta-area {
	padding: 58px 0 3px;
}
/* PAGE BUILDER ROWS */
/* Add these in Row Settings > Attributes > Row Class */
/* Stacks the columns on tablets, for title + button rows that are too tight at half width */
@media (max-width: 991px) {
	.next-stage-row-stack-tablet {
		flex-wrap: wrap !important;
	}
	.next-stage-row-stack-tablet .panel-grid-cell {
		flex: 0 0 100% !important;
		width: 100% !important;
		margin-right: 0 !important;
		margin-bottom: 20px;
	}
	.next-stage-row-stack-tablet .panel-grid-cell:last-child {
		margin-bottom: 0;
	}
	.next-stage-row-stack-tablet .next-stage-section-title-wrapper-align-right {
		text-align: left !important;
	}
	.next-stage-row-stack-tablet .next-stage-section-title-wrapper-align-right .next-stage-section-title-buttons-wrapper {
		justify-content: flex-start !important;
	}
	.next-stage-row-dark-gradient .widget_media_image img {
		margin: 0 auto;
		transform: none;
	}
}
/* Keeps three cards on one line on tablets, instead of two and one on its own */
@media (min-width: 768px) and (max-width: 991px) {
	.next-stage-row-three-tablet {
		flex-wrap: nowrap !important;
	}
	.next-stage-row-three-tablet .panel-grid-cell {
		flex: 1 1 0 !important;
		width: auto !important;
	}
}
/* Images in Page Builder rows */
.panel-grid-cell .widget_media_image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius-card);
}
.next-stage-row-dark-gradient .panel-grid-cell .widget_media_image img {
	width: 298px;
	border-radius: 0;
}
.next-stage-row-dark-gradient {
	background: radial-gradient(ellipse at 85% 100%, #13261a 0%, transparent 65%), var(--color-darkest);
}
.next-stage-row-dark-gradient .next-stage-section-title-wrapper {
	padding-bottom: 55px;
}
/* The image sits on the bottom edge of the row, running slightly past the container */
.next-stage-row-dark-gradient .widget_media_image img {
	display: block;
	width: 298px;
	max-width: 100%;
	margin-left: auto;
	transform: translateX(13px);
}
/* SIZING */
/* Tighter menu spacing below the full 1350px container */
@media (max-width: 1439px) {
	.main-navigation .next-stage-main-menu {
		margin-left: 25px;
	}
	.main-navigation .next-stage-main-menu ul li {
		margin: 0 15px;
	}
}
/* Compact header so the full menu still fits */
@media (max-width: 1199px) {
	.main-navigation .site-branding {
		flex-basis: 180px;
	}
	.main-navigation a.custom-logo-link img,
	.main-navigation.navbar-shrink a.custom-logo-link img {
		width: 180px;
		max-width: 180px;
	}
	.main-navigation .next-stage-main-menu {
		margin-left: 10px;
	}
	.main-navigation .next-stage-main-menu ul li {
		margin: 0 11px;
	}
	.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a {
		padding: 10px 16px;
	}
}
/* Support Centre shows as an icon only, but the text is kept for screen readers */
@media (min-width: 768px) and (max-width: 991px) {
	.main-navigation .align-vertical {
		gap: 10px;
	}
	.main-navigation .site-branding {
		flex-basis: 150px;
	}
	.main-navigation a.custom-logo-link img,
	.main-navigation.navbar-shrink a.custom-logo-link img {
		width: 150px;
		max-width: 150px;
	}
	.main-navigation .next-stage-main-menu ul li {
		margin: 0 8px;
	}
	.main-navigation .next-stage-main-menu ul li a {
		font-size: 14px;
	}
	.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a span,
	.main-navigation .next-stage-main-menu ul li.next-stage-menu-button > a .fa-arrow-right {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}
@media (max-width: 767px) {
	.container {
		width: 100%;
	}
	/* HEADER */
	button.menu-toggle {
		display: block;
		margin: 0 0 0 auto;
		padding: 0;
		font-size: 32px;
		line-height: 32px;
		color: var(--color-white);
		background: transparent;
		border: 0;
		cursor: pointer;
	}
	.main-navigation .align-vertical {
		flex-wrap: wrap;
		gap: 15px;
	}
	.main-navigation .next-stage-main-menu {
		display: none;
	}
	.main-navigation .site-branding {
		flex-basis: auto;
	}
	.main-navigation a.custom-logo-link img,
	.main-navigation.navbar-shrink a.custom-logo-link img {
		width: 180px;
		max-width: 180px;
	}
	.main-navigation .next-stage-mobile-menu {
		width: 100%;
	}
	/* HEADER - TOGGLED */
	.main-navigation.toggled .next-stage-mobile-menu {
		display: block;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	.main-navigation.toggled .next-stage-mobile-menu ul {
		padding: 10px 0;
	}
	.main-navigation .next-stage-mobile-menu ul li a {
		padding: 10px 0;
		font-size: 18px;
		color: var(--color-white);
	}
	.main-navigation .next-stage-mobile-menu ul li.current-menu-item > a {
		color: var(--color-primary);
	}
	.main-navigation .next-stage-mobile-menu li.next-stage-menu-button a {
		display: inline-flex;
		align-items: center;
		gap: 10px;
	}
	.main-navigation .next-stage-mobile-menu ul ul {
		position: static;
		left: auto;
		float: none;
		box-shadow: none;
		padding: 0 0 0 15px;
	}
	.main-navigation .next-stage-mobile-menu ul ul a {
		width: auto;
		font-size: 16px;
	}
	/* PAGE BANNER */
	.next-stage-page-banner {
		padding: 40px 0;
		text-align: center;
	}
	.next-stage-page-banner .next-stage-page-banner-title {
		font-size: 34px;
	}
	/* PAGE */
	.site-main {
		padding: 40px 0;
	}
	h1.entry-title {
		font-size: 36px;
	}
	/* BLOG */
	.next-stage-post-archive-wrapper {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}
	.next-stage-post-archive-wrapper .next-stage-post-archive-list-wrapper,
	.no-sidebar .next-stage-post-archive-wrapper .next-stage-post-archive-list-wrapper {
		grid-template-columns: 1fr;
	}
	.next-stage-post-archive-wrapper .next-stage-post-archive-sidebar-wrapper {
		flex-basis: auto;
	}
	/* CONTACT FORM */
	.wpcf7 .next-stage-contactform-input-wrapper label {
		flex-basis: 100%;
	}
	/* FOOTER */
	.footer-widgets .container .widget-content ul {
		gap: 10px 24px;
	}
	footer.site-footer .site-info {
		margin: 0 15px;
	}
	footer.site-footer .next-stage-footer-copyright {
		flex-direction: column;
	}
	footer.site-footer .next-stage-footer-copyright > * + *::before {
		content: none;
	}
}
@media (min-width: 768px) {
	.container {
		width: 750px;
	}
}
@media (min-width: 992px) {
	.container {
		width: 970px;
	}
}
@media (min-width: 1200px) {
	.container {
		width: 1170px;
	}
}
/* The design's 1320px content width (+ 15px gutters) */
@media (min-width: 1440px) {
	.container {
		width: 1350px;
	}
}
