/*
Theme Name: Everswick Child
Template: kadence
Description: Child theme for Everswick Properties.
Version: 1.1.0
Text Domain: everswick
*/

@font-face {
	font-family: Fraunces;
	src: url(assets/fonts/fraunces-latin.woff2) format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Fraunces;
	src: url(assets/fonts/fraunces-italic-latin.woff2) format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Hanken Grotesk";
	src: url(assets/fonts/hanken-grotesk-latin.woff2) format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ev-green: var(--global-palette3, #1E3A2F);
	--ev-deep: #14271F;
	--ev-brick: var(--global-palette1, #A8472F);
	--ev-brick-dark: var(--global-palette2, #8C3A26);
	--ev-clay: #E7C3B0;
	--ev-ink: var(--global-palette4, #17201B);
	--ev-moss: var(--global-palette5, #5B6B60);
	--ev-stone: var(--global-palette7, #DDD6C7);
	--ev-bone: var(--global-palette8, #F5F1E8);
	--ev-tint: #F7F4EE;
	--ev-line: #E9E4D9;
	--ev-white: var(--global-palette9, #FFFFFF);
	--ev-serif: Fraunces, Georgia, "Times New Roman", serif;
	--ev-pad: clamp(4rem, 9vw, 8rem);
	--ev-gap: clamp(1.5rem, 3vw, 3rem);
	--ev-width: 1200px;
	--ev-rule: 1px solid var(--ev-line);
	--ev-shadow: 0 30px 60px -32px rgba(20, 39, 31, 0.35);
	--ev-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ev-section {
	margin-block: 0 !important;
	padding: var(--ev-pad) 1.5rem !important;
	position: relative;
}

.ev-section > .wp-block-group__inner-container,
.ev-section > :where(:not(.wp-block-group__inner-container)),
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	max-width: var(--ev-width);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.ev-section.ev-narrow > .wp-block-group__inner-container,
.ev-section.ev-narrow > :where(:not(.wp-block-group__inner-container)) {
	max-width: 46rem;
}

.ev-section.is-style-ev-dark {
	background: var(--ev-green);
	color: var(--ev-bone);
}

.ev-section.is-style-ev-stone {
	background: var(--ev-tint);
}

.ev-section.is-style-ev-white {
	background: var(--ev-white);
}

.ev-section.is-style-ev-dark :is(h1, h2, h3, h4),
.wp-block-cover :is(h1, h2, h3, h4) {
	color: var(--ev-white);
}

.ev-section.is-style-ev-dark a:not(.wp-block-button__link) {
	color: var(--ev-bone);
}

.ev-section :is(h1, h2, h3),
.wp-block-cover :is(h1, h2, h3) {
	font-family: var(--ev-serif);
	font-weight: 500;
	letter-spacing: -0.018em;
	margin-top: 0;
}

.ev-section h2,
.wp-block-cover h2 {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.06;
	margin-bottom: 1.1rem;
}

.ev-section h3 {
	font-size: 1.4rem;
	line-height: 1.22;
	margin-bottom: 0.5rem;
}

:is(.ev-section, .wp-block-cover, .entry-hero) :is(h1, h2) em {
	font-style: italic;
	font-weight: 400;
	color: var(--ev-brick);
}

:is(.is-style-ev-dark, .wp-block-cover, .entry-hero) :is(h1, h2) em {
	color: var(--ev-clay);
}

.ev-section p,
.wp-block-cover p {
	margin-top: 0;
}

.ev-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-bottom: 1.25rem;
}

.ev-eyebrow::before {
	content: "";
	width: 2.25rem;
	height: 1px;
	background: currentColor;
	flex: none;
}

.is-style-ev-dark .ev-eyebrow,
.wp-block-cover .ev-eyebrow {
	color: var(--ev-clay);
}

.ev-lede {
	font-size: clamp(1.12rem, 1.5vw, 1.3rem);
	line-height: 1.6;
	max-width: 44rem;
	margin-left: 0 !important;
}

.ev-head {
	margin-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}

.ev-head :is(h1, h2, p) {
	max-width: 46rem;
	margin-left: 0 !important;
}

.ev-head p:not(.ev-eyebrow) {
	font-size: 1.12rem;
	color: var(--ev-moss);
	margin-bottom: 0;
}

.is-style-ev-dark .ev-head p:not(.ev-eyebrow) {
	color: #CFD6CF;
}

.ev-head:last-child {
	margin-bottom: 0 !important;
}

.ev-section .wp-block-columns {
	gap: var(--ev-gap);
	margin-bottom: 0;
}

:is(.ev-section, .wp-block-cover) .wp-block-buttons {
	gap: 0.75rem;
	margin-top: 2rem;
}

:is(.ev-section, .wp-block-cover) .wp-block-button__link {
	border-radius: 2px;
	font-weight: 600;
	padding: 1em 1.7em;
	display: inline-flex;
	align-items: center;
	gap: 0.7em;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

:is(.ev-section, .wp-block-cover) .wp-block-button__link::after {
	content: "→";
	transition: transform 0.35s var(--ev-ease);
}

:is(.ev-section, .wp-block-cover) .wp-block-button__link:hover::after {
	transform: translateX(5px);
}

.ev-section .is-style-outline .wp-block-button__link {
	border: 1.5px solid var(--ev-green);
	color: var(--ev-green);
	background: transparent;
}

.ev-section .is-style-outline .wp-block-button__link:hover {
	background: var(--ev-green);
	color: var(--ev-white);
}

:is(.is-style-ev-dark, .wp-block-cover) .wp-block-button.is-style-outline .wp-block-button__link {
	border: 1.5px solid rgba(255, 255, 255, 0.7);
	color: var(--ev-white) !important;
	background: transparent;
}

:is(.is-style-ev-dark, .wp-block-cover) .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--ev-white);
	border-color: var(--ev-white);
	color: var(--ev-green) !important;
}

.wp-block-cover.alignfull {
	margin-block: 0 !important;
	padding: var(--ev-pad) 1.5rem;
	overflow: hidden;
}

.wp-block-cover .wp-block-cover__image-background {
	will-change: transform;
}

.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	padding: 0;
}

.ev-hero-cover.wp-block-cover {
	min-height: min(92vh, 900px) !important;
	align-items: flex-end;
	padding-bottom: clamp(7rem, 12vw, 10rem);
}

.ev-hero-cover .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(14, 28, 22, 0.92) 0%, rgba(14, 28, 22, 0.68) 42%, rgba(14, 28, 22, 0.18) 100%) !important;
	opacity: 1 !important;
}

.ev-hero-cover .wp-block-cover__image-background {
	animation: ev-zoom 16s var(--ev-ease) both;
}

.ev-hero-text {
	max-width: 44rem;
	color: var(--ev-white);
}

.ev-hero-text h1 {
	font-size: clamp(2.7rem, 6.4vw, 5.25rem);
	line-height: 1;
	letter-spacing: -0.025em;
	margin-bottom: 1.5rem;
}

.ev-hero-text .ev-lede {
	color: #E6E9E4;
	max-width: 35rem;
}

.ev-note {
	font-size: 0.86rem;
	letter-spacing: 0.02em;
	color: #C9D1C9;
	margin: 2rem 0 0;
}

.ev-hero-text :is(.ev-eyebrow, h1, .ev-lede, .wp-block-buttons, .ev-note) {
	animation: ev-rise 1s var(--ev-ease) both;
}

.ev-hero-text h1 {
	animation-delay: 0.12s;
}

.ev-hero-text .ev-lede {
	animation-delay: 0.26s;
}

.ev-hero-text .wp-block-buttons {
	animation-delay: 0.4s;
}

.ev-hero-text .ev-note {
	animation-delay: 0.54s;
}

@keyframes ev-zoom {
	from {
		transform: scale(1.14);
	}

	to {
		transform: scale(1);
	}
}

@keyframes ev-rise {
	from {
		opacity: 0;
		transform: translateY(26px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.ev-section.ev-stats {
	padding-block: 0 !important;
	z-index: 2;
}

.ev-stats .wp-block-columns {
	background: var(--ev-white);
	border: var(--ev-rule);
	border-radius: 4px;
	box-shadow: var(--ev-shadow);
	gap: 0;
}

.ev-hero-cover + .ev-stats {
	margin-top: -4.75rem !important;
}

.ev-stats .wp-block-column {
	padding: clamp(1.4rem, 2.6vw, 2.25rem);
	border-left: var(--ev-rule);
}

.ev-stats .wp-block-column:first-child {
	border-left: 0;
}

.ev-stat {
	font-family: var(--ev-serif);
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--ev-green);
	margin-bottom: 0.6rem;
	font-variant-numeric: tabular-nums;
}

.ev-stats p:not(.ev-stat) {
	font-size: 0.95rem;
	color: var(--ev-moss);
	margin-bottom: 0;
}

.ev-stats p.ev-stat-title {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-bottom: 0.5rem;
}

.ev-statement-wrap {
	position: relative;
	max-width: 62rem;
}

.ev-statement {
	font-family: var(--ev-serif);
	font-size: clamp(1.55rem, 3.1vw, 2.6rem);
	line-height: 1.24;
	letter-spacing: -0.015em;
	color: var(--ev-green);
	margin-bottom: 0;
}

.ev-section:has(.ev-statement-wrap)::after {
	content: "";
	position: absolute;
	right: clamp(-6rem, -4vw, -2rem);
	top: 50%;
	width: clamp(12rem, 24vw, 22rem);
	aspect-ratio: 4 / 5;
	transform: translateY(-50%);
	border: 1px solid var(--ev-line);
	border-radius: 999px 999px 0 0;
	pointer-events: none;
}

.ev-cards {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.4vw, 2rem) !important;
}

.ev-cards > .wp-block-column {
	background: var(--ev-white);
	border: var(--ev-rule);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.5s var(--ev-ease), box-shadow 0.5s var(--ev-ease), border-color 0.5s;
}

.ev-cards > .wp-block-column:hover {
	transform: translateY(-6px);
	box-shadow: var(--ev-shadow);
	border-color: transparent;
}

.ev-cards .wp-block-image {
	margin: 0 0 1.6rem;
	overflow: hidden;
}

.ev-cards .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
	display: block;
	border-radius: 0;
	transition: transform 1.2s var(--ev-ease);
}

.ev-cards > .wp-block-column:hover img {
	transform: scale(1.06);
}

.ev-cards > .wp-block-column > :not(.wp-block-image) {
	margin-left: 1.75rem;
	margin-right: 1.75rem;
}

.ev-cards > .wp-block-column > :first-child:not(.wp-block-image) {
	margin-top: 1.75rem;
}

.ev-cards > .wp-block-column p {
	color: var(--ev-moss);
}

.ev-cards > .wp-block-column p:last-child {
	margin-top: auto;
	margin-bottom: 1.75rem;
	padding-top: 0.5rem;
}

.ev-cards h3 a {
	color: var(--ev-green);
	text-decoration: none;
}

.ev-more a {
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	color: var(--ev-brick);
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 3px;
}

.ev-more a::after {
	content: "→";
	transition: transform 0.35s var(--ev-ease);
}

.ev-more a:hover::after {
	transform: translateX(5px);
}

.ev-after {
	margin-top: 2.25rem;
}

.ev-ticker {
	overflow: hidden;
	margin-block: 0 !important;
	padding: clamp(1rem, 3vw, 2.5rem) 0 0;
}

.ev-ticker > .wp-block-group__inner-container {
	display: flex;
	width: max-content;
}

.ev-ticker.is-moving > .wp-block-group__inner-container {
	animation: ev-marquee 55s linear infinite reverse;
}

.ev-ticker-text {
	flex: none;
	margin: 0;
	padding-right: 0.5em;
	white-space: nowrap;
	font-family: var(--ev-serif);
	font-style: italic;
	font-weight: 400;
	font-size: clamp(3rem, 9vw, 8rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: transparent;
	-webkit-text-stroke: 1px var(--ev-stone);
}

.ev-ribbon {
	overflow: hidden;
	padding: clamp(1.5rem, 3vw, 2.5rem) 0 var(--ev-pad);
	margin-block: 0 !important;
}

.ev-ribbon > .wp-block-group__inner-container {
	display: flex;
	align-items: stretch;
	gap: clamp(0.75rem, 1.4vw, 1.25rem);
	width: max-content;
}

.ev-ribbon.is-moving > .wp-block-group__inner-container {
	animation: ev-marquee 80s linear infinite;
}

.ev-ribbon:hover > .wp-block-group__inner-container {
	animation-play-state: paused;
}

.ev-ribbon .wp-block-image {
	margin: 0;
	flex: none;
	overflow: hidden;
	border-radius: 2px;
	height: clamp(15rem, 30vw, 27rem);
}

.ev-ribbon .wp-block-image img {
	height: 100%;
	width: auto;
	max-width: none;
	display: block;
	filter: saturate(0.9);
	transition: transform 1.4s var(--ev-ease), filter 0.6s;
}

.ev-ribbon .wp-block-image:hover img {
	transform: scale(1.05);
	filter: none;
}

@keyframes ev-marquee {
	to {
		transform: translateX(-50%);
	}
}

.ev-media {
	position: relative;
	margin: 0 0 2rem;
}

.ev-media .wp-block-image {
	margin: 0;
}

.ev-media .wp-block-image img {
	width: 100%;
	display: block;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 3px;
}

.ev-media .wp-block-image.is-style-ev-arch img,
.wp-block-image.is-style-ev-arch img {
	border-radius: 999px 999px 3px 3px;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

.ev-media .wp-block-image.ev-inset {
	position: absolute;
	width: 46%;
	right: -1.5rem;
	bottom: -2rem;
	border: 8px solid var(--ev-white);
	border-radius: 4px;
	box-shadow: var(--ev-shadow);
	overflow: hidden;
	background: var(--ev-white);
}

.is-style-ev-stone .ev-media .wp-block-image.ev-inset {
	border-color: var(--ev-tint);
}

.ev-flip .ev-media .wp-block-image.ev-inset {
	right: auto;
	left: -1.5rem;
}

.ev-media .wp-block-image.ev-inset img {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.ev-split .wp-block-column > :last-child {
	margin-bottom: 0;
}

.ev-split h2 {
	max-width: 16ch;
}

ul.is-style-ev-ticks {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

ul.is-style-ev-ticks li {
	position: relative;
	padding: 0.85rem 0 0.85rem 2.1rem;
	border-top: var(--ev-rule);
}

ul.is-style-ev-ticks li:last-child {
	border-bottom: var(--ev-rule);
}

ul.is-style-ev-ticks li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 1.3rem;
	width: 0.9rem;
	height: 0.5rem;
	border-left: 2px solid var(--ev-brick);
	border-bottom: 2px solid var(--ev-brick);
	transform: rotate(-45deg);
}

.ev-steps {
	counter-reset: ev-step;
}

.ev-steps > .wp-block-column {
	counter-increment: ev-step;
	border-top: 1px solid var(--ev-line);
	padding-top: 1.5rem;
	position: relative;
}

.ev-steps > .wp-block-column::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	width: 3rem;
	background: var(--ev-brick);
}

.is-style-ev-dark .ev-steps > .wp-block-column {
	border-top-color: rgba(255, 255, 255, 0.22);
}

.is-style-ev-dark .ev-steps > .wp-block-column::after {
	background: var(--ev-clay);
}

.ev-steps > .wp-block-column::before {
	content: counter(ev-step, decimal-leading-zero);
	display: block;
	font-family: var(--ev-serif);
	font-style: italic;
	font-size: clamp(2.4rem, 4vw, 3.4rem);
	line-height: 1;
	color: var(--ev-brick);
	margin-bottom: 1.25rem;
}

.is-style-ev-dark .ev-steps > .wp-block-column::before {
	color: var(--ev-clay);
}

.ev-steps p {
	color: var(--ev-moss);
	margin-bottom: 0;
}

.is-style-ev-dark .ev-steps p {
	color: #CFD6CF;
}

.ev-aside {
	align-items: flex-start !important;
}

.ev-sticky p:not(.ev-eyebrow) {
	color: var(--ev-moss);
	font-size: 1.08rem;
}

.ev-pointlist > .wp-block-group__inner-container,
.ev-pointlist.block-editor-block-list__layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--ev-gap);
	counter-reset: ev-point;
}

.ev-pointlist .wp-block-group {
	counter-increment: ev-point;
	border-top: var(--ev-rule);
	padding: 1.6rem 0 1.4rem;
	margin: 0;
}

.ev-pointlist .wp-block-group h3::before {
	content: counter(ev-point, decimal-leading-zero);
	display: block;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--ev-brick);
	margin-bottom: 0.7rem;
}

.ev-pointlist p {
	color: var(--ev-moss);
	margin-bottom: 0;
}

.ev-band.wp-block-cover {
	min-height: clamp(26rem, 60vh, 38rem) !important;
}

.ev-band .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(14, 28, 22, 0.92) 0%, rgba(14, 28, 22, 0.74) 50%, rgba(14, 28, 22, 0.38) 100%) !important;
	opacity: 1 !important;
}

.ev-band .wp-block-cover__image-background {
	height: 124%;
	top: -12%;
}

.ev-band-inner {
	max-width: 54rem;
	color: var(--ev-white);
}

.ev-bigquote {
	font-family: var(--ev-serif);
	font-size: clamp(1.5rem, 3.2vw, 2.7rem);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin-bottom: 1.75rem;
}

.ev-bigquote::before {
	content: "“";
	display: block;
	font-size: 2.2em;
	line-height: 0.6;
	font-style: italic;
	color: var(--ev-clay);
	margin-bottom: 0.2em;
}

.ev-bigline {
	font-family: var(--ev-serif);
	font-size: clamp(1.7rem, 3.6vw, 3rem);
	line-height: 1.15;
	letter-spacing: -0.018em;
	margin: 0;
	max-width: 20ch;
}

.ev-cite {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ev-clay);
	margin: 0;
}

