/*
SITE SPECIFIC
Last updated: 24/08/2026
*/

figure.wp-block-image {
	overflow: hidden;
}

.author-profile p:empty {
	display: none;
}

.wp-block-image.profile-picture {
	aspect-ratio: 1;
}

.wp-block-image.profile-picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

footer .wp-block-navigation__submenu-container {
	display: none;
}

.wp-block-columns.alignwide + .wp-block-columns.alignwide {
	margin-top: var(--wp--preset--spacing--40);
}

.wp-block-accordion-heading button::after {
    content: '';
    width: calc(100% + 2em);
    height: 3em;
    background-color: 
color-mix(in srgb, currentcolor 6%, transparent);
    position: absolute;
    transform: translateX(-1em);
    border-radius: 5px;
    z-index: 0;
	opacity: 0;
	transition: var(--time);
	pointer-events: none;
}

.wp-block-accordion-heading button:hover::after {
	opacity: 1;
}

/* Breadcrumbs */

.wp-block-breadcrumbs ol::before {
    content: '';
    width: .75em;
    height: .75em;
    display: inline-block;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: .5em;
}
:root .wp-block-breadcrumbs {
    --separator: "›" !important;
}

.wp-block-breadcrumbs + * {
    margin-top: 20px !important;
}

/* Buttons */

/* Curved */

:root {
	--curve: 200px;
}

@media only screen and (min-width: 1px) and (max-width: 1446px) {
	
	:root {
		--curve: 14vw;
	}

}


.wp-block-group.is-style-curved-left-corner {
	--corner-radius: calc(var(--curve) / 1.9);

	position: relative;
	border-top-left-radius: var(--corner-radius);
}

.wp-block-group.is-style-curved-left-corner::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: var(--corner-radius);
	height: var(--corner-radius);
	pointer-events: none;
	background-color: var(--preceding-background, transparent);

	-webkit-mask: radial-gradient(
		circle at 100% 100%,
		transparent var(--corner-radius),
		#000 calc(var(--corner-radius) + 1px)
	);

	mask: radial-gradient(
		circle at 100% 100%,
		transparent var(--corner-radius),
		#000 calc(var(--corner-radius) + 1px)
	);
}

/*
 * Curved corner
 *
 * The original top-left curve is used when the media is on the right.
 */

.wp-block-media-text.is-style-curved-corner
.wp-block-media-text__media {
	border-top-left-radius: var(--curve) !important;
	border-top-right-radius: 0 !important;
	overflow: hidden;
}


/*
 * Media on the left
 *
 * Blocks without .has-media-on-the-right receive the mirrored
 * top-right curve.
 */

.wp-block-media-text.is-style-curved-corner:not(.has-media-on-the-right)
.wp-block-media-text__media {
	border-top-left-radius: 0 !important;
	border-top-right-radius: var(--curve) !important;
}


/* Curved Overlay */

.wp-block-media-text.is-style-curved-overlay
.wp-block-media-text__content {
	position: relative;

	padding-top: calc(
		var(--spacer-height) + var(--wp--preset--spacing--30)
	) !important;

	padding-bottom: calc(
		var(--spacer-height) + var(--wp--preset--spacing--30)
	) !important;
}

/*
 * Content curve
 *
 * This is the original right-facing position.
 */

.wp-block-media-text.is-style-curved-overlay
.wp-block-media-text__content::after {
	content: "";
	position: absolute;
	width: calc(var(--curve) * 2);
	height: var(--curve);
	right: 0;
	left: auto;
	top: 0;
	transform: translateX(50%);

	background:
		radial-gradient(
			circle var(--curve) at left bottom,
			transparent calc(var(--curve) - .5px),
			white calc(var(--curve) + .5px)
		) left / 50% 100% no-repeat,

		radial-gradient(
			circle var(--curve) at right bottom,
			transparent calc(var(--curve) - .5px),
			white calc(var(--curve) + .5px)
		) right / 50% 100% no-repeat;

	opacity: .5;
}


/*
 * Media on the left
 *
 * Move the content curve to the left-hand edge.
 */

.wp-block-media-text.is-style-curved-overlay:not(.has-media-on-the-right)
.wp-block-media-text__content::after {
	right: auto;
	left: 0;
	transform: translateX(-50%);
}

