.mx-shortcode-dropcap::first-letter {
  color: var(--mx-bgrcolor);
  float: left;
  font-size: 3.5em;
  font-weight: 700;
  line-height: 0.85;
  margin: 0.05em 0.12em 0 0;
}

.mx-shortcode-blocknumber {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.mx-shortcode-blocknumber > span {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 var(--mx-blocknumber-size, 2.5rem);
  height: var(--mx-blocknumber-size, 2.5rem);
  justify-content: center;
  width: var(--mx-blocknumber-size, 2.5rem);
}

.mx-shortcode-block {
  min-width: 0;
}

.mx-shortcode-block.rounded,
.mx-shortcode-bubble.rounded {
  border-radius: 1rem !important;
}

.mx-shortcode-block.circle {
  aspect-ratio: 1;
  border-radius: 50% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 20rem;
  min-height: 14rem;
  padding: 2rem !important;
  text-align: center;
}

.mx-shortcode-bubble {
  margin-bottom: 1.25rem;
  position: relative;
}

.mx-shortcode-bubble-content {
  background: #f8f9fa;
  border: 1px solid transparent;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  isolation: isolate;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.mx-shortcode-bubble-content::after {
  background: inherit;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: inherit;
  bottom: -0.5rem;
  content: "";
  height: 1rem;
  left: 1.5rem;
  position: absolute;
  transform: rotate(-45deg);
  width: 1rem;
  z-index: 0;
}

.mx-shortcode-bubble-content {
  font-size: 1rem;
  line-height: 1.7;
  z-index: 1;
}

.mx-shortcode-bubble-content > :last-child {
  margin-bottom: 0;
}

.mx-shortcode-bubble .mx-shortcode-bubble-author {
  align-items: center;
  color: inherit;
  display: flex;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  gap: 0.55rem;
  margin-top: 1rem;
  opacity: 0.75;
  position: relative;
  z-index: 1;
}

.mx-shortcode-bubble-author-mark {
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  height: 0.45rem;
  width: 0.45rem;
}

.mx-shortcode-bubble.rounded .mx-shortcode-bubble-content {
  border-radius: 1.25rem !important;
}

.mx-shortcode-bubble.circle .mx-shortcode-bubble-content {
  aspect-ratio: 1;
  border-radius: 50% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 20rem;
  min-height: 14rem;
  padding: 2rem !important;
  text-align: center;
}

.mx-shortcode-bubble.circle .mx-shortcode-bubble-content::after {
  display: none;
}

.mx-shortcode-bubble.circle .mx-shortcode-bubble-author {
  justify-content: center;
}

.mx-shortcode-bubble cite {
  font-style: normal;
}
