/* LivePoint Digital 2.9.5 — approved larger v1.3.x dashboard presentation.
 * The shortcode generates real HTML; keep the stage full-width when Gutenberg
 * inserts additional wp-block-group/shortcode wrappers. */
body .lpd-home-content .lpd-dashboard-stage {
  position:relative;
  box-sizing:border-box;
  width:min(100%,625px);
  max-width:625px;
  margin:0 auto;
  padding:0 3px 20px 22px;
  isolation:isolate;
}
body .lpd-home-content .lpd-dashboard-stage > .lpd-dashboard-mockup {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  transform:rotate(-3deg) translate(3px,5px);
  transform-origin:center center;
  box-shadow:0 28px 75px rgba(31,67,80,.19);
}
body .lpd-home-content .lpd-dashboard-stage > .lpd-floating-note {
  left:-35px;
  bottom:-2px;
  padding:13px 18px;
  transform:rotate(3deg);
}
body .lpd-home-content .lpd-art-label { z-index:3; }
@media (min-width:901px) {
  body .lpd-home-content .lpd-hero-grid.wp-block-group {
    grid-template-columns:minmax(0,44fr) minmax(0,56fr) !important;
    column-gap:22px !important;
    min-height:598px !important;
  }
  body .lpd-home-content .lpd-hero-art {
    min-width:0;
    width:100% !important;
    max-width:none !important;
    height:540px;
    overflow:visible;
    justify-content:center;
  }
  body .lpd-home-content .lpd-hero-art > .wp-block-shortcode,
  body .lpd-home-content .lpd-hero-art > .wp-block-group__inner-container > .wp-block-shortcode {
    width:100% !important;
    max-width:none !important;
    display:flex;
    justify-content:center;
    overflow:visible;
  }
  body .lpd-home-content .lpd-dashboard-stage {
    transform:translateY(23px);
  }
  body .lpd-home-content .lpd-art-label {top:17px;right:4px;}
}
@media (min-width:901px) and (max-width:1100px) {
  body .lpd-home-content .lpd-dashboard-stage {
    width:100%;
    padding-left:10px;
  }
  body .lpd-home-content .lpd-dashboard-stage > .lpd-floating-note {left:-9px;}
}
@media (max-width:900px) {
  body .lpd-home-content .lpd-hero-grid.wp-block-group {
    grid-template-columns:minmax(0,1fr) !important;
    min-height:0 !important;
  }
  body .lpd-home-content .lpd-hero-art.wp-block-group {
    height:auto !important;
    min-height:0;
    padding:48px 0 30px !important;
    overflow:visible;
  }
  body .lpd-home-content .lpd-hero-art > .wp-block-shortcode {
    width:100%;max-width:none;display:flex;justify-content:center;
  }
  body .lpd-home-content .lpd-dashboard-stage {
    width:min(100%,575px);
    max-width:100%;
    transform:none;
    padding:6px 14px 35px;
  }
  body .lpd-home-content .lpd-dashboard-stage > .lpd-dashboard-mockup {
    transform:rotate(-2deg);
  }
  body .lpd-home-content .lpd-dashboard-stage > .lpd-floating-note {
    left:2px;bottom:11px;padding:10px 14px;
  }
}
@media (max-width:500px) {
  body .lpd-home-content .lpd-hero-art.wp-block-group {padding-top:42px !important;}
  body .lpd-home-content .lpd-dashboard-stage {padding:6px 13px 39px;}
  body .lpd-home-content .lpd-dashboard-stage > .lpd-floating-note {
    left:0;bottom:7px;padding:7px 10px;
  }
  body .lpd-home-content .lpd-art-label {
    right:8px;top:8px;font-size:8px;padding:7px 10px;
  }
}
/* Homepage Help Center: Gutenberg's .wp-block-button also has .lpd-btn,
 * so the wrapper must be neutral. Only the real link looks like a button. */
