/* Live Fish Direct homepage hero: photo-first, responsive, and isolated. */

html.lfd-hero-refined .hero.hero-editorial,
html.lfd-hero-refined .hero.hero-editorial[data-layout] {
  --hero-editorial-media-height: var(
    --lfd-hero-fit-height,
    clamp(220px, min(50vw, calc(100vh - 460px)), 600px)
  );
  --hero-editorial-media-height: var(
    --lfd-hero-fit-height,
    clamp(220px, min(50vw, calc(100svh - 460px)), 600px)
  );
  overflow: hidden;
  background: #071a22;
}

html.lfd-hero-refined .hero.hero-editorial .hero-rotator {
  width: min(100%, 1440px);
  height: var(--hero-editorial-media-height);
  margin-inline: auto;
  overflow: hidden;
  background: #071a22;
  touch-action: pan-y;
}

html.lfd-hero-refined .hero.hero-editorial .hero-media {
  object-position: var(--lfd-hero-active-position, var(--hero-desktop-position, center center));
  transform: scale(1.002);
  transition: opacity 1100ms ease, transform 12000ms ease;
}

html.lfd-hero-refined .hero.hero-editorial .hero-media.is-active {
  transform: scale(1.016);
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-title,
html.lfd-hero-refined .hero.hero-editorial .hero-touch-autoplay,
html.lfd-hero-refined .hero.hero-editorial .hero-rotator::after,
html.lfd-hero-refined .hero.hero-editorial .hero-continue {
  display: none;
}

html.lfd-hero-refined .hero.hero-editorial .hero-touch-control {
  width: 46px;
  height: 46px;
  opacity: 0;
  color: #fff;
  background: rgba(3, 17, 25, 0.46);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 4px 18px rgba(3, 17, 25, 0.24);
  transform: translateY(-50%);
}

html.lfd-hero-refined .hero.hero-editorial .hero-rotator:hover .hero-touch-control,
html.lfd-hero-refined .hero.hero-editorial .hero-touch-control:focus-visible {
  opacity: 0.92;
}

html.lfd-hero-refined .hero.hero-editorial .hero-touch-control:hover {
  color: #071a22;
  background: #fbcb3d;
  border-color: #fbcb3d;
}

html.lfd-hero-refined .hero.hero-editorial .hero-visual-meta {
  position: static;
  inset: auto;
  z-index: auto;
  width: min(100%, 1440px);
  min-height: 58px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 7px max(24px, calc((100% - 1200px) / 2));
  color: #eaf5f3;
  background: #0d3038;
  border-top: 1px solid rgba(225, 242, 239, 0.12);
  border-bottom: 1px solid rgba(225, 242, 239, 0.14);
  pointer-events: auto;
}

html.lfd-hero-refined .hero.hero-editorial .hero-frame-caption {
  position: static;
  inset: auto;
  max-width: min(660px, 60vw);
  display: block;
  color: #d5e6e3;
  font-size: 12px;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: 0.005em;
  text-shadow: none;
}

html.lfd-hero-refined .hero.hero-editorial .hero-frame-caption .lfd-hero-scientific {
  color: rgba(234, 245, 243, 0.86);
  font-weight: 560;
}

html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls {
  position: static;
  inset: auto;
  flex: 0 0 auto;
  min-height: 44px;
  gap: 2px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(225, 242, 239, 0.2);
  border-radius: 999px;
}

html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls .hero-autoplay-toggle {
  width: 44px;
  margin-left: 4px;
  color: #fbcb3d;
  border-left: 1px solid rgba(225, 242, 239, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

html.lfd-hero-refined .hero.hero-editorial .hero-slide-count {
  min-width: 62px;
  font-size: 12px;
}

html.lfd-hero-refined .hero.hero-editorial .hero-next-timer {
  min-width: 74px;
  color: rgba(234, 245, 243, 0.72);
  font-size: 10px;
}

html.lfd-hero-refined .hero-content-band {
  min-height: 260px;
  background: #143d43;
}

html.lfd-hero-refined .hero.hero-editorial .hero-inner {
  padding: clamp(38px, 4vw, 58px) 0 clamp(42px, 4.5vw, 64px);
}

html.lfd-hero-refined .hero.hero-editorial .hero-copy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

html.lfd-hero-refined .lfd-hero-story-head,
html.lfd-hero-refined .lfd-hero-story-detail {
  min-width: 0;
}

html.lfd-hero-refined .hero.hero-editorial .hero-copy .eyebrow {
  margin: 0 0 13px;
}

html.lfd-hero-refined .hero.hero-editorial[data-title-mode] .hero-story-title {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: #fff;
  white-space: normal;
  text-wrap: balance;
}

html.lfd-hero-refined .hero.hero-editorial .hero-lede {
  max-width: 680px;
  margin: 2px 0 24px;
  color: #d9e7e4;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-actions {
  position: static;
  inset: auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button {
  width: auto;
  min-height: 46px;
  justify-content: center;
  padding: 10px 16px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: none;
  backdrop-filter: none;
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button-primary {
  color: #071a22;
  background: #fbcb3d;
  border-color: #fbcb3d;
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button:hover,
html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button:focus-visible {
  color: #071a22;
  background: #fff;
  border-color: #fff;
}

html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button-primary:hover,
html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button-primary:focus-visible {
  background: #ffe071;
  border-color: #ffe071;
}

@media (max-width: 900px) {
  html.lfd-hero-refined .hero.hero-editorial .hero-copy {
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
    gap: 34px;
  }
}

@media (max-width: 680px) {
  html.lfd-hero-refined .hero.hero-editorial,
  html.lfd-hero-refined .hero.hero-editorial[data-layout] {
    --hero-editorial-media-height: var(
      --lfd-hero-fit-height,
      clamp(180px, min(82vw, calc(100vh - 400px)), 400px)
    );
    --hero-editorial-media-height: var(
      --lfd-hero-fit-height,
      clamp(180px, min(82vw, calc(100svh - 400px)), 400px)
    );
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-media,
  html.lfd-hero-refined .hero.hero-editorial .hero-media.is-active {
    transform: none;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-media[data-subject="fish"] {
    object-position: var(--lfd-hero-active-position, var(--hero-mobile-position, center center));
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-touch-control {
    width: 42px;
    height: 42px;
    opacity: 0.78;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-touch-previous {
    left: 10px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-touch-next {
    right: 10px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-visual-meta {
    min-height: 54px;
    gap: 10px;
    padding: 5px 10px 5px 14px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-frame-caption {
    max-width: none;
    flex: 1 1 auto;
    font-size: 10.5px;
    line-height: 1.25;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls {
    min-height: 40px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls button,
  html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls .hero-autoplay-toggle {
    width: 40px;
    height: 40px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-next-timer {
    display: none;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-slide-count {
    min-width: 50px;
    font-size: 11px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-inner {
    padding: 30px 0 36px;
  }

  html.lfd-hero-refined .hero-content-band {
    min-height: 0;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-copy {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  html.lfd-hero-refined .hero-story-title {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.08;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-lede {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-image-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-image-actions .button {
    width: 100%;
    min-height: 46px;
  }
}

@media (max-width: 430px) {
  html.lfd-hero-refined .hero.hero-editorial .hero-frame-caption {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls button:first-child,
  html.lfd-hero-refined .hero.hero-editorial .hero-slide-controls button:nth-of-type(2) {
    display: none;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-slide-count {
    min-width: 48px;
  }
}

@media (min-width: 681px) and (max-height: 900px) {
  html.lfd-hero-refined .hero.hero-editorial .hero-inner {
    padding-top: 30px;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  html.lfd-hero-refined .service-bar,
  html.lfd-hero-refined .review-ticker,
  html.lfd-hero-refined .mobile-purchase-facts,
  html.lfd-hero-refined .header-farm-nav {
    display: none !important;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-visual-meta {
    min-height: 46px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-media[data-subject="fish"] {
    object-fit: contain;
    object-position: var(--lfd-hero-active-position, var(--hero-mobile-position, center center));
    background: #071a22;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-touch-control {
    width: 42px;
    height: 42px;
    opacity: 0.78;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-inner {
    padding-top: 14px;
  }

  html.lfd-hero-refined .hero.hero-editorial .hero-copy .eyebrow {
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.lfd-hero-refined .hero.hero-editorial .hero-media,
  html.lfd-hero-refined .hero.hero-editorial .hero-media.is-active {
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
}
