/*
 * Autonameh Elementor homepage widgets.
 * Source: Figma mobile 2011:1667 (primary), desktop 2011:1240 (validation).
 * Mobile-first, RTL-safe, scoped under .anw-home.
 */

.anw-home,
.anw-home * {
  box-sizing: border-box;
}

.anw-home {
  --anw-brand: #0b56b3;
  --anw-brand-bright: #1078f0;
  --anw-brand-soft: #eaf4ff;
  --anw-attention: #fff6dc;
  --anw-warning: #a66300;
  --anw-canvas: #f4f7fa;
  --anw-surface: #fff;
  --anw-text: #172033;
  --anw-muted: #657084;
  --anw-border: #d9e1ea;
  --anw-yellow: #f8b810;
  width: 100%;
  min-width: 0;
  color: var(--anw-text);
  direction: rtl;
  font-family: Vazirmatn, Tahoma, sans-serif;
  text-align: right;
}

.anw-home :where(h1, h2, h3, p, form) {
  margin: 0;
}

.anw-home :where(a) {
  color: inherit;
  text-decoration: none;
}

.anw-home :where(img, svg) {
  display: block;
  max-width: 100%;
}

.anw-home .anw-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1312px;
  min-width: 0;
  margin-inline: auto;
}

.anw-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.anw-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  color: currentColor;
}

.anw-icon path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* Shared heading */
.anw-section-heading {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 8px;
}