.wp-block-media-text.is-style-curved-overlay.feature-panel .wp-block-media-text__content::after {
	content: unset;
}


/*
 * Media image corner
 *
 * Original curve for media on the right.
 */

.wp-block-media-text.is-style-curved-overlay
.wp-block-media-text__media img {
	border-top-left-radius: var(--curve);
	border-top-right-radius: 0;
}


/*
 * Media on the left
 *
 * Mirror the image corner.
 */

.wp-block-media-text.is-style-curved-overlay:not(.has-media-on-the-right)
.wp-block-media-text__media img {
	border-top-left-radius: 0;
	border-top-right-radius: var(--curve);
}


:root {
	/* Only this much of the left curve remains visible */
	--overlay-depth: calc(var(--curve) / 2);
}


/*
 * Media overlay
 *
 * This is the original right-facing overlay.
 */

.wp-block-media-text.is-style-curved-overlay
.wp-block-media-text__media::after {
	content: "";
	pointer-events: none;
	position: absolute;
	z-index: 1;
	right: 0;
	left: auto;
	bottom: 0;
	width: calc(100% + (var(--curve) / 1.5));
	height: calc(var(--curve) + var(--overlay-depth));

	background: radial-gradient(
		circle,
		rgb(30 110 115 / 70%) 0%,
		rgb(167 199 201 / 66%) 56%,
		rgba(167, 199, 201, 0) 100%
	);

	clip-path: shape(
		/*
		 * Start below the pseudo-element.
		 * The left arc therefore has a full radius,
		 * but only its upper portion is visible.
		 */
		from 0 calc(var(--curve) + var(--curve)),

		/* Circular left curve */
		arc to var(--curve) var(--curve) of var(--curve) cw,

		/* Horizontal upper edge */
		hline to calc(100% - var(--curve)),

		/* Circular concave right curve */
		arc to 100% 0 of var(--curve) ccw,

		vline to 100%,
		close
	);

	opacity: .8;
}


/*
 * Media on the left
 *
 * Move the overlay to the left and mirror its shape.
 */

.wp-block-media-text.is-style-curved-overlay:not(.has-media-on-the-right)
.wp-block-media-text__media::after {
	right: auto;
	left: 0;
	transform: scaleX(-1);
}

/* Eyebrow */

.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--stack-sans-headline);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 10%;
    text-transform: uppercase;
	margin-bottom: .75em;
	line-height: 1.6;
}
.is-style-eyebrow::before {
    content: '';
    width: .75em;
    height: .75em;
    display: inline-block;
    background-color: currentColor;
    border-radius: 50%;
    margin-right: .5em;
}

.is-style-eyebrow + * {
	margin-top: 20px !important;
}

/* Pill */

.is-style-pill {
	font-family: var(--wp--preset--font-family--stack-sans-text);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
	margin-bottom: .75em;
	line-height: 1.6;
	border-radius: 1em;
	color: var(--wp--preset--color--custom-petrol);
	background-color: white;
	padding: .2em .6em !important;
	width: fit-content;
}

.is-style-pill + * {
	margin-top: 20px !important;
}

.is-style-pill + .wp-block-accordion {
	margin-top: 0 !important;
}

/* Grid Groups */

.wp-block-media-text:not(.has-media-on-the-right) .wp-block-media-text__media {
	border-top-left-radius: inherit;
	border-bottom-left-radius: inherit;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
	border-top-left-radius: unset;
	border-bottom-left-radius: unset;
	border-top-right-radius: inherit;
	border-bottom-right-radius: inherit;
}

/* List Columns */

.wp-block-list[style*="column-count"] {
	display: grid;
	column-gap: 1.5em;
	row-gap: 1em;
}

.wp-block-list[style*="column-count:1"],
.wp-block-list[style*="column-count: 1"] {
	grid-template-columns: minmax(0, 1fr);
}

