:root {
	--etgar-feature-box-border-radius: 15px;
}

.an-block-feature-box:not(.feature-box-is-link),
.an-block-feature-box.feature-box-is-link > a
{
	display: flex;
	justify-content: center;
	align-items: center;
}

.an-block-feature-box.same-height:not(.feature-box-is-link),
.an-block-feature-box.same-height.feature-box-is-link > a
{
	align-items: stretch;
}

html:not([dir=rtl]) .an-block-feature-box.words_on_left:not(.feature-box-is-link),
html:not([dir=rtl]) .an-block-feature-box.words_on_left.feature-box-is-link > a,
html[dir=rtl] .an-block-feature-box.words_on_right:not(.feature-box-is-link),
html[dir=rtl] .an-block-feature-box.words_on_right.feature-box-is-link > a
{
	flex-direction: row-reverse;
}

html.readystate-complete .an-block-feature-box.feature-box-is-link {
	transition: 0.3s;
}

.an-block-feature-box .feature_box_image {
	z-index: 10;
}

.an-block-feature-box .feature_box_image img {
	display: block;
	width: 360px;
	max-width: 50vw;
	height: 455px;
	object-fit: cover;
	border-radius: var(--etgar-feature-box-border-radius);
	background-color: var(--etgar-pink);
}

.an-block-feature-box.full-image .feature_box_image img {
	height: unset;
}

.an-block-feature-box.same-height .feature_box_image img {
	height: 100%;
}

