/* =========================================================
   FINDLAY ARTIST HERO
   Canonical plugin-owned hero system.
   ========================================================= */

/* Neutralize the single WPBakery row used to host the element. */
.fg-artist-hero-host {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.fg-artist-hero-host > .container,
.fg-artist-hero-host > .container-fullwidth {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fg-artist-hero-host > .container > .row,
.fg-artist-hero-host > .container-fullwidth > .row {
  width: 100% !important;
  margin: 0 !important;
}

.fg-artist-hero-host > .container > .row > [class*="col-"],
.fg-artist-hero-host > .container-fullwidth > .row > [class*="col-"] {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fg-artist-hero-host .col-text-1,
.fg-artist-hero-host .wpb_content_element {
  margin: 0 !important;
  padding: 0 !important;
}

/* Preserve the full-width artist-page shell used by the existing template. */
body.single-artists:has(.fg-artist-hero) #content > .section > .container {
  width: 100% !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.single-artists:has(.fg-artist-hero) #content > .section > .container > .row {
  width: 100% !important;
  margin: 0 !important;
}

body.single-artists:has(.fg-artist-hero) #content > .section > .container > .row > .col-md-12,
body.single-artists:has(.fg-artist-hero) article[id^="post-"],
body.single-artists:has(.fg-artist-hero) article[id^="post-"] .post-body {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.fg-artist-hero.fg-hero-row {
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  width: 100% !important;
  min-height: 700px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #ffffff !important;
  background-color: #222222 !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.fg-artist-hero.fg-hero-row::after {
  content: "" !important;
  position: absolute !important;
  z-index: 1 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 72% !important;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0) 0%,
    rgb(0 0 0 / var(--fg-hero-overlay, 0.55)) 100%
  ) !important;
  pointer-events: none !important;
}

.fg-artist-hero__media {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.fg-artist-hero__image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position:
    var(--fg-hero-focus-x, 50%)
    var(--fg-hero-focus-y, 50%) !important;
  transform: scale(var(--fg-hero-zoom, 1.1)) !important;
  transform-origin:
    var(--fg-hero-focus-x, 50%)
    var(--fg-hero-focus-y, 50%) !important;
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .fg-artist-hero__media {
    will-change: transform;
  }
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__content {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  margin: 0 !important;
  padding-right: max(60px, calc(50vw - 558px)) !important;
  padding-bottom: 80px !important;
  padding-left: max(60px, calc(50vw - 558px)) !important;
  box-sizing: border-box !important;
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__title,
.fg-artist-hero.fg-hero-row .fg-artist-hero__tagline,
.fg-artist-hero.fg-hero-row .fg-artist-hero__dates,
.fg-artist-hero.fg-hero-row .fg-artist-hero__exhibition-label {
  max-width: 900px !important;
  color: #ffffff !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__exhibition-label {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.fg-artist-hero__exhibition-label + .fg-artist-hero__title {
  margin-top: 0 !important;
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__title {
  margin: 20px 0 18px !important;
  padding: 0 !important;
  font-size: clamp(72px, 8vw, 120px) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 0.92 !important;
  text-transform: none !important;
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__dates {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.fg-artist-hero.fg-hero-row .fg-artist-hero__tagline {
  margin: 0 0 34px !important;
  padding: 0 !important;
  font-size: clamp(32px, 3vw, 40px) !important;
  font-style: italic !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  text-transform: none !important;
}

.fg-artist-hero__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.fg-artist-hero__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 16px 24px !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition:
    background-color 180ms ease,
    border-color 180ms ease !important;
}

.fg-artist-hero__button:hover,
.fg-artist-hero__button:focus-visible {
  border-color: rgb(255 255 255 / 0.62) !important;
  background: rgb(0 0 0 / 0.34) !important;
  color: #ffffff !important;
}

.fg-artist-hero__button:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 3px !important;
}

@media (max-width: 767px) {
  .fg-artist-hero.fg-hero-row {
    min-height: 560px !important;
  }

  .fg-artist-hero__image {
    object-position:
      var(--fg-hero-mobile-focus-x, 50%)
      var(--fg-hero-mobile-focus-y, 50%) !important;
    transform: scale(var(--fg-hero-mobile-zoom, 1)) !important;
    transform-origin:
      var(--fg-hero-mobile-focus-x, 50%)
      var(--fg-hero-mobile-focus-y, 50%) !important;
  }

  .fg-artist-hero.fg-hero-row .fg-artist-hero__content {
    padding-right: 28px !important;
    padding-bottom: 56px !important;
    padding-left: 38px !important;
  }

  .fg-artist-hero.fg-hero-row .fg-artist-hero__title {
    margin-bottom: 14px !important;
    font-size: clamp(48px, 14vw, 74px) !important;
    line-height: 0.98 !important;
  }

  .fg-artist-hero.fg-hero-row .fg-artist-hero__dates {
    margin-bottom: 10px !important;
    font-size: 15px !important;
    letter-spacing: 0.1em !important;
  }

  .fg-artist-hero.fg-hero-row .fg-artist-hero__exhibition-label {
    margin-bottom: 11px !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
  }

  .fg-artist-hero.fg-hero-row .fg-artist-hero__tagline {
    margin-bottom: 32px !important;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.08 !important;
  }

  .fg-artist-hero__actions {
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 330px !important;
  }

  .fg-artist-hero__button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 13px 10px !important;
    font-size: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fg-artist-hero__button {
    transition: none !important;
  }
}