.ev-carousel {
	overflow: hidden;
	position: relative;
}

.ev-carousel > .wp-block-group__inner-container {
	display: flex;
	gap: var(--ev-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ev-carousel.is-ready > .wp-block-group__inner-container {
	overflow: visible;
	scroll-snap-type: none;
	will-change: transform;
	touch-action: pan-y;
}

.ev-carousel.is-ready.is-sliding > .wp-block-group__inner-container {
	transition: transform 0.9s var(--ev-ease);
}

.ev-carousel .wp-block-quote {
	flex: 0 0 calc((100% - 2 * var(--ev-gap)) / 3);
	scroll-snap-align: start;
	border: 0;
	background: var(--ev-tint);
	border-radius: 4px;
	margin: 0;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	font-style: normal;
	display: flex;
	flex-direction: column;
	min-height: 19rem;
}

.is-style-ev-stone .ev-carousel .wp-block-quote {
	background: var(--ev-white);
}

.ev-carousel .wp-block-quote::before {
	content: "“";
	font-family: var(--ev-serif);
	font-style: italic;
	font-size: 3.8rem;
	line-height: 0.7;
	color: var(--ev-brick);
	margin-bottom: 0.6rem;
}

.ev-carousel .wp-block-quote p {
	font-family: var(--ev-serif);
	font-size: 1.24rem;
	line-height: 1.45;
	color: var(--ev-ink);
	margin-bottom: 1.5rem;
}

.ev-carousel .wp-block-quote cite {
	margin-top: auto;
	padding-top: 1.1rem;
	border-top: var(--ev-rule);
	font-size: 0.88rem;
	font-style: normal;
	color: var(--ev-moss);
}

.ev-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2.25rem;
}

.ev-controls button {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	border: 1px solid var(--ev-stone);
	background: transparent;
	color: var(--ev-green);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
	padding: 0;
	box-shadow: none;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ev-ease);
}

