:is(.news-lead,.trending-highlights) .now-list .now-item--academy {
  position: relative;
  isolation: isolate;
  border-start-end-radius: var(--gx-radius-md);
}

:is(.news-lead,.trending-highlights) .now-item--academy > a {
  padding-inline-end: 3.25rem;
}

:is(.news-lead,.trending-highlights) .now-list .now-ribbon {
  position: absolute;
  top: 50%;
  right: -6px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 84px;
  /* Gold is an intentional brand-color exception limited to this ribbon. */
  background: linear-gradient(105deg, #b58a3c 0%, #dfbd70 28%, #f4e1a3 49%, #d8b25f 73%, #b58a3c 100%);
  color: #29200f;
  box-shadow: -3px 2px 7px rgb(0 0 0 / .25), inset 1px 0 rgb(255 248 218 / .65);
  transform: translateY(-50%);
  pointer-events: none;
}

:is(.news-lead,.trending-highlights) .now-list .now-ribbon::before,
:is(.news-lead,.trending-highlights) .now-list .now-ribbon::after {
  content: "";
  position: absolute;
  right: 0;
  width: 6px;
  height: 6px;
  background: #79561e;
}

:is(.news-lead,.trending-highlights) .now-list .now-ribbon::before {
  top: -6px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

:is(.news-lead,.trending-highlights) .now-list .now-ribbon::after {
  bottom: -6px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

:is(.news-lead,.trending-highlights) .now-list .now-ribbon-text {
  font: 700 .6875rem/1 var(--gx-font-body);
  letter-spacing: .025em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.now-item--offers {
  position: relative;
}

.now-item--offers > a {
  padding-inline-end: 3.25rem;
}

.now-offers-ribbon {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: .75rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 2.4rem;
  padding-bottom: .25rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 87%, 0 100%);
  background: linear-gradient(115deg, var(--gx-brand-offers), #ffd1a8 55%, var(--gx-brand-offers));
  color: var(--gx-black);
  font: 700 1rem/1 var(--gx-font-display);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .now-offers-ribbon {
    transform-origin: 50% 0;
    animation: now-offers-ribbon-sway 5s ease-in-out infinite;
  }
}

@keyframes now-offers-ribbon-sway {
  0%, 34%, 100% { transform: rotate(0); }
  7% { transform: rotate(4deg); }
  15% { transform: rotate(-3deg); }
  23% { transform: rotate(1.5deg); }
}
