/* Floating CTA for News Articles */
.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--accent-blue);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.5s ease forwards 1s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
    background: #2563eb;
}


.floating-cta-close {
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.7;
    font-size: 1.2rem;
    transition: opacity 0.2s;
}

.floating-cta-close:hover {
    opacity: 1;
}

.floating-cta.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 50%;
        transform: translateX(50%) translateY(0);
        left: auto;
        padding: 12px 20px;
        font-size: 0.875rem;
        width: auto;
        max-width: 280px;
        justify-content: center;
        text-align: center;
    }

    .floating-cta:hover {
        transform: translateX(50%) translateY(-2px);
    }

    @keyframes slideUp {
        to {
            opacity: 1;
            transform: translateX(50%) translateY(0);
        }
    }
}

/* Hide when scrolled to footer */
.floating-cta.near-footer {
    opacity: 0;
    pointer-events: none;
}