.ev-controls button:hover,
.ev-controls button:focus-visible {
	background: var(--ev-green);
	border-color: var(--ev-green);
	color: var(--ev-white);
}

.ev-controls button:active {
	transform: scale(0.94);
}

.ev-count {
	margin-left: 0.75rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--ev-moss);
	font-variant-numeric: tabular-nums;
}

.ev-progress {
	flex: 1;
	height: 1px;
	background: var(--ev-line);
	margin-left: 1rem;
	position: relative;
	overflow: hidden;
}

.ev-progress span {
	position: absolute;
	inset: 0;
	background: var(--ev-brick);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.9s var(--ev-ease);
}

.ev-posts .wp-block-post-template {
	gap: clamp(1.25rem, 2.4vw, 2rem);
	padding: 0;
	margin: 0;
	list-style: none;
}

.ev-posts .wp-block-post {
	margin: 0;
	background: var(--ev-white);
	border: var(--ev-rule);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding-bottom: 1.75rem;
	transition: transform 0.5s var(--ev-ease), box-shadow 0.5s var(--ev-ease);
}

.ev-posts .wp-block-post:hover {
	transform: translateY(-6px);
	box-shadow: var(--ev-shadow);
}

.ev-posts .wp-block-post > * {
	margin: 0 1.75rem;
}

