.idowapro-fc {
	--idowapro-fc-height: 420px;
	--idowapro-fc-radius: 20px;
	--idowapro-fc-image-position: center center;
	--idowapro-fc-image-position-x: 50%;
	--idowapro-fc-image-position-y: 50%;
	--idowapro-fc-image-size: cover;
	--idowapro-fc-image-repeat: no-repeat;
	--idowapro-fc-grayscale: 100%;
	--idowapro-fc-front-overlay: rgba(0, 0, 0, 0.24);
	--idowapro-fc-back-overlay: rgba(0, 0, 0, 0.58);
	--idowapro-fc-line-color: #e30613;
	--idowapro-fc-line-width: 76px;
	--idowapro-fc-line-height: 3px;
	--idowapro-fc-line-gap: 14px;
	--idowapro-fc-border-color: #e30613;
	--idowapro-fc-border-width: 2px;
	--idowapro-fc-duration: 420ms;

	position: relative;
	isolation: isolate;
	width: 100%;
	height: var(--idowapro-fc-height);
	min-height: 240px;
	border-radius: var(--idowapro-fc-radius);
	background: #202020;
	color: #fff;
	overflow: hidden;
	perspective: 1200px;
	transform: translateZ(0);
	-webkit-tap-highlight-color: transparent;
}

.idowapro-fc *,
.idowapro-fc *::before,
.idowapro-fc *::after {
	box-sizing: border-box;
}

.idowapro-fc__face {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	border-radius: inherit;
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform-style: preserve-3d;
	will-change: opacity, transform;
	pointer-events: none;
}

.idowapro-fc__face--back {
	z-index: 4;
	border: var(--idowapro-fc-border-width) solid var(--idowapro-fc-border-color);
}

