.mtg-content-card-widget,
.mtg-content-card-widget *,
.mtg-content-card-widget *::before,
.mtg-content-card-widget *::after {
	box-sizing: border-box;
}

.mtg-content-card-widget {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.mtg-content-card-widget--equal-height {
	height: 100%;
	display: flex;
}

.mtg-content-card {
	--mtg-card-transition: 300ms;
	--mtg-card-animation-delay: 0ms;
	--mtg-card-animation-duration: 600ms;
	--mtg-card-animation-distance: 24px;
	--mtg-card-animation-easing: ease-out;
	--mtg-card-item-delay: var(--mtg-card-animation-delay);
	--mtg-card-item-duration: var(--mtg-card-animation-duration);
	--mtg-card-line-width: 30px;
	--mtg-card-line-height: 2px;
	--mtg-card-line-color: #9a1f24;
	--mtg-card-title-desc-gap: 12px;
	--mtg-card-desc-action-gap: 18px;
	--mtg-card-floating-x: 24px;
	--mtg-card-floating-y: 0px;
	--mtg-card-glass-blur: 14px;
	--mtg-card-glass-saturation: 130%;

	position: relative;
	display: flex;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: inherit;
	text-decoration: none;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	transition:
		transform var(--mtg-card-transition) ease-out,
		box-shadow var(--mtg-card-transition) ease-out,
		border-color var(--mtg-card-transition) ease-out,
		background-color var(--mtg-card-transition) ease-out;
}

.mtg-content-card:hover,
.mtg-content-card:focus-visible {
	color: inherit;
	text-decoration: none;
}

.mtg-content-card:focus-visible {
	outline: 3px solid #9a1f24;
	outline-offset: 4px;
}

.mtg-content-card--equal-height {
	height: 100%;
}

.mtg-content-card__hover-inner {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	transition:
		transform var(--mtg-card-transition) ease-out,
		box-shadow var(--mtg-card-transition) ease-out;
}

.mtg-content-card--equal-height .mtg-content-card__hover-inner,
.mtg-content-card--equal-height .mtg-content-card__content {
	height: 100%;
}

.mtg-content-card__image-wrapper {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 100%;
	min-width: 0;
	aspect-ratio: 4 / 3;
	overflow: visible;
	background: #f4f4f4;
}

.mtg-content-card--image-mode-tile .mtg-content-card__image-wrapper,
.mtg-content-card--image-mode-tile-x .mtg-content-card__image-wrapper,
.mtg-content-card--image-mode-tile-y .mtg-content-card__image-wrapper {
	background-image: var(--mtg-card-tile-image);
	background-position: center center;
}

.mtg-content-card--image-mode-tile .mtg-content-card__image-wrapper {
	background-repeat: repeat;
}

.mtg-content-card--image-mode-tile-x .mtg-content-card__image-wrapper {
	background-repeat: repeat-x;
}

.mtg-content-card--image-mode-tile-y .mtg-content-card__image-wrapper {
	background-repeat: repeat-y;
}

.mtg-content-card--image-mode-tile .mtg-content-card__image,
.mtg-content-card--image-mode-tile-x .mtg-content-card__image,
.mtg-content-card--image-mode-tile-y .mtg-content-card__image {
	opacity: 0;
}

.mtg-content-card__image-wrapper--ratio-original {
	aspect-ratio: auto;
}

.mtg-content-card__image-wrapper--ratio-1-1 {
	aspect-ratio: 1 / 1;
}

.mtg-content-card__image-wrapper--ratio-4-3 {
	aspect-ratio: 4 / 3;
}

.mtg-content-card__image-wrapper--ratio-3-2 {
	aspect-ratio: 3 / 2;
}

.mtg-content-card__image-wrapper--ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.mtg-content-card__image-wrapper--ratio-custom {
	aspect-ratio: var(--mtg-content-card-custom-ratio, 4 / 3);
}

.mtg-content-card__image-wrapper--ratio-fixed-height {
	aspect-ratio: auto;
}

.mtg-content-card__image-wrapper::after,
.mtg-content-card__image-wrapper::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
	border-radius: inherit;
	transition:
		opacity var(--mtg-card-transition) ease,
		transform var(--mtg-card-transition) ease,
		border-color var(--mtg-card-transition) ease;
}

