.home-join {
  --join-photo-w: 340px;
  --join-photo-h: 451px;
  --join-head: 56px;
  padding: 0 0 64px;
  background: #fff;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.home-join .container {
  overflow: visible;
}

.home-join__card {
  position: relative;
  overflow: visible;
}

.home-join__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--join-photo-w);
  align-items: start;
  column-gap: 40px;
  height: 379px;
  padding: 0 0 0 72px;
}

.home-join__copy {
  align-self: start;
  min-width: 0;
  padding-top: 36px;
  padding-right: 180px;
}

.home-join__title {
  margin: 0 0 16px;
  color: #2b2d38;
  font-family: Saira, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.home-join__lead {
  margin: 0 0 12px;
  color: #111111;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.home-join__list {
  margin: 0;
  padding-left: 18px;
  color: #2b2d38;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  list-style: disc outside;
}

.home-join__list li {
  display: list-item;
  list-style: disc outside;
}

.home-join__list li + li {
  margin-top: 4px;
}

.home-join__photo {
  position: relative;
  align-self: stretch;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.home-join__photo img {
  position: absolute;
  left: 50%;
  top: calc(var(--join-head) * -1);
  width: var(--join-photo-w);
  height: var(--join-photo-h);
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
}

.home-join__cta {
  position: absolute;
  left: 50%;
  top: calc(50% + 36px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 156px;
  gap: 10px;
  transform: translate(-50%, -50%);
}

.home-join__note {
  margin: 0;
  color: #2b2d38;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  width: 156px;
  white-space: nowrap;
}

.home-join__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px !important;
  min-width: 156px;
  height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 43px;
  box-shadow: 0 14px 35px 0 #b4d7eb;
}

.home-join__partners-title {
  margin: 36px 0 28px;
  color: #2b2d38;
  font-family: Saira, sans-serif;
  font-size: 18px;
  font-weight: 500 !important;
  line-height: 1.25;
  text-align: center;
}

.home-join__marquee {
  overflow: hidden;
  width: 100%;
}

.home-join__track {
  display: flex;
  width: max-content;
  animation: home-join-marquee var(--logos-duration, 40s) linear infinite;
}

.home-join__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 64px;
  margin: 0;
  padding: 0 32px;
}

.home-join__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.home-join__marquee:hover .home-join__track,
.home-join__marquee:focus-within .home-join__track {
  animation-play-state: paused;
}

.home-join__logo {
  display: block;
  width: 160px;
  height: 72px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

@keyframes home-join-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  .home-join__logo {
    width: 220px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-join__track {
    animation: none;
  }
}

@media (max-width: 1199px) {
  .home-join {
    --join-photo-w: 280px;
    --join-photo-h: 372px;
    --join-head: 46px;
  }

  .home-join__top {
    column-gap: 28px;
    height: 312px;
    padding: 0 0 0 40px;
  }

}

@media (max-width: 1023px) {
  .home-join {
    --join-photo-w: 240px;
    --join-photo-h: 318px;
    padding: 28px 0 48px;
  }

  .home-join__top {
    grid-template-columns: 1fr;
    justify-items: center;
    height: auto;
    padding: 0 20px;
    text-align: center;
  }

  .home-join__copy {
    max-width: 520px;
    padding: 0;
    align-self: center;
  }

  .home-join__list {
    display: inline-block;
    text-align: left;
  }

  .home-join__photo {
    width: var(--join-photo-w);
    height: var(--join-photo-h);
    margin: 16px 0 0;
  }

  .home-join__photo img {
    position: static;
    top: auto;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .home-join__cta {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    align-items: center;
    align-self: center;
    justify-self: center;
    padding: 12px 0 0;
  }

  .home-join__note {
    text-align: center;
  }

  .home-join__partners-title {
    margin-top: 28px;
  }
}
