/* MTV-GROUP Theme Pro 4.7.31 — Recruitment newsletter banner design.
   A visual enhancement of the CRM plugin; news content remains editable in CRM.
   The heading is flush with the bordered card's upper edge and its LOWER
   two corners are square. Only the outside card has rounded upper corners. */
.vns-crm-news-mount .vns-recruitment-news,
.vns-recruitment-news {
  padding-top:0!important;
  max-width:1120px;
  background:#fff;
  border:1px solid #d6e6ef;
  border-radius:22px;
  overflow:hidden;
  isolation:isolate;
}
.vns-recruitment-news > .vns-recruitment-news__heading {
  position:relative;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  isolation:isolate;
  min-height:178px;
  padding:24px clamp(22px,4vw,48px) 27px!important;
  margin:0!important;
  top:0!important;
  border:0!important;
  /* The outside card clips both upper corners. No separate white inset here. */
  border-radius:0!important;
  overflow:hidden;
  background:linear-gradient(107deg,#dcf6ff 0%,#b9e7fc 41%,#a9d8f3 68%,#e8f7ff 100%)!important;
  box-shadow:none!important;
  color:#083766!important;
}
/* Independent image layer: no baked-in text, so the live PHP title stays editable. */
.vns-recruitment-news > .vns-recruitment-news__heading::before {
  content:"";
  position:absolute;
  z-index:0;
  top:0;
  bottom:0;
  /* Show the entire right-hand interview scene sharply; only the left
     edge blends into the pastel banner. Do not fade behind the interviewer. */
  right:0;
  width:66%;
  background-image:url('../img/recruitment-interview-soft.webp');
  background-position:52% center;
  background-size:cover;
  background-repeat:no-repeat;
  opacity:1;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 15%,#000 32%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.55) 15%,#000 32%,#000 100%);
  pointer-events:none;
}
.vns-recruitment-news > .vns-recruitment-news__heading::after {
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  background:linear-gradient(90deg,rgba(230,250,255,.27),transparent 53%),
             linear-gradient(0deg,rgba(197,234,251,.17),transparent 34%);
  pointer-events:none;
}
.vns-recruitment-news .vns-recruitment-news__eyebrow {
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  max-width:64%;
  gap:11px;
  color:#07547e!important;
  font-size:clamp(12px,1.2vw,14px)!important;
  font-weight:750;
  letter-spacing:.025em!important;
  line-height:1.5;
  text-transform:none;
}
.vns-recruitment-news .vns-recruitment-news__live {
  display:block;
  width:10px;
  height:10px;
  flex:0 0 10px;
  border-radius:50%;
  background:#04cea1;
  border:1.5px solid rgba(255,255,255,.95);
  box-shadow:0 0 0 5px rgba(5,208,158,.13),0 0 14px 5px rgba(5,208,158,.32);
  animation:vnsRecruitmentDotPulse 2.2s ease-in-out infinite;
}
@keyframes vnsRecruitmentDotPulse {
  0%,100% {opacity:1;box-shadow:0 0 0 4px rgba(5,208,158,.12),0 0 10px 3px rgba(5,208,158,.25)}
  50% {opacity:.7;box-shadow:0 0 0 8px rgba(5,208,158,.035),0 0 16px 7px rgba(5,208,158,.43)}
}
.vns-recruitment-news > .vns-recruitment-news__heading h2 {
  position:relative;
  z-index:2;
  max-width:65%;
  margin:12px 0 0!important;
  font-weight:800!important;
  font-size:clamp(27px,3vw,37px)!important;
  color:#073e7b!important;
  line-height:1.18!important;
  text-align:left!important;
  text-shadow:0 1px 0 rgba(255,255,255,.28);
}
/* Gold accent is short and aligned with the text, not a full-width bar. */
.vns-recruitment-news > .vns-recruitment-news__heading .vns-recruitment-news__rule {
  position:relative;
  z-index:2;
  display:block;
  height:4px;
  width:116px;
  flex:none;
  left:auto;
  right:auto;
  bottom:auto;
  margin-top:18px;
  border-radius:4px;
  background:#e6bc3e;
}
.vns-recruitment-news .vns-recruitment-news__body {
  position:relative;
  z-index:1;
  background:linear-gradient(180deg,#fff,#fcfeff);
}
@media(max-width:767px) {
  .vns-crm-news-mount .vns-recruitment-news,
  .vns-recruitment-news {border-radius:16px;}
  .vns-recruitment-news > .vns-recruitment-news__heading {
    min-height:148px;
    padding:20px 18px 21px!important;
  }
  .vns-recruitment-news > .vns-recruitment-news__heading::before {
    right:clamp(12px,4vw,26px);
    width:54%;
    opacity:.48;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 38%,rgba(0,0,0,.7) 70%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 38%,rgba(0,0,0,.7) 70%,transparent 100%);
  }
  .vns-recruitment-news .vns-recruitment-news__eyebrow {max-width:76%;font-size:11px!important;gap:8px;}
  .vns-recruitment-news > .vns-recruitment-news__heading h2 {max-width:73%;font-size:clamp(24px,6vw,29px)!important;}
  .vns-recruitment-news > .vns-recruitment-news__heading .vns-recruitment-news__rule {width:84px;margin-top:14px;height:3px;}
}
@media(max-width:370px){
  .vns-recruitment-news > .vns-recruitment-news__heading::before {opacity:.28;}
  .vns-recruitment-news .vns-recruitment-news__eyebrow {max-width:100%;}
  .vns-recruitment-news > .vns-recruitment-news__heading h2 {max-width:86%;}
}
@media(prefers-reduced-motion:reduce){.vns-recruitment-news .vns-recruitment-news__live{animation:none!important;}}
