/* NexGen Public Reference Targeted Fixes rc266
   Live screenshot fixes for Marketplace card headings and About image copy. */

/* =========================================================
   1. LEARNING MARKETPLACE CARDS
   Global heading decoration layers were drawing a coloured
   rule through/above the card titles. These headings are
   ordinary card titles, not section headings.
   ========================================================= */
.nxpbRoot .ngh-market-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
}
.nxpbRoot .ngh-market-cover{
  flex:0 0 104px!important;
  min-height:104px!important;
  height:104px!important;
}
.nxpbRoot .ngh-market-body{
  display:flex!important;
  flex:1 1 auto!important;
  min-height:122px!important;
  flex-direction:column!important;
  padding:12px 12px 11px!important;
  background:#fff!important;
  overflow:visible!important;
}
.nxpbRoot .ngh-market-body h3{
  position:static!important;
  display:block!important;
  width:auto!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 7px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#17243a!important;
  font-size:14px!important;
  line-height:1.3!important;
  letter-spacing:-.012em!important;
  font-weight:850!important;
  text-decoration:none!important;
  overflow:visible!important;
}
.nxpbRoot .ngh-market-body h3::before,
.nxpbRoot .ngh-market-body h3::after{
  content:none!important;
  display:none!important;
}
.nxpbRoot .ngh-market-body p{
  flex:1 1 auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#59687d!important;
  font-size:12px!important;
  line-height:1.55!important;
  overflow:visible!important;
}
.nxpbRoot .ngh-market-price{
  flex:0 0 auto!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:12px!important;
  padding-top:8px!important;
  border-top:1px solid #edf1f5!important;
}
.nxpbRoot .ngh-market-price strong{
  color:#17243a!important;
  font-size:11px!important;
  line-height:1.3!important;
}
.nxpbRoot .ngh-market-price a{
  color:#5239d3!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.nxpbRoot .ngh-market-cover strong{
  display:block!important;
  max-width:100%!important;
  font-size:12px!important;
  line-height:1.3!important;
  color:#fff!important;
}

/* =========================================================
   2. ABOUT / WHO WE ARE IMAGE PANEL
   Keep copy safely on the left and the portrait unobstructed.
   ========================================================= */
.nxpbRoot .ngh-about-visual{
  min-height:360px!important;
  height:360px!important;
  padding:0!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background-position:center 38%!important;
}
.nxpbRoot .ngh-about-visual::before{
  inset:16px!important;
  z-index:2!important;
  pointer-events:none!important;
}
.nxpbRoot .ngh-about-visual::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:
    linear-gradient(90deg,
      rgba(5,21,38,.92) 0%,
      rgba(5,21,38,.74) 42%,
      rgba(5,21,38,.24) 66%,
      rgba(5,21,38,.08) 100%),
    linear-gradient(180deg,
      rgba(5,21,38,.06) 30%,
      rgba(5,21,38,.55) 100%)!important;
}
.nxpbRoot .ngh-about-symbol{
  position:absolute!important;
  z-index:3!important;
  top:22px!important;
  right:24px!important;
  font-size:50px!important;
  line-height:1!important;
  color:#fff!important;
  opacity:.92!important;
  text-shadow:0 2px 8px rgba(0,0,0,.22)!important;
}
.nxpbRoot .ngh-about-copy-on-image{
  position:absolute!important;
  z-index:4!important;
  left:26px!important;
  right:auto!important;
  top:auto!important;
  bottom:24px!important;
  width:min(55%,330px)!important;
  max-width:330px!important;
  margin:0!important;
  padding:0!important;
}
.nxpbRoot .ngh-about-copy-on-image .ngh-eyebrow{
  display:block!important;
  margin:0 0 7px!important;
  padding:0!important;
  color:#ffd35f!important;
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
  text-shadow:0 1px 3px rgba(0,0,0,.3)!important;
}
.nxpbRoot .ngh-about-copy-on-image h3{
  position:static!important;
  display:block!important;
  margin:0 0 9px!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:23px!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
  font-weight:900!important;
  text-shadow:0 2px 8px rgba(0,0,0,.28)!important;
}
.nxpbRoot .ngh-about-copy-on-image h3::before,
.nxpbRoot .ngh-about-copy-on-image h3::after{
  content:none!important;
  display:none!important;
}
.nxpbRoot .ngh-about-copy-on-image p{
  margin:0!important;
  padding:0!important;
  color:#eef5fb!important;
  font-size:12px!important;
  line-height:1.55!important;
  text-shadow:0 1px 4px rgba(0,0,0,.3)!important;
}
.nxpbRoot .ngh-photo-action{
  margin-top:12px!important;
  min-height:40px!important;
  padding:9px 13px!important;
  border:0!important;
  border-radius:9px!important;
  background:#ffc928!important;
  color:#172033!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(255,193,24,.22)!important;
}

/* Keep decorative global heading bars away from this image panel. */
.nxpbRoot .ngh-about-visual h3,
.nxpbRoot .ngh-market-card h3{
  border-left:0!important;
  outline:0!important;
}

/* Tablet / smaller split panel */
@media(max-width:900px){
  .nxpbRoot .ngh-about-visual{
    height:390px!important;
    min-height:390px!important;
  }
  .nxpbRoot .ngh-about-copy-on-image{
    width:min(62%,390px)!important;
    max-width:390px!important;
  }
}

/* Mobile: use a bottom veil so text remains readable without covering the face. */
@media(max-width:620px){
  .nxpbRoot .ngh-market-body{
    min-height:auto!important;
  }
  .nxpbRoot .ngh-about-visual{
    height:410px!important;
    min-height:410px!important;
    background-position:58% 38%!important;
  }
  .nxpbRoot .ngh-about-visual::after{
    background:
      linear-gradient(180deg,
        rgba(5,21,38,.04) 22%,
        rgba(5,21,38,.45) 52%,
        rgba(5,21,38,.95) 100%)!important;
  }
  .nxpbRoot .ngh-about-copy-on-image{
    left:22px!important;
    right:22px!important;
    bottom:22px!important;
    width:auto!important;
    max-width:none!important;
  }
  .nxpbRoot .ngh-about-copy-on-image h3{
    font-size:22px!important;
  }
  .nxpbRoot .ngh-about-copy-on-image p{
    font-size:13px!important;
  }
}
