/* Kept separate from the academic theme so both color modes use the same tray. */
.free-apps {
  max-width: 232px;
  margin: 18px auto 24px;
  text-align: center;
}
.free-apps-divider {
  height: 0;
  margin: 0 12px 12px;
  border: 0;
  border-top: 1px solid currentColor;
  background: none;
  opacity: .18;
}
.free-apps-heading {
  margin: 0 0 6px;
  color: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  opacity: .85;
}
.free-apps-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.free-apps-item { flex: 0 0 auto; }
.free-app-link {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 4px 7px;
  gap: 10px;
  border-radius: 8px;
  line-height: 1.4;
  text-align: left;
}
.free-app-link img {
  display: block;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  transform-origin: center bottom;
}
.free-app-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.free-app-link.is-bouncing img {
  animation: free-app-hop 600ms cubic-bezier(.35, 0, .35, 1);
}
@keyframes free-app-hop {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce), print {
  .free-app-link.is-bouncing img { animation: none; }
}

.free-app-label { min-width: 0; font-size: inherit; }
.free-app-label strong { color: inherit; font-weight: 700; }
.free-app-link:hover .free-app-label { text-decoration: underline; text-underline-offset: 3px; }
