body {
	font-size: 1.25rem;
}

.pali-text > h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-left: -20px;
}
.pali-text > h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-left: -15px;
}
.pali-text > h4 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-left: -10px;
}
.pali-text > h5 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-left: -10px;
}
.pali-text > h6 {
	font-size: 1.3rem;
	font-weight: 700;
	margin-left: 0px;
}

/*For variants*/
sup {
  vertical-align: super;
  font-size: 0.75em;
  line-height: 1;
  position: relative;
  top: -0.5em;
  color: #666;
  background: #f0f0f0;
  border-radius: 50%;
  width: 1.2em;
  height: 1.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: help;
  transition: all 0.2s ease;
}

sup:hover {
  color: #000;
  background: #e0e0e0;
  transform: scale(1.1);
}

sup::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 0.5em 0.75em;
  border-radius: 4px;
  font-size: 0.85em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  margin-bottom: 0.25em;
  z-index: 10;
}

sup:hover::after {
  opacity: 1;
  visibility: visible;
}

sup::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 0.4em solid transparent;
  border-top-color: #333;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

sup:hover::before {
  opacity: 1;
  visibility: visible;
}