/* Ad placements adjacent to the actual work area, not after the entire article.
   A missing or ad-free slot must not reserve a blank column or create CLS. */
.next-design-home .next-tool-action-layout{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,260px);
  align-items:start;gap:20px;margin:0 0 24px;
}
.next-design-home .next-tool-action-layout:not(:has(> .ad-slot,> .next-ad-placeholder)){
  display:block;
}
.next-design-home .next-tool-action-layout > .processor-card,
.next-design-home .next-tool-action-layout > .next-tool-action-main{
  min-width:0;width:100%;max-width:none;margin:0;
}
.next-design-home .next-tool-action-main > .processor-card{
  width:100%;max-width:none;margin-left:0;margin-right:0;
}
.next-design-home .next-tool-action-layout > .ad-slot.container{
  min-width:0;width:100%;max-width:none;padding:0;margin:0;
}
.next-design-home .next-tool-action-layout > .ad-slot .ad-slot-inner{
  display:flex;flex-direction:column;align-items:stretch;gap:10px;
  padding:18px;border:1px solid #dfe5f6;border-radius:18px;
  background:#f7f9ff;min-width:0;overflow-wrap:anywhere;
}
.next-design-home .next-tool-action-layout > .ad-slot .ad-slot-label{
  align-self:flex-start;font-size:11px;
}
.next-design-home .next-tool-action-layout > .ad-slot .ad-slot-content{min-width:0;}
.next-design-home .next-tool-action-layout > .ad-slot .ad-slot-link{align-self:stretch;text-align:center;}
.next-design-home .next-tool-action-layout > .next-ad-placeholder{
  box-sizing:border-box;min-width:0;width:100%;max-width:none;
  margin:0;overflow-wrap:anywhere;
}
.next-design-home .next-video-hub-ad-layout>.vs-entry{min-width:0;}
.next-design-home .next-video-hub-ad-layout .vs-quick-form{flex-wrap:wrap;}
.next-design-home .next-video-hub-ad-layout .vs-quick-form>input{min-width:0;flex:1 1 220px;}
@media(max-width:980px){
  .next-design-home .next-tool-action-layout{grid-template-columns:minmax(0,1fr);}
  .next-design-home .next-tool-action-layout > .ad-slot .ad-slot-inner{
    display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;
  }
  .next-design-home .next-tool-action-layout > .ad-slot .ad-slot-content{flex:1 1 230px;}
}
@media(max-width:540px){
  .next-design-home .next-tool-action-layout{gap:14px;}
  .next-design-home .next-tool-action-layout > .ad-slot .ad-slot-inner{
    flex-direction:column;align-items:stretch;padding:16px;
  }
  .next-design-home .next-tool-action-layout > .processor-card,
  .next-design-home .next-tool-action-main > .processor-card{
    padding:20px 16px;
  }
}
