/* Small, isolated, RTL-friendly CTA. Inherits the active theme's font. */
.a4-blog-cta,
.a4-blog-cta * {
  box-sizing: border-box;
  font-family: inherit !important;
}

.a4-blog-cta {
  direction: rtl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  min-height: 88px;
  margin: 28px 0;
  padding: 17px 21px;
  background: #f8faff;
  color: #18243e;
  border: 1px solid #dce4f5;
  border-right: 4px solid #3659ef;
  border-radius: 15px;
  box-shadow: 0 4px 17px rgba(30, 54, 118, 0.035);
}

.a4-blog-cta .a4-blog-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  color: #18243e;
  font-size: clamp(14px, 1.75vw, 17px);
  font-weight: 750;
  line-height: 1.85;
  text-align: right;
}

.a4-blog-cta .a4-blog-cta__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 46px;
  padding: 10px 17px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #3659ef;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.8;
  white-space: nowrap;
  box-shadow: 0 4px 11px rgba(54, 89, 239, 0.17);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.a4-blog-cta .a4-blog-cta__button:hover {
  background: #2447db;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(54, 89, 239, 0.2);
}

.a4-blog-cta .a4-blog-cta__button:focus-visible {
  outline: 3px solid #ffae72;
  outline-offset: 3px;
}

.a4-blog-cta .a4-blog-cta__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.a4-blog-cta .a4-blog-cta__arrow svg {
  display: block;
  stroke: currentColor;
}

@media (max-width: 560px) {
  .a4-blog-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    min-height: 0;
    padding: 15px;
  }

  .a4-blog-cta .a4-blog-cta__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .a4-blog-cta .a4-blog-cta__button {
    width: 100%;
    min-height: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a4-blog-cta .a4-blog-cta__button,
  .a4-blog-cta .a4-blog-cta__button:hover {
    transition: none;
    transform: none;
  }
}
