/* Links Relacionados CTA Styles */
.related-links-cta-container {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.related-links-cta-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width=\"60\" height=\"60\" viewBox=\"0 0 60 60\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cg fill=\"none\" fill-rule=\"evenodd\"%3E%3Cg fill=\"%23ffffff\" fill-opacity=\"0.05\"%3E%3Ccircle cx=\"30\" cy=\"30\" r=\"4\"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.related-links-cta-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.related-links-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.related-links-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.related-links-cta-buttons {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    position: relative;
    z-index: 2;
}

.cta-button {
    display: block;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: rgba(255, 255, 255, 1);
}

.cta-button-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cta-button-text {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    flex: 1;
    margin-right: 15px;
}

.cta-button-arrow {
    color: #667eea;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cta-button:hover .cta-button-arrow {
    transform: translateX(5px);
}

.cta-button-excerpt {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-top: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .related-links-cta-container {
        margin: 20px 0;
        padding: 20px;
        border-radius: 15px;
    }
    
    .related-links-title {
        font-size: 24px;
    }
    
    .related-links-subtitle {
        font-size: 14px;
    }
    
    .related-links-cta-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .cta-button {
        padding: 16px;
    }
    
    .cta-button-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .related-links-cta-container {
        margin: 15px 0;
        padding: 15px;
    }
    
    .cta-button-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-button-text {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .cta-button-arrow {
        align-self: flex-end;
    }
}

/* Efeitos especiais */
.cta-button:nth-child(odd) {
    animation-delay: 0.1s;
}

.cta-button:nth-child(even) {
    animation-delay: 0.2s;
}

.cta-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.5);
}

/* Tema escuro */
@media (prefers-color-scheme: dark) {
    .cta-button {
        background: rgba(45, 55, 72, 0.95);
        color: #e2e8f0;
    }
    
    .cta-button-text {
        color: #e2e8f0;
    }
    
    .cta-button-excerpt {
        color: #a0aec0;
    }
    
    .cta-button:hover {
        background: rgba(45, 55, 72, 1);
    }
}
';
}