/**
 * Site-wide rules that lived in Site Editor → Additional CSS.
 * Tokens that can be settings live in theme.json instead.
 */

:root {
	--swiper-pagination-color: var(--wp--preset--color--accent-2);
	--swiper-theme-color: var(--wp--preset--color--accent-2);
}

.alignfull {
	max-width: unset;
}

b,
strong {
	font-weight: 500 !important;
}

.wp-block-pullquote p {
	margin-bottom: 0.5rem;
}

cite {
	font-family: var(--wp--preset--font-family--suisse-intl) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-style: normal !important;
}

.grid-icon {
	color: var(--wp--preset--color--accent-2);
}

/* Image captions sit on the photo, lower left, on a dark box. */
.wp-block-image:not(.is-style-browser):not(.is-style-phone) {
	position: relative;
}

.wp-block-image:not(.is-style-browser):not(.is-style-phone) figcaption {
	background: rgba(0, 0, 0, 0.7);
	bottom: 0;
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--x-small);
	left: 0;
	line-height: 1.4;
	margin: 0;
	max-width: calc(100% - 2rem);
	padding: 0.4em 0.75em;
	position: absolute;
	text-align: left;
}

.single-work .wp-block-video.alignfull video {
	max-height: 100vh;
	object-fit: cover;
	object-position: bottom;
}

body:not(.wp-admin) ul:where(.wp-block-list),
body:not(.wp-admin) ul:where(.rank-math-html-sitemap__list) {
	list-style: none;
}

body:not(.wp-admin) ul:where(.wp-block-list) > li,
body:not(.wp-admin) ul:where(.rank-math-html-sitemap__list) > li {
	padding-left: 1.25em;
	text-indent: -1.25em;
}

body:not(.wp-admin) ul:where(.wp-block-list) > li::before,
body:not(.wp-admin) ul:where(.rank-math-html-sitemap__list) > li::before {
	content: "\2013";
	display: inline-block;
	text-indent: 0;
	width: 1.25em;
}

.rank-math-html-sitemap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(27ch, 1fr));
	gap: var(--column-gap);
}

.rank-math-html-sitemap li {
	margin-bottom: 0.75ch;
	line-height: 1.25;
}

.rank-math-html-sitemap li .rank-math-html-sitemap__list {
	margin-top: 1ch;
	margin-bottom: 1ch;
}



li .is-external-link {
	text-indent: 0;
}

/* Dark footer office clocks (not the reveal footer). */
.footer-dark-gradient .office-time,
.office-time {
	color: var(--wp--preset--color--lt-2);
	font-size: var(--wp--preset--font-size--large);
}

.office-time h3,
.office-time__time {
	color: inherit;
	margin: 0;
}

.office-time__time {
	opacity: 0.75;
}

.office-time__email {
	font-size: var(--wp--preset--font-size--large);
	margin: 1.5em 0 0;
}

.office-time__email a {
	color: inherit;
	opacity: 0.75;
	text-decoration: none;
	transition-duration: 150ms;
	transition-property: opacity;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.office-time__email a:hover,
.office-time__email a:focus-visible {
	opacity: 1;
}

#rank-math-faq .rank-math-list-item {
	margin-bottom: 1em;
	margin-top: 1em;
}

#rank-math-faq .rank-math-list-item + .rank-math-list-item {
	border-top: 1px solid var(--wp--preset--color--border);
}

#rank-math-faq .rank-math-list-item:first-child {
	margin-top: 0;
}

#rank-math-faq .rank-math-list-item:first-child .rank-math-question {
	margin-top: 0;
	padding-top: 0;
}

#rank-math-faq .rank-math-question {
	cursor: pointer;
	display: block;
	font-family: var(--wp--preset--font-family--suisse-intl);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 500;
	margin-right: 1em;
	margin-top: 1em;
	margin-bottom: 0;
	padding-right: 1em;
	position: relative;
}

#rank-math-faq .rank-math-question__trigger {
	appearance: none;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	padding: 0;
	text-align: inherit;
	width: 100%;
}

.rank-math-question:after {
	content: "\2715";
	position: absolute;
	right: 5px;
	top: 0;
	transform: rotate(-45deg);
	transition: transform 150ms ease-in-out;
}

.rank-math-question.collapse:after {
	transform: rotate(0deg);
}