.wp-block-list[style*="column-count:2"],
.wp-block-list[style*="column-count: 2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wp-block-list[style*="column-count:3"],
.wp-block-list[style*="column-count: 3"] {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wp-block-list[style*="column-count:4"],
.wp-block-list[style*="column-count: 4"] {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wp-block-list[style*="column-count:5"],
.wp-block-list[style*="column-count: 5"] {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wp-block-list[style*="column-count:6"],
.wp-block-list[style*="column-count: 6"] {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.wp-block-list.uneven[style*="column-count:2"],
.wp-block-list.uneven[style*="column-count: 2"] {
	grid-template-columns:
		minmax(0, 3fr)
		minmax(0, 2fr);
}

/* Check mark style list */

:root ul.wp-block-list.is-style-check-marks li {
	position: relative !important;
}

:root ul.wp-block-list.is-style-check-marks li::before,
:root .editor-styles-wrapper ul.wp-block-list.is-style-check-marks li > .block-editor-rich-text__editable::before {
	content: '\e86c';
	font-variation-settings: 'FILL' var(--mi-fill), 'wght' 300, 'GRAD' var(--mi-grad), 'opsz' var(--mi-opsz);
	transform: scale(1.4);
}

:root .has-custom-sand-background-color ul.wp-block-list.is-style-check-marks li::before,
:root .editor-styles-wrapper .has-custom-sand-background-color ul.wp-block-list.is-style-check-marks li > .block-editor-rich-text__editable::before {
	color: var(--wp--preset--color--custom-coral);
}

/* Separator */

:root body .wp-block-separator:not(.is-style-dots),
:root hr.wp-block-separator {
	width: 100% !important;
	height: 1px !important;
}

/* Footer Page Lists */

:root footer ul.wp-block-page-list .wp-block-pages-list__item {
	padding-left: 0;
}

:root footer ul.wp-block-page-list .wp-block-pages-list__item:not(:last-child) {
	margin-bottom: .3em;
}

:root footer ul.wp-block-page-list .wp-block-pages-list__item::before {
	content: none;
}

/* Line Dividers: Columns and Post Template styles */

	/* Columns */

	.wp-block-columns.is-style-line-dividers {
		--line-divider-gap: var(--gap-width);

		gap: var(--line-divider-gap);
		position: relative;
	}

	.wp-block-columns.is-style-line-dividers > .wp-block-column {
		position: relative;
	}

	/* Vertical dividers between columns */
	.wp-block-columns.is-style-line-dividers
		> .wp-block-column:not(:first-child)::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(var(--line-divider-gap) / -2);
		width: 1px;
		background: currentColor;
		opacity: 0.15;
		pointer-events: none;
	}

	/* Post Template */

	.wp-block-post-template.is-style-line-dividers {
		--line-divider-gap: var(--gap-width);

		gap: var(--line-divider-gap);
		position: relative;
	}

	.wp-block-post-template.is-style-line-dividers > .wp-block-post {
		position: relative;
	}

	/* Vertical dividers between columns */
	.wp-block-post-template.is-style-line-dividers.columns-2
		> .wp-block-post:not(:nth-child(2n + 1))::before,
	.wp-block-post-template.is-style-line-dividers.columns-3
		> .wp-block-post:not(:nth-child(3n + 1))::before,
	.wp-block-post-template.is-style-line-dividers.columns-4
		> .wp-block-post:not(:nth-child(4n + 1))::before,
	.wp-block-post-template.is-style-line-dividers.columns-5
		> .wp-block-post:not(:nth-child(5n + 1))::before,
	.wp-block-post-template.is-style-line-dividers.columns-6
		> .wp-block-post:not(:nth-child(6n + 1))::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(var(--line-divider-gap) / -2);
		width: 1px;
		background: currentColor;
		opacity: 0.15;
		pointer-events: none;
	}

	/* Horizontal dividers: one-column layout */
	.wp-block-post-template.is-style-line-dividers.columns-1
		> .wp-block-post:nth-child(n + 2)::after,
	.wp-block-post-template.is-style-line-dividers:not(.columns-1):not(.columns-2):not(.columns-3):not(.columns-4):not(.columns-5):not(.columns-6)
		> .wp-block-post:nth-child(n + 2)::after,

	/* Horizontal dividers: multi-column layouts */
	.wp-block-post-template.is-style-line-dividers.columns-2
		> .wp-block-post:nth-child(n + 3)::after,
	.wp-block-post-template.is-style-line-dividers.columns-3
		> .wp-block-post:nth-child(n + 4)::after,
	.wp-block-post-template.is-style-line-dividers.columns-4
		> .wp-block-post:nth-child(n + 5)::after,
	.wp-block-post-template.is-style-line-dividers.columns-5
		> .wp-block-post:nth-child(n + 6)::after,
	.wp-block-post-template.is-style-line-dividers.columns-6
		> .wp-block-post:nth-child(n + 7)::after {
		content: "";
		position: absolute;
		top: calc(var(--line-divider-gap) / -2);
		left: 0;
		right: 0;
		height: 1px;
		background: currentColor;
		opacity: 0.15;
		pointer-events: none;
}
/* Category Pills */

.wp-block-post-terms a {
    background-color: white;
    border-radius: 100px;
    padding: .2em .6em;
    border: 1px solid 
color-mix(in srgb, currentcolor 30%, transparent);
}

.wp-block-post-terms__separator {
	opacity: 0;
}

/* Miscellaneous */

p.wp-block-post-excerpt__excerpt {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-accordion-panel > *:first-child {
	margin-top: 0;
}

.wp-block-accordion-panel > *:last-child {
	margin-bottom: 1.5em;
}

.wp-block-accordion-item:first-child .wp-block-accordion-heading {
border-top: 0;
}

.wp-block-accordion-heading__toggle-title {
    display: flex;
    align-items: center;
    gap: 1em;
}

ul.wp-block-page-list {
	padding-left: 0;
}


/* Drop down menu */


.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item {
    align-items: flex-start;
}

.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item > a.navigation-link {
    position: relative;
    width: fit-content;
}

.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item > a.navigation-link::after {
    content: "";
    position: absolute;
    left: var(--submenu-typography-padding-left-right);
    right: var(--submenu-typography-padding-left-right);
    bottom: 0;
    height: 2px;
    background-color: #a7c7c9;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item:last-child > a.navigation-link::after {
    bottom: var(--submenu-typography-padding-top-bottom);
}

.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item > a.navigation-link:hover::after,
.wp-block-acf-menu ul.navigation-container .submenu > li.menu-item > a.navigation-link:focus-visible::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .wp-block-acf-menu ul.navigation-container .submenu > li.menu-item > a.navigation-link::after {
        transition: none;
    }
}

/* CTA */

.wp-block-media-text.is-style-cta {
	--cta-radius: calc(var(--curve) / 1.9);

	position: relative;
	overflow: hidden;
	isolation: isolate;
}


/* Keep the content above the overlapping media */

.wp-block-media-text.is-style-cta
.wp-block-media-text__content {
	position: relative;
	z-index: 2;
}


/* Shared media styles */

.wp-block-media-text.is-style-cta
.wp-block-media-text__media {
	position: relative;
	z-index: 1;
	align-self: stretch;

	/*
	 * Gutenberg applies width and max-width constraints to this
	 * element in the editor. Both must be overridden.
	 */
	width: calc(100% + var(--cta-radius)) !important;
	max-width: none !important;

	height: 100%;
	min-width: 0;
	margin: 0;

	/*
	 * Translate changes the visual position without affecting
	 * Gutenberg's grid calculations.
	 */
	translate: 0 0;
}


/*
 * Media on the right
 *
 * Enlarge the media and move it left by one radius.
 */

.wp-block-media-text.is-style-cta.has-media-on-the-right
.wp-block-media-text__media {
	translate: calc(0px - var(--cta-radius)) 0;

	-webkit-clip-path: shape(
		from var(--cta-radius) 0,

		vline to calc(100% - var(--cta-radius)),

		arc to
			0
			100%
			of var(--cta-radius)
			cw,

		hline to 100%,
		vline to 0,

		close
	);

	clip-path: shape(
		from var(--cta-radius) 0,

		vline to calc(100% - var(--cta-radius)),

		arc to
			0
			100%
			of var(--cta-radius)
			cw,

		hline to 100%,
		vline to 0,

		close
	);
}


/*
 * Media on the left
 *
 * The enlarged media naturally extends into the right column.
 * The clip-path is mirrored without flipping the image.
 */

.wp-block-media-text.is-style-cta:not(.has-media-on-the-right)
.wp-block-media-text__media {
	translate: 0 0;

	-webkit-clip-path: shape(
		from calc(100% - var(--cta-radius)) 0,

		vline to calc(100% - var(--cta-radius)),

		arc to
			100%
			100%
			of var(--cta-radius)
			ccw,

		hline to 0,
		vline to 0,

		close
	);

	clip-path: shape(
		from calc(100% - var(--cta-radius)) 0,

		vline to calc(100% - var(--cta-radius)),

		arc to
			100%
			100%
			of var(--cta-radius)
			ccw,

		hline to 0,
		vline to 0,

		close
	);
}


/* CTA image */

.wp-block-media-text.is-style-cta
.wp-block-media-text__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Accordion Horizontal Style */

.wp-block-accordion.is-style-horizontal .wp-block-accordion-panel > *:last-child {
	margin-bottom: 4rem;
}

.wp-block-accordion.is-style-horizontal .wp-block-accordion-panel {
	width: calc(50% - 2rem);
	margin-left: auto;
	margin-right: 2rem;
}

.wp-block-accordion-panel {
	display: block !important;
}

/* File Block */

.wp-block-file__content-wrapper,
.wp-block-file {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

.wp-block-file .wp-element-button {
	border-radius: 5px;
	font-weight: 500;
	padding-right: 2em;
    padding-left: 2em;
    white-space: nowrap !important;
}
.wp-block-file .wp-element-button::after {
	content: '\e984';
    font-family: var(--mi-style);
    font-variation-settings: 'FILL' var(--mi-fill), 'wght' var(--mi-wght), 'GRAD' var(--mi-grad), 'opsz' var(--mi-opsz);
	margin-left: .75em;
	    font-size: 1.5em;
}
.wp-block-file * + .wp-block-file__button,
.editor-styles-wrapper .wp-block-file__button-richtext-wrapper {
	margin-left: 2em;
}

.wp-block-buttons + .wp-block-file,
.wp-block-file + .wp-block-file {
	margin-top: 0;
}

.wp-site-blocks .wp-block-file,
.editor-styles-wrapper .wp-block-file {
  width: fit-content;
  margin-left: max(
    0px,
    calc((100% - var(--wp--style--global--content-size)) / 2)
  ) !important;
  margin-right: auto !important;
}

.wp-site-blocks .wp-block-file.alignwide,
.editor-styles-wrapper .wp-block-file.alignwide {
  margin-left: max(
    0px,
    calc((100% - var(--wp--style--global--wide-size)) / 2)
  ) !important;
}

.wp-block-paragraph + .wp-block-file {
	margin-top: 1em;
}

.wp-block-file + .wp-block-heading {
	margin-top: 2em;
}


/* Font Sizes */

.wp-block-paragraph.has-h-4-font-size,
.wp-block-paragraph.has-h-3-font-size,
.wp-block-paragraph.has-h-2-font-size {
	font-family: var(--wp--preset--font-family--stack-sans-headline);
	font-weight: 400;
	line-height: 1.3;
	margin-bottom: 0.75em;
}

/* Hyperlinks */

.wp-block-list a,
.wp-block-paragraph a {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentcolor 20%, transparent);
}

/* Folder Tabs Style */

.wp-block-tabs.is-style-folder {
	--folder-paper: var(--wp--preset--color--custom-soft-teal);
	--folder-paper-deep: color-mix(in srgb, var(--wp--preset--color--custom-soft-teal) 93%, var(--wp--preset--color--custom-primary-teal));
	--folder-paper-deep-shadow: color-mix(in srgb, var(--wp--preset--color--custom-soft-teal) 80%, var(--wp--preset--color--custom-primary-teal));
	--folder-ink: var(--wp--preset--color--custom-petrol);
	--folder-shadow: rgba(0, 45, 60, 0.24);
	--border-radius: 30px;
	isolation: isolate;
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list {
	    padding-left: calc(var(--border-radius) * 2);
	padding-right: calc(var(--border-radius) * 2);
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"] {
	background-color: var(--folder-paper);
	border-top-left-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
	padding: 1em 3em;
	font-weight: 500;
	position: relative;
	bottom: 0;
	border-bottom: 0;
	margin-right: -1px;
	transition: bottom var(--time);
}


/* Match the join fill to each tab state */
.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"] {
	--folder-join-fill: var(--folder-paper);
}

.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"][aria-selected="false"] {
	--folder-join-fill: var(--folder-paper-deep-shadow);
}

.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"]::before,
.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"]::after {
	content: "";
	position: absolute;
	bottom: 0;
	width: var(--border-radius);
	height: var(--border-radius);
	background: inherit;
	border-radius: 0;
	pointer-events: none;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
}

.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"]::before {
	left: calc(-1 * var(--border-radius));
	mask-image: radial-gradient(
		circle at top left,
		transparent 0 calc(var(--border-radius) - 1px),
		#000 var(--border-radius)
	);
	-webkit-mask-image: radial-gradient(
		circle at top left,
		transparent 0 calc(var(--border-radius) - 1px),
		#000 var(--border-radius)
	);
	border-bottom: 0;
}