.mtg-content-card__image-wrapper::after {
	opacity: 0;
	background: rgba(0, 0, 0, 0.1);
}

.mtg-content-card__image-inner,
.mtg-content-card__image-link {
	display: block;
	width: 100%;
	height: 100%;
}

.mtg-content-card__image-inner {
	position: relative;
	z-index: 1;
	overflow: hidden;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	transition:
		transform 450ms ease-out,
		filter 450ms ease-out;
}

.mtg-content-card__image-face,
.mtg-content-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.mtg-content-card__image {
	object-fit: cover;
	object-position: center center;
}

.mtg-content-card-grid {
	display: grid;
	grid-template-columns: repeat(var(--mtg-card-grid-columns, 3), minmax(0, 1fr));
	gap: var(--mtg-card-grid-row-gap, 24px) var(--mtg-card-grid-column-gap, 24px);
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.mtg-content-card-grid--stretch .mtg-content-card,
.mtg-content-card-grid--stretch .mtg-content-card__hover-inner {
	height: 100%;
}

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

@media (max-width: 767px) {
	.mtg-content-card-grid {
		grid-template-columns: repeat(var(--mtg-card-grid-columns, 1), minmax(0, 1fr));
	}
}

.mtg-content-card--image-mode-cover .mtg-content-card__image {
	object-fit: cover;
}

.mtg-content-card--image-mode-cover-height .mtg-content-card__image-inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.mtg-content-card--image-mode-cover-height.mtg-content-card--image-pos-left-center .mtg-content-card__image-inner {
	justify-content: flex-start;
}

.mtg-content-card--image-mode-cover-height.mtg-content-card--image-pos-right-center .mtg-content-card__image-inner {
	justify-content: flex-end;
}

.mtg-content-card--image-mode-cover-height .mtg-content-card__image {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.mtg-content-card--image-mode-contain .mtg-content-card__image {
	object-fit: contain;
}

.mtg-content-card--image-mode-fill .mtg-content-card__image {
	object-fit: fill;
}

.mtg-content-card__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
	padding: 24px;
	text-align: left;
}

.mtg-content-card--style-2 .mtg-content-card__content {
	padding-top: 40px;
}

.mtg-content-card__title,
.mtg-content-card__description {
	max-width: 100%;
	margin: 0;
	overflow-wrap: anywhere;
	transition:
		color var(--mtg-card-transition) ease,
		text-shadow var(--mtg-card-transition) ease;
}

.mtg-content-card__title {
	color: #111111;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.mtg-content-card__title-link {
	color: inherit;
	text-decoration: none;
}

.mtg-content-card__description-animation {
	margin-top: var(--mtg-card-title-desc-gap);
}

.mtg-content-card__description {
	margin-top: 0;
	color: #555555;
	font-size: 15px;
	line-height: 1.55;
}

.mtg-content-card__line-animation {
	display: flex;
	width: 100%;
}

.mtg-content-card__line {
	display: block;
	flex: 0 0 auto;
	width: min(var(--mtg-card-line-width), 100%);
	height: var(--mtg-card-line-height);
	max-width: 100%;
	margin-top: 12px;
	margin-bottom: 12px;
	background-color: var(--mtg-card-line-color);
	border: 0;
	border-radius: 2px;
}

.mtg-content-card__floating-icon-animation {
	position: absolute;
	z-index: 4;
	top: 100%;
	left: var(--mtg-card-floating-x);
	bottom: auto;
	transform: translateY(calc(-50% + var(--mtg-card-floating-y)));
	pointer-events: none;
}

.mtg-content-card--floating-center .mtg-content-card__floating-icon-animation {
	left: 50%;
	transform: translate(-50%, calc(-50% + var(--mtg-card-floating-y)));
}

.mtg-content-card--floating-right .mtg-content-card__floating-icon-animation {
	right: var(--mtg-card-floating-x);
	left: auto;
}

.mtg-content-card__floating-icon-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: #9a1f24;
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
	transition:
		transform var(--mtg-card-transition) ease,
		color var(--mtg-card-transition) ease,
		background-color var(--mtg-card-transition) ease;
}