.ev-posts .wp-block-post-featured-image {
	margin: 0 0 1.4rem !important;
	overflow: hidden;
}

.ev-posts .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	transition: transform 1.2s var(--ev-ease);
}

.ev-posts .wp-block-post:hover .wp-block-post-featured-image img {
	transform: scale(1.06);
}

.ev-posts .wp-block-post-date {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-bottom: 0.7rem;
}

.ev-posts .wp-block-post-title {
	font-size: 1.32rem;
	line-height: 1.25;
	margin-bottom: 0.7rem;
}

.ev-posts .wp-block-post-title a {
	color: var(--ev-green);
	text-decoration: none;
}

.ev-posts .wp-block-post-excerpt {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ev-posts .wp-block-post-excerpt__excerpt {
	font-size: 0.97rem;
	color: var(--ev-moss);
	margin-bottom: 1.25rem;
}

.ev-posts .wp-block-post-excerpt__more-text {
	margin: auto 0 0;
}

.ev-posts .wp-block-post-excerpt__more-link,
.loop-entry .more-link-wrap a {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.7em 1.2em;
	border: 1.5px solid var(--ev-green);
	border-radius: 2px;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--ev-green);
	transition: background-color 0.3s, color 0.3s;
}

.ev-posts .wp-block-post-excerpt__more-link::after {
	content: "→";
}

