/* Infinite Marketing homepage hero. Server-rendered, one H1, no autoplay; image is the LCP element and is preloaded. */
.im-hero {
	--im-navy-950: #050816;
	--im-blue: #2f6bff;
	--im-blue-400: #5b8cff;
	--im-cyan: #22d3ee;
	--im-violet: #7b4dff;
	--im-ink: #e8ecff;
	--im-muted: #b4bddf;
	--im-line: rgba(160, 180, 255, 0.18);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(600px, calc(100svh - 76px), 820px);
	display: flex;
	align-items: center;
	background: var(--im-navy-950);
	color: var(--im-ink);
	font-family: var(--wdtFontTypo_Base, system-ui, sans-serif);
	margin: 0;
	width: 100%;
}
.im-hero__media {
	position: absolute; inset: 0; z-index: -2;
	width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
}
.im-hero__shade {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 70% at 85% 10%, rgba(123, 77, 255, 0.22), transparent 60%),
		linear-gradient(90deg, rgba(5, 8, 22, 0.97) 0%, rgba(5, 8, 22, 0.9) 38%, rgba(5, 8, 22, 0.35) 70%, rgba(5, 8, 22, 0.55) 100%),
		linear-gradient(0deg, rgba(5, 8, 22, 0.9) 0%, transparent 35%);
}
.im-hero__inner {
	width: 100%; max-width: 1320px; margin: 0 auto; padding: 72px 24px 64px;
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 56px; align-items: end;
}
.im-hero__eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px;
	border: 1px solid var(--im-line); border-radius: 999px; background: rgba(47, 107, 255, 0.08);
	color: var(--im-cyan); font: 700 12.5px/1.2 var(--wdtFontTypo_Alt, system-ui, sans-serif); letter-spacing: .08em; text-transform: uppercase;
}
.im-hero__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--im-cyan); box-shadow: 0 0 12px var(--im-cyan); }
.im-hero__title {
	margin: 0 0 22px !important; max-width: 13.5em;
	font: 800 clamp(38px, 5.4vw, 68px)/1.04 var(--wdtFontTypo_Alt, system-ui, sans-serif) !important;
	letter-spacing: -0.02em; color: #fff !important; text-wrap: balance;
}
.im-hero__lead { margin: 0 0 34px; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--im-muted); }
.im-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.im-hero__btn {
	display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px;
	font: 700 16px/1 var(--wdtFontTypo_Alt, system-ui, sans-serif); text-decoration: none !important; white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
}
.im-hero__btn--primary {
	color: #fff !important; background: linear-gradient(135deg, var(--im-blue), var(--im-violet));
	box-shadow: 0 18px 40px -16px rgba(47, 107, 255, 0.95);
}
.im-hero__btn--primary:hover, .im-hero__btn--primary:focus-visible { transform: translateY(-2px); filter: brightness(1.08); }
.im-hero__btn--ghost { color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); }
.im-hero__btn--ghost:hover, .im-hero__btn--ghost:focus-visible { background: rgba(255, 255, 255, 0.1); }
.im-hero a:focus-visible, .im-hero button:focus-visible, .im-hero__tabpanel:focus-visible { outline: 2px solid var(--im-cyan); outline-offset: 3px; }
.im-hero__icon { flex: 0 0 auto; }