.mtg-content-card__floating-icon-inner svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.mtg-content-card__action-animation {
	display: flex;
	align-items: center;
	margin-top: var(--mtg-card-desc-action-gap);
}

.mtg-content-card--action-bottom .mtg-content-card__action-animation {
	margin-top: auto;
	padding-top: var(--mtg-card-desc-action-gap);
}

.mtg-content-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #9a1f24;
	line-height: 1;
	text-decoration: none;
	transition:
		color var(--mtg-card-transition) ease,
		background-color var(--mtg-card-transition) ease,
		border-color var(--mtg-card-transition) ease,
		box-shadow var(--mtg-card-transition) ease;
}

.mtg-content-card__action--button {
	width: 42px;
	height: 42px;
	background: rgba(154, 31, 36, 0.08);
	border-radius: 999px;
}

.mtg-content-card__action-inner {
	display: inline-flex;
	transition: transform 250ms ease-out;
}

.mtg-content-card__action-inner svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.mtg-content-card--bg-glass,
.mtg-content-card--glass {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.45);
	backdrop-filter: blur(var(--mtg-card-glass-blur)) saturate(var(--mtg-card-glass-saturation));
	-webkit-backdrop-filter: blur(var(--mtg-card-glass-blur)) saturate(var(--mtg-card-glass-saturation));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.mtg-content-card--bg-glass,
	.mtg-content-card--glass {
		background: rgba(255, 255, 255, 0.88);
	}
}

.mtg-content-card--has-entrance:not(.mtg-content-card--is-ready) .mtg-content-card__animate-item {
	opacity: 0;
}

.elementor-editor-active .mtg-content-card--has-entrance .mtg-content-card__animate-item,
.elementor-editor-preview .mtg-content-card--has-entrance .mtg-content-card__animate-item {
	opacity: 1;
	transform: none;
	animation: none;
}

.mtg-content-card--has-entrance.mtg-content-card--is-ready .mtg-content-card__animate-item {
	animation: mtg-content-card-enter var(--mtg-card-item-duration, var(--mtg-card-animation-duration)) var(--mtg-card-animation-easing) var(--mtg-card-item-delay, var(--mtg-card-animation-delay)) both;
}

.mtg-content-card--has-entrance .mtg-content-card__animate-item--off {
	opacity: 1;
	transform: none;
	animation: none;
}

.mtg-content-card--anim-left {
	--mtg-card-enter-x: calc(var(--mtg-card-animation-distance) * -1);
	--mtg-card-enter-y: 0;
}

.mtg-content-card--anim-right {
	--mtg-card-enter-x: var(--mtg-card-animation-distance);
	--mtg-card-enter-y: 0;
}

.mtg-content-card--anim-up {
	--mtg-card-enter-x: 0;
	--mtg-card-enter-y: var(--mtg-card-animation-distance);
}

.mtg-content-card--anim-down {
	--mtg-card-enter-x: 0;
	--mtg-card-enter-y: calc(var(--mtg-card-animation-distance) * -1);
}

.mtg-content-card--anim-fade {
	--mtg-card-enter-x: 0;
	--mtg-card-enter-y: 0;
}