.wp-block-tabs.is-style-folder
> .wp-block-tab-list
> button[role="tab"]::after {
	left: 100%;
	mask-image: radial-gradient(
		circle at top right,
		transparent 0 calc(var(--border-radius) - 1px),
		#000 var(--border-radius)
	);
	-webkit-mask-image: radial-gradient(
		circle at top right,
		transparent 0 calc(var(--border-radius) - 1px),
		#000 var(--border-radius)
	);
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected="false"]::before,
.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected="false"]::after {
	background:linear-gradient(180deg,var(--folder-paper-deep) 0%, var(--folder-paper-deep-shadow) 100%);
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected=false] {
	background: linear-gradient(180deg,var(--folder-paper-deep) 60%, var(--folder-paper-deep-shadow) 100%);
}

:where(.is-style-folder .wp-block-tab-list button)[aria-selected=true]:before {
	content: unset;
}

/* The lower strip and shadow suggest the inactive page continuing behind the open folder. */


.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected="false"] {
	bottom: -.4em;
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected="false"]:hover {
	bottom: 0;
}

.wp-block-tabs.is-style-folder > .wp-block-tab-list > button[role="tab"][aria-selected="true"] {
	z-index: 3;
}


.wp-block-tabs.is-style-folder > .wp-block-tab-panels {
	padding: var(--wp--preset--spacing--50);
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
	border-top-right-radius: var(--border-radius);
	border-top-left-radius: var(--border-radius);
	position: relative;
    z-index: 2;
    margin: 0;
    background: var(--folder-paper);
    
}

