.ebs-slider{
width:100%;
padding:60px 0;
}

.ebs-slide-card{

height:520px;
border-radius:22px;
background-size:cover;
background-position:center;

display:flex;
align-items:flex-start;

overflow:hidden;
position:relative;

}

.ebs-overlay{

position:absolute;
inset:0;

background:linear-gradient(
to bottom,
rgba(0,0,0,.2),
rgba(0,0,0,.8)
);

}

.ebs-content{

position:relative;

padding:40px;

color:#fff;

z-index:2;

max-width:400px;

}

.ebs-subheading{

font-size:14px;
margin-bottom:10px;

}

.ebs-heading{

font-size:34px;
line-height:1.3;

}

.ebs-nav{

display:flex;
gap:10px;

justify-content:flex-end;

margin-top:30px;

}

.ebs-prev,
.ebs-next{

width:45px;
height:45px;

border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:#fff;

cursor:pointer;

font-size:18px;

}

.ebs-prev:hover,
.ebs-next:hover{

background:#000;
color:#fff;

}