.an-block-feature-box.same-height.words_on_left .feature_box_image img {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.an-block-feature-box.same-height.words_on_right .feature_box_image img {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.an-block-feature-box .feature_box_words {
	display: flex;
	align-items: center;
}

.an-block-feature-box.same-height .feature_box_words {
	align-items: stretch;
}

.an-block-feature-box.feature-box-is-link a {
	text-decoration: none;
}

.an-block-feature-box.feature-box-is-link .feature_box_words * {
	color: var(--etgar-black);
}

.an-block-feature-box.feature-box-is-link .feature_box_words h2,
.an-block-feature-box.feature-box-is-link .feature_box_words h3,
.an-block-feature-box.feature-box-is-link .feature_box_words h4
{
	color: var(--etgar-purple);
}

.an-block-feature-box .feature_box_words {
	border-radius: var(--etgar-feature-box-border-radius);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
	background: white;
	padding: 80px;
}

html.readystate-complete .an-block-feature-box .feature_box_words {
	transition: 0.3s;
}

.an-block-feature-box.words_on_left .feature_box_words {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.an-block-feature-box.words_on_right .feature_box_words {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.an-block-feature-box.same-height .feature_box_words {
	margin: 0;
}

.an-block-feature-box.feature-box-is-link a:hover .feature_box_words,
.an-block-feature-box.feature-box-is-link a:focus .feature_box_words,
.an-block-feature-box.feature-box-is-link a:focus-within .feature_box_words
{
	box-shadow: 0 10px 40px rgba(141, 70, 154, 0.5);
}

.an-block-feature-box .an-slider-slide-content > :first-child {
	margin-top: 0;
}

.an-block-feature-box .an-slider-slide-content > :last-child {
	margin-bottom: 0;
}


.an-block-feature-box.full-width-image {
	display: block;
}

.an-block-feature-box.full-width-image .feature_box_image {
	width: 100%;
	display: block;
	max-width: unset;
}

.an-block-feature-box.full-width-image .feature_box_image > img {
	width: 100%;
	max-height: 50vh;
}

.an-block-feature-box.full-width-image .feature_box_words {
	margin: -150px 12% 0;
	border-radius: var(--etgar-feature-box-border-radius);
}

.an-block-feature-box.use-innerblocks .feature_box_words,
.an-block-feature-box.use-innerblocks .feature_box_words > * {
	display: block;
}



@media screen and (min-width: 1000px) {
	.an-block-feature-box .feature_box_words.outer-corners-rounded,
	.an-block-feature-box .feature_box_words.outer-corners-rounded > img,
	.an-block-feature-box.words_on_right .feature_box_image.outer-corners-rounded,
	.an-block-feature-box.words_on_right .feature_box_image.outer-corners-rounded > img {
		border-radius: var(--etgar-feature-box-border-radius) 0 0 var(--etgar-feature-box-border-radius) !important;
	}

	.an-block-feature-box .feature_box_image.outer-corners-rounded,
	.an-block-feature-box .feature_box_image.outer-corners-rounded > img,
	.an-block-feature-box.words_on_right .feature_box_words.outer-corners-rounded,
	.an-block-feature-box.words_on_right .feature_box_words.outer-corners-rounded > img {
		border-radius: 0 var(--etgar-feature-box-border-radius) var(--etgar-feature-box-border-radius) 0 !important;
	}
}

.an-block-feature-box .all-corners-rounded,
.an-block-feature-box .all-corners-rounded > img
{
	border-radius: var(--etgar-feature-box-border-radius) !important;
}

.an-block-feature-box .an-slider-dots {
	height: 128px;
	margin-top: 0;
	margin-bottom: -64px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.an-block-feature-box .an-slider-arrow::after {
	top: 32px;
	margin: 0;
}

.an-block-feature-box .an-slider-arrows {
	position: relative;
}

.an-block-feature-box .an-slider-arrow {
	background: transparent !important;
	width: 64px;
	height: 32px;
	top: unset;
}

@media screen and (max-width: 999px) {

	.an-block-feature-box {
		position: relative;
	}

	.an-block-feature-box:not(.feature-box-is-link),
	.an-block-feature-box.feature-box-is-link > a
	{
		flex-direction: column !important;
	}

	.an-container-inner > .an-block-feature-box:not(.feature-box-is-link),
	.an-container-inner > .an-block-feature-box.feature-box-is-link > a
	{
		background: #fff;
		border-radius: var(--etgar-feature-box-border-radius);
		overflow: hidden;
	}

	.an-block-feature-box .feature_box_image img {
		border-radius: var(--etgar-feature-box-border-radius) !important;
		height: auto;
		width: var(--theme-max-text-width) !important;
		max-width: unset;
	}

	.an-container-inner > .an-block-feature-box .feature_box_image img {
		border-radius: 0 !important;
	}

	.an-block-feature-box .feature_box_image {
		margin-bottom: 32px;
	}

	.an-block-feature-box .feature_box_words {
		padding: 0 32px 32px;
		box-shadow: none;
	}

	.an-block-feature-box .feature_box_words .an-slider-overflow-container {
		flex-direction: column;
	}

	.an-block-feature-box .feature_box_words .an-slider-slide-content {
		padding-bottom: 32px;
	}

	.an-container-inner > .an-block-feature-box .feature_box_words .an-slider-slide-content {
		padding: 0 32px 32px;
	}


	button.expand-down {
		border: 0;
		background: #fff;
		width: 100%;
		display: block;
		height: 32px;
		transition: 300ms;
		margin: 10px 0 0;
		border-radius: 0;
	}

	button.expand-down:hover {
		border: 0;
		background: #fff;
	}

	button.expand-down::before {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		width: 32px;
		height: 32px;
		background-color: #7EB87A;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: calc((100% / 31) * 15) 50%;
		transition: 300ms;
	}

	button.expand-down::before {
		background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='350.99' height='280.6' version='1.0' viewBox='0 0 263.24 210.45' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='matrix(.1 0 0 -.1 -.51286 229.39)' fill='%23fff'%3E%3Cpath d='m147 1782c-42-42-77-82-77-87 0-13 1222-1235 1235-1235 6 0 289 279 630 620l620 620-164 164-1084-1076-536 536c-295 295-538 536-541 536s-40-35-83-78zm-141.87 511.88h2632.4v-2104.5h-2632.4z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%0A");

	}

	button.expand-down:hover::before {
		opacity: 0.8;
	}


	.an-block-feature-box button.expand-down::before {
		background-image: var(--etgar-arrow-purple);
		background-size: auto 25px;
		background-color: #fff;
		transform: rotate(-90deg);
		width: 64px;
		height: 64px;
		border-radius: 999px;
		box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
	}

	[dir=ltr] .an-block-feature-box button.expand-down::before {
		bottom: -16px;
		right: 20px;
		left: unset;
	}

}
