/*
 * Elementor home hero.
 *
 * The widget intentionally escapes any boxed Elementor parent and spans the
 * full browser width. The source image keeps its native 32:15 ratio unless an
 * explicit responsive height is selected in Elementor.
 */
.elementor-widget-taachco-home-hero,
.elementor-widget-taachco-home-hero > .elementor-widget-container {
  width: 100%;
  max-width: none;
}

.ta-home-hero-widget {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--ta-color-page-bg, #fff);
  isolation: isolate;
}

.ta-home-hero-widget__media {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 0;
}

.ta-home-hero-widget__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 32 / 15;
  object-fit: cover;
  object-position: center center;
}

.ta-home-hero-widget__actions {
  position: absolute;
  z-index: 2;
  left: clamp(32px, 7.5vw, 144px);
  bottom: clamp(30px, 8.5%, 84px);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 1vw, 18px);
  max-width: calc(100% - clamp(64px, 15vw, 288px));
  direction: rtl;
  line-height: 1.4;
}

.ta-home-hero-widget__button {
  min-width: clamp(145px, 11.5vw, 220px);
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--ta-font-primary, inherit);
  font-size: clamp(14px, 0.95vw, 18px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(12, 39, 91, 0.12);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ta-home-hero-widget__button--primary {
  color: #fff;
  border-color: var(--ta-color-green, #6fc8b6);
  background-color: var(--ta-color-green, #6fc8b6);
}

.ta-home-hero-widget__button--secondary {
  color: var(--ta-color-navy, #1b3282);
  border-color: color-mix(in srgb, var(--ta-color-navy, #1b3282) 72%, transparent);
  background-color: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(4px);
}

.ta-home-hero-widget__button:hover,
.ta-home-hero-widget__button:focus-visible {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(12, 39, 91, 0.18);
}

.ta-home-hero-widget__button--primary:hover,
.ta-home-hero-widget__button--primary:focus-visible {
  color: #fff;
  border-color: var(--ta-color-navy, #1b3282);
  background-color: var(--ta-color-navy, #1b3282);
}

.ta-home-hero-widget__button--secondary:hover,
.ta-home-hero-widget__button--secondary:focus-visible {
  color: #fff;
  border-color: var(--ta-color-navy, #1b3282);
  background-color: var(--ta-color-navy, #1b3282);
}

.ta-home-hero-widget__button-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 0.86em;
  line-height: 1;
}

.ta-home-hero-widget__button-icon svg,
.ta-home-hero-widget__button-icon i {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
}

.ta-home-hero-widget__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;
}
