/*
 * Step 135B - WooCommerce hero clone Chi sono.
 * Caricato dopo service-pages.css e dopo 34-step134c-hotfix.css.
 * Scopo: /woocommerce-custom/ deve usare lo stesso layout hero di /web-designer-wordpress/
 * cambiando solo il visual.
 */

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
  position: relative !important;
  overflow: hidden !important;
  padding-block: 0 !important;
  min-height: clamp(540px, 72vw, 760px) !important;
  background: linear-gradient(180deg, #fcfcfe 0%, #f4f8ff 100%) !important;
  isolation: auto !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media::before,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: clamp(540px, 72vw, 760px) !important;
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4.4vw, 72px) clamp(40px, 5vw, 56px) !important;
  z-index: auto !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative !important;
  z-index: 2 !important;
  width: min(100%, 620px) !important;
  max-width: 620px !important;
  padding: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: cover !important;
  object-position: 72% center !important;
  aspect-ratio: auto !important;
  max-height: none !important;
  transform: none !important;
  filter: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::before {
  display: none !important;
  content: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background:
    linear-gradient(90deg, rgba(251, 251, 254, 0.98) 0%, rgba(251, 251, 254, 0.94) 24%, rgba(251, 251, 254, 0.76) 44%, rgba(251, 251, 254, 0.26) 66%, rgba(251, 251, 254, 0.05) 100%),
    radial-gradient(circle at 22% 42%, rgba(124, 92, 255, 0.08), transparent 28%) !important;
  pointer-events: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
  display: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text {
  color: rgba(15, 23, 42, 0.72) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
  opacity: 1 !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  opacity: 1 !important;
  text-shadow: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title-line {
  display: inline !important;
  white-space: normal !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
  position: relative !important;
  z-index: 3 !important;
  opacity: 1 !important;
  filter: none !important;
}

@media (max-width: 767px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
    min-height: 680px !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: 680px !important;
    padding: 112px 22px 42px !important;
    align-items: center !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    background:
      linear-gradient(180deg, rgba(251, 251, 254, 0.92) 0%, rgba(251, 251, 254, 0.72) 46%, rgba(251, 251, 254, 0.94) 100%),
      radial-gradient(circle at 46% 36%, rgba(124, 92, 255, 0.10), transparent 34%) !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    font-size: clamp(2.65rem, 13.5vw, 4rem) !important;
    line-height: 1.03 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title-line {
    display: block !important;
    white-space: nowrap !important;
  }
}
