/**
 * Related Links Styles
 * 
 * Styles for the [ras_related_links] shortcode
 * Note: The parent container is managed by Elementor
 */

.ras-related-links-list {
    list-style-type: none !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ras-related-link-item {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    list-style: none !important;
    list-style-type: none !important;
}

.ras-related-link-item::before {
    content: none !important;
    display: none !important;
}

.ras-related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    text-decoration: none;
    color: #000;
    transition: color 0.2s ease;
    line-height: 1.6;
}

.ras-related-link:hover .ras-related-link-text {
    color: #98002e;
}

/* Icon styles - always black, no hover effect */
.ras-related-link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    filter: brightness(0);
}

.ras-related-link i {
    font-size: 16px;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    color: #000 !important;
}

/* Link text */
.ras-related-link-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    display: inline-block;
    color: #000;
    transition: color 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rel-links {
        margin: 1.5rem 0;
    }
    
    .ras-related-links-list {
        gap: 0.5rem;
    }
    
    .ras-related-link {
        gap: 0.5rem;
        padding: 0.25rem 0;
    }
    
    .ras-related-link-icon,
    .ras-related-link i {
        width: 16px;
        height: 16px;
        font-size: 16px;
    }
    
    .ras-related-link-text {
        font-size: 14px;
    }
}
