.presidents-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media screen and (max-width: 1024px) {
  .presidents-wrapper {
    gap: 48px;
  }
}
@media screen and (max-width: 768px) {
  .presidents-wrapper {
    gap: 24px;
  }
}
.presidents h2 {
  max-width: 820px;
  text-align: center;
}
.presidents h2 span {
  font-style: italic;
}
.presidents-list {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  width: calc(100% - 146px - 146px);
}
@media screen and (max-width: 1600px) {
  .presidents-list {
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .presidents-list {
    width: calc(100% - 96px - 96px);
  }
}
@media screen and (max-width: 768px) {
  .presidents-list {
    width: 100%;
    padding: 26px 0 26px 54px;
    overflow: visible;
  }
}
@media screen and (max-width: 768px) {
  .presidents-list-track {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }
}
.presidents-list-wrapper {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}
.presidents-list-wrapper::before {
  content: "";
  position: absolute;
  bottom: 119px;
  left: 0;
  width: 100%;
  height: 36px;
  background: repeating-linear-gradient(to right, var(--color-grey-50) 0, var(--color-grey-50) 1px, var(--color-white-100) 1px, var(--color-white-100) 20px);
}
@media screen and (max-width: 768px) {
  .presidents-list-wrapper::before {
    display: none;
  }
}
.presidents-list-item {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .presidents-list-item {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }
}
.presidents-list-item-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 5px solid transparent;
}
@media screen and (max-width: 768px) {
  .presidents-list-item-img {
    border-width: 3px;
    width: 86px;
    min-width: 86px;
    height: 86px;
    border-radius: 12px;
    margin-bottom: 0;
  }
}
.presidents-list-item-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%);
}
.presidents-list-item-name {
  font-weight: 600;
  font-size: var(--font-size-24);
  line-height: 120%;
  text-align: center;
  color: var(--color-black-60);
  margin-bottom: auto;
}
@media screen and (max-width: 768px) {
  .presidents-list-item-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    text-align: left;
  }
}
.presidents-list-item-name span {
  display: none;
}
@media screen and (max-width: 768px) {
  .presidents-list-item-name span {
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    color: var(--color-black-60);
  }
}
.presidents-list-item-dot {
  width: 68px;
  height: 68px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 53px 0 63px;
  background: var(--color-white-100);
}
@media screen and (max-width: 768px) {
  .presidents-list-item-dot {
    width: 20px;
    height: 24px;
    position: absolute;
    left: -54px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
}
.presidents-list-item-dot span {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
  border: 3px solid var(--color-grey-50);
}
@media screen and (max-width: 768px) {
  .presidents-list-item-dot span {
    width: 18px;
    height: 18px;
  }
}
.presidents-list-item-dot::after, .presidents-list-item-dot::before {
  content: "";
  display: block;
  width: 1px;
  height: 47px;
  background: var(--color-grey-100);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .presidents-list-item-dot::after, .presidents-list-item-dot::before {
    display: none;
  }
}
.presidents-list-item-dot::after {
  bottom: 100%;
}
.presidents-list-item-dot::before {
  top: 100%;
}
@media screen and (max-width: 768px) {
  .presidents-list-item-dot::before {
    display: block;
    width: 20px;
    height: 1px;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% + 8px);
  }
}
.presidents-list-item-term {
  font-weight: 400;
  font-size: var(--font-size-16);
  line-height: 120%;
  text-align: center;
  color: var(--color-black-60);
  min-height: 40px;
}
@media screen and (max-width: 768px) {
  .presidents-list-item-term {
    display: none;
  }
}
.presidents-list-item.current .presidents-list-item-img {
  border-color: var(--color-primary-100);
}
@media screen and (max-width: 768px) {
  .presidents-list-item.current .presidents-list-item-img {
    border-width: 3px;
  }
}
.presidents-list-item.current .presidents-list-item-name {
  color: var(--color-primary-100);
}
.presidents-list-item.current .presidents-list-item-name span {
  color: var(--color-primary-100);
}
.presidents-list-item.current .presidents-list-item-dot span {
  border-color: var(--color-primary-100);
}
.presidents-list-item.current .presidents-list-item-dot span::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: var(--color-primary-100);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .presidents-list-item.current .presidents-list-item-dot span::after {
    width: 8px;
    height: 8px;
  }
}
.presidents-list-item.current .presidents-list-item-dot::after, .presidents-list-item.current .presidents-list-item-dot::before {
  background: var(--color-primary-100);
}
.presidents-list-item.current .presidents-list-item-term {
  color: var(--color-primary-100);
}
.presidents-list-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--color-white-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-default);
}
@media screen and (max-width: 768px) {
  .presidents-list-arrow {
    display: none;
  }
}
.presidents-list-arrow svg path {
  transition: var(--transition-default);
}
.presidents-list-arrow.prev {
  left: -24px;
  transform: translateY(-50%) translateX(-100%);
}
@media screen and (max-width: 1024px) {
  .presidents-list-arrow.prev {
    left: 16px;
  }
}
.presidents-list-arrow.next {
  right: -24px;
  transform: translateY(-50%) translateX(100%);
}
@media screen and (max-width: 1024px) {
  .presidents-list-arrow.next {
    right: 16px;
  }
}
.presidents-list-arrow.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.presidents-list-arrow:not(.swiper-button-disabled):hover {
  background: var(--color-secondary-80);
}
.presidents-list-arrow:not(.swiper-button-disabled):hover svg path {
  fill: var(--color-primary-100);
}
.presidents-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 100%;
  display: none;
  background: repeating-linear-gradient(to bottom, var(--color-grey-50) 0, var(--color-grey-50) 1px, var(--color-white-100) 1px, var(--color-white-100) 10px);
}
@media screen and (max-width: 768px) {
  .presidents-list::before {
    display: block;
  }
}
.presidents-pagination {
  display: flex;
  justify-content: center;
  position: absolute;
  top: calc(100% + 64px) !important;
  bottom: unset !important;
}
@media screen and (max-width: 768px) {
  .presidents-pagination {
    display: none !important;
  }
}
.presidents-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 6px;
  border-radius: 4px;
  background: var(--color-secondary-80);
  opacity: 1;
  margin: 0 4px !important;
  transition: var(--transition-default);
}
.presidents-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary-100);
  width: 80px;
}