.ev-posts .wp-block-post-excerpt__more-link:hover,
.loop-entry .more-link-wrap a:hover {
	background: var(--ev-green);
	color: var(--ev-white);
}

.ev-faq .wp-block-details {
	border-top: var(--ev-rule);
	padding: 1.4rem 0;
	margin: 0;
}

.ev-faq .wp-block-details:last-child {
	border-bottom: var(--ev-rule);
}

.ev-faq summary {
	font-family: var(--ev-serif);
	font-size: 1.28rem;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 3.5rem;
	color: var(--ev-green);
	transition: color 0.3s;
}

.ev-faq summary:hover {
	color: var(--ev-brick);
}

.ev-faq summary::-webkit-details-marker {
	display: none;
}

.ev-faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	width: 2.25rem;
	height: 2.25rem;
	margin-top: -1.125rem;
	display: grid;
	place-items: center;
	border: 1px solid var(--ev-stone);
	border-radius: 50%;
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--ev-brick);
	transition: transform 0.4s var(--ev-ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.ev-faq details[open] summary::after {
	transform: rotate(45deg);
	background: var(--ev-brick);
	border-color: var(--ev-brick);
	color: var(--ev-white);
}

.ev-faq .wp-block-details p {
	margin: 1rem 0 0;
	max-width: 44rem;
	color: var(--ev-moss);
}

.ev-cta-band.wp-block-cover {
	min-height: clamp(24rem, 52vh, 32rem) !important;
}

.ev-cta-band .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(14, 28, 22, 0.94) 0%, rgba(14, 28, 22, 0.78) 55%, rgba(14, 28, 22, 0.45) 100%) !important;
	opacity: 1 !important;
}

