.page-back-link {
  --page-back-hit-size: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--page-back-hit-size);
  min-width: var(--page-back-hit-size);
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgb(148 163 184 / 0.22);
  border-radius: 999px;
  background: rgb(15 23 42 / 0.48);
  color: rgb(226 232 240 / 0.94);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgb(2 6 23 / 0.2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.page-back-link__icon {
  line-height: 1;
  font-size: 1rem;
  flex: 0 0 auto;
}

.page-back-link__label {
  min-width: 0;
  white-space: nowrap;
}

.page-back-link:hover {
  transform: translateY(-1px);
  border-color: rgb(125 211 252 / 0.62);
  background: rgb(14 116 144 / 0.34);
  color: #fff;
  text-decoration: none;
}

.page-back-link:focus-visible {
  outline: 2px solid rgb(125 211 252 / 0.74);
  outline-offset: 3px;
}

.header-section .page-back-link {
  margin-bottom: 0;
  flex: 0 0 auto;
}

@media (max-width: 767px) {
  .page-back-link {
    min-width: var(--page-back-hit-size);
    min-height: var(--page-back-hit-size);
    padding: 8px 10px;
    border-radius: 14px;
  }

  .page-back-link--mobile-icon {
    width: var(--page-back-hit-size);
    height: var(--page-back-hit-size);
    padding: 0;
    gap: 0;
  }

  .page-back-link--mobile-icon .page-back-link__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (hover: none), (pointer: coarse) {
  .page-back-link:hover {
    transform: none;
  }
}
