/* Carry the homepage's visual language through inside pages. Keep page copy and artwork. */
body:not(.home) main {
  font-family: 'Poppins', sans-serif;
}

/* Use the same Figma line pattern and plum as the homepage hero. */
.lio-feature-detail .fl-header {
  background-color: #28001d;
  background-image: url('figma-nov20/hero-lines.svg');
  background-position: center top;
  background-size: 1248.5px 1171.98px;
  background-repeat: no-repeat;
}
.lio-feature-page .lfp-hero,
body:not(.home) main :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) {
  background-color: #28001d;
  background-image: url('figma-nov20/hero-lines.svg');
  background-position: center -68px;
  background-size: 1248.5px 1171.98px;
  background-repeat: no-repeat;
  color: #fff;
}
.lio-feature-page .lfp-hero-v2 {
  background-image: url('feature-hero-20261122/customer-journey-bridge.svg'), url('figma-nov20/hero-lines.svg');
  background-size: 100% auto, 1248.5px 1171.98px;
  background-position: center 269px, center -68px;
  background-repeat: no-repeat;
}

/* The older feature index and use-case heroes now follow the homepage hierarchy. */
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) {
  padding: 64px 48px 80px;
  overflow: hidden;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) > .lfp-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1184px;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-hero-story {
  align-items: center;
  padding: 0;
  gap: 0;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-h1 {
  width: 100%;
  max-width: 1184px;
  margin: 0;
  color: #fff;
  font-family: 'Big Shoulders Text', sans-serif;
  font-size: clamp(48px, 6.5625vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-align: center;
  text-shadow: 0 7px 0 #ff3b00;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-h1 .lfp-heading-line {
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-shadow: inherit;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) > .lfp-shell > p,
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-hero-story > p:not(:first-child) {
  width: 650px;
  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:not(.lfp-hero-v2) .lfp-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  width: auto;
  margin: 32px 0 0;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-preview {
  width: 100%;
  max-width: 1152px;
  margin: 48px auto 0 !important;
}
.lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-hero-story > .lfp-preview { margin-top: 48px !important; }

/* Match the homepage pill buttons, their offset shadow, and Montserrat labels. */
.lio-feature-page .lfp-hero .lfp-button > .wp-block-button__link {
  min-height: 40px;
  padding: 8px 24px;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  box-shadow: 0 4px 0 #ffffff40;
  font-family: 'Montserrat', sans-serif;
}
.lio-feature-page .lfp-hero .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 .lfp-button-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.lio-feature-page .lfp-hero .lfp-button > .wp-block-button__link > span:not(.lfp-button-label) { display: none; }
.lio-feature-page .lfp-hero .lfp-button > .wp-block-button__link:hover { filter: brightness(.97); }

/* Earlier site templates retain their layout, with the homepage fonts and controls. */
body:not(.home) main:not(:has(.lio-feature-page)) :is(h1,h2,h3,.journal-title) {
  font-family: 'Big Shoulders Text', sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
}
body:not(.home) main:not(:has(.lio-feature-page)) :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) h1 {
  color: #fff;
  font-size: clamp(48px, 6.5625vw, 84px);
  line-height: 1.02;
  text-shadow: 0 7px 0 #ff3b00;
}
body:not(.home) main:not(:has(.lio-feature-page)) :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) :is(.hero-description,.journal-intro) {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 24px;
}
body:not(.home) main .wp-block-button__link,
body:not(.home) main .wpcf7 input[type=submit],
body:not(.home) main .wp-block-search__button {
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
}
body:not(.home) main:not(:has(.lio-feature-page)) :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  border-color: #ffeffb;
  background: #ffeffb;
  color: #0a0a0a;
  box-shadow: 0 4px 0 #ff6b27;
}
body:not(.home) main:not(:has(.lio-feature-page)) :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) .wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid #e7e5e4;
  background: transparent;
  color: #fff;
  box-shadow: 0 4px 0 #ffffff40;
}

@media (max-width: 1000px) {
  .lio-feature-page .lfp-hero-v2 {
    background-size: 100vw auto, 1248.5px 1171.98px;
    background-position: center 340px, center -68px;
  }
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) { padding-inline: 32px; }
}
@media (max-width: 600px) {
  .lio-feature-page .lfp-hero-v2 {
    background-size: 480px auto, 1248.5px 1171.98px;
    background-position: center 420px, center -68px;
  }
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) { padding: 52px 20px 48px; }
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-h1,
  body:not(.home) main:not(:has(.lio-feature-page)) :is(.product-hero,.contact-demo-hero,.journal-hero,.simple-hero,.article-heading) h1 {
    font-size: clamp(36px, 9.5vw, 54px);
    line-height: 1.08;
    text-shadow: 0 4px 0 #ff3b00;
  }
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) > .lfp-shell > p,
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-hero-story > p:not(:first-child) {
    margin-top: 28px;
    font-size: 13px;
    line-height: 22px;
  }
  .lio-feature-page .lfp-hero:not(.lfp-hero-v2) .lfp-actions { margin-top: 24px; gap: 12px; }
  .lio-feature-page .lfp-hero .lfp-button > .wp-block-button__link { min-height: 44px; padding: 10px 18px; }
  .lio-feature-page .lfp-hero .lfp-button-label { font-size: 13px; line-height: 22px; }
  body:not(.home) main .wp-block-button__link { font-size: 13px; }
}