.ev-cta {
	max-width: 42rem;
	color: var(--ev-white);
}

.ev-cta p {
	font-size: 1.12rem;
	color: #E1E6E0;
}

.ev-phone {
	margin: 1.5rem 0 0;
	font-size: 0.95rem;
}

.ev-narrow h2 {
	font-size: clamp(1.5rem, 2.4vw, 1.9rem);
	margin-top: 2.5rem;
}

.ev-narrow h2:first-child {
	margin-top: 0;
}

.wp-block-image.ev-team-photo {
	margin: 0 0 clamp(2rem, 4vw, 3.5rem);
	overflow: hidden;
	border-radius: 4px;
}

.ev-section .wp-block-image.ev-team-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.ev-team h3 a {
	color: var(--ev-green);
	text-decoration: none;
}

.ev-steps.ev-steps-wide {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: clamp(2rem, 4vw, 3.5rem);
}

.ev-team .wp-block-column {
	border-top: var(--ev-rule);
	padding-top: 1.75rem;
	position: relative;
}

.ev-team .wp-block-column::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	height: 2px;
	width: 3rem;
	background: var(--ev-brick);
}

.ev-team .ev-role {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-bottom: 0.9rem;
}

.ev-team p:last-child {
	color: var(--ev-moss);
	margin-bottom: 0;
}

.ev-section.ev-proof {
	padding-block: 1.75rem !important;
	border-top: var(--ev-rule);
	border-bottom: var(--ev-rule);
}

.ev-proof p {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-moss);
	text-align: center;
}

.ev-section .wp-block-table {
	margin: 0;
}

.ev-section .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	background: var(--ev-white);
	border: 0;
}

.ev-section .wp-block-table :is(th, td) {
	border: 0;
	border-bottom: var(--ev-rule);
	padding: 1.1rem 1.25rem 1.1rem 0;
	text-align: left;
	vertical-align: top;
}

.ev-section .wp-block-table th {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-brick);
	border-bottom: 2px solid var(--ev-green);
}

.ev-section .wp-block-table td:first-child {
	font-family: var(--ev-serif);
	font-size: 1.12rem;
	color: var(--ev-green);
}

.ev-section .wp-block-table tbody tr {
	transition: background-color 0.3s;
}

.ev-section .wp-block-table tbody tr:hover {
	background: var(--ev-tint);
}

.ev-section .wp-block-table + p {
	margin-top: 1.5rem;
}

.ev-contact-block p {
	margin-bottom: 1.25rem;
}

.ev-contact-block strong {
	display: block;
	font-size: 0.74rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-bottom: 0.3rem;
}

.ev-callline .ev-contact-block p,
.ev-callline .ev-contact-block strong,
.site-footer .ev-contact-block strong,
.site-footer .ev-contact-block :is(.ev-c-hours, .ev-c-emergency) {
	display: none;
}

.ev-callline .ev-contact-block p.ev-c-phone {
	display: block;
	margin: 1.5rem 0 0;
	font-size: 0.95rem;
}

.ev-callline .ev-c-phone::before {
	content: "Or call ";
}

.ev-cta .ev-callline .ev-c-phone {
	color: #C9D1C9;
}

.ev-cta .ev-callline a {
	color: var(--ev-white);
}

