.mqf-cta {
  --mqf-cta-red: #dc0914;
  width: 100%;
  color: #ffffff;
  background: var(--mqf-cta-red);
}

.mqf-cta--muted {
  color: #17191c;
  background: #e9edef;
}

.mqf-cta__inner {
  display: grid;
  width: min(90%, 1480px);
  min-height: 80px;
  margin-inline: auto;
  padding-block: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.mqf-cta__message {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: nowrap;
}

.mqf-cta--muted .mqf-cta__message {
  color: #3f464d;
}

.mqf-cta__link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 2px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.mqf-cta--muted .mqf-cta__link {
  color: #17191c;
}

.mqf-cta__link::after {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.mqf-cta__link:hover::after {
  transform: translateX(4px) rotate(45deg);
}

.mqf-cta__link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

.mqf-cta--muted .mqf-cta__link:focus-visible {
  outline-color: #17191c;
}

@media (max-width: 1100px) {
  .mqf-cta__inner {
    gap: 24px;
  }

  .mqf-cta__message {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .mqf-cta__inner {
    width: min(90%, 1480px);
    min-height: 0;
    padding-block: 15px;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .mqf-cta__message {
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
  }

  .mqf-cta__link {
    min-height: 34px;
    width: fit-content;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mqf-cta__link::after {
    transition: none;
  }
}
