/* Talli Hover Image Card + Reveal Link Card.
   Each state only swaps CSS variables; the real properties transition => smooth, GPU friendly. */
.elementor-widget-talli-hover-card>.elementor-widget-container,
.elementor-widget-talli-reveal-card>.elementor-widget-container{height:100%}

.tw-card-x{
	--_bg:var(--hc-bg,#1A1A1A);--_title:var(--hc-title,#FFDD00);--_text:var(--hc-text,#FFFFFF);--_arrow:var(--hc-arrow,#FFDD00);
	--_logo:var(--hc-logo,brightness(0) invert(1));--_a:0;--_z:1;--_rows:0fr;--_y:0px;
	--_t:var(--hc-dur,450ms) var(--hc-ease,cubic-bezier(.22,.61,.36,1));
	position:relative;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;box-sizing:border-box;
	border-radius:8px;background-color:var(--_bg);color:var(--_text);text-decoration:none;
	font-family:var(--tw-font,'proxima-nova','Proxima Nova',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif);
	-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;
	transform:translate3d(0,var(--_y),0);
	transition:background-color var(--_t),transform var(--_t),box-shadow var(--_t)
}
.tw-card-x *,.tw-card-x *::before,.tw-card-x *::after{box-sizing:border-box}
a.tw-card-x,a.tw-card-x:hover,a.tw-card-x:focus{text-decoration:none;color:var(--_text)}
.tw-card-x:focus-visible{outline:2px solid var(--hc-bg-h,#FFDD00);outline-offset:3px}
.tw-full-h{height:100%}

/* ---------- Highlighted state (hover / focus / always / mobile) ---------- */
.tw-card-x.is-active,.tw-card-x.is-inview,.tw-card-x:focus-visible,.tw-rcard:focus-within{
	--_bg:var(--hc-bg-h,#FFDD00);--_title:var(--hc-title-h,#1A1A1A);--_text:var(--hc-text-h,#1A1A1A);--_arrow:var(--hc-arrow-h,#1A1A1A);
	--_logo:var(--hc-logo-h,brightness(0));--_a:1;--_z:var(--hc-zoom,1.05);--_rows:1fr;--_y:calc(-1 * var(--hc-lift,0px))
}
@media (hover:hover){
	.tw-card-x:hover{
		--_bg:var(--hc-bg-h,#FFDD00);--_title:var(--hc-title-h,#1A1A1A);--_text:var(--hc-text-h,#1A1A1A);--_arrow:var(--hc-arrow-h,#1A1A1A);
		--_logo:var(--hc-logo-h,brightness(0));--_a:1;--_z:var(--hc-zoom,1.05);--_rows:1fr;--_y:calc(-1 * var(--hc-lift,0px))
	}
}
@media (hover:none){
	.tw-card-x.tw-touch-hover{
		--_bg:var(--hc-bg-h,#FFDD00);--_title:var(--hc-title-h,#1A1A1A);--_text:var(--hc-text-h,#1A1A1A);--_arrow:var(--hc-arrow-h,#1A1A1A);
		--_logo:var(--hc-logo-h,brightness(0));--_a:1;--_z:var(--hc-zoom,1.05);--_rows:1fr;--_y:0px
	}
}

/* ---------- Media ---------- */
.tw-card-x .tw-cx-media{position:relative;flex:none;height:var(--hc-img-h,300px);overflow:hidden;margin:0}
.tw-card-x .tw-cx-media img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0;transform:scale(var(--_z));transition:transform calc(var(--hc-dur,450ms) * 1.8) var(--hc-ease,cubic-bezier(.22,.61,.36,1))}
.tw-rcard.tw-full-h .tw-cx-media{flex:1 1 auto;height:auto;min-height:var(--hc-img-h,300px)}
/* Aspect-ratio images scale with the card width (responsive) */
.tw-card-x.tw-img-ratio .tw-cx-media{height:auto;min-height:0;aspect-ratio:var(--hc-ratio,16/9)}
.tw-rcard.tw-full-h.tw-img-ratio .tw-cx-media{flex:1 0 auto;min-height:0}

/* ---------- Body ---------- */
.tw-card-x .tw-cx-body{position:relative;display:flex;flex-direction:column;padding:40px 30px 36px}
.tw-hcard.tw-full-h .tw-cx-body{flex:1 1 auto}
.tw-card-x .tw-cx-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.tw-card-x .tw-cx-title{margin:0;padding:0;color:var(--_title);font-family:inherit;font-size:var(--tw-fs-h3,clamp(26px,2.1vw,33px));line-height:var(--tw-lh-h3,1.2em);font-weight:400;letter-spacing:0;transition:color var(--_t)}
.tw-card-x .tw-cx-text{color:var(--_text);font-size:var(--tw-fs-body,clamp(16px,1.2vw,19px));line-height:var(--tw-lh-body,1.5em);transition:color var(--_t)}
.tw-card-x .tw-cx-text p{margin:0 0 .6em;font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit}
.tw-card-x .tw-cx-text p:last-child{margin-bottom:0}

/* Arrow (hover card) */
.tw-card-x .tw-cx-arrow{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:24px;margin-top:.25em;color:var(--_arrow);opacity:var(--_a);
	transform:translate3d(calc((1 - var(--_a)) * -10px),calc((1 - var(--_a)) * 10px),0);transition:opacity var(--_t),transform var(--_t),color var(--_t)}
.tw-arrow-always .tw-cx-arrow{opacity:1;transform:none}
.tw-card-x .tw-cx-arrow svg,.tw-card-x .tw-rc-icon svg{width:100%;height:100%}
.tw-card-x .e-font-icon-svg{fill:currentColor}

/* Logos row (hover card) */
.tw-card-x .tw-cx-logos{display:flex;flex-wrap:wrap;align-items:center;gap:16px 40px;padding-top:40px;margin-top:auto}
.tw-card-x .tw-cx-logos--cols{display:grid;grid-template-columns:repeat(var(--hc-logo-cols,4),minmax(0,1fr));align-items:center;justify-items:start}
.tw-card-x .tw-cx-logos--cols img{max-width:100% !important;min-width:0}
.tw-card-x .tw-cx-logos--multi img{display:block;height:24px;width:auto;max-width:130px;object-fit:contain;filter:var(--_logo);transition:filter var(--_t)}

/* Single row image */
.tw-card-x .tw-cx-logos--single{display:block}
.tw-card-x .tw-cx-logos.tw-cx-logos--single img{display:block;width:100%;height:auto !important;max-width:100%;min-width:0;object-fit:contain;object-position:left center;filter:var(--_logo);transition:filter var(--_t)}

/* ---------- Reveal link (reveal card) ---------- */
.tw-rcard .tw-rc-overlay{position:absolute;inset:0;z-index:1}
.tw-rcard .tw-rc-wrap{display:grid;grid-template-rows:var(--_rows);transition:grid-template-rows var(--_t)}
.tw-rcard .tw-rc-inner{min-height:0;overflow:hidden}
.tw-rcard .tw-rc-link{position:relative;z-index:2;display:inline-flex;align-items:center;gap:10px;margin-top:var(--hc-link-space,24px);margin-bottom:2px;color:var(--_arrow);text-decoration:none;font-size:var(--tw-fs-btn,clamp(15px,1vw,16px));line-height:1.3;
	opacity:var(--_a);transform:translate3d(0,calc((1 - var(--_a)) * 12px),0);transition:opacity var(--_t),transform var(--_t),color var(--_t)}
.tw-rcard .tw-rc-link:hover,.tw-rcard .tw-rc-link:focus{color:var(--_arrow);text-decoration:none}
.tw-rcard .tw-rc-link>span:first-child{background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .35s ease}
.tw-rcard .tw-rc-link:hover>span:first-child{background-size:100% 1px}
.tw-rcard .tw-rc-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.tw-rcard .tw-rc-icon{display:inline-flex;flex:none;width:14px;height:14px;font-size:14px;transition:transform .3s ease}
.tw-rcard .tw-rc-link:hover .tw-rc-icon{transform:translate(2px,-2px)}
.tw-reveal-fade .tw-rc-wrap,.tw-reveal-always .tw-rc-wrap{grid-template-rows:1fr}
/* Overlay: the coloured box grows down OVER the image; the image never moves */
.tw-reveal-overlay .tw-cx-body{z-index:2}
.tw-reveal-overlay.tw-rc-whole .tw-cx-body{pointer-events:none}
.tw-reveal-overlay.tw-rc-whole .tw-rc-link{pointer-events:auto}
.tw-reveal-overlay .tw-rc-wrap{position:absolute;left:0;right:0;top:calc(100% - var(--cx-pb,34px));padding:0 var(--cx-pr,36px) var(--cx-pb,34px) var(--cx-pl,36px);background-color:var(--_bg);
	transition:grid-template-rows var(--_t),background-color var(--_t)}
.tw-reveal-always .tw-rc-link{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
	.tw-card-x,.tw-card-x *{transition-duration:.01ms !important}
}
