/* R49 — Soft Sage category hero image seam. Category-only, no layout or dark-theme changes. */
@media screen {
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_professionals"] .bp-hero,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_entrance_exams"] .bp-hero,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_competitive_exams"] .hero,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_iibf_details"] main,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_public_sector_recruitment"] .hero {
    background-color:#c8d5b9;
  }
  /* Image fades into the SAME sage surface as the following copy, rather than white or dark. */
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_professionals"] .bp-hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_entrance_exams"] .bp-hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_competitive_exams"] .hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_iibf_details"] .hero-image {
    display:block;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 78%,rgba(0,0,0,.94) 84%,rgba(0,0,0,.64) 91%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 78%,rgba(0,0,0,.94) 84%,rgba(0,0,0,.64) 91%,transparent 100%)!important;
    -webkit-mask-composite:source-over!important;
    mask-composite:add!important;
  }
  /* Recruitment hero is a CSS background on a pseudo-element, not an <img>. */
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_recruitment"] .hero:before {
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 77%,rgba(0,0,0,.80) 87%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 77%,rgba(0,0,0,.80) 87%,transparent 100%)!important;
  }
}
@media(max-width:780px){
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_professionals"] .bp-hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_entrance_exams"] .bp-hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_competitive_exams"] .hero > img,
  html[data-nesto-theme="sage"] body[data-nesto-page="nesto_banking_iibf_details"] .hero-image {
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.90) 81%,rgba(0,0,0,.52) 91%,transparent 100%)!important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 72%,rgba(0,0,0,.90) 81%,rgba(0,0,0,.52) 91%,transparent 100%)!important;
  }
}
