.foe-support-ribbon {
  position: fixed;
  inset-block-start: var(--wp-admin--admin-bar--height, 0);
  inset-inline-end: 0;
  z-index: 110;
  width: 248px;
  height: 168px;
  overflow: hidden;
  pointer-events: none;
}

.foe-support-ribbon a {
  position: absolute;
  top: 36px;
  right: -62px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  min-height: 48px;
  background: var(--wp--custom--button--background);
  color: var(--wp--custom--button--text);
  font-family: var(--wp--preset--font-family--display);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgb(0 0 0 / 18%);
  transform: rotate(35deg);
  pointer-events: auto;
}

.foe-support-ribbon a:focus-visible {
  outline: 3px solid var(--wp--custom--button--text);
  outline-offset: -6px;
}

body:has(.wp-block-navigation__responsive-container.is-menu-open) .foe-support-ribbon {
  display: none;
}

@media (width <= 600px) {
.foe-support-ribbon {
  inset-block-start: 0;
  width: 192px;
  height: 136px;
}

.foe-support-ribbon a {
  top: 26px;
  right: -56px;
  width: 260px;
  min-height: 44px;
  font-size: 16px;
}
}