.wp-block-tabs.is-style-folder > .wp-block-tab-panels > .wp-block-tab-panel > :first-child {
	margin-top: 0;
}

.wp-block-tabs.is-style-folder > .wp-block-tab-panels > .wp-block-tab-panel > :last-child {
	margin-bottom: 0;
}



/* Temp */
.conditions-tabs button:last-child {
	display: flex;
	align-items: center !important;
	gap: .75em;
}

.conditions-tabs button:last-child {
font-size: 16px;
    padding-bottom: var(--wp--preset--spacing--30) !important;
    padding-top: 13px !important;
    bottom: -.9em !important;
}
.conditions-tabs button:last-child strong {
	font-size: 0;
}

.conditions-tabs button:last-child strong::before {
    content: '\e941';
    font-family: var(--mi-style);
    font-variation-settings: 'FILL' var(--mi-fill), 'wght' var(--mi-wght), 'GRAD' var(--mi-grad), 'opsz' var(--mi-opsz);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid 
color-mix(in srgb, currentcolor 20%, transparent);
    border-radius: 50%;
    background-color: color-mix(in srgb, white 30%, transparent);
    font-size: 28px;
    line-height: 1;
    pointer-events: none;
    opacity: 1;
    transform: scale(.7) rotate(180deg) translateY(70%) translateX(-80%);
    transition: opacity .2s ease, transform .3s ease;
    position: absolute;
    left: 0;
}

