/*
* Saman homepage hero v1.3.1
* The character is part of the headline, while the original route panel
* remains an independent block below search and actions.
*/

.elementor-widget-autonameh_home_hero .anw-saman-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  min-width: 0;
}

.elementor-widget-autonameh_home_hero .anw-saman-hero-main .anw-hero-copy {
  width: 100%;
  min-width: 0;
}

.elementor-widget-autonameh_home_hero .anw-saman-headline {
  --anw-saman-title-gap: 14px;
  display: block;
  width: 100%;
  min-width: 0;
}

.elementor-widget-autonameh_home_hero .anw-saman-headline--with-character {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--anw-saman-title-gap);
}

.elementor-widget-autonameh_home_hero .anw-saman-hero__figure {
  --anw-saman-width: 84px;
  --anw-saman-offset-x: 0px;
  --anw-saman-offset-y: 0px;
  --anw-saman-frame-background: #eaf4ff;
  --anw-saman-frame-border: #d9e1ea;
  position: relative;
  width: min(100%, var(--anw-saman-width));
  min-width: 0;
  margin: 0;
  aspect-ratio: var(--anw-saman-mobile-ratio, 1 / 1);
  align-self: flex-start;
  overflow: hidden;
  background: var(--anw-saman-frame-background);
  border: 2px solid var(--anw-saman-frame-border);
  border-radius: 999px;
  transform: translate3d(var(--anw-saman-offset-x), var(--anw-saman-offset-y), 0);
  transform-origin: center;
}

.elementor-widget-autonameh_home_hero .anw-saman-hero__picture,
.elementor-widget-autonameh_home_hero .anw-saman-hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.elementor-widget-autonameh_home_hero .anw-saman-hero__image {
  object-fit: contain;
  object-position: center;
}

/* Remove only the transparent canvas around the bundled face asset. */
.elementor-widget-autonameh_home_hero .anw-saman-hero__figure--trimmed-default {
  aspect-ratio: 1142 / 1166;
}

.elementor-widget-autonameh_home_hero .anw-saman-hero__figure--trimmed-default .anw-saman-hero__picture {
  position: absolute;
  top: -7.547%;
  left: -3.678%;
  width: 109.807%;
  height: auto;
}

.elementor-widget-autonameh_home_hero .anw-saman-hero__figure--trimmed-default .anw-saman-hero__image {
  height: auto;
}

/* Keep the original Elementor-controlled route-card design and only move it. */
.elementor-widget-autonameh_home_hero .anw-saman-route-card {
  width: 100%;
  max-width: 100% !important;
  margin-block-start: 4px;
  align-self: stretch;
  justify-self: stretch;
}

@media (min-width: 768px) {
  .elementor-widget-autonameh_home_hero .anw-saman-headline {
	--anw-saman-title-gap: 18px;
  }

  .elementor-widget-autonameh_home_hero .anw-saman-hero__figure {
	--anw-saman-width: 116px;
  }
}

@media (min-width: 900px) {
  .elementor-widget-autonameh_home_hero .anw-saman-headline {
	--anw-saman-title-gap: 24px;
  }

  .elementor-widget-autonameh_home_hero .anw-saman-headline--with-character {
	display: grid;
	grid-template-columns: var(--anw-saman-width) minmax(0, 1fr);
	align-items: center;
	gap: var(--anw-saman-title-gap);
	direction: ltr;
  }

  .elementor-widget-autonameh_home_hero
	.anw-saman-headline
	.anw-saman-hero__figure {
	grid-column: 1;
	width: var(--anw-saman-width);
	align-self: center;
	justify-self: start;
	aspect-ratio: var(--anw-saman-desktop-ratio, 1 / 1);
  }

  .elementor-widget-autonameh_home_hero
	.anw-saman-headline
	.anw-hero-title {
	grid-column: 2;
	direction: rtl;
  }
}

@media (min-width: 1200px) {
  .elementor-widget-autonameh_home_hero .anw-saman-hero__figure {
	--anw-saman-width: 160px;
  }
}

@media (max-width: 899px) {
  .elementor-widget-autonameh_home_hero .anw-saman-headline--with-character .anw-saman-hero__figure {
	order: 1;
  }

  .elementor-widget-autonameh_home_hero .anw-saman-headline--with-character .anw-hero-title {
	order: 2;
  }
}

@media (max-width: 767px) {
  .elementor-widget-autonameh_home_hero .anw-saman-headline {
	--anw-saman-title-gap: 14px;
  }




  .elementor-widget-autonameh_home_hero .anw-saman-hero__figure {
	--anw-saman-width: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-widget-autonameh_home_hero .anw-saman-hero__figure {
	transition: none !important;
  }
}
