.xtype-home-actions,
.xtype-contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}

.xtype-home-actions {
  margin-block-start: .75rem;
}

.xtype-home-actions .home-jumps {
  margin: 0;
}

footer nav:has(> .xtype-follow-x),
.footer-links:has(> .xtype-follow-x) {
  flex-wrap: wrap;
  align-items: center;
}

a.xtype-follow-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-sizing: border-box;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding: .55rem .95rem;
  border: 1px solid #101114;
  border-radius: 999px;
  color: #fff;
  background: #101114;
  font: 600 .875rem/1.3 system-ui, sans-serif;
  text-decoration: none;
}

.xtype-follow-x img {
  display: block;
  flex: none;
  inline-size: 17px;
  block-size: auto;
}

.xtype-follow-x span {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

a.xtype-follow-x:hover {
  color: #fff;
  background: #303237;
  text-decoration: none;
}

a.xtype-follow-x:focus-visible {
  outline: 3px solid #3d78d7;
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  a.xtype-follow-x { color: #101114; background: #f5f6f8; border-color: #f5f6f8; }
  a.xtype-follow-x:hover { color: #101114; background: #dae0e7; }
  .xtype-follow-x img { filter: invert(1); }
}

@media (forced-colors: active) {
  a.xtype-follow-x { color: ButtonText; background: ButtonFace; border-color: ButtonText; }
  .xtype-follow-x img { background: #000; filter: none; forced-color-adjust: none; }
}

@media (max-width: 959px) {
  .xtype-home-actions { margin-block-start: .2rem; }
}