.conditions-tabs {
	justify-content: space-between !important;
}

/* Pullquote */
.wp-block-pullquote {
	position: relative;
}

.wp-block-pullquote::after {
	position: absolute;
	content: '';
	width: 40px;
	height: 24px;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%) translatey(50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='24' viewBox='0 0 20 24' fill='none'%3E%3Cpath d='M9.37576 13.8348C9.37576 15.0783 8.92044 16.1408 8.0049 17.0269C7.11873 17.9131 6.07099 18.3537 4.8519 18.3537C3.35863 18.3537 2.16891 17.8005 1.28274 16.694C0.425949 15.6707 0 14.4125 0 12.9192C0.00489596 10.1873 2.32558 7.54834 6.97185 5.00244L7.6377 6.04039C6.0612 7.34271 5.27295 8.39045 5.27295 9.19338C5.27295 9.44308 5.60588 9.69277 6.26683 9.94247C7.26071 10.2999 7.94125 10.6475 8.29865 10.9804C9.01836 11.5875 9.37576 12.5422 9.37576 13.8445V13.8348Z' fill='%23A7C7C9'/%3E%3Cpath d='M19.7077 13.8372C19.7077 15.0808 19.2915 16.1432 18.4641 17.0294C17.5779 17.9155 16.5155 18.3562 15.2719 18.3562C13.7787 18.3562 12.589 17.8029 11.7028 16.6965C10.8166 15.6732 10.376 14.4149 10.376 12.9217C10.376 10.1848 12.6967 7.5459 17.3429 5L18.092 6.03794C16.4617 7.34027 15.644 8.38801 15.644 9.19094C15.644 9.44064 16.0014 9.69033 16.7211 9.94002C17.6905 10.2974 18.3515 10.645 18.7138 10.978C19.3796 11.5851 19.7077 12.5398 19.7077 13.8421V13.8372Z' fill='%23A7C7C9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	background-color: var(--wp--preset--color--custom-white);
}


