.hub {
  padding: 0 32px;
  margin: 160px auto;
  max-width: 1264px;
}

.hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.swiper-navs {
  width: 104px;
  height: 48px;
  position: relative;
}

.swiper-button-prev {
  left: unset;
  top: 0;
  margin-top: unset;
}

.swiper-button-next {
  right: 0;
  top: 0;
  margin-top: unset;
}

.swiper-button-prev:after, .swiper-button-next:after {
  display: none;
}

.swiper-nav {
  width: 48px;
  height: 48px;
  border: 1px solid #D1D5DB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-nav svg {
  height: 10px;
  width: 6px;
}

.swiper-button-prev svg {
  transform: rotate(180deg);
}

.hub-swiper {
  margin-top: 48px;
}

.hub-wrapper {
  gap: 24px;
}

.hub-slide {
  flex: 1 1 32%;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  max-width: 33%;
  height: unset;
}

.hub-image {
  aspect-ratio: 390/240;
}
.hub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
}

.hub-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.hub-box .text {
  margin: 12px 0 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-item-hub {
  color: #155EEF;
  font-family: Medium;
  line-height: 1.4;
}
.btn-item-hub:visited {
  color: #155EEF;
}
.btn-item-hub:hover {
  text-decoration: underline;
}

.btn-hub-mob {
  display: none;
}

@media (max-width: 768px) {
  .hub {
    padding: 0 16px;
    margin: 64px auto;
  }
  .swiper-navs {
    width: 72px;
    min-width: 72px;
    height: 32px;
  }
  .swiper-nav {
    width: 32px;
    height: 32px;
  }
  .hub-swiper {
    overflow: unset;
    margin-top: 24px;
  }
  .hub-wrapper {
    gap: 0;
  }
  .hub-slide {
    flex: unset;
    flex-shrink: 0;
    max-width: unset;
  }
  .hub-box .h4 {
    font-size: 16px;
    line-height: 1.5;
    font-family: Regular;
  }
  .btn-hub {
    display: none;
  }
  .btn-hub-mob {
    display: flex;
    margin-top: 24px;
  }
}