body .lpd-home-content .lpd-faq-teaser-inner > .wp-block-buttons {
  flex:0 0 auto;
  width:auto !important;
  margin:0 0 0 auto !important;
  display:flex;
  align-items:center;
}
body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn {
  box-sizing:border-box;
  display:block !important;
  padding:0 !important;
  min-height:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
  margin:0 !important;
}
body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn .wp-block-button__link {
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  gap:12px;
  padding:12px 22px;
  background:var(--lpd-action) !important;
  color:#fff !important;
  border:1px solid var(--lpd-action) !important;
  border-radius:9px;
  box-shadow:0 5px 14px rgba(20,31,38,.11), inset 0 -3px 0 var(--lpd-action-accent, #ef8745);
  font-weight:750;
  font-size:14px;
  line-height:1.25;
  text-decoration:none !important;
  white-space:nowrap;
  transition:background-color .2s, transform .2s, box-shadow .2s;
}
body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn .wp-block-button__link:hover {
  background:var(--lpd-action-hover) !important;
  border-color:var(--lpd-action-hover) !important;
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 7px 17px rgba(20,31,38,.15), inset 0 -3px 0 var(--lpd-action-accent, #ef8745);
}
body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn .wp-block-button__link:focus-visible {
  outline:3px solid var(--lpd-action-focus, #ef8745);
  outline-offset:3px;
}
@media (max-width:900px) {
  body .lpd-home-content .lpd-faq-teaser-inner > .wp-block-buttons {margin:0 !important;}
}
@media (max-width:500px) {
  body .lpd-home-content .lpd-faq-teaser-inner > .wp-block-buttons {
    width:100% !important;
  }
  body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn,
  body .lpd-home-content .lpd-faq-teaser-inner .wp-block-button.lpd-btn .wp-block-button__link {
    width:100%;
  }
}


/* 2.9.5 - WordPress front-end fidelity fix.
 * Earlier screenshot tests accidentally relied on the shortcode wrapper's
 * width. Native Gutenberg may give that block an intrinsic/narrow column.
 * Anchor the dashboard to the hero ART area instead; use viewport-relative
 * dimensions so nested constrained blocks cannot shrink it to portrait size.
 * This is a component layout, not an external override or Customizer patch. */
body .lpd-site .lpd-home-content .lpd-hero-art :is(.wp-block-shortcode,.wp-block-group__inner-container) {
  position:static !important;
  box-sizing:border-box !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  overflow:visible !important;
}
@media (min-width:901px) {
  body .lpd-site .lpd-home-content .lpd-hero-grid.wp-block-group {
    grid-template-columns:minmax(0,43fr) minmax(0,57fr) !important;
    align-items:center !important;
    min-height:598px !important;
  }
  body .lpd-site .lpd-home-content .lpd-hero-art.wp-block-group {
    position:relative !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    height:565px !important;
    overflow:visible !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }
  /* Neutralize the WordPress shortcode block width and positioning; the
   * illustrated stage is positioned against .lpd-hero-art instead. */
  body .lpd-site .lpd-home-content .lpd-hero-art :is(.wp-block-shortcode,.wp-block-group__inner-container) {
    position:static !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    overflow:visible !important;
    margin:0 !important;
  }
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-dashboard-stage {
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:min(46vw,642px) !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 3px 25px 14px !important;
    transform:translate(-50%,-47%) !important;
    box-sizing:border-box !important;
    z-index:1;
  }
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-dashboard-mockup {
    position:relative !important;
    display:block !important;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    transform:rotate(-3deg) !important;
    transform-origin:center !important;
    box-sizing:border-box;
  }
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-floating-note {
    left:-27px !important;
    bottom:-5px !important;
    transform:rotate(3deg) !important;
  }
  body .lpd-site .lpd-home-content .lpd-art-label {
    position:absolute !important;
    right:4px !important;
    top:20px !important;
    z-index:3 !important;
  }
}
@media (min-width:901px) and (max-width:1100px) {
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-dashboard-stage {width:45.5vw !important;}
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-floating-note {left:-7px !important;}
}
/* Homepage hero action Gutenberg fix: style the clickable anchor only. */
body .lpd-site .lpd-home-content .lpd-hero-actions.wp-block-group {
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:29px 0 0 !important;
}
body .lpd-site .lpd-home-content .lpd-hero-actions .wp-block-buttons {
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  padding:0 !important;
  margin:0 !important;
}
body .lpd-site .lpd-home-content .lpd-hero-actions .wp-block-button.lpd-btn {
  box-sizing:border-box;
  padding:0 !important;
  margin:0 !important;
  min-height:0 !important;
  background:transparent !important;
  color:inherit !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  transform:none !important;
}
body .lpd-site .lpd-home-content .lpd-hero-actions .wp-block-button__link {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:48px !important;
  padding:12px 19px !important;
  border:0 !important;
  border-radius:8px !important;
  box-sizing:border-box;
  font-size:14px !important;
  line-height:1.3 !important;
  font-weight:750 !important;
  text-decoration:none !important;
}
body .lpd-site .lpd-home-content .lpd-hero-actions .lpd-btn-primary .wp-block-button__link {
  background:var(--lpd-action) !important;
  color:#fff !important;
}
body .lpd-site .lpd-home-content .lpd-hero-actions .lpd-btn-plain .wp-block-button__link {
  background:transparent !important;
  color:#19334f !important;
  box-shadow:none !important;
}
body .lpd-site .lpd-home-content .lpd-hero-points.wp-block-group {
  display:flex !important;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  margin:26px 0 0 !important;
  clear:both;
}
body .lpd-site .lpd-home-content .lpd-hero-points p {margin:0 !important;}
@media (max-width:900px) {
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-dashboard-stage {
    position:relative !important;
    left:auto !important; top:auto !important;
    width:min(100%,575px) !important;
    max-width:100% !important;
    margin:0 auto !important;
    transform:none !important;
    box-sizing:border-box;
  }
  body .lpd-site .lpd-home-content .lpd-hero-art .lpd-dashboard-mockup {
    width:100% !important;
    max-width:none !important;
    transform:rotate(-2deg) !important;
  }
}
