/* ========================================================================
   NUMEIQ 2.2.55 — Calculator result layout conflict fix
   The legacy editorial layer positions .nq-result-mini-icon absolutely.
   That removed the icon from the grid flow and forced result text into the
   48px icon column. This final layer restores the intended card structure.
   ======================================================================== */

/* LIFE PATH — icon in column 1, complete text content in column 2. */
.nq-calculator-v6 .nq-result-insights-v6,
.nq-calculator-embedded-v6 .nq-result-insights-v6,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
}

/* NUMEIQ 2.3.33 — Calculator hub uses the same editorial hero language as the site. */
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8{
  position:relative!important;display:block!important;min-height:500px!important;
  padding:0!important;overflow:hidden!important;background:#f5e8d8!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;min-height:0!important;z-index:0!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture img{
  display:block!important;width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:68% 42%!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture:after{
  content:""!important;position:absolute!important;inset:0!important;display:block!important;
  background:linear-gradient(90deg,rgba(255,253,249,.995) 0%,rgba(255,253,249,.985) 31%,rgba(255,253,249,.84) 48%,rgba(255,253,249,.24) 67%,rgba(255,253,249,.02) 84%)!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>div{
  position:relative!important;z-index:2!important;width:58%!important;max-width:720px!important;
  padding:70px 0 56px 64px!important;background:none!important;text-align:left!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8 h1{
  margin:10px 0 16px!important;font-size:58px!important;line-height:1.03!important
}
.nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>div>p{
  max-width:660px!important;margin:0 0 22px!important;color:#544a42!important;
  font-size:18px!important;line-height:1.6!important
}
@media(max-width:900px) and (min-width:701px){
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>div{width:67%!important;padding-left:38px!important}
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8 h1{font-size:48px!important}
}
@media(max-width:700px){
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8{
    display:flex!important;flex-direction:column!important;min-height:0!important;background:#fffdf9!important
  }
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>div{
    position:relative!important;order:2!important;width:100%!important;max-width:none!important;
    padding:30px 18px 22px!important;text-align:center!important
  }
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture{
    position:relative!important;inset:auto!important;order:1!important;width:100%!important;
    height:260px!important;min-height:260px!important
  }
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture:after{
    background:linear-gradient(0deg,#fffdf9 0%,rgba(255,253,249,.08) 34%,rgba(255,253,249,0) 62%)!important
  }
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>.nq-premium-picture img{object-position:center 46%!important}
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8 h1{font-size:39px!important;line-height:1.04!important}
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8>div>p{font-size:16px!important;line-height:1.58!important}
  .nq-calculator-hub-v7 .nq-calculator-hub-hero-v8 .nq-hub-trust{justify-content:center!important}
}

.nq-calculator-v6 .nq-result-insights-v6 article,
.nq-calculator-embedded-v6 .nq-result-insights-v6 article,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  padding:26px!important;
}

.nq-calculator-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
.nq-calculator-embedded-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article>.nq-result-mini-icon{
  position:static!important;
  inset:auto!important;
  left:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  display:flex!important;
  width:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
}

.nq-calculator-v6 .nq-result-insights-v6 article>div,
.nq-calculator-embedded-v6 .nq-result-insights-v6 article>div,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article>div{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}

.nq-calculator-v6 .nq-result-insights-v6 h3,
.nq-calculator-embedded-v6 .nq-result-insights-v6 h3,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 h3{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 10px!important;
  font-size:28px!important;
  line-height:1.12!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}

.nq-calculator-v6 .nq-result-insights-v6 p,
.nq-calculator-embedded-v6 .nq-result-insights-v6 p,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 p{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  font-size:18px!important;
  line-height:1.62!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}

/* Main result copy must always render as natural sentences. */
.nq-calculator-v6 .nq-result-copy-v6,
.nq-calculator-embedded-v6 .nq-result-copy-v6,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-copy-v6,
.nq-calculator-v6 .nq-result-copy-v6 h2,
.nq-calculator-embedded-v6 .nq-result-copy-v6 h2,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-copy-v6 h2,
.nq-calculator-v6 .nq-result-lead-v6,
.nq-calculator-embedded-v6 .nq-result-lead-v6,
.nq-premium-page.nq-calculator-hub-v7 .nq-result-lead-v6{
  min-width:0!important;
  max-width:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}

/* LOVE — six locked teaser tiles, readable on every language. */
.nq-calculator-v6 .nq-locked,
.nq-calculator-embedded-v6 .nq-locked,
.nq-premium-page.nq-calculator-hub-v7 .nq-locked{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:15px!important;
  width:100%!important;
}

.nq-calculator-v6 .nq-locked-item,
.nq-calculator-embedded-v6 .nq-locked-item,
.nq-premium-page.nq-calculator-hub-v7 .nq-locked-item{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 24px!important;
  grid-template-rows:auto auto!important;
  column-gap:14px!important;
  row-gap:5px!important;
  width:100%!important;
  min-width:0!important;
  min-height:120px!important;
  padding:21px!important;
  align-content:center!important;
}

.nq-calculator-v6 .nq-locked-item>span:first-child,
.nq-calculator-embedded-v6 .nq-locked-item>span:first-child,
.nq-premium-page.nq-calculator-hub-v7 .nq-locked-item>span:first-child{
  grid-column:1!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  font-size:20px!important;
  line-height:1.3!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}

.nq-calculator-v6 .nq-locked-item>small,
.nq-calculator-embedded-v6 .nq-locked-item>small,
.nq-premium-page.nq-calculator-hub-v7 .nq-locked-item>small{
  grid-column:1!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1.45!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  white-space:normal!important;
}

.nq-calculator-v6 .nq-locked-item>.nq-lock-icon,
.nq-calculator-embedded-v6 .nq-locked-item>.nq-lock-icon,
.nq-premium-page.nq-calculator-hub-v7 .nq-locked-item>.nq-lock-icon{
  position:static!important;
  grid-column:2!important;
  grid-row:1/3!important;
  align-self:center!important;
  justify-self:end!important;
}

/* YEAR and NAME result cards: same readable scale. */
.nq-calculator-v6 .nq-year-cards-v6 article,
.nq-calculator-embedded-v6 .nq-year-cards-v6 article,
.nq-premium-page.nq-calculator-hub-v7 .nq-year-cards-v6 article{
  width:100%!important;
  min-width:0!important;
  padding:24px 25px!important;
}
.nq-calculator-v6 .nq-year-cards-v6 h3,
.nq-calculator-embedded-v6 .nq-year-cards-v6 h3,
.nq-premium-page.nq-calculator-hub-v7 .nq-year-cards-v6 h3{
  font-size:25px!important;
  line-height:1.15!important;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.nq-calculator-v6 .nq-year-cards-v6 p,
.nq-calculator-embedded-v6 .nq-year-cards-v6 p,
.nq-premium-page.nq-calculator-hub-v7 .nq-year-cards-v6 p{
  font-size:18px!important;
  line-height:1.6!important;
  hyphens:none!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

.nq-premium-page.nq-calculator-hub-v7 .nq-name-teasers-v5 h4,
.nq-calculator-v6 .nq-name-teasers-v5 h4{
  font-size:23px!important;
  line-height:1.18!important;
  hyphens:none!important;
  word-break:normal!important;
}
.nq-premium-page.nq-calculator-hub-v7 .nq-name-teasers-v5 p,
.nq-calculator-v6 .nq-name-teasers-v5 p{
  font-size:17px!important;
  line-height:1.55!important;
  hyphens:none!important;
  word-break:normal!important;
}

/* Recommendation cards under every result. */
.nq-premium-page.nq-calculator-hub-v7 .nq-result-home-product-card .nq-home-product-copy>p,
.nq-calculator-v6 .nq-result-home-product-card .nq-home-product-copy>p{
  font-size:17px!important;
  line-height:1.55!important;
}
.nq-premium-page.nq-calculator-hub-v7 .nq-result-home-product-card li,
.nq-calculator-v6 .nq-result-home-product-card li{
  font-size:16px!important;
  line-height:1.48!important;
}

@media(max-width:980px){
  .nq-calculator-v6 .nq-locked,
  .nq-calculator-embedded-v6 .nq-locked,
  .nq-premium-page.nq-calculator-hub-v7 .nq-locked{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:780px){
  .nq-calculator-v6 .nq-result-insights-v6,
  .nq-calculator-embedded-v6 .nq-result-insights-v6,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6{
    grid-template-columns:1fr!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 article,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 article,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:14px!important;
    padding:21px 19px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article>.nq-result-mini-icon{
    width:42px!important;
    height:42px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 h3,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 h3,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 h3{
    font-size:23px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 p,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 p,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 p{
    font-size:17px!important;
    line-height:1.58!important;
  }
  .nq-calculator-v6 .nq-locked,
  .nq-calculator-embedded-v6 .nq-locked,
  .nq-premium-page.nq-calculator-hub-v7 .nq-locked{
    grid-template-columns:1fr!important;
  }
  .nq-calculator-v6 .nq-locked-item,
  .nq-calculator-embedded-v6 .nq-locked-item,
  .nq-premium-page.nq-calculator-hub-v7 .nq-locked-item{
    min-height:98px!important;
    padding:18px!important;
  }
  .nq-calculator-v6 .nq-locked-item>span:first-child,
  .nq-calculator-embedded-v6 .nq-locked-item>span:first-child,
  .nq-premium-page.nq-calculator-hub-v7 .nq-locked-item>span:first-child{
    font-size:18px!important;
  }
  .nq-calculator-v6 .nq-locked-item>small,
  .nq-calculator-embedded-v6 .nq-locked-item>small,
  .nq-premium-page.nq-calculator-hub-v7 .nq-locked-item>small{
    font-size:15px!important;
  }
}

@media(max-width:480px){
  .nq-calculator-v6 .nq-result-insights-v6 article,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 article,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:12px!important;
    padding:18px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 article>.nq-result-mini-icon,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 article>.nq-result-mini-icon{
    width:38px!important;
    height:38px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 h3,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 h3,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 h3{
    font-size:22px!important;
  }
  .nq-calculator-v6 .nq-result-insights-v6 p,
  .nq-calculator-embedded-v6 .nq-result-insights-v6 p,
  .nq-premium-page.nq-calculator-hub-v7 .nq-result-insights-v6 p{
    font-size:16.5px!important;
  }
}


/* ========================================================================
   NUMEIQ 2.2.57 - HOME RESULT DIRECT SCOPE
   Directly targets the existing homepage result stage. No PHP wrapper needed.
   ======================================================================== */

/* LIFE PATH: restore the same two-card result structure already used by the
   isolated calculator design system, directly on the homepage result stage. */
.nq-home-result-stage .nq-result-insights-v6{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  max-width:100%!important;
}
.nq-home-result-stage .nq-result-insights-v6 article{
  display:grid!important;
  grid-template-columns:48px minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  gap:16px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:26px!important;
}
.nq-home-result-stage .nq-result-insights-v6 article>.nq-result-mini-icon{
  position:static!important;
  inset:auto!important;
  grid-column:1!important;
  grid-row:1!important;
  align-self:start!important;
  display:flex!important;
  width:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0!important;
}
.nq-home-result-stage .nq-result-insights-v6 article>div{
  grid-column:2!important;
  grid-row:1!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
.nq-home-result-stage .nq-result-insights-v6 h3,
.nq-home-result-stage .nq-result-insights-v6 p{
  display:block!important;
  position:static!important;
  float:none!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:auto!important;
}
.nq-home-result-stage .nq-result-insights-v6 h3{
  font-size:28px!important;
  line-height:1.08!important;
  margin-top:0!important;
  margin-bottom:10px!important;
}
.nq-home-result-stage .nq-result-insights-v6 p{
  font-size:17px!important;
  line-height:1.55!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

/* Result product cards: remove legacy equal-height/min-height behavior. */
.nq-home-result-stage .nq-result-home-product-grid{
  align-items:start!important;
}
.nq-home-result-stage .nq-result-home-product-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}
.nq-home-result-stage .nq-result-home-product-card .nq-home-product-copy{
  flex:0 0 auto!important;
  min-height:0!important;
}
.nq-home-result-stage .nq-result-home-product-card .nq-home-product-image img{
  object-fit:cover!important;
}
.nq-home-result-stage .nq-home-product-you .nq-home-product-image img,
.nq-home-result-stage .nq-home-product-love .nq-home-product-image img,
.nq-home-result-stage .nq-home-product-complete .nq-home-product-image img{
  object-position:center top!important;
}
.nq-home-result-stage .nq-home-product-future .nq-home-product-image img{
  object-position:center 58%!important;
}

@media(max-width:780px){
  .nq-home-result-stage .nq-result-insights-v6{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .nq-home-result-stage .nq-result-insights-v6 article{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:14px!important;
    padding:22px!important;
  }
  .nq-home-result-stage .nq-result-insights-v6 article>.nq-result-mini-icon{
    width:42px!important;
    height:42px!important;
  }
  .nq-home-result-stage .nq-result-insights-v6 h3{
    font-size:26px!important;
  }
  .nq-home-result-stage .nq-result-insights-v6 p{
    font-size:16px!important;
    line-height:1.55!important;
  }
}

@media(max-width:520px){
  .nq-home-result-stage .nq-result-home-product-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:14px!important;
    width:100%!important;
  }
  .nq-home-result-stage .nq-result-home-product-card{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-home-product-image{
    height:190px!important;
    min-height:190px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-home-product-copy{
    display:block!important;
    padding:17px 18px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-title-row{
    gap:10px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-title-row .nq-icon-badge{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-title-row small{
    display:block!important;
    font-size:12px!important;
    line-height:1.2!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-title-row h3{
    font-size:24px!important;
    line-height:1.08!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-home-product-copy>p{
    display:block!important;
    min-height:0!important;
    margin:11px 0!important;
    font-size:16px!important;
    line-height:1.5!important;
    white-space:normal!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-home-product-copy ul{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:visible!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-home-product-copy li{
    display:flex!important;
    height:auto!important;
    padding:4px 0!important;
    font-size:15px!important;
    line-height:1.45!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-price-row{
    margin-top:4px!important;
    padding-top:12px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-price-row strong{
    font-size:23px!important;
  }
  .nq-home-result-stage .nq-result-home-product-card .nq-product-price-row a{
    width:38px!important;
    height:38px!important;
  }
}
