@import "@/styles/mixins.scss";
@import "@/styles/variables.scss";

.jointLoop {
  flex: 1;
  max-width: 50%;
  margin-top: 2rem;
  padding: 0 1rem;
}

.jointInner {
  background: $white;
  box-shadow: $shadow-normal;
  border-radius: $radius;
  cursor: pointer;
  height: 100%;
  padding: $hl-6 $hl-7;
}

.jointHeader {
  display: flex;
  align-items: center;
  height: 2.5rem;
  overflow: hidden;

  img {
    max-height: 100%;
  }
}

.line {
  border-left: 1px solid $lineColor;
  height: 100%;
  margin: 0 1.5rem;
}

.jointTitle {
  @include h4();
  color: $black;
  @include multi-line-ellipsis();
  word-break: break-all;
  margin-top: 2.5rem;
}

@media screen and (max-width: $wide) {
  .jointLoop {
    min-width: 50%;
    max-width: 50%;
  }
}

@media screen and (max-width: $desktop) {
  .jointLoop {
    margin-top: $hl-9;
    padding: 0 $hl-10;
  }
}

@media screen and (max-width: $mobile) {
  .jointLoop {
    min-width: 100%;
    max-width: 100%;
  }
}