/* Explore-by-goal panel */
.im-hero__panel {
	padding: 22px; border-radius: 22px;
	background: linear-gradient(160deg, rgba(17, 26, 69, 0.78), rgba(5, 8, 22, 0.82));
	border: 1px solid var(--im-line);
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.im-hero__panel-label { margin: 0 0 12px; color: var(--im-muted); font: 700 12px/1 var(--wdtFontTypo_Alt, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.im-hero__tabs { display: grid; gap: 8px; margin-bottom: 16px; }
.im-hero__tab {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 14px; text-align: left;
	border-radius: 14px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.03); color: var(--im-ink); cursor: pointer;
	font: 600 15px/1.3 var(--wdtFontTypo_Alt, system-ui, sans-serif);
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.im-hero__tab .im-hero__icon { color: var(--im-blue-400); }
.im-hero__tab:hover { background: rgba(91, 140, 255, 0.1); }
.im-hero__tab[aria-selected="true"] { background: rgba(47, 107, 255, 0.16); border-color: rgba(91, 140, 255, 0.55); color: #fff; }
.im-hero__tab[aria-selected="true"] .im-hero__icon { color: var(--im-cyan); }
.im-hero__tabpanel { padding: 18px 4px 2px; border-top: 1px solid var(--im-line); }
.im-hero__tabpanel.is-entering { animation: im-hero-in .35s ease both; }
.im-hero__panel-title {
	margin: 0 0 10px !important; color: #fff !important;
	font: 700 22px/1.25 var(--wdtFontTypo_Alt, system-ui, sans-serif) !important; letter-spacing: -0.01em;
}
.im-hero__tabpanel p { margin: 0 0 16px; color: var(--im-muted); font-size: 15.5px; line-height: 1.6; }
.im-hero__link { display: inline-flex; align-items: center; gap: 8px; color: var(--im-cyan) !important; font: 700 15px/1 var(--wdtFontTypo_Alt, system-ui, sans-serif); text-decoration: none !important; }
.im-hero__link:hover .im-hero__icon { transform: translateX(3px); }
.im-hero__link .im-hero__icon { transition: transform .2s ease; }

@keyframes im-hero-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.im-hero__copy { animation: im-hero-rise .7s ease both; }
.im-hero__panel { animation: im-hero-rise .7s .12s ease both; }
@keyframes im-hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
	.im-hero { min-height: 0; align-items: stretch; }
	.im-hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 20px 48px; }
	.im-hero__media { object-position: 78% center; opacity: .55; }
	.im-hero__shade { background: linear-gradient(180deg, rgba(5, 8, 22, 0.75) 0%, rgba(5, 8, 22, 0.92) 55%, rgba(5, 8, 22, 1) 100%); }
	.im-hero__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.im-hero__tab { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13.5px; }
}
@media (max-width: 600px) {
	.im-hero__inner { padding: 40px 16px 40px; }
	.im-hero__eyebrow { font-size: 11px; letter-spacing: .06em; }
	.im-hero__actions { flex-direction: column; }
	.im-hero__btn { justify-content: center; width: 100%; }
	.im-hero__tabs { grid-template-columns: 1fr; }
	.im-hero__tab { flex-direction: row; align-items: center; font-size: 15px; }
	.im-hero__panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.im-hero__copy, .im-hero__panel, .im-hero__tabpanel.is-entering { animation: none !important; }
	.im-hero__btn, .im-hero__tab, .im-hero__link .im-hero__icon { transition: none !important; }
}

/* Theme isolation for the tab buttons (the theme styles every <button> globally). */
.im-hero .im-hero__tab { box-shadow: none; text-transform: none; letter-spacing: normal; height: auto; line-height: 1.3; display: flex; background: rgba(255, 255, 255, 0.03); border: 1px solid transparent; border-radius: 14px; padding: 10px 14px; color: var(--im-ink); width: 100%; }
.im-hero .im-hero__tab:hover { background: rgba(91, 140, 255, 0.1); }
.im-hero .im-hero__tab[aria-selected="true"] { background: rgba(47, 107, 255, 0.16); border-color: rgba(91, 140, 255, 0.55); color: #fff; }
@media (max-width: 1023px) { .im-hero .im-hero__tab { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .im-hero .im-hero__tab { flex-direction: row; align-items: center; } }

/* Hero sits directly under the fixed header: remove the theme's #main top padding and Elementor container padding around it. */
.home.im-has-header #main { padding-top: 0 !important; margin-top: 0 !important; }
.home .e-con:has(> .elementor-widget-shortcode .im-hero), .home .e-con:has(> .elementor-widget-shortcode .im-hero) > .e-con-inner { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; padding: 0 !important; margin: 0 !important; }
.home .elementor-widget-shortcode:has(.im-hero) { margin: 0 !important; width: 100%; }

/* Homepage "Latest Blog & News" cards ([im_latest_posts]). */
.im-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0; }
.im-latest__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, rgba(17, 26, 69, .7), rgba(5, 8, 22, .85)); border: 1px solid rgba(160, 180, 255, .16); transition: border-color .2s ease, transform .2s ease; }
.im-latest__card:hover { border-color: rgba(91, 140, 255, .6); transform: translateY(-3px); }
.im-latest__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.im-latest__body { padding: 18px 20px 22px; }
.im-latest__meta { margin: 0 0 8px; color: #22d3ee; font-size: 13px; letter-spacing: .02em; }
.im-latest__title { margin: 0 0 10px !important; font: 700 19px/1.3 var(--wdtFontTypo_Alt, system-ui, sans-serif) !important; }
.im-latest__title a { color: #fff !important; text-decoration: none; }
.im-latest__title a:hover, .im-latest__title a:focus-visible { color: #c4b2ff !important; }
.im-latest__excerpt { margin: 0; color: #b4bddf; font-size: 15px; line-height: 1.6; }
@media (max-width: 1023px) { .im-latest { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .im-latest { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .im-latest__card { transition: none; } .im-latest__card:hover { transform: none; } }
