@media screen and (max-width: 960px) {
.lawyers-slider {
padding-bottom: 70px;
position: relative;
}
}
.lawyers-slider__title {
margin-bottom: 0;
}
.lawyers-slider__head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 50px;
}
@media screen and (max-width: 960px) {
.lawyers-slider__head {
margin-bottom: 30px;
}
}
.lawyers-slider__head-left {
margin-right: 30px;
}
@media screen and (max-width: 960px) {
.lawyers-slider__head-left {
margin-right: 0;
}
}
.lawyers-slider__head-right {
flex: 0 0 auto;
}
@media screen and (max-width: 960px) {
.lawyers-slider__head-right {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
justify-content: center;
}
}
.lawyers-slider__swiper {
overflow: visible;
}
@media screen and (max-width: 960px) {
.lawyers-slider__swiper-arrows {
justify-content: center;
}
}
.lawyers-slider__slide {
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
@media screen and (max-width: 560px) {
.lawyers-slider__slide {
width: calc(100vw - 95px);
}
}
.lawyers-slider__slide.swiper-slide-visible {
opacity: 1;
pointer-events: all;
}
.lawyers-slider__slide::before {
display: block;
padding-bottom: 106%;
content: "";
}
.lawyers-slider__slide img {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
.lawyers-slider__info {
width: calc(100% - 114px);
left: 50%;
transform: translateX(-50%);
bottom: 46px;
min-height: 143px;
position: absolute;
z-index: 2;
background: #fff;
border-radius: 10px;
padding: 24px 40px 27px;
}
@media screen and (max-width: 780px) {
.lawyers-slider__info {
bottom: 26px;
width: calc(100% - 62px);
padding: 20px 18px;
min-height: 100px;
}
}
.lawyers-slider__name {
font-weight: 800;
font-size: 20px;
line-height: 175%;
margin: 0 0 11px 0;
}
@media screen and (max-width: 780px) {
.lawyers-slider__name {
font-size: 14px;
line-height: 120%;
}
}
.lawyers-slider__pos {
margin: 0;
font-weight: 400;
font-size: 18px;
line-height: 130%;
}
@media screen and (max-width: 780px) {
.lawyers-slider__pos {
font-size: 12px;
}
}  .lawyers-slider,
.lawyers-slider .container,
.lawyers-slider__swiper {
overflow-x: hidden;
}
.lawyers-slider__slide {
display: flex;
flex-direction: column;
height: auto;
overflow: hidden;
border-radius: 10px;
background: #fff;
}
.lawyers-slider__slide::before {
display: none;
}
.lawyers-slider__slide img {
position: relative;
inset: auto;
display: block;
width: 100%;
height: auto;
aspect-ratio: 1 / 1.06;
object-fit: cover;
border-radius: 10px 10px 0 0;
}
.lawyers-slider__info {
position: relative;
left: auto;
bottom: auto;
transform: none;
width: 100%;
min-height: 0;
padding: 22px 24px 24px;
border-radius: 0 0 10px 10px;
}
@media screen and (max-width: 780px) {
.lawyers-slider__info {
width: 100%;
min-height: 112px;
padding: 18px 20px 20px;
}
.lawyers-slider__name {
font-size: 16px;
line-height: 1.35;
margin-bottom: 8px;
}
.lawyers-slider__pos {
font-size: 14px;
line-height: 1.45;
}
}
@media screen and (max-width: 560px) {
.lawyers-slider__slide {
width: calc(100vw - 60px);
max-width: 100%;
}
}