/* Default Button Hover States */

.wp-block-button:not(.is-style-outline-arrow):not(.is-style-outline):not(.is-style-simple) .wp-element-button:hover {
	background-color: var(--wp--preset--color--custom-primary-teal);
}

.has-custom-primary-teal-background-color .wp-block-button:not(.is-style-outline-arrow):not(.is-style-outline):not(.is-style-simple) .wp-element-button:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--custom-primary-teal) 80%, white);
}

.wp-block-button:not(.is-style-outline-arrow):not(.is-style-outline):not(.is-style-simple) .wp-element-button.has-custom-primary-teal-background-color:hover {
	background-color: var(--wp--preset--color--custom-petrol) !important;
}

.has-custom-petrol-background-color .wp-block-button:not(.is-style-outline-arrow):not(.is-style-outline):not(.is-style-simple) .wp-element-button.has-custom-primary-teal-background-color:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--custom-petrol) 80%, white) !important;
}

/* Special Background */

.special-background {
	      --edge: 50%;
      position: relative;
      overflow: hidden;
}

.special-background::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;

      background:
        radial-gradient(
          ellipse 26% 95% at 49.5% 44%,
          rgb(120 116 108 / 58%) 0%,
          rgb(153 148 140 / 38%) 32%,
          rgb(194 189 181 / 18%) 52%,
          transparent 73%
        ),
        radial-gradient(
          ellipse 20% 62% at 57% 105%,
          rgb(128 122 113 / 28%),
          transparent 70%
        );

      clip-path: shape(
        from calc(var(--edge) + var(--curve)) 0,

        curve to var(--edge) var(--curve)
          with var(--edge) 0,

        vline to calc(100% - var(--curve)),

        curve to calc(var(--edge) - var(--curve)) 100%
          with var(--edge) 100%,

        hline to 100%,
        vline to 0,
        close
      );
	opacity: .3;

}

/* Info / Notice */

p.is-style-info-notice {
    font-size: 13px;
    padding-left: 2em;
    position: relative;
}

p.is-style-info-notice[style*="border-"] {
	border-color: #a6c6c961;
    border-width: 1px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: var(--wp--preset--spacing--40);
    padding-top: var(--wp--preset--spacing--30);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--30);
    padding-left: calc(var(--wp--preset--spacing--30) + 2em);
}

p.is-style-info-notice[style*="border-"]::before { 
	left: var(--wp--preset--spacing--30);
}


p.is-style-info-notice::before {
    color: currentcolor;
    content: '\e88e';
    font-family: var(--mi-style);
    font-variation-settings: 'FILL' var(--mi-fill), 'wght' var(--mi-wght), 'GRAD' var(--mi-grad), 'opsz' var(--mi-opsz);
    position: absolute;
    left: 0;
	transform: scale(1.2);
}