.anw-section-title {
  color: var(--anw-text);
  font-family: Estedad, Vazirmatn, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.anw-section-description {
  color: var(--anw-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.875;
  overflow-wrap: anywhere;
}

/* Hero */
.anw-hero {
	--anw-hero-padding-inline: 20px;
	--anw-hero-padding-block: 32px;
	padding: var(--anw-hero-padding-block) var(--anw-hero-padding-inline) !important;
  overflow: clip;
  background: var(--anw-surface);
}

.anw-hero > .anw-container {
  gap: 24px;
}

.anw-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.anw-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.anw-hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-height: 44px;
  padding: 10px;
  color: var(--anw-warning);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  background: var(--anw-attention);
  border-radius: 999px;
}

.anw-hero-title {
	--anw-hero-title-size: 44px;
	--anw-hero-title-leading: 1.45em;
	position: static !important;
	display: block !important;
	width: 100% !important;
	max-width: 100%;
	min-width: 0;
	padding: 0 !important;
	margin: 0 !important;
	color: var(--anw-text);
	font-family: Estedad, Vazirmatn, sans-serif;
	font-size: var(--anw-hero-title-size) !important;
	font-weight: 800;
	line-height: var(--anw-hero-title-leading) !important;
	letter-spacing: -0.02em;
	white-space: normal !important;
	word-break: normal;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.anw-hero-title-highlight {
	position: static !important;
	display: inline !important;
	inset: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	color: inherit;
	font: inherit;
	line-height: inherit !important;
	transform: none !important;
}

.anw-hero-description {
  color: var(--anw-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.anw-search {
  display: flex !important;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 6px !important;
  overflow: hidden;
  background: var(--anw-surface);
  border: 1px solid var(--anw-border) !important;
  border-radius: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.anw-search:focus-within {
  border-color: var(--anw-brand-bright);
  box-shadow: 0 0 0 3px rgba(16, 120, 240, 0.14);
}

.anw-search input[type="search"] {
	width: auto !important;
	min-width: 0;
	height: 48px !important;
	min-height: 48px !important;
	flex: 1 1 auto !important;
	padding: 0 14px !important;
	margin: 0 !important;
	color: var(--anw-text);
	font-family: Vazirmatn, Tahoma, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 48px;
	text-align: right;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	appearance: none;
}

.anw-search input[type="search"]::placeholder {
  color: var(--anw-muted);
  opacity: 1;
}

.anw-search input[type="search"]::-webkit-search-cancel-button {
  appearance: none;
}

.anw-search-submit {
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  place-items: center;
  border: 0 !important;
  border-radius: 12px;
  color: #fff;
  background: var(--anw-brand-bright);
  box-shadow: none !important;
  cursor: pointer !important;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.anw-search-submit:hover {
  background: var(--anw-brand);
  transform: translateY(-1px);
}

.anw-search-submit:active {
  transform: translateY(0) scale(.97);
}

.anw-search-submit:focus-visible {
  outline: 3px solid var(--anw-accent);
  outline-offset: 2px;
}

.anw-search-submit-icon,
.anw-search-submit-icon .anw-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.anw-search-submit .anw-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.anw-hero-actions,
.anw-final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.anw-btn {
	--anw-button-font-size: 16px;
	--anw-button-line-height: 1.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 16px;
	font-size: var(--anw-button-font-size) !important;
  font-weight: 700;
	line-height: var(--anw-button-line-height) !important;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.anw-btn:hover {
  transform: translateY(-1px);
}

.anw-btn:focus-visible,
.anw-problem-card:focus-visible,
.anw-car-card:focus-visible,
.anw-car-brand-link:focus-visible,
.anw-car-title-link:focus-visible,
.anw-car-meta-link:focus-visible,
.anw-trust-chip:focus-visible,
.anw-route-board:focus-visible,
.anw-carousel-controls button:focus-visible {
  outline: 3px solid rgba(16, 120, 240, 0.34);
  outline-offset: 3px;
}

.anw-btn-primary {
  color: #fff;
  background: var(--anw-brand-bright);
}

.anw-btn-primary:hover {
  color: #fff;
  background: var(--anw-brand);
  box-shadow: 0 6px 18px rgba(11, 86, 179, 0.2);
}

.anw-btn-secondary {
  color: var(--anw-brand);
  background: #fff;
  border-color: #b9d8ff;
}

.anw-route-board {
	display: flex;
	flex-direction: column;
	align-self: center;
	justify-self: center;
	gap: 18px;
	width: 100%;
	max-width: 384px;
	min-width: 0;
	padding: 22px;
	overflow: hidden;
	color: #fff;
	background: var(--anw-text);
	border-radius: 24px;
	box-shadow: 0 18px 45px rgba(23, 32, 51, 0.13);
}

.anw-route-title {
	padding: 0 0 16px;
	margin: 0;
	color: #fff;
	font-family: Estedad, Vazirmatn, sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.75;
	text-align: center;
	border-bottom: 1px solid rgba(234, 244, 255, 0.18);
	overflow-wrap: anywhere;
}

.anw-route-list {
	display: grid;
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.anw-route-step {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 72px;
	padding: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(234, 244, 255, 0.16);
	border-radius: 12px;
}

.anw-route-number {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--anw-text);
	font-family: Estedad, Vazirmatn, sans-serif;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	background: var(--anw-yellow);
	border-radius: 999px;
}

.anw-route-step:not(:last-child) .anw-route-number::after {
	position: absolute;
	top: 100%;
	right: 50%;
	z-index: -1;
	height: 25px;
	border-right: 1px dashed var(--anw-yellow);
	content: "";
	transform: translateX(50%);
}

.anw-route-step-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.anw-route-step-title {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.anw-route-step-description {
	color: var(--anw-brand-soft);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.anw-trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  min-width: 0;
  padding: 18px;
  background: var(--anw-brand-soft);
  border-radius: 16px;
}

.anw-trust-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 16px;
  color: var(--anw-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
}

.anw-trust-chip .anw-icon {
  width: 20px;
  height: 20px;
  color: var(--anw-brand);
}

.anw-trust-chip span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Popular problems */
.elementor-widget-autonameh_quick_paths,
.elementor-widget-autonameh_quick_paths > .elementor-widget-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.anw-problems {
  --anw-problems-background: var(--anw-canvas);
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding: 40px 20px;
  overflow-x: clip !important;
  box-sizing: border-box !important;
  background: var(--anw-problems-background);
}

.anw-problems .anw-container,
.anw-cars .anw-container {
  gap: 28px;
}

.anw-problems > .anw-container {
  width: 100% !important;
  max-width: 1312px;
  min-width: 0 !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.anw-problem-grid {
  display: grid;
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.anw-problem-card,
.anw-car-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  color: var(--anw-text);
  background: var(--anw-surface);
  border: 1px solid var(--anw-border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(23, 33, 51, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.anw-problem-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.anw-problem-card:hover,
.anw-car-card:hover {
  color: var(--anw-text);
  border-color: #b9d8ff;
  box-shadow: 0 10px 24px rgba(23, 33, 51, 0.1);
  transform: translateY(-2px);
}

.anw-card-visual,
.anw-car-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 144px;
  padding: 16px;
  overflow: hidden;
  background: var(--anw-attention);
  border-radius: 16px;
}

.anw-car-visual-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none !important;
}

.anw-card-visual img,
.anw-car-visual img {
  width: 100%;
  height: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 10px;
}

.anw-card-visual .anw-icon {
  width: 48px;
  height: 48px;
  color: var(--anw-warning);
}

.anw-card-kicker,
.anw-car-brand {
  color: var(--anw-warning);
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
}

.elementor-widget-autonameh_cars_carousel .anw-car-brand-link,
.elementor-widget-autonameh_cars_carousel .anw-car-title-link,
.elementor-widget-autonameh_cars_carousel .anw-car-meta-link {
  color: inherit;
  text-decoration: none !important;
}

/* Keep Elementor's global link typography from enlarging the guide link. */
.elementor-widget-autonameh_cars_carousel a.anw-car-meta-link {
  display: inline-block;
  max-width: 100%;
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.8 !important;
  overflow-wrap: anywhere;
}

.elementor-widget-autonameh_cars_carousel .anw-car-brand-link:hover,
.elementor-widget-autonameh_cars_carousel .anw-car-brand-link:focus-visible,
.elementor-widget-autonameh_cars_carousel .anw-car-title-link:hover,
.elementor-widget-autonameh_cars_carousel .anw-car-title-link:focus-visible,
.elementor-widget-autonameh_cars_carousel .anw-car-meta-link:hover,
.elementor-widget-autonameh_cars_carousel .anw-car-meta-link:focus-visible {
  text-decoration-line: underline !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 4px !important;
}

.anw-card-title,
.anw-car-title {
  color: var(--anw-text);
  font-family: Estedad, Vazirmatn, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Brand and model form one semantic H3 while retaining their visual hierarchy. */
.elementor-widget-autonameh_cars_carousel .anw-car-title {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  text-align: start;
}

.elementor-widget-autonameh_cars_carousel .anw-car-title > .anw-car-brand,
.elementor-widget-autonameh_cars_carousel .anw-car-title > .anw-car-title-link,
.elementor-widget-autonameh_cars_carousel .anw-car-title > .anw-car-title-text {
  display: block;
  max-width: 100%;
}

.anw-card-description,
.anw-car-description {
  color: var(--anw-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.86;
  overflow-wrap: anywhere;
}

.anw-card-meta,
.anw-car-meta {
  color: var(--anw-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
  overflow-wrap: anywhere;
}

/* Dynamic vehicle section */
.anw-cars {
  padding: 40px 20px;
  overflow: clip;
  background: var(--anw-surface);
}

.anw-cars-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.anw-cars-head .anw-section-heading {
  flex: 1 1 auto;
}

.anw-cars-stage {
  position: relative;
  width: 100%;
  min-width: 0;
}

.anw-cars-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.anw-cars-track {
  --anw-cards-per-view: 1;
  --anw-card-gap: 20px;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  padding-block-end: 12px;
}

.anw-car-card {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

.anw-car-visual {
  background: var(--anw-canvas);
}

.anw-car-visual .anw-icon {
  width: 48px;
  height: 48px;
  color: var(--anw-brand);
}

.anw-car-brand {
  color: var(--anw-brand);
}

.anw-carousel-controls {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.anw-carousel-controls button {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--anw-brand);
  font-size: 26px;
  background: #fff;
  border: 1px solid #b9d8ff;
  border-radius: 12px;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
}

.anw-carousel-button--right {
  right: 12px;
}

.anw-carousel-button--left {
  left: 12px;
}

.anw-carousel-controls button:disabled,
.anw-carousel-controls .anw-carousel-button--disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

/* Standalone trust widget */
.anw-trust-widget {
  padding: 0 20px;
  background: transparent;
}

/* Optional final CTA. It uses the same Figma tokens but is not in the homepage frame. */
.anw-final {
  padding: 40px 20px;
  background: var(--anw-surface);
}

.anw-final-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  background-color: var(--anw-brand);
  background-image: linear-gradient(rgba(11, 86, 179, 0.88), rgba(11, 86, 179, 0.88)), var(--anw-cta-image, none);
  background-position: center;
  background-size: cover;
  border-radius: 24px;
}

.anw-final-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.anw-final-box h2 {
  color: #fff;
  font-family: Estedad, Vazirmatn, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
}

.anw-final-box p {
  color: var(--anw-brand-soft);
  font-size: 16px;
  line-height: 1.9;
}

.anw-final .anw-btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.58);
}

/* Keep the final CTA buttons independent from theme-wide link styles. */
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:link,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:visited,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:hover,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:active,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:focus,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn:focus-visible {
  text-decoration: none !important;
  opacity: 1 !important;
}

.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:link,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:visited {
  color: #fff !important;
  background-color: var(--anw-brand-bright) !important;
  border-color: var(--anw-brand-bright) !important;
}

.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:hover,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:active,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:focus,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-primary:focus-visible {
  color: #fff !important;
  background-color: #0954a8 !important;
  border-color: #b9d8ff !important;
}

.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:link,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:visited {
  color: #fff !important;
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
}

.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:hover,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:active,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:focus,
.elementor-widget-autonameh_final_cta .anw-final a.anw-btn-secondary:focus-visible {
  color: var(--anw-brand) !important;
  background-color: #fff !important;
  border-color: #fff !important;
}

@media (min-width: 768px) {
  .elementor-widget-autonameh_quick_paths,
  .elementor-widget-autonameh_quick_paths > .elementor-widget-container {
    overflow-x: visible;
  }

  .anw-problems {
    overflow-x: visible !important;
    box-shadow: 0 0 0 100vmax var(--anw-problems-background);
    clip-path: inset(0 -100vmax);
  }

  .anw-problems,
  .anw-cars,
  .anw-final {
    padding: 48px 32px;
  }

	.anw-hero {
		--anw-hero-padding-inline: 32px;
		--anw-hero-padding-block: 40px;
	}

  .anw-trust-widget {
    padding-inline: 32px;
  }

  .anw-hero-main {
    gap: 32px;
  }

	.anw-hero-copy {
		justify-self: center;
	}

  .anw-hero-pill {
    align-self: flex-start;
    min-width: 290px;
  }

	.anw-hero-title {
		--anw-hero-title-size: 50px;
		--anw-hero-title-leading: 1.45em;
  }

  .anw-hero-actions,
  .anw-final-actions {
    flex-direction: row;
  }

	.anw-hero-actions .anw-btn {
		width: 0;
		min-width: 0;
		flex: 1 1 0;
		padding-inline: 12px;
		white-space: nowrap;
	}

  .anw-btn {
    width: auto;
    min-width: 190px;
  }

  .anw-trust-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 22px;
  }

  .anw-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .anw-final-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
	.anw-hero-copy {
		width: 100%;
		max-width: 100% !important;
	}

	.anw-route-board {
		max-width: 520px;
	}
}

@media (min-width: 1024px) {
  .anw-cars,
  .anw-final {
    padding: 64px;
  }

	.anw-hero {
		--anw-hero-padding-inline: 64px;
		--anw-hero-padding-block: 64px;
	}

  .anw-trust-widget {
    padding-inline: 64px;
  }

  .anw-hero > .anw-container {
    gap: 44px;
  }

	.anw-hero-title {
		--anw-hero-title-size: 56px;
		--anw-hero-title-leading: 1.43em;
	}

  .anw-card-visual,
  .anw-car-visual {
    min-height: 190px;
  }
}

/* Prevent an orphan third card on wide tablets without narrowing 768px layouts. */
@media (min-width: 900px) and (max-width: 1024px) {
  .elementor-widget-autonameh_quick_paths .anw-problem-grid {
    grid-template-columns: repeat(var(--anw-problem-wide-columns, 3), minmax(0, 1fr)) !important;
  }
}

/* Keep 1024px inside the tablet rules; Elementor also treats it as tablet. */
@media (min-width: 1025px) {
  /*
   * Extend only the section background to the viewport edges. The section
   * content itself stays inside Elementor's centered container, so cards
   * cannot be shifted or clipped by a 100vw breakout.
   */
  .anw-problems {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    padding: 64px;
  }

  .anw-problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
	.anw-hero-main {
		grid-template-columns: minmax(0, 610px) minmax(0, 1fr);
		align-items: stretch;
		gap: 56px;
	}

	.anw-hero-copy {
		max-width: 610px;
	}

	.anw-route-board {
		padding: 28px;
	}

	.anw-hero-actions .anw-btn {
		width: 220px;
		flex: 0 0 220px;
	}
}

@media (prefers-reduced-motion: reduce) {
  .anw-home *,
  .anw-home *::before,
  .anw-home *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
