/* Shared feature-detail hero, Figma 1399:23422. Page copy stays in native blocks. */
.lio-feature-detail .fl-header {
  background: #28001d url('feature-hero-20261122/vertical-grid.svg') center top / 1248.5px 1171.98px repeat-y;
  background-size: max(1248.5px, 100%) 1171.98px;
}
.lio-feature-page .lfp-hero-v2 {
  --lfp-hero-bg: #28001d;
  position: relative;
  isolation: isolate;
  height: 900px;
  padding: 64px 48px 80px;
  overflow: hidden;
  background-color: var(--lfp-hero-bg);
  /* The first background paints on top: keep the bridge in front of the grid. */
  background-image: url('feature-hero-20261122/customer-journey-bridge.svg'), url('feature-hero-20261122/vertical-grid.svg');
  background-size: 100% auto, max(1248.5px, 100%) 1171.98px;
  background-position: center 269px, center -68px;
  background-repeat: no-repeat, repeat-y;
  color: #fff;
}
.lio-feature-page .lfp-hero-v2 > .lfp-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1184px;
}
.lio-feature-page .lfp-hero-v2 .lfp-hero-story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: visible;
}
.lio-feature-page .lfp-hero-v2 .lfp-hero-eyebrow {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lio-feature-page .lfp-hero-v2 .lfp-h1 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
  max-width: 1184px;
  margin: 0;
  font-family: 'Big Shoulders Text', sans-serif;
  font-size: clamp(48px, 6.5625vw, 84px);
  font-weight: 700;
  line-height: 80px;
  letter-spacing: .01em;
  text-align: center;
  color: #fff;
  text-shadow: 0 7px 0 #ff3b00;
}
.lio-feature-page .lfp-hero-v2 .lfp-h1 .lfp-heading-line {
  width: auto;
  min-width: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-shadow: inherit;
}
.lio-feature-page .lfp-hero-v2 .lfp-hero-description {
  width: 581px;
  max-width: 100%;
  margin: 40px 0 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}
.lio-feature-page .lfp-hero-v2 .lfp-actions {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 0;
}
.lio-feature-page .lfp-hero-v2 .lfp-button > .wp-block-button__link {
  min-height: 40px;
  padding: 7px 24px;
  border: 1px solid #e7e5e4;
  background: transparent;
  color: #fff;
  box-shadow: 0 4px 0 #ffffff40;
}
.lio-feature-page .lfp-hero-v2 .lfp-button:first-child > .wp-block-button__link {
  border-color: #ffeffb;
  background: #ffeffb;
  color: #0a0a0a;
  box-shadow: 0 4px 0 #ff6b27;
}
.lio-feature-page .lfp-hero-v2 .lfp-button-label {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
}
.lio-feature-page .lfp-hero-v2 .lfp-button__link:focus-visible,
.lio-feature-page .lfp-hero-v2 .wp-block-button__link:focus-visible {
  outline: 2px solid #ff7edc;
  outline-offset: 6px;
}
.lio-feature-page .lfp-hero-v2 .lfp-button > .wp-block-button__link > span:not(.lfp-button-label) { display: none; }
.lio-feature-page .lfp-hero-v2 .lfp-hero-product {
  position: absolute;
  top: 435px;
  left: 50%;
  /* Keep the Figma preview's ~8% screen gutter on both sides at every desktop width. */
  width: 84vw;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  padding: 16px;
  transform: translateX(-50%);
  border-radius: 27px;
  background: #850060;
  overflow: hidden;
  line-height: 0;
}
.lio-feature-page .lfp-hero-v2 .lfp-hero-product > .lfp-preview {
  border-radius: 20px;
  overflow: hidden;
}
.lio-feature-page .lfp-hero-v2 .lfp-hero-product > .lfp-preview > .lfp-preview-canvas > div { box-shadow: none; }
.lio-feature-page .lfp-hero-v2 .lfp-hero-product-image { margin: 0; }
.lio-feature-page .lfp-hero-v2 .lfp-hero-product-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
/* Supplied product screenshots keep their full aspect ratio inside the frame. */
@media (min-width: 601px) {
  .lio-feature-page:is(.lio-feature-customer-journeys,.lio-feature-broadcasts,.lio-feature-transactional-messaging,.lio-feature-customer-segmentation,.lio-feature-web-push,.lio-feature-design-studio,.lio-feature-analytics,.lio-feature-customer-data,.lio-feature-ai-mcp,.lio-feature-integrations-api,.lio-feature-email-automation) .lfp-hero-v2,
  .lio-feature-page .lfp-hero-v2.lfp-hero-flow { height: auto; }
  .lio-feature-page:is(.lio-feature-customer-journeys,.lio-feature-broadcasts,.lio-feature-transactional-messaging,.lio-feature-customer-segmentation,.lio-feature-web-push,.lio-feature-design-studio,.lio-feature-analytics,.lio-feature-customer-data,.lio-feature-ai-mcp,.lio-feature-integrations-api,.lio-feature-email-automation) .lfp-hero-v2 .lfp-hero-product,
  .lio-feature-page .lfp-hero-v2.lfp-hero-flow .lfp-hero-product {
    position: relative;
    top: auto;
    left: auto;
    margin-top: 72px !important;
    transform: none;
  }
}
@media (max-width: 1000px) {
  .lio-feature-page .lfp-hero-v2 {
    height: 830px;
    padding-inline: 32px;
    background-size: 100vw auto, 1248.5px 1171.98px;
    background-position: center 340px, center -68px;
  }
  .lio-feature-page .lfp-hero-v2 .lfp-h1 { font-size: clamp(46px, 6.5625vw, 66px); line-height: 1.05; }
  .lio-feature-page .lfp-hero-v2 .lfp-hero-product { top: 415px; }
}
@media (max-width: 600px) {
  .lio-feature-page .lfp-hero-v2 {
    height: auto;
    min-height: 0;
    padding: 52px 20px 48px;
    background-size: 480px auto, 1248.5px 1171.98px;
    background-position: center 420px, center -68px;
  }
  .lio-feature-page .lfp-hero-v2 .lfp-h1 { gap: 12px; font-size: clamp(36px, 9.5vw, 54px); line-height: 1.08; text-shadow: 0 4px 0 #ff3b00; }
  .lio-feature-page .lfp-hero-v2 .lfp-hero-description { margin-top: 28px; font-size: 13px; line-height: 22px; }
  .lio-feature-page .lfp-hero-v2 .lfp-actions { margin-top: 24px; gap: 12px; }
  .lio-feature-page .lfp-hero-v2 .lfp-button > .wp-block-button__link { min-height: 44px; padding: 10px 18px; }
  .lio-feature-page .lfp-hero-v2 .lfp-button-label { font-size: 13px; line-height: 22px; }
  .lio-feature-page .lfp-hero-v2 .lfp-hero-product { position: relative; top: auto; left: auto; width: 100%; margin-top: 80px !important; padding: 8px; border-radius: 18px; transform: none; }
  .lio-feature-page .lfp-hero-v2 .lfp-hero-product > .lfp-preview,
  .lio-feature-page .lfp-hero-v2 .lfp-hero-product-image img { border-radius: 12px; }
}