.rank-math-question:hover {
	opacity: 0.8;
}

#rank-math-faq .rank-math-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 250ms ease;
}

#rank-math-faq .rank-math-question.collapse + .rank-math-answer {
	grid-template-rows: 1fr;
}

#rank-math-faq .rank-math-answer__clip {
	min-height: 0;
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	#rank-math-faq .rank-math-answer,
	.rank-math-question:after {
		transition: none;
	}
}

.rank-math-breadcrumb:has(+ .has-text-align-center) ol {
	justify-content: center;
}

.hairline-grid {
	--hl-gap: var(--wp--preset--spacing--x-large);
	--hl-rule: 1px solid var(--wp--preset--color--border, #d9d4d4);
	gap: var(--hl-gap) !important;
	overflow: clip;
}

.hairline-grid > * {
	background: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	position: relative;
}

.hairline-grid > *::before,
.hairline-grid > *::after {
	content: "";
	pointer-events: none;
	position: absolute;
}

.hairline-grid > *::before {
	border-left: var(--hl-rule);
	bottom: 0;
	left: calc(var(--hl-gap) / -2);
	top: 0;
}

.hairline-grid > *::after {
	border-top: var(--hl-rule);
	left: 0;
	right: 0;
	top: calc(var(--hl-gap) / -2);
}

.wp-block-list.checklist {
	list-style: none;
	padding-left: 0;
}

.wp-block-list.checklist > li {
	padding-left: 1.75em;
	position: relative;
	text-indent: 0;
}

.wp-block-list.checklist > li + li {
	margin-top: 0.5em;
}

.wp-block-list.checklist > li::before {
	background-color: var(--wp--preset--color--accent-1);
	content: "";
	height: 1em;
	left: 0;
	margin: 0;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	position: absolute;
	top: 0.25em;
	width: 1em;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

p.price-month {
	font-family: var(--wp--preset--font-family--zapf-humanist);
	font-size: var(--wp--preset--font-size--4-x-large) !important;
	line-height: 1;
	margin-bottom: 0.5em;
}

p.price-month .per {
	color: var(--wp--preset--color--accent-2);
	font-size: var(--wp--preset--font-size--small);
	margin-left: 0.15em;
}

.wp-block-group.engagement-grid {
	align-items: center;
	padding-block: 90px;
}

.engagement-card {
	background: var(--wp--preset--color--lt-2);
	display: flex;
	flex-direction: column;
	height: 380px;
	justify-content: center;
	margin-block: 0;
	padding: var(--wp--preset--spacing--medium);
	position: relative;
	transition: height 0.4s ease, margin 0.4s ease;
}

.engagement-card .engagement-details {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}

.engagement-card:hover,
.engagement-card:focus-within {
	height: 540px;
	margin-block: -80px;
	z-index: 1;
}

.engagement-card:hover .engagement-details,
.engagement-card:focus-within .engagement-details {
	max-height: 320px;
	opacity: 1;
}

/*
 * Engagement-grid mobile wrap is printed by Breakpoints at the live
 * Design Settings / theme.json mobile width.
 */

@media (prefers-reduced-motion: reduce) {
	.engagement-card,
	.engagement-card .engagement-details {
		transition: none;
	}
}

body.has-ursa6-transparent-header main > :first-child {
	padding-top: 0 !important;
}

figure.wp-block-fiveforests-before-after .wp-block-fiveforests-before-after__label {
	font-weight: 500;
}

figure.wp-block-fiveforests-before-after .wp-block-fiveforests-before-after__label--before {
	background: var(--wp--preset--color--base, #fff);
	border-color: var(--wp--preset--color--border, #d9d4d4);
	color: #2e101a;
}

figure.wp-block-fiveforests-before-after .wp-block-fiveforests-before-after__label--after {
	background: #2e101a;
	border-color: #2e101a;
	color: var(--wp--preset--color--base, #fff);
}

body:not(.wp-admin) .related-posts:not(:has(.wp-block-post)) {
	display: none;
}

.related-posts .wp-block-post-template.is-layout-grid,
.is-related-posts .wp-block-post-template.is-layout-grid,
.relevanssi-related .blog-grid {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (max-width: 480px) {
	.related-posts .wp-block-post-template.is-layout-grid,
	.is-related-posts .wp-block-post-template.is-layout-grid,
	.relevanssi-related .blog-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}

@media (min-width: 481px) and (max-width: 1080px) {
	.related-posts .wp-block-post-template.is-layout-grid,
	.is-related-posts .wp-block-post-template.is-layout-grid,
	.relevanssi-related .blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/*
 * Related-posts single column is printed by Breakpoints at the live tablet width.
 */

.blog-card__block {
	aspect-ratio: 342 / 410;
	background: #5c2529;
	color: #fcfaf8;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
}

.blog-card__block a,
.blog-card__block .wp-block-post-title {
	color: inherit;
	text-decoration: none;
}

.blog-grid > .category-strategy .blog-card__block {
	background: #2e101a;
}

.blog-grid > .category-marketing .blog-card__block {
	background: #5c2529;
}

.blog-grid > .category-websites .blog-card__block {
	background: #9b0000;
}

.blog-grid > .category-newsroom .blog-card__block {
	background: #efe6dc;
	color: #21050f;
}

.blog-card__block .wp-block-post-title a::after {
	content: "";
	inset: 0;
	position: absolute;
}

.blog-card__block:hover .wp-block-post-title,
.blog-card__block:focus-within .wp-block-post-title,
.blog-card__block:hover .wp-block-post-title a,
.blog-card__block:focus-within .wp-block-post-title a {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) > h3 {
	color: var(--wp--preset--color--dk-2);
	font-family: var(--wp--preset--font-family--suisse-intl);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	margin: 0 0 var(--wp--preset--spacing--x-small);
	text-transform: uppercase;
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav > div > div {
	border-left: 1px solid var(--wp--preset--color--border);
	padding: var(--wp--preset--spacing--2-xs) 0 var(--wp--preset--spacing--2-xs) var(--wp--preset--spacing--x-small);
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav a {
	color: var(--wp--preset--color--dk-2);
	font-size: var(--wp--preset--font-size--small);
	text-decoration: none;
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav a:hover,
.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav a:focus-visible {
	color: #21050f;
	text-decoration: underline;
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav > div > div.is-active {
	border-left: 2px solid #9b0000;
	padding-left: calc(var(--wp--preset--spacing--x-small) - 1px);
}

.is-style-sticky-column :is(.wp-block-rank-math-toc-block, .wp-block-fiveforests-table-of-contents) nav > div > div.is-active a {
	color: #21050f;
	font-weight: 500;
}

.newsletter-panel #gform_wrapper_2.gform_wrapper.gform-theme {
	--gf-color-in-ctrl-primary: #21050f;
	--gf-color-in-ctrl-primary-darker: #000;
	--gf-color-in-ctrl-primary-lighter: #3d3b3b;
	--gf-color-in-ctrl-primary-rgb: 33, 5, 15;
	--gf-color-primary: #21050f;
	--gf-color-primary-darker: #000;
	--gf-color-primary-lighter: #3d3b3b;
	--gf-color-primary-rgb: 33, 5, 15;
	--gf-ctrl-border-color: var(--wp--preset--color--border);
	--gf-ctrl-btn-font-size: var(--wp--preset--font-size--small);
	--gf-ctrl-btn-shadow: none;
	--gf-ctrl-label-color-secondary: var(--wp--preset--color--dk-2);
	--gf-font-family-base: var(--wp--preset--font-family--suisse-intl);
	--gf-font-size-primary: var(--wp--preset--font-size--small);
	--gf-font-size-secondary: var(--wp--preset--font-size--x-small);
	--gf-radius: 0;
}


/* geo switcher */
.fiveforests-geo-switcher__trigger {
	min-height: unset;
}
.fiveforests-geo-switcher__value {
	text-decoration: underline;
	text-decoration-style: wavy;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--wp--preset--color--accent-2);
	text-underline-offset: 0.15em;
}
.fiveforests-geo-switcher__value:hover,
.fiveforests-geo-switcher__value:focus-visible {
	text-decoration-color: var(--wp--preset--color--accent-2);
}
.fiveforests-geo-switcher__value:active {
	text-decoration-color: var(--wp--preset--color--accent-2);
}
.fiveforests-geo-switcher__icon {
	width: 22px;
}
.fiveforests-geo-switcher__icon {
	&::before {
			transform: rotate(45deg) translateY(-0.05rem) translateX(-0.05rem);
	}
}