/* CTA-кнопки в статьях блога MineAssist */
.ma-article-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 0.25rem 0;
}

.ma-article-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    max-width: 100%;
    padding: 0.9rem 1.85rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 52%, #6366f1 100%);
    box-shadow:
        0 12px 28px -10px rgba(37, 99, 235, 0.55),
        0 4px 14px -6px rgba(79, 70, 229, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.ma-article-cta:hover,
.ma-article-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 36px -12px rgba(37, 99, 235, 0.62),
        0 8px 20px -8px rgba(79, 70, 229, 0.45);
    filter: brightness(1.05);
    outline: none;
}

.ma-article-cta:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.ma-article-cta__text {
    white-space: normal;
    text-align: center;
}

.ma-article-cta__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.22);
    transition: transform 0.2s ease, background 0.2s ease;
}

.ma-article-cta:hover .ma-article-cta__arrow,
.ma-article-cta:focus-visible .ma-article-cta__arrow {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.3);
}

.ma-article-cta__arrow-icon {
    width: 1rem;
    height: 1rem;
    display: block;
}

/* Перебиваем стили Tailwind Typography / prose */
/* CTA внутри Tailwind Typography / prose на лендинге */
.prose .ma-article-cta-wrap,
.prose.dark .ma-article-cta-wrap,
.markdown-body .ma-article-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    padding: 0.25rem 0;
    max-width: none;
}

.prose .ma-article-cta-wrap a.ma-article-cta,
.prose.dark .ma-article-cta-wrap a.ma-article-cta,
.markdown-body .ma-article-cta-wrap a.ma-article-cta {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

.prose .ma-article-cta-wrap a.ma-article-cta:hover,
.markdown-body .ma-article-cta-wrap a.ma-article-cta:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.dark .ma-article-cta {
    box-shadow:
        0 12px 28px -10px rgba(37, 99, 235, 0.45),
        0 4px 14px -6px rgba(0, 0, 0, 0.35);
}

@media (max-width: 480px) {
    .ma-article-cta {
        width: 100%;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
}