@keyframes mtg-content-card-enter {
	from {
		opacity: 0;
		transform: translate3d(var(--mtg-card-enter-x, 0), var(--mtg-card-enter-y, 0), 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.mtg-content-card--card-lift:hover .mtg-content-card__hover-inner,
.mtg-content-card--card-lift:focus-visible .mtg-content-card__hover-inner {
	transform: translateY(-6px);
}

.mtg-content-card--card-scale:hover .mtg-content-card__hover-inner,
.mtg-content-card--card-scale:focus-visible .mtg-content-card__hover-inner {
	transform: scale(1.02);
}

.mtg-content-card--card-lift-scale:hover .mtg-content-card__hover-inner,
.mtg-content-card--card-lift-scale:focus-visible .mtg-content-card__hover-inner {
	transform: translateY(-6px) scale(1.01);
}

.mtg-content-card--card-shadow-emphasis:hover,
.mtg-content-card--card-shadow-emphasis:focus-visible {
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.mtg-content-card--card-border-emphasis:hover,
.mtg-content-card--card-border-emphasis:focus-visible {
	border-color: #9a1f24;
}

.mtg-content-card--image-zoom-in:hover .mtg-content-card__image-inner,
.mtg-content-card--image-zoom-in:focus-visible .mtg-content-card__image-inner {
	transform: scale(1.05);
}

.mtg-content-card--image-zoom-out .mtg-content-card__image-inner {
	transform: scale(1.05);
}

.mtg-content-card--image-zoom-out:hover .mtg-content-card__image-inner,
.mtg-content-card--image-zoom-out:focus-visible .mtg-content-card__image-inner {
	transform: scale(1);
}

.mtg-content-card--image-lift:hover .mtg-content-card__image-inner {
	transform: translateY(-4px) scale(1.02);
}

.mtg-content-card--image-tilt:hover .mtg-content-card__image-inner {
	transform: perspective(900px) rotateX(2deg) rotateY(4deg) scale(1.02);
}

.mtg-content-card--image-flip-x:hover .mtg-content-card__image-inner {
	transform: perspective(900px) rotateY(10deg);
}

.mtg-content-card--image-flip-y:hover .mtg-content-card__image-inner {
	transform: perspective(900px) rotateX(8deg);
}

.mtg-content-card--image-grayscale .mtg-content-card__image-inner {
	filter: grayscale(25%) saturate(90%);
}

.mtg-content-card--image-grayscale:hover .mtg-content-card__image-inner {
	filter: grayscale(0%) saturate(110%);
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-wrapper {
	perspective: 1000px;
	overflow: hidden;
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-inner,
.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-link {
	position: relative;
	transform-style: preserve-3d;
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-inner {
	overflow: visible;
	transition: filter 450ms ease-out;
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image:hover .mtg-content-card__image-inner,
.mtg-content-card--style-3.mtg-content-card--has-hover-image:focus-visible .mtg-content-card__image-inner {
	transform: none;
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-face {
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transition: transform 650ms ease;
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-face--front {
	position: absolute;
	inset: 0;
	z-index: 1;
	transform: rotateY(0deg);
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image .mtg-content-card__image-face--back {
	position: absolute;
	inset: 0;
	z-index: 2;
	transform: rotateY(180deg);
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image:hover .mtg-content-card__image-face--front,
.mtg-content-card--style-3.mtg-content-card--has-hover-image:focus-visible .mtg-content-card__image-face--front {
	transform: rotateY(-180deg);
}

.mtg-content-card--style-3.mtg-content-card--has-hover-image:hover .mtg-content-card__image-face--back,
.mtg-content-card--style-3.mtg-content-card--has-hover-image:focus-visible .mtg-content-card__image-face--back {
	transform: rotateY(0deg);
}

.mtg-content-card--overlay-light-sweep .mtg-content-card__image-wrapper::before,
.mtg-content-card--overlay-gradient .mtg-content-card__image-wrapper::before {
	inset: -20%;
	width: 35%;
	opacity: 0;
	background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
	transform: translateX(-180%) skewX(-20deg);
}

.mtg-content-card--overlay-gradient .mtg-content-card__image-wrapper::before {
	background: linear-gradient(110deg, rgba(154, 31, 36, 0), rgba(154, 31, 36, 0.18), rgba(154, 31, 36, 0));
}

.mtg-content-card--overlay-light-sweep:hover .mtg-content-card__image-wrapper::before,
.mtg-content-card--overlay-gradient:hover .mtg-content-card__image-wrapper::before {
	opacity: 1;
	transform: translateX(360%) skewX(-20deg);
	transition-duration: 700ms;
}

.mtg-content-card--overlay-overlay-fade .mtg-content-card__image-wrapper::after {
	opacity: 0.1;
}

.mtg-content-card--overlay-overlay-fade:hover .mtg-content-card__image-wrapper::after {
	opacity: 0.02;
}

.mtg-content-card--overlay-bottom-border .mtg-content-card__image-wrapper::before {
	top: auto;
	height: 3px;
	background: #9a1f24;
	opacity: 1;
	transform: scaleX(0);
	transform-origin: left center;
}

.mtg-content-card--overlay-bottom-border:hover .mtg-content-card__image-wrapper::before {
	transform: scaleX(1);
}

.mtg-content-card--overlay-full-border .mtg-content-card__image-wrapper::before {
	border: 2px solid #9a1f24;
	opacity: 0;
}

.mtg-content-card--overlay-full-border:hover .mtg-content-card__image-wrapper::before {
	opacity: 1;
}

.mtg-content-card--floating-scale:hover .mtg-content-card__floating-icon-inner {
	transform: scale(1.08);
}

.mtg-content-card--floating-move-up:hover .mtg-content-card__floating-icon-inner {
	transform: translateY(-4px);
}

.mtg-content-card--floating-rotate:hover .mtg-content-card__floating-icon-inner {
	transform: rotate(8deg);
}

.mtg-content-card--floating-pulse:hover .mtg-content-card__floating-icon-inner {
	animation: mtg-content-card-pulse 520ms ease-out 1;
}

@keyframes mtg-content-card-pulse {
	50% {
		transform: scale(1.12);
	}
}

.mtg-content-card--action-move-right:hover .mtg-content-card__action-inner {
	transform: translateX(4px);
}

.mtg-content-card--action-move-left:hover .mtg-content-card__action-inner {
	transform: translateX(-4px);
}

.mtg-content-card--action-scale:hover .mtg-content-card__action-inner {
	transform: scale(1.08);
}

.mtg-content-card--action-rotate:hover .mtg-content-card__action-inner {
	transform: rotate(-10deg);
}

@media (hover: none), (pointer: coarse) {
	.mtg-content-card--touch-static .mtg-content-card__hover-inner,
	.mtg-content-card--touch-static .mtg-content-card__image-inner,
	.mtg-content-card--touch-static .mtg-content-card__floating-icon-inner,
	.mtg-content-card--touch-static .mtg-content-card__action-inner {
		transform: none;
	}

	.mtg-content-card--touch-static .mtg-content-card__image-wrapper::before {
		display: none;
	}

	.mtg-content-card--style-3.mtg-content-card--touch-static:hover .mtg-content-card__image-inner,
	.mtg-content-card--style-3.mtg-content-card--touch-static:focus-visible .mtg-content-card__image-inner {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mtg-content-card,
	.mtg-content-card *,
	.mtg-content-card *::before,
	.mtg-content-card *::after {
		animation: none;
		transition-duration: 0.01ms;
	}

	.mtg-content-card__animate-item {
		opacity: 1;
		transform: none;
	}

	.mtg-content-card__hover-inner,
	.mtg-content-card__image-inner,
	.mtg-content-card__floating-icon-inner,
	.mtg-content-card__action-inner {
		transform: none;
	}

	.mtg-content-card--style-3.mtg-content-card--has-hover-image:hover .mtg-content-card__image-inner,
	.mtg-content-card--style-3.mtg-content-card--has-hover-image:focus-visible .mtg-content-card__image-inner {
		transform: none;
	}
}
