/* Geometric arrows stay centred regardless of the font's baseline. */
:root body :is(.school-class-arrow, .school-review-actions > button, .reviews-controls > button) {
  position: relative;
  display: inline-grid !important;
  place-items: center;
  flex-shrink: 0;
  box-sizing: border-box;
  aspect-ratio: 1;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

:root body :is(.school-class-arrow, .school-review-actions > button, .reviews-controls > button)::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62.5%;
  height: 62.5%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

:root body :is(.school-review-actions, .reviews-controls) > button[data-review-prev]::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