.site-footer .ev-contact-block p {
	margin-bottom: 0.3rem;
}

.ev-form {
	background: var(--ev-white);
	border: var(--ev-rule);
	padding: clamp(1.75rem, 3.5vw, 3rem);
	border-radius: 4px;
	box-shadow: var(--ev-shadow);
}

.ev-form h3 {
	font-size: 1.7rem;
	margin-bottom: 1.25rem;
}

.fluentform .ff-el-input--label label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ev-ink);
}

.fluentform .ff-el-form-control {
	border: 0;
	border-bottom: 1px solid #BDB5A4;
	border-radius: 0;
	padding: 0.7rem 0;
	font-size: 1rem;
	color: var(--ev-ink);
	background: transparent;
	transition: border-color 0.3s;
}

.fluentform select.ff-el-form-control {
	padding-right: 1.5rem;
}

.fluentform .ff-el-form-control:focus {
	border-bottom-color: var(--ev-brick);
	box-shadow: 0 1px 0 0 var(--ev-brick);
	outline: 0;
	background: transparent;
}

.fluentform .ff-btn-submit,
form.fluent_form .ff-btn-submit:not(.ff_btn_no_style) {
	background: var(--ev-brick);
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	padding: 1em 1.9em;
	transition: background-color 0.3s;
}

.fluentform .ff-btn-submit:hover,
form.fluent_form .ff-btn-submit:not(.ff_btn_no_style):hover {
	background: var(--ev-brick-dark);
	color: #fff;
	opacity: 1;
}

.wp-block-latest-posts.is-grid {
	gap: clamp(1.25rem, 2.4vw, 2rem);
	padding: 0;
	margin: 0;
}

.wp-block-latest-posts.is-grid li {
	margin: 0;
	background: var(--ev-white);
	border: var(--ev-rule);
	border-radius: 4px;
	overflow: hidden;
	padding: 0 0 1.75rem;
	transition: transform 0.5s var(--ev-ease), box-shadow 0.5s var(--ev-ease);
}

.wp-block-latest-posts.is-grid li:hover {
	transform: translateY(-6px);
	box-shadow: var(--ev-shadow);
}

.wp-block-latest-posts.is-grid li > :not(.wp-block-latest-posts__featured-image) {
	display: block;
	margin-left: 1.75rem;
	margin-right: 1.75rem;
}

.wp-block-latest-posts.is-grid .wp-block-latest-posts__featured-image {
	margin: 0 0 1.4rem !important;
	overflow: hidden;
}

.wp-block-latest-posts.is-grid .wp-block-latest-posts__featured-image a {
	display: block;
}

.wp-block-latest-posts__featured-image img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	width: 100%;
	display: block;
	transition: transform 1.2s var(--ev-ease);
}

.wp-block-latest-posts.is-grid li:hover img {
	transform: scale(1.06);
}

.wp-block-latest-posts.is-grid li > a.wp-block-latest-posts__post-title {
	margin: 0 1.75rem;
	font-family: var(--ev-serif);
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--ev-green);
	text-decoration: none;
}

.wp-block-latest-posts__post-date {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ev-brick);
	margin-top: 0.8rem;
}

.wp-block-latest-posts__post-excerpt {
	font-size: 0.97rem;
	color: var(--ev-moss);
	margin-top: 0.6rem;
}

.entry-hero.page-hero-section .entry-hero-container-inner,
.entry-hero.post-archive-hero-section .entry-hero-container-inner {
	background-size: cover;
	background-position: center;
	position: relative;
}

.entry-hero.page-hero-section .entry-hero-container-inner::before,
.entry-hero.post-archive-hero-section .entry-hero-container-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(14, 28, 22, 0.93) 0%, rgba(14, 28, 22, 0.72) 48%, rgba(14, 28, 22, 0.3) 100%);
}

.entry-hero .hero-container {
	position: relative;
	align-items: flex-end;
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.entry-hero .entry-header {
	animation: ev-rise 1s var(--ev-ease) both;
}

.entry-hero h1.entry-title {
	letter-spacing: -0.022em;
}

.entry-hero .kadence-breadcrumbs {
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.site-top-header-wrap .header-html {
	letter-spacing: 0.02em;
}

.header-navigation .header-menu-container > ul > li.menu-item > a {
	position: relative;
}

.header-navigation .header-menu-container > ul > li.menu-item > a::after {
	content: "";
	position: absolute;
	left: 0.6em;
	right: 0.6em;
	bottom: 0.9em;
	height: 1px;
	background: var(--ev-brick);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--ev-ease);
}

.header-navigation .header-menu-container > ul > li.menu-item > a:hover::after,
.header-navigation .header-menu-container > ul > li.current-menu-item > a::after {
	transform: scaleX(1);
}

#masthead .kadence-sticky-header.item-is-fixed.item-is-stuck {
	box-shadow: 0 10px 30px -22px rgba(20, 39, 31, 0.45);
	backdrop-filter: blur(10px);
}

