/* Shared black chip and centered arrow slot, matching ryselist.com. */
:is(.cta_primary, .cta_secondary, .cta_tertiary) .ry-cta-arrow {
  display: grid !important;
  place-items: center;
  position: relative;
  flex: 0 0 var(--ry-cta-chip-size, 36px) !important;
  width: var(--ry-cta-chip-size, 36px) !important;
  height: var(--ry-cta-chip-size, 36px) !important;
  margin: 0 !important;
  border-radius: 8px;
  background: #070708;
  overflow: hidden;
  pointer-events: none;
  transform: none !important;
  translate: none !important;
}
/* Retain native wrappers/hooks, but do not combine their old travel with the loop. */
:is(.cta_primary, .cta_secondary, .cta_tertiary) .ry-cta-arrow-wrap {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  flex: none !important;
  transform: none !important;
  translate: none !important;
}
:is(.cta_primary, .cta_secondary, .cta_tertiary) .ry-cta-arrow-duplicate { display: none !important; }
.ry-cta-arrow-wrap.right { margin-left: 8px !important; }
.ry-cta-arrow-wrap.left { margin-right: 8px !important; }
.ry-header-minimal .ry-nav-start .ry-cta-arrow-wrap { margin: 0 !important; }
.ry-cta-arrow > svg, .ry-cta-arrow > img { display: none; }
/* Webflow embed clearfix pseudo-elements must not become extra chip grid items. */
.ry-cta-arrow::before, .ry-cta-arrow::after { content: none !important; display: none !important; }
.ry-cta-arrow-slot {
  display: block;
  position: relative;
  width: var(--ry-cta-slot-size, 15px);
  height: var(--ry-cta-slot-size, 15px);
  overflow: hidden;
}
.ry-cta-arrow-slot::before, .ry-cta-arrow-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: ry-cta-arrow-loop 2.4s cubic-bezier(.65, 0, .35, 1) infinite;
  animation-play-state: paused;
}
.ry-cta-arrow-slot::after { animation-delay: -1.2s; }
.ry-cta-arrow[data-ry-arrow-active="true"] .ry-cta-arrow-slot::before,
.ry-cta-arrow[data-ry-arrow-active="true"] .ry-cta-arrow-slot::after { animation-play-state: running; will-change: transform; }
.ry-header-minimal .ry-nav-start { --ry-cta-chip-size: 28px; }
@media (max-width: 767px) {
  .ry-header-minimal .ry-nav-start { --ry-cta-chip-size: 24px; --ry-cta-slot-size: 12px; }
}
@keyframes ry-cta-arrow-loop {
  0% { transform: translate(0, 0); }
  42% { transform: translate(160%, -160%); }
  42.01% { transform: translate(-160%, 160%); }
  84%, 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ry-cta-arrow-slot::before { animation: none; transform: none; }
  .ry-cta-arrow-slot::after { display: none; animation: none; }
}
