.iteam{
    
  
 padding-bottom: 60px;
    margin-top: 20px;
      
    background:#FBF9F7;
   
}


/* Обертка карусели */
.iteam .carousel-wrapper {
position: relative;

width:100%;

}

/* Контейнер с прокруткой */
.iteam .carousel-container {
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
scroll-behavior: auto; /* отключить автоматическую прокрутку */
cursor: grab;
-webkit-user-select: none;
user-select: none;
padding-left: calc((100% - 1210px) / 2);
}

/* Слайды */
.iteam .slide {
display: inline-block;
    max-width: 290px;
    height: auto;
    margin-right: 24px;
    flex-shrink: 0;
    background: #FFFFFF;
    vertical-align: top;
    border-radius: 24px;
    overflow: hidden;
}


.scrolling-wrapper {
   overflow: auto;
            overflow-y: hidden;
            margin: 0 auto;
            white-space: nowrap
}


.scrolling-wrapper::-webkit-scrollbar-button:end:decrement,.scrolling-wrapper::-webkit-scrollbar-button:start:increment {
  width:  calc((100% - 1210px) / 2);;
display: block;
background: transparent!important;
}
.scrolling-wrapper::-webkit-scrollbar-thumb {
background-color: var(--black-color); /* цвет плашки */
border-radius: 10px; /* закругления плашки */
}

.scrolling-wrapper::-webkit-scrollbar-track-piece,.scrolling-wrapper::-webkit-scrollbar-track {
background: #D0D0D0;
border-radius: 10px; /* цвет дорожки */
}
.scrolling-wrapper::-webkit-scrollbar {
height: 6px;
}


.my-scroll
{
    padding-bottom: 54px;
}


.my-scroll::-webkit-scrollbar {
  height: 4px;
  /*background: #fff; */
}

.my-scroll::-webkit-scrollbar-thumb {
 /* background-color: #333;*/
  /*border-radius: 4px;*/
  height: 150px!important; /* фиксируем ширину */
}






.teamFoto{
    width: 290px;
    height: 240px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 24px;
   
 
  
}

.teamAllInfo{
      
    margin-left: 18px !important;
    margin-right: 18px !important;
    margin-top: 15px !important;
    margin-bottom: 18px !important;
}
.teamName{
       color:#000000;
    font-weight:600;
    font-size:20px!important;
    line-height:1.00;
    letter-spacing: -.02em;
    padding-left:0;
    white-space: break-spaces;
}
.teamInfo{
    padding-left:0;
}
.teamInfo img{
    float: left;
    max-height:32px;
}
.teamPost{
       display: flex; /* Добавлено для активации Flexbox */
align-items: center; /* Вертикальное выравнивание */
/* Остальные свойства остаются без изменений */
border-top: 1px solid #525252;
margin-bottom: 20px !important;
margin-left: 18px !important;
margin-right: 18px !important;
min-height: 50px;
border-bottom: 1px solid #525252;
color: #aba9a9;
font-weight: 600;
font-size: 14px !important;
line-height: 1.29;
letter-spacing: -.02em;
padding-top: 6px;
padding-bottom: 6px;
 
}
.roleml .teamPost span {
display: block; /* чтобы span занял всю ширину колонки */
white-space: normal; /* разрешить переносы строк */
width: 100%;
    margin-left: -10px;
max-width: 100%;
word-break: break-word; /* перенос длинных слов/цепочек символов, если нужно */
overflow-wrap: break-word;
}
.my-scroll
{
    padding-bottom: 62px;
}


.my-scroll::-webkit-scrollbar {
  height: 4px;
  /*background: #fff; */
}

.my-scroll::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 4px;
  width: 200px; /* фиксируем ширину */
}

.iteam .btnLink1{
    max-width:256px!important;
    margin-top: 10px;
}

.iteam .h2Title68   {
    color:#161616;
    text-decoration:none;
    line-height: 1;
}
.iteam .container-fluid {
   padding-top: 60px; 
}

.botPadStlIteam{
    padding-bottom:32px;
}
.roleml{
    
}


.iteam .btnlinWork .btnLink1{
   
   
    width: 285px;
    height: 60px;
    border-radius: 57px;

}



.carousel-controls {
    padding-top:15px;
    display: flex;
    justify-content: right;
    gap: 16px;
    
}

.carousel-btn {
    background-color: #C9C9C9;
    border: 1px solid #C9C9C9;
    border-radius: 57px;
    width: 75px;
    height: 50px;
    opacity:0.5;
    
    
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #C9C9C9;
    border: 1px solid #C9C9C9;
}