.site-footer .footer-widget-area .widget-title,
.site-footer h2 {
	font-family: "Hanken Grotesk", sans-serif;
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ev-clay);
	margin-bottom: 1.1rem;
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer li {
	margin: 0 0 0.5rem;
}

.site-footer a {
	text-decoration: none;
	transition: color 0.3s;
}

.site-footer a:hover {
	color: var(--ev-clay) !important;
}

.ev-footer-logo img {
	width: 200px;
	height: auto;
}

.page .entry-content > :not(.alignfull):first-child {
	margin-top: var(--ev-pad);
}

.page .entry-content > :not(.alignfull):last-child {
	margin-bottom: var(--ev-pad);
}

.ev-js .ev-reveal {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity 0.9s var(--ev-ease), transform 0.9s var(--ev-ease);
	transition-delay: var(--ev-delay, 0s);
}

.ev-js .ev-reveal.is-in {
	opacity: 1;
	transform: none;
}

.ev-js .ev-clip img {
	clip-path: inset(0 0 100% 0);
	transform: scale(1.12);
	transition: clip-path 1.3s var(--ev-ease), transform 1.6s var(--ev-ease);
}

.ev-js .ev-clip.is-in img {
	clip-path: inset(0 0 0 0);
	transform: none;
}

.ev-js .ev-inset.ev-reveal {
	transition-delay: 0.35s;
}

@media (min-width: 1025px) {
	.ev-sticky {
		position: sticky;
		top: 7.5rem;
	}
}

@media (max-width: 1024px) {
	.ev-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ev-carousel .wp-block-quote {
		flex-basis: calc((100% - var(--ev-gap)) / 2);
	}

	.ev-section:has(.ev-statement-wrap)::after {
		display: none;
	}
}

@media (max-width: 781px) {
	.ev-hero-cover.wp-block-cover {
		min-height: 40rem !important;
	}

	.ev-hero-cover .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(14, 28, 22, 0.55) 0%, rgba(14, 28, 22, 0.88) 60%) !important;
	}

	.ev-stats .wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
	}

	.ev-stats .wp-block-column:nth-child(odd) {
		border-left: 0;
	}

	.ev-stats .wp-block-column:nth-child(n + 3) {
		border-top: var(--ev-rule);
	}

	.ev-steps > .wp-block-column,
	.ev-team .wp-block-column {
		margin-bottom: 1rem;
	}

	.ev-steps.ev-steps-wide {
		grid-template-columns: 1fr;
		row-gap: 0;
	}

	.ev-media {
		margin: 0 1rem 3rem 0;
	}

	.ev-flip .ev-media {
		margin: 0 0 3rem 1rem;
	}

	.ev-media .wp-block-image.ev-inset {
		right: -1rem;
	}

	.ev-flip .ev-media .wp-block-image.ev-inset {
		left: -1rem;
	}

	.ev-pointlist > .wp-block-group__inner-container,
	.ev-pointlist.block-editor-block-list__layout {
		grid-template-columns: 1fr;
	}

	.ev-carousel .wp-block-quote {
		flex-basis: 100%;
	}

	.ev-posts .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

@media (max-width: 600px) {
	.ev-cards {
		grid-template-columns: 1fr;
	}

	.ev-section .wp-block-table {
		font-size: 0.9rem;
	}

	.ev-section .wp-block-table :is(th, td) {
		padding: 0.8rem 0.6rem 0.8rem 0;
		overflow-wrap: anywhere;
	}

	.ev-section .wp-block-table td:first-child {
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ev-hero-cover .wp-block-cover__image-background,
	.ev-hero-text :is(.ev-eyebrow, h1, .ev-lede, .wp-block-buttons, .ev-note),
	.entry-hero .entry-header,
	.ev-ribbon.is-moving > .wp-block-group__inner-container,
	.ev-ticker.is-moving > .wp-block-group__inner-container {
		animation: none;
	}

	.ev-ribbon {
		overflow-x: auto;
	}
}

.editor-styles-wrapper .ev-ribbon {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	padding: 2rem;
}

.editor-styles-wrapper .ev-ribbon .wp-block-image {
	height: 12rem;
}

.editor-styles-wrapper .ev-ticker-text {
	font-size: 3rem;
	white-space: normal;
}

.editor-styles-wrapper .ev-carousel {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}