.idowapro-fc__background,
.idowapro-fc__overlay,
.idowapro-fc__content {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.idowapro-fc__background {
	z-index: 0;
	display: block;
	background-position: var(--idowapro-fc-image-position);
	background-repeat: var(--idowapro-fc-image-repeat);
	background-size: var(--idowapro-fc-image-size);
	object-fit: var(--idowapro-fc-image-size);
	object-position: var(--idowapro-fc-image-position);
	transition: filter var(--idowapro-fc-duration) ease;
}

.idowapro-fc--image-fill-safe .idowapro-fc__background {
	background-size: cover;
}

.idowapro-fc--position-custom .idowapro-fc__background {
	background-position:
		var(--idowapro-fc-image-position-x)
		var(--idowapro-fc-image-position-y);
}

.idowapro-fc__background {
	filter: grayscale(var(--idowapro-fc-grayscale));
}

.idowapro-fc.is-active > .idowapro-fc__background,
.idowapro-fc:focus-within:not(.idowapro-fc--forced-front) > .idowapro-fc__background,
.idowapro-fc.idowapro-fc--preview-back > .idowapro-fc__background {
	filter: none;
}

.idowapro-fc__overlay {
	z-index: 1;
	background: var(--idowapro-fc-front-overlay);
}

.idowapro-fc__face--back .idowapro-fc__overlay {
	background: var(--idowapro-fc-back-overlay);
}

.idowapro-fc__content {
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	text-align: center;
}

.idowapro-fc__content--back {
	overflow: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.idowapro-fc__front-title,
.idowapro-fc__back-title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.idowapro-fc__underline {
	display: block;
	flex: 0 0 auto;
	width: var(--idowapro-fc-line-width);
	margin-top: var(--idowapro-fc-line-gap);
}

.idowapro-fc__underline--css {
	height: var(--idowapro-fc-line-height);
	border-radius: 999px;
	background: var(--idowapro-fc-line-color);
}

.idowapro-fc__underline--image {
	height: auto;
	max-height: 32px;
	object-fit: contain;
}

.idowapro-fc__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	color: #fff;
	font-size: 52px;
	line-height: 1;
}

.idowapro-fc__icon i {
	width: 1em;
	height: 1em;
}

.idowapro-fc__icon svg,
.idowapro-fc__icon img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.idowapro-fc__icon svg {
	fill: currentColor;
}

.idowapro-fc__icon--image {
	position: relative;
	width: 52px;
	height: 52px;
}

.idowapro-fc__icon--image img {
	width: 100%;
	height: 100%;
}

.idowapro-fc__icon--image-color {
	position: absolute;
	inset: 0;
	display: none;
	width: 100%;
	height: 100%;
	background-color: currentColor;
	-webkit-mask-image: var(--idowapro-fc-icon-image);
	mask-image: var(--idowapro-fc-icon-image);
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.idowapro-fc__description {
	width: min(100%, 680px);
	margin: 14px 0 24px;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6;
}

.idowapro-fc__description > :first-child {
	margin-top: 0;
}

.idowapro-fc__description > :last-child {
	margin-bottom: 0;
}

.idowapro-fc__button {
	position: relative;
	z-index: 6;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 0;
	border-radius: 6px;
	background: #e30613;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		background-color 160ms ease,
		color 160ms ease,
		transform 160ms ease;
	pointer-events: none;
}

.idowapro-fc__button:hover,
.idowapro-fc__button:focus-visible {
	background: #b9000a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.idowapro-fc__button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.idowapro-fc__button--disabled {
	opacity: 0.72;
}

.idowapro-fc__toggle,
.idowapro-fc__card-link {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: inherit;
	cursor: pointer;
	appearance: none;
}

.idowapro-fc__card-link {
	z-index: 5;
	text-decoration: none;
}

.idowapro-fc__toggle:hover,
.idowapro-fc__toggle:focus,
.idowapro-fc__toggle:active,
.idowapro-fc__card-link:hover,
.idowapro-fc__card-link:focus,
.idowapro-fc__card-link:active {
	border: 0;
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.idowapro-fc:focus-within {
	outline: 3px solid rgba(227, 6, 19, 0.48);
	outline-offset: 3px;
}

.idowapro-fc .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Smooth slide: faces crossfade while back-face content builds in sequence. */
.idowapro-fc--smooth-slide .idowapro-fc__face {
	transition:
		opacity var(--idowapro-fc-duration) cubic-bezier(0.22, 1, 0.36, 1),
		transform var(--idowapro-fc-duration) cubic-bezier(0.22, 1, 0.36, 1),
		visibility 0s linear var(--idowapro-fc-duration);
}

.idowapro-fc--smooth-slide .idowapro-fc__face--front {
	opacity: 1;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.idowapro-fc--smooth-slide .idowapro-fc__face--back {
	opacity: 0;
	transform: translateY(14px) scale(1.01);
	visibility: hidden;
}

.idowapro-fc--smooth-slide .idowapro-fc__content--front > * {
	transition:
		opacity var(--idowapro-fc-duration) ease,
		transform var(--idowapro-fc-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.idowapro-fc--smooth-slide .idowapro-fc__content--back > * {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity var(--idowapro-fc-duration) ease,
		transform var(--idowapro-fc-duration) cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: 0ms;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__face--front,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__face--front {
	opacity: 0;
	transform: translateY(-14px) scale(1.01);
	visibility: hidden;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__face--back,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__face--back {
	opacity: 1;
	transform: translateY(0) scale(1);
	visibility: visible;
	transition-delay: 0s;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__content--front > *,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__content--front > *,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__content--front > * {
	opacity: 0;
	transform: translateY(-14px);
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__content--back > *,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__content--back > *,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__content--back > * {
	opacity: 1;
	transform: translateY(0);
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__icon,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__icon,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__icon {
	transition-delay: 80ms;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__back-title,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__back-title,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__back-title {
	transition-delay: 150ms;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__description,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__description,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__description {
	transition-delay: 220ms;
}

.idowapro-fc--smooth-slide.is-active .idowapro-fc__button,
.idowapro-fc--smooth-slide:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__button,
.idowapro-fc--smooth-slide.idowapro-fc--preview-back .idowapro-fc__button {
	transition-delay: 290ms;
}

/* Fade / reveal. */
.idowapro-fc--fade .idowapro-fc__face {
	transition:
		opacity var(--idowapro-fc-duration) ease,
		transform var(--idowapro-fc-duration) ease,
		visibility 0s linear var(--idowapro-fc-duration);
}

.idowapro-fc--fade .idowapro-fc__face--front {
	opacity: 1;
	transform: scale(1);
	visibility: visible;
}

.idowapro-fc--fade .idowapro-fc__face--back {
	opacity: 0;
	transform: scale(1.015);
	visibility: hidden;
}

.idowapro-fc--fade.is-active .idowapro-fc__face--front,
.idowapro-fc--fade:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
.idowapro-fc--fade.idowapro-fc--preview-back .idowapro-fc__face--front {
	opacity: 0;
	transform: scale(1.015);
	visibility: hidden;
}

.idowapro-fc--fade.is-active .idowapro-fc__face--back,
.idowapro-fc--fade:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
.idowapro-fc--fade.idowapro-fc--preview-back .idowapro-fc__face--back {
	opacity: 1;
	transform: scale(1);
	visibility: visible;
	transition-delay: 0s;
}

/* Horizontal and vertical flip variants. */
.idowapro-fc--flip-x .idowapro-fc__face,
.idowapro-fc--flip-y .idowapro-fc__face {
	opacity: 1;
	transition: transform var(--idowapro-fc-duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.idowapro-fc--flip-x .idowapro-fc__face--front {
	transform: rotateY(0deg);
}

.idowapro-fc--flip-x .idowapro-fc__face--back {
	transform: rotateY(180deg);
}

.idowapro-fc--flip-y .idowapro-fc__face--front {
	transform: rotateX(0deg);
}

.idowapro-fc--flip-y .idowapro-fc__face--back {
	transform: rotateX(-180deg);
}

.idowapro-fc--flip-x.is-active .idowapro-fc__face--front,
.idowapro-fc--flip-x:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
.idowapro-fc--flip-x.idowapro-fc--preview-back .idowapro-fc__face--front {
	transform: rotateY(-180deg);
}

.idowapro-fc--flip-x.is-active .idowapro-fc__face--back,
.idowapro-fc--flip-x:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
.idowapro-fc--flip-x.idowapro-fc--preview-back .idowapro-fc__face--back {
	transform: rotateY(0deg);
}

.idowapro-fc--flip-y.is-active .idowapro-fc__face--front,
.idowapro-fc--flip-y:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
.idowapro-fc--flip-y.idowapro-fc--preview-back .idowapro-fc__face--front {
	transform: rotateX(180deg);
}

.idowapro-fc--flip-y.is-active .idowapro-fc__face--back,
.idowapro-fc--flip-y:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
.idowapro-fc--flip-y.idowapro-fc--preview-back .idowapro-fc__face--back {
	transform: rotateX(0deg);
}

/* Make the real CTA interactive only while the back face is visible. */
.idowapro-fc.is-active .idowapro-fc__button,
.idowapro-fc:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__button,
.idowapro-fc.idowapro-fc--preview-back .idowapro-fc__button {
	pointer-events: auto;
}

/* The visual CTA is part of the full-card link, not a second nested link. */
.idowapro-fc--card-link .idowapro-fc__button {
	pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
	.idowapro-fc:hover:not(.idowapro-fc--forced-front) > .idowapro-fc__background {
		filter: none;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front {
		opacity: 0;
		transform: translateY(-14px) scale(1.01);
		visibility: hidden;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back {
		opacity: 1;
		transform: translateY(0) scale(1);
		visibility: visible;
		transition-delay: 0s;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__content--front > * {
		opacity: 0;
		transform: translateY(-14px);
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__content--back > * {
		opacity: 1;
		transform: translateY(0);
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__icon {
		transition-delay: 80ms;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__back-title {
		transition-delay: 150ms;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__description {
		transition-delay: 220ms;
	}

	.idowapro-fc--smooth-slide:hover:not(.idowapro-fc--forced-front) .idowapro-fc__button {
		transition-delay: 290ms;
	}

	.idowapro-fc--fade:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front {
		opacity: 0;
		transform: scale(1.015);
		visibility: hidden;
	}

	.idowapro-fc--fade:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back {
		opacity: 1;
		transform: scale(1);
		visibility: visible;
		transition-delay: 0s;
	}

	.idowapro-fc--flip-x:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front {
		transform: rotateY(-180deg);
	}

	.idowapro-fc--flip-x:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back {
		transform: rotateY(0deg);
	}

	.idowapro-fc--flip-y:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front {
		transform: rotateX(180deg);
	}

	.idowapro-fc--flip-y:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back {
		transform: rotateX(0deg);
	}

	.idowapro-fc:hover:not(.idowapro-fc--forced-front) .idowapro-fc__button {
		pointer-events: auto;
	}
}

/*
 * Elementor can repeatedly rebuild Loop Item instances while the editor keeps
 * their hover/focus state. Use the explicit editor preview switch as the sole
 * state source there, so front and back never remain in a half-transition.
 */
.elementor-editor-active .idowapro-fc .idowapro-fc__face,
.elementor-editor-active .idowapro-fc .idowapro-fc__content > * {
	transition: none !important;
}

.elementor-editor-active .idowapro-fc:not(.idowapro-fc--preview-back) > .idowapro-fc__background {
	filter: grayscale(var(--idowapro-fc-grayscale)) !important;
}

.elementor-editor-active .idowapro-fc:not(.idowapro-fc--preview-back) .idowapro-fc__face--front {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.elementor-editor-active .idowapro-fc:not(.idowapro-fc--preview-back) .idowapro-fc__face--back {
	opacity: 0 !important;
	transform: none !important;
	visibility: hidden !important;
}

.elementor-editor-active .idowapro-fc:not(.idowapro-fc--preview-back) .idowapro-fc__content--front > * {
	opacity: 1 !important;
	transform: none !important;
}

.elementor-editor-active .idowapro-fc:not(.idowapro-fc--preview-back) .idowapro-fc__content--back > * {
	opacity: 0 !important;
	transform: none !important;
}

.elementor-editor-active .idowapro-fc.idowapro-fc--preview-back > .idowapro-fc__background {
	filter: none !important;
}

.elementor-editor-active .idowapro-fc.idowapro-fc--preview-back .idowapro-fc__face--front {
	opacity: 0 !important;
	transform: none !important;
	visibility: hidden !important;
}

.elementor-editor-active .idowapro-fc.idowapro-fc--preview-back .idowapro-fc__face--back {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

.elementor-editor-active .idowapro-fc.idowapro-fc--preview-back .idowapro-fc__content--front > * {
	opacity: 0 !important;
	transform: none !important;
}

.elementor-editor-active .idowapro-fc.idowapro-fc--preview-back .idowapro-fc__content--back > * {
	opacity: 1 !important;
	transform: none !important;
}

.elementor-editor-active .idowapro-fc .idowapro-fc__toggle,
.elementor-editor-active .idowapro-fc .idowapro-fc__card-link,
.elementor-editor-active .idowapro-fc .idowapro-fc__button {
	pointer-events: none !important;
}

@media (max-width: 767px) {
	.idowapro-fc__content {
		padding: 24px;
	}

	.idowapro-fc__front-title,
	.idowapro-fc__back-title {
		font-size: clamp(1.35rem, 7vw, 1.8rem);
	}

	.idowapro-fc__description {
		font-size: 0.95rem;
		line-height: 1.5;
	}
}

@media (prefers-reduced-motion: reduce) {
	.idowapro-fc *,
	.idowapro-fc *::before,
	.idowapro-fc *::after {
		scroll-behavior: auto !important;
		transition-duration: 1ms !important;
		transition-delay: 0ms !important;
		animation-duration: 1ms !important;
		animation-iteration-count: 1 !important;
	}

	.idowapro-fc--flip-x .idowapro-fc__face,
	.idowapro-fc--flip-y .idowapro-fc__face {
		transform: none !important;
	}

	.idowapro-fc--flip-x .idowapro-fc__face--front,
	.idowapro-fc--flip-y .idowapro-fc__face--front {
		opacity: 1;
		visibility: visible;
	}

	.idowapro-fc--flip-x .idowapro-fc__face--back,
	.idowapro-fc--flip-y .idowapro-fc__face--back {
		opacity: 0;
		visibility: hidden;
	}

	.idowapro-fc--flip-x.is-active .idowapro-fc__face--front,
	.idowapro-fc--flip-x:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
	.idowapro-fc--flip-x.idowapro-fc--preview-back .idowapro-fc__face--front,
	.idowapro-fc--flip-y.is-active .idowapro-fc__face--front,
	.idowapro-fc--flip-y:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
	.idowapro-fc--flip-y.idowapro-fc--preview-back .idowapro-fc__face--front {
		opacity: 0;
		visibility: hidden;
	}

	.idowapro-fc--flip-x.is-active .idowapro-fc__face--back,
	.idowapro-fc--flip-x:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
	.idowapro-fc--flip-x.idowapro-fc--preview-back .idowapro-fc__face--back,
	.idowapro-fc--flip-y.is-active .idowapro-fc__face--back,
	.idowapro-fc--flip-y:focus-within:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
	.idowapro-fc--flip-y.idowapro-fc--preview-back .idowapro-fc__face--back {
		opacity: 1;
		visibility: visible;
	}

	@media (hover: hover) and (pointer: fine) {
		.idowapro-fc--flip-x:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front,
		.idowapro-fc--flip-y:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--front {
			opacity: 0;
			visibility: hidden;
		}

		.idowapro-fc--flip-x:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back,
		.idowapro-fc--flip-y:hover:not(.idowapro-fc--forced-front) .idowapro-fc__face--back {
			opacity: 1;
			visibility: visible;
		}
	}
}
