.csb {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 1.2em 0;
}
.csb-left {
  flex-direction: row;
}
.csb-right {
  flex-direction: row-reverse;
}
.csb-avatar {
  width: 100px;
  flex: 0 0 100px;
  text-align: center;
}
.csb-avatar img {
  width: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.csb-name {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-top: .5rem;
}
.csb-bubble {
  position:relative;
  display: inline-block;
  position: relative;
  padding: 1.5em;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
}
.csb-bubble::before,
.csb-bubble::after {
  content: "";
  position: absolute;
  top: 55px;
  width: 0;
  height: 0;
  border: solid transparent;
  border-color: transparent;
}
.csb-left .csb-bubble::before {
  margin-top: -5px;
  border-width: 5px 8px;
  border-right-color: #ccc;
  border-top-color: #ccc;
}
.csb-left .csb-bubble::after {
  margin-top: -4px;
  border-width: 4px 6px;
  border-right-color: #fff;
  border-top-color: #fff;
}
.csb-right .csb-bubble::before {
  margin-top: -5px;
  border-width: 5px 8px;
  border-left-color: #ccc;
  border-top-color: #ccc;
}
.csb-right .csb-bubble::after {
  margin-top: -4px;
  border-width: 4px 6px;
  border-left-color: #fff;
  border-top-color: #fff;
}
.csb-left .csb-bubble::before,
.csb-left .csb-bubble::after {
  right: 100%;
}
.csb-right .csb-bubble::before,
.csb-right .csb-bubble::after {
  left: 100%;
}
.csb-left .csb-bubble {
  margin-left: 0;
}
.csb-text p {
  margin: 0 0 .6em;
}
.csb-text p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .csb-bubble {
    min-height: 60px;
    min-width: 60px;
  }

}
@media screen and (max-width: 767px) {
  .csb-avatar {
    width: 50px;
    flex: 0 0 50px;
  }
  .csb-avatar img {
    width: 50px;
  }
  .csb-name {
    font-size: .75rem;
  }
  .csb-bubble {
    padding: .75em;
    font-size: 1rem;
  }
  .csb-bubble::before,
  .csb-bubble::after {
    top: 24px;
  }
}

