.section-title {
    font-weight: 700;
    font-size: 35px;
    position: relative;
    color: #090a0c;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
  }
  .section-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: #FA8C16;
    width: 50px;
    height: 2px;
  }
  .certificates__slider {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
  .certificates__slider .swiper-slide {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }

  .certificates__link {
    text-decoration: none;
    height: 100%;
  }
  .certificates__link:hover {
    color: inherit;
  }
  .certificates {
    position: relative;
    padding: 50px 0px;
    width: 100%;
  }
  @media (max-width: 992px) {
    .certificates {
      padding: 25px 0px;
    }
  }
  .certificates__subText {
    margin-bottom: 35px;
  }
  .certificates__block-slide {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: white;
    overflow: hidden;
    box-shadow: 0px 0px 11px 11px rgba(52, 59, 94, 0.1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    align-items: flex-start;
    max-height: 225px;
}
  @media (max-width: 768px) {
    .certificates__block-slide {
      gap: 3px;
    }
  }
  .certificates__slide {
    padding: 20px;
  }
  
  .certificates__img-block::before {
    content: '';
    display: block;
    padding-top: 177.78%;
  }
  
  .certificates__img-block {
    position: relative;
    width: 168.63px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    height: 225px;
    flex: 0 0 168px;
}

.certificates__img-block img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    padding: 20px;
}

  .certificates__block {
    position: relative;
    padding: 20px 20px 20px 0px;
    max-height: 225px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .certificates__block::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: -10px;
    width: 1px;
    background-color: #FA8C16;
}
  .certificates__name {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #7A7A7A;
  }
  .certificates-pagination-wrapper {
    display: flex;
    justify-content: center;
  }
  .certificates .swiper-pagination {
    text-align: center;
    position: unset;
    margin: 0px 20px;
  }
  .certificates .block-btn {
    position: absolute;
    bottom: 55px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    width: 200px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    z-index: 10;
  }
  .scroll-down-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    color: #fff;
    border: none;
    padding: 20px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    width: 100%;
    text-align: center;
    background: linear-gradient(to bottom, rgb(255 255 255 / 40%) 0%, rgb(246 246 246) 100%);
    color: #222222;
    font-size: 24px;
  }
  
    .certificates__block:hover .scroll-down-button {
      display: block; /* Показ кнопки при наведении */
    }
    .certificates__block_inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }
    /* Для Chrome, Edge, и других браузеров на основе WebKit */
  .certificates__block_inner::-webkit-scrollbar {
    width: 8px; /* Ширина вертикальной полосы прокрутки */
    height: 8px; /* Высота горизонтальной полосы прокрутки */
  }

  .certificates__block_inner::-webkit-scrollbar-track {
    background: #f1f1f1; /* Цвет фона трека прокрутки */
    border-radius: 4px; /* Закругляем края трека */
  }

  .certificates__block_inner::-webkit-scrollbar-thumb {
    background-color: #cccccc; /* Цвет бегунка */
    border-radius: 4px; /* Закругляем края бегунка */
    border: 2px solid #f1f1f1; /* Пространство вокруг бегунка */
  }

  .certificates__block_inner::-webkit-scrollbar-thumb:hover {
    background-color: #999999; /* Цвет бегунка при наведении */
  }
  @media (max-width: 768px) {
    .certificates .block-btn {
      bottom: 36px;
    }
  }
  .certificates .button-next,
  .certificates .button-prev {
    cursor: pointer;
    display: flex;
  }
  .certificates .button-next {
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
  }
  .certificates .swiper-pagination-bullet {
    background-color: #555a64;
    width: 10px;
    height: 10px;
    margin: 0 3px;
  }
  .certificates .swiper-pagination-bullet-active {
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
  }
  .certificates__suname {
    font-size: 16px;
    /* color: #7A7A7A; */
    color: #090a0c;
    font-weight: 600;
    margin-bottom: 20px;
  }
  .certificates__year {
    margin: 0;
    font-size: 14px;
    color: #7A7A7A;
  }
  .certificates__text {
    font-size: 14px;
    line-height: 20px;
    color: #7A7A7A;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
  }

  @media (min-width: 611px) and (max-width: 850px) {
    .certificates__name {
      display: none;
    }
    .certificates__block-slide {
      flex-direction: column;
    }
    .certificates__img-block {
      height: 225px;
      flex: 0 0 auto;
      width: 100%;
  }
    .certificates__block {
      padding: 0px 20px 20px 20px;
  }
  .certificates__block-slide {
      max-height: 100%;
  }
  }
  @media (min-width: 650px) and (max-width: 992px) {
    .certificates__text {
      font-size: 12px;
    }
  }
  @media (max-width: 610px) {
    .certificates__slide {
      padding: 30px 10px;
    